Commit graph

59301 commits

Author SHA1 Message Date
Zhanglong Xia
9be18fe082 Merge "Update VTS test for the function hardwareReset()" into main 2024-01-17 06:25:44 +00:00
Treehugger Robot
6338b15216 [automerger skipped] Merge "[RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay" into android11-tests-dev am: 72b6e65914 -s ours am: fcec28ee4c -s ours am: 08af1350ce -s ours am: 7d4805ed3b -s ours am: 678a31c32f -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2555892

Change-Id: I1fa27ca449fafa8e7fca66666a5ad096e74d3e55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 04:19:02 +00:00
Changyeon Jo
e6d75506d8 [automerger skipped] [RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay am: d5732b6bbf -s ours am: 7ea8d84859 -s ours am: 43473d142f -s ours am: f1cb5e825d -s ours am: a54bde0496 -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2555892

Change-Id: Ic12c33eb475d1f1c79a26c59caf2304aa0cef5fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 04:18:58 +00:00
Zhanglong Xia
1392cbc773 Merge "Ignores vim temporary files from git" into main 2024-01-17 03:55:04 +00:00
Treehugger Robot
678a31c32f [automerger skipped] Merge "[RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay" into android11-tests-dev am: 72b6e65914 -s ours am: fcec28ee4c -s ours am: 08af1350ce -s ours am: 7d4805ed3b -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2555892

Change-Id: I091b0d56deaf6a7dd378005d3e04faa3ec153bff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 03:54:52 +00:00
Changyeon Jo
a54bde0496 [automerger skipped] [RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay am: d5732b6bbf -s ours am: 7ea8d84859 -s ours am: 43473d142f -s ours am: f1cb5e825d -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2555892

Change-Id: Iad7425ea5acc23b02e87d3e5d09f46e3bf3a6b59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 03:54:48 +00:00
Treehugger Robot
7d4805ed3b [automerger skipped] Merge "[RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay" into android11-tests-dev am: 72b6e65914 -s ours am: fcec28ee4c -s ours am: 08af1350ce -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2555892

Change-Id: Id5d47a991d782b737bd14b9eb2bd9f73a150a2de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 03:10:18 +00:00
Changyeon Jo
f1cb5e825d [automerger skipped] [RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay am: d5732b6bbf -s ours am: 7ea8d84859 -s ours am: 43473d142f -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2555892

Change-Id: I605705197f69a9dde2334c5cc74e7eaf5f955107
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 03:10:15 +00:00
Treehugger Robot
08af1350ce [automerger skipped] Merge "[RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay" into android11-tests-dev am: 72b6e65914 -s ours am: fcec28ee4c -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2555892

Change-Id: I3d68b4a7ac48ae0e44303f718c4e18b50039d98c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 02:49:21 +00:00
Changyeon Jo
43473d142f [automerger skipped] [RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay am: d5732b6bbf -s ours am: 7ea8d84859 -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2555892

Change-Id: I1ab6710d4fa6aa41338baabf37392ae1ac3d4cad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 02:49:19 +00:00
Chienyuan Huang
6327722e10 Merge "Handle review feedback for android.hardware.bluetooth.ranging" into main 2024-01-17 02:34:21 +00:00
Treehugger Robot
fcec28ee4c [automerger skipped] Merge "[RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay" into android11-tests-dev am: 72b6e65914 -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2555892

Change-Id: I403b8ad142a1d73f34cb7e58d3b66a6598aac6ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 02:05:43 +00:00
Changyeon Jo
7ea8d84859 [automerger skipped] [RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay am: d5732b6bbf -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2555892

Change-Id: I11c67b1de8d351a1350cb693869d459ba970312a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 02:05:40 +00:00
Changyeon Jo
47640027f2 Modify CameraUseStreamConfigToDisplay
Exclude logical camera devices from CameraUseStreamConfigToDisplay test
case.

Bug: 275049370
Test: atest VtsHalEvsV1_0TargetTest and
      atest VtsHalEvsV1_1TargetTest
Change-Id: If6b31d94bdbffd2f4e9ab9bd5c8957ec85904187
(cherry picked from commit d5732b6bbf)
2024-01-17 01:46:07 +00:00
Changyeon Jo
6d9717bcb8 [RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay
Exclude logical camera devices from CameraUseStreamConfigToDisplay test
case.

Bug: 275049370
Test: atest VtsHalEvsV1_0TargetTest and
      atest VtsHalEvsV1_1TargetTest
Change-Id: If6b31d94bdbffd2f4e9ab9bd5c8957ec85904187
(cherry picked from commit d5732b6bbf)
2024-01-17 01:34:40 +00:00
Changyeon Jo
2180645f10 [RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay
Exclude logical camera devices from CameraUseStreamConfigToDisplay test
case.

Bug: 275049370
Test: atest VtsHalEvsV1_0TargetTest and
      atest VtsHalEvsV1_1TargetTest
Change-Id: If6b31d94bdbffd2f4e9ab9bd5c8957ec85904187
(cherry picked from commit d5732b6bbf)
2024-01-17 01:33:55 +00:00
Treehugger Robot
72b6e65914 Merge "[RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay" into android11-tests-dev 2024-01-17 01:30:09 +00:00
Aditi
bc2a0d5747 Remove error check for REQUEST_NOT_SUPPRTED
Some devices may not support LCE functionality, so remove the condition that cause failures on such devices

Bug : 316570471

Change-Id: I758c82d14da4fec89b2e56f4aeda2a31438718fe
Signed-off-by: Aditi <aditi.parikh@samsung.corp-partner.google.com>
2024-01-17 00:47:04 +00:00
Changyeon Jo
d5732b6bbf [RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay
Exclude logical camera devices from CameraUseStreamConfigToDisplay test
case.

Bug: 275049370
Test: atest VtsHalEvsV1_0TargetTest and
      atest VtsHalEvsV1_1TargetTest
Change-Id: If6b31d94bdbffd2f4e9ab9bd5c8957ec85904187
2024-01-16 21:14:30 +00:00
Yifan Hong
f74a4cae39 compatibility matrices: drop optional=true. (202404)
This is the default now.

Test: TH
Bug: 247575800
Change-Id: I0d7156f4e526b276c47ac66a5125bf2a219b3ed8
Merged-In: I0d7156f4e526b276c47ac66a5125bf2a219b3ed8
2024-01-16 12:26:06 -08:00
Treehugger Robot
1014102ee6 Merge "compatibility matrices: drop optional=true. (4~8)" into main 2024-01-16 20:03:16 +00:00
Andrew Walbran
48391231a2 Import macros via rdroidtest for consistency.
This is what we recommend in the documentation.

Test: atest VtsSecretkeeperTargetTest
Change-Id: I9155e8b0f8c58547cb63dd40cdbf9e2e39648d9c
2024-01-16 16:48:31 +00:00
Jakub Tyszkowski
1d214226b5 LeAudio: Fix AIDL API review issues
Bug: 319669518
Test: m android.hardware.bluetooth.audio-update-api && make && m VtsHalBluetoothAudioTargetTest
Change-Id: Id128ed1eb09ada1e98b15351dc353fedc90fcbc8
2024-01-16 14:09:34 +00:00
Zhanglong Xia
4ad0484ffa Ignores vim temporary files from git
Test: git status
Change-Id: I6fa42ed671294f7dab34df3285b5a234a2a9cb2e
2024-01-16 14:48:57 +08:00
Zhanglong Xia
558eb0b696 Update VTS test for the function hardwareReset()
The function `hardwareReset()` throws
`EX_UNSUPPORTED_OPERATION` if the Thread radio chip doesn't
support the hardware reset. Current VTS test assumes that the
Thread radio chip must support the hardware reset.

This CL updates the VTS test to verify the return value
`EX_UNSUPPORTED_OPERATION`.

bug: b/320393041
Test: run vts -m VtsHalThreadNetworkTargetTest
Change-Id: I7b0b2a4e850a1eda085a6d6c24cdd8aae6498aac
2024-01-16 14:40:53 +08:00
Shikha Panwar
84187967cb VTS to use enum for MissingAction
ConstraintSpec constructor will take enum instead of boolean for missing
action.

Test: atest VtsSecretkeeperTargetTest
Bug: 291213394
Change-Id: I55fb0d8ef1fccca5feedf1fd368854ffb7eafaaf
2024-01-15 13:04:35 +00:00
Sungtak Lee
04b5d6679b Merge changes from topic "bufferpool2-V2" into main
* changes:
  media.c2 aidl: Use bufferpool2 V2
  media.bufferpool2: support AHardwareBuffer based buffer
2024-01-13 07:23:54 +00:00
Chienyuan Huang
a6daccc3e5 Handle review feedback for android.hardware.bluetooth.ranging
Bug: 318763088
Test: m android.hardware.bluetooth.ranging-update-api
Change-Id: I7f66278328d63ad1882aae87c575be7baaf45718
2024-01-13 07:15:34 +00:00
Shunkai Yao
78265377d9 Merge "Effect VTS: update VtsHalDownmixTargetTest for data validation" into main 2024-01-13 03:50:02 +00:00
Devin Moore
89c395a850 Merge "Rename compatibility_matrix.9.xml to compatibility_matrix.202404.xml" into main 2024-01-13 00:50:50 +00:00
Treehugger Robot
759fb98667 Merge "audio: Fix handling of a thread exit command with a bad cookie" into main 2024-01-13 00:40:04 +00:00
Sungtak Lee
f36c31c9f0 media.c2 aidl: Use bufferpool2 V2
Bug: 254050314
Change-Id: I1597fa92214086378d48fa37401a389a32c72bba
2024-01-13 00:22:48 +00:00
Yifan Hong
b0d52ce954 compatibility matrices: drop optional=true. (4~8)
This is the default now.

Test: TH
Bug: 247575800
Change-Id: Ibaf315f34285c42341cd4c04adc7c44b6f34ab7f
2024-01-12 16:11:40 -08:00
Sungtak Lee
71ef1c1559 media.bufferpool2: support AHardwareBuffer based buffer
Change-Id: I43102797b92d4782d2fc620ea3c9490f5187b90c
2024-01-12 23:58:58 +00:00
Weilin Xu
c22a8ddcb5 Merge "Don't mark SAT/DT as failures" into main 2024-01-12 22:47:33 +00:00
Mikhail Naganov
1850779bc4 audio: Fix handling of a thread exit command with a bad cookie
In case when the command was sent by the HAL itself (from another
thread), the worker thread must not post a reply. The only case
when a reply needs to be posted is in the case when the command
was sent from a VTS test. This case is identified by the fact that
the cookie has value '0'.

Bug: 300181540
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Ifeb0722b5cf7346a694c5a938f6b324f5fa825f1
2024-01-12 13:59:24 -08:00
Shunkai Yao
1319e986ab Effect VTS: update VtsHalDownmixTargetTest for data validation
For downmix, the output buffer size can be diff with input

Bug: 318926783
Bug: 317946442
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: I0dc0009e1779b842a4f3cdcc047d225310a304f9
Merged-In: I0dc0009e1779b842a4f3cdcc047d225310a304f9
2024-01-12 21:54:17 +00:00
Treehugger Robot
7f25c70740 Merge "audio: Skip AudioModuleRemoteSubmixTest on Android U" into main 2024-01-12 21:10:04 +00:00
Shunkai Yao
3eb2a2c14f Merge changes from topic "effect_reopen" into main
* changes:
  Effect AIDL: implement IEffect.reopen
  Effect AIDL: add IEffect.reopen to update the effect instances data FMQ
2024-01-12 21:06:08 +00:00
Andres Schafhauser
f005be18db [automerger skipped] APF exempt list for TVs to use hardware feature am: 393ca9ffc2 -s ours
am skip reason: Merged-In I47453e7ad009b08aadf7c09fc144d2166ef9991b with SHA-1 f91d7adfc4 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2904690

Change-Id: I4bca26510f131acf6b59f30574fdb6e0ad958da6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 20:08:37 +00:00
V,Anilkumar
86f31e76b0 Don't mark SAT/DT as failures
If SAT/DT is not supported, should be marked as
ignored but they are marked as failures.
If no support for SAT/DT the implementation returns INVALID_ARGUMENTS
and test is calling the printSkipped function.
Instead of calling printSkipped, if GTEST_SKIP() called
unsupported TC results are parsed properly and test cases will move
to ignored category

Bug: 191229970
Test: VtsHalBroadcastradioV1_0TargetTest

Signed-off-by: V,Anilkumar <anilkumar.v@intel.com>
Change-Id: I4ed7828757a6cc8b83bae989e11289da1a3e814f
2024-01-12 19:31:12 +00:00
Mikhail Naganov
b2dab17b1e audio: Skip AudioModuleRemoteSubmixTest on Android U
This test was developed after Android U was cut, and it assumes
the new way of encoding of the remote submix device type.

Bug: 300181540
Test: run `atest VtsHalAudioCoreTargetTest` on UDC GSI
Change-Id: If53f92a55734e18a2acce6c790f9e5e259246684
2024-01-12 10:38:03 -08:00
Treehugger Robot
1fd5aef410 Merge "Add android.virtualdevice.cts.VirtualAudioTest to postsubmit" into main 2024-01-12 18:04:06 +00:00
Devin Moore
0e8347e131 Rename compatibility_matrix.9.xml to compatibility_matrix.202404.xml
The target compatiblility matrix level is now 202404 instead of 9.

Test: m
Bug: 314845349
Change-Id: I6661486039c0ec3ba4093f1afe11b78a690a96d8
2024-01-12 17:45:58 +00:00
Shunkai Yao
65c7c7051d Effect AIDL: implement IEffect.reopen
- add IEffect.reopen implementation
- now data MQs can update at runtime, sync
  EffectContext access
- add clang thread annotation

Bug: 302036943
Test: atest VtsHalAudioEffectTargetTest
Test: build and test audio effect on Pixel
Change-Id: I3e9fdc2d5eb50b8c1377e0da75573f0eba7ea3f1
Merged-In: I3e9fdc2d5eb50b8c1377e0da75573f0eba7ea3f1
2024-01-12 17:23:28 +00:00
Shunkai Yao
5b15e005a9 Effect AIDL: add IEffect.reopen to update the effect instances data FMQ
The effect instance may choose to reallocate the input data message
queue under specific conditions. For example, when the input format
changes, requiring an update to the data message queue allocated during
the open time.
In such cases, the effect instance can destroy the existing data message
queue, when the audio framework see a valid status MQ and invalid data MQ,
it call reopen to get the new data message queue.

Bug: 302036943
Test: m android.hardware.audio.effect-update-api, m
Change-Id: Ia245b154176f64bc3cc6e6049bca4f9c68ad482d
Merged-In: Ia245b154176f64bc3cc6e6049bca4f9c68ad482d
2024-01-12 17:23:14 +00:00
Shikha Panwar
c6cf62d113 Merge "Sk VTS: Policy gating & Out of Seq req rejection" into main 2024-01-12 16:49:49 +00:00
Shikha Panwar
6d5bb1eeaf Merge "Secretkeeper: VTS to use dice_chain as identity" into main 2024-01-12 16:49:09 +00:00
Shikha Panwar
62b6504c33 Merge "InitialPayload of ExplicitKeyDiceCertChain" into main 2024-01-12 10:46:21 +00:00
Shikha Panwar
8a3a29dd5a Sk VTS: Policy gating & Out of Seq req rejection
1. Add a test to check Access control in Secretkeeper HAL: Construct
   dice chains with different security version and check that the secret
   is accessible with upgraded dice chain && DicePolicyError is thrown
   when the access is requested using a dice chain with lower security
   version.

2. Re-enable test #replay_protection_out_of_seq_req_not_accepted - This
   was disabled because the method would not panic when run on
   devices without Sk HAL, causing test failure. Refactor the test to
   check the error instead of unwrapping.

Many methods of SkClient struct are refactored to return Error (also
introduced in this patch) instead of panicking on error.

Test: atest VtsSecretkeeperTargetTest
Bug: 291224769
Bug: 317416663
Change-Id: I646783e034064f81625a978a2bcacf143ff60c87
2024-01-12 09:51:08 +00:00