Commit graph

46958 commits

Author SHA1 Message Date
Shuzhen Wang
34a3224ef7 Camera: Fix VTS failure for depth only camera am: 72f97643fb am: e5489ab299 am: d7e13ac229 am: d826beaf60
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2523160

Change-Id: I52a6123bb204917eda369bf7c7c1e205586fff99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 04:04:07 +00:00
Shuzhen Wang
d826beaf60 Camera: Fix VTS failure for depth only camera am: 72f97643fb am: e5489ab299 am: d7e13ac229
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2523160

Change-Id: I8e45b2faf0813c423cdf06bcc167fff056953c60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 03:22:33 +00:00
Shuzhen Wang
b53e6ec5d2 Camera: Fix VTS failure for depth only camera am: 72f97643fb am: 3d44601e7f am: 86e38ac68e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2523160

Change-Id: I8177f8733c67615d347cad582380952250ced839
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 03:19:43 +00:00
Shuzhen Wang
d7e13ac229 Camera: Fix VTS failure for depth only camera am: 72f97643fb am: e5489ab299
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2523160

Change-Id: Ie7635f706dd8b9d13997700532f286ec56d32958
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 02:52:08 +00:00
Shuzhen Wang
86e38ac68e Camera: Fix VTS failure for depth only camera am: 72f97643fb am: 3d44601e7f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2523160

Change-Id: I325324cc19db91433166f4709eedbfd537a5fb38
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 02:49:45 +00:00
Shuzhen Wang
3d44601e7f Camera: Fix VTS failure for depth only camera am: 72f97643fb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2523160

Change-Id: I849cf4e48e18cc88ec6e62eb4066f2ff05887fa4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 02:07:10 +00:00
Shuzhen Wang
e5489ab299 Camera: Fix VTS failure for depth only camera am: 72f97643fb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2523160

Change-Id: I833e3ba03270eed82ae381274f9ff704e2b80ff1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 02:04:29 +00:00
Myles Watson
d958f6633d Run VtsHalBluetoothTargetTest with hwasan am: 048b8f7517 am: 9e143fa529
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2515746

Change-Id: I08d26b4fd3ec239af406521a8220c2621a474854
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 01:49:53 +00:00
Myles Watson
9e143fa529 Run VtsHalBluetoothTargetTest with hwasan am: 048b8f7517
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2515746

Change-Id: Ieefbfc8f6691b43c1313fd0af0be9cc7f4ae9bea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 01:20:18 +00:00
ramindani
ea9ab1c01e VTS add length is not zero check for executeSetClientTarget am: d00b8598bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/22434697

Change-Id: I711607fc79f2ea513daba2b5017b9b5222a13d08
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 00:49:57 +00:00
Shuzhen Wang
72f97643fb Camera: Fix VTS failure for depth only camera
If the device is depth-only, use threshold with Y16 format rather than
IMPLEMENTATION_DEFINED.

This fixes the regression introduced by the fix for b/265984260.

Bug: 276957901
Test: atest VtsAidlHalCameraProvider_TargetTest
Change-Id: If9023f1ed17bb761abbb9be36e567264f8bf0689
2023-04-04 20:57:27 +00:00
ziyiw
46b5ac8692 Add min uwb initiation time as new vendor capability.
Test: manual
Bug: 245854896
Merged-In: I640b54356d4a7dc338d995596147aa6716278b54
Change-Id: I12436cad527255d8f88e9ca34409aee0a59b3c92
2023-04-04 20:06:49 +00:00
Shuzhen Wang
0f56c56709 Camera: VTS: Wait for release fence before consuming buffers
The camera HAL may signal release fence after processCaptureResult.
If the VTS test waits for the release fence in the context of the
capture result, there is possibility of deadlock.

Rather, we should wait for the releaseFence in a different thread
context to really emulate the real application behavior.

Test: atest VtsAidlHalCameraProvider_TargetTest
Bug: 241281568
Change-Id: Id1d92e901aae1cab084846d252ef090fcda182d7
2023-04-04 16:45:28 +00:00
ramindani
d00b8598bb VTS add length is not zero check for executeSetClientTarget
Test: atest VtsHalGraphicsComposerV2_1TargetTest
BUG: 252764410
Change-Id: Icd15f6e7bfdd7b3e3d0d4b407195258d4171c560
(cherry picked from commit 708d49cfce)
Merged-In: Icd15f6e7bfdd7b3e3d0d4b407195258d4171c560
2023-04-03 20:55:08 +00:00
David Duarte
e432bdd45b uwb(hal): Implement UCI over serial in the default HAL
Bug: 229824143
Test: manual with cuttlefish
Change-Id: Ia29e618b8c9b53f295f66ff0b94965d4f571f8e4
2023-04-03 17:32:44 +00:00
Devin Moore
6bbf5bb312 Add hal_implementation_test on automotive cf to test_mapping
Test: lunch aosp_cf_x86_64_auto-userdebug && atest
hal_implementation_test
Bug: 274164202

Change-Id: Ib9095ca1d2521af8c9d1eed735235f0fd2463f91
2023-04-03 17:08:37 +00:00
Yifan Hong
83867895ed All hals are marked optional in compatibility matrices (U)
Requirements are tested separatedly, in vts_treble_vintf_test.

New requirements are reflected in vts_treble_vintf_test. See change
If922f97cbf9fc.

Test: TH
Bug: 247575800

Change-Id: I2ffb16e226a5bcf5166a99fc6199276b9230cf50
Merged-In: I2ffb16e226a5bcf5166a99fc6199276b9230cf50
2023-03-31 14:37:00 -07:00
Yifan Hong
4ac9ebedce Merge "All hals are marked optional in compatibility matrices (Q~T)" am: d1129e076c am: 439438ca17
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2413140

Change-Id: I95188fcbc5acdfda4690f095936216e65b895c9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 20:39:03 +00:00
Myles Watson
048b8f7517 Run VtsHalBluetoothTargetTest with hwasan
Bug: 276457982
Test: atest VtsHalBluetoothTargetTest
Change-Id: I4d203f4217f6509c08c5519dc3ff53b9eca5c172
2023-03-31 13:15:19 -07:00
Yifan Hong
439438ca17 Merge "All hals are marked optional in compatibility matrices (Q~T)" am: d1129e076c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2413140

Change-Id: Ie5db5d67324a7af6e0e1dd7dc3796a2d09ca82f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 20:12:06 +00:00
Yifan Hong
d1129e076c Merge "All hals are marked optional in compatibility matrices (Q~T)" 2023-03-31 19:29:52 +00:00
Yifan Hong
79ed41b0e6 All hals are marked optional in compatibility matrices (Q~T)
Requirements are tested separatedly, in vts_treble_vintf_test.

New requirements are reflected in vts_treble_vintf_test. See change
If922f97cbf9fc.

Test: TH
Bug: 247575800

Change-Id: I6bc267dee4ca6145b9e7b40abde773ce5fc52e8c
2023-03-31 19:29:18 +00:00
Shunkai Yao
4ee28d7303 Merge changes from topic "fix-b-273252382-connect-external-device" am: ddd489824d am: 73454c52e0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2515524

Change-Id: Ief9bea91a899a185ba74af6dd411804fc80a7547
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 06:34:39 +00:00
Mikhail Naganov
bfb7cb9459 audio: Add some utility methods, improve logging am: d5536d9ac6 am: 1c812122aa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2515523

Change-Id: I75b12b27db6fbf8e040ab3722d4b8f9feb2f0876
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 06:34:35 +00:00
Treehugger Robot
538cd39aa3 Merge "Updated fuzz_config in Android.bp file" am: 73c824414b am: 7ce958221c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2505243

Change-Id: I1957ce7de74fe7d25ebded4de4d94d51dce85c7b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 06:33:12 +00:00
Treehugger Robot
9f0a230d5a Merge "Updated fuzz_config in Android.bp file" am: 728011d97c am: a0c74c29f9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2505239

Change-Id: Id9168c0ff98990dcc5c1eb7fcc6d39ab0b71e6f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 06:33:00 +00:00
Treehugger Robot
e81ca58e04 Merge "Updated fuzz_config in Android.bp file" am: bf89d7ed4a am: 3978a1cb20
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2505240

Change-Id: I18ac45a2c6033fc84a1c2b2cbc7768fcdda20c96
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 06:31:35 +00:00
Treehugger Robot
174b8a0186 Merge "Updated fuzz_config in Android.bp file" am: bbf290bb5d am: 4d798fd44a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2505238

Change-Id: Ic260de13d57aae81941d4bba66559dc8206e3af4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 06:31:22 +00:00
Shunkai Yao
73454c52e0 Merge changes from topic "fix-b-273252382-connect-external-device" am: ddd489824d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2515524

Change-Id: Ie443a1e1edd0c743ecf59f56e1ca2bdbe13c448b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 06:10:02 +00:00
Mikhail Naganov
1c812122aa audio: Add some utility methods, improve logging am: d5536d9ac6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2515523

Change-Id: I45296a0259f90207c24de8bb093c000f918294d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 06:09:59 +00:00
Treehugger Robot
7ce958221c Merge "Updated fuzz_config in Android.bp file" am: 73c824414b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2505243

Change-Id: I3722c81b6020e839f1ea3efcb311abd0040e29a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 06:05:02 +00:00
Treehugger Robot
a0c74c29f9 Merge "Updated fuzz_config in Android.bp file" am: 728011d97c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2505239

Change-Id: I66fe873b5568a13bbc190cfbc15891d711a0954c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 06:04:50 +00:00
Treehugger Robot
3978a1cb20 Merge "Updated fuzz_config in Android.bp file" am: bf89d7ed4a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2505240

Change-Id: I12ddc5e1a2720b527a46ae213c67c8d5d4802638
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 06:04:35 +00:00
Treehugger Robot
4d798fd44a Merge "Updated fuzz_config in Android.bp file" am: bbf290bb5d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2505238

Change-Id: I92300899ab6cb6439d27be5fbeb910515e24a033
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 06:02:13 +00:00
Shunkai Yao
ddd489824d Merge changes from topic "fix-b-273252382-connect-external-device"
* changes:
  audio: Clarify profiles management for external devices
  audio: Add some utility methods, improve logging
2023-03-31 05:35:08 +00:00
Treehugger Robot
73c824414b Merge "Updated fuzz_config in Android.bp file" 2023-03-31 05:28:36 +00:00
Treehugger Robot
728011d97c Merge "Updated fuzz_config in Android.bp file" 2023-03-31 05:23:13 +00:00
Treehugger Robot
bf89d7ed4a Merge "Updated fuzz_config in Android.bp file" 2023-03-31 05:21:13 +00:00
Treehugger Robot
bbf290bb5d Merge "Updated fuzz_config in Android.bp file" 2023-03-31 05:11:52 +00:00
Mikhail Naganov
d5536d9ac6 audio: Add some utility methods, improve logging
Add 'isDefaultAudioFormat' to Utils.h.

Print the module type in 'setModuleDebug'.

Align 'suggestDeviceAddressTag' with framework code.

Bug: 273252382
Test: m
Change-Id: I0248d2e866522a63a745d4af6132b7d2b6a01564
Merged-In: I0248d2e866522a63a745d4af6132b7d2b6a01564
2023-03-30 20:32:00 -07:00
Mikhail Naganov
7b2d12b1f7 audio: Clarify profiles management for external devices
Clarify what should happen to mix port profiles after
connection of an external device. Add a test to verify
this behavior.

Also, add an XML file for the test runner for
VtsHalAudioCoreTargetTest.

Bug: 273252382
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I3381dd29c5922bf31fa3a8ae6fa273597e8333a1
Merged-In: I3381dd29c5922bf31fa3a8ae6fa273597e8333a1
2023-03-30 20:32:00 -07:00
Tri Vo
bf75a4070d Test for bootloader state
Bug: 255344624
Test: VtsKeyMintAidlTargetTest
Change-Id: I8b34a94c11d7cc174821483f624fd083ca1763ac
2023-03-30 15:45:16 -07:00
Andrew Scull
f737da6e6e Merge "Use VSR to tell libhwtrust_cxx how to validate" am: c71a8d0ef1 am: 4110edd04f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2513919

Change-Id: I5f91785a31789ba87457089debb30e6dfd353223
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 17:52:44 +00:00
David Drysdale
b06defead3 Merge "Test specifying CERTIFICATE_NOT_{BEFORE,AFTER}" am: a2f63439c7 am: 4b6c4784be
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2509815

Change-Id: I7d355050138b79c94184740ef664e7e393e80ff2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 17:44:47 +00:00
Treehugger Robot
277400268f Merge changes I53a67135,I235ca85f,If3180282 am: 7c0d76357c am: 0463ca058b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2508576

Change-Id: I5fcad687a60a812c361a9865cf1ae1a3429b146b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 17:35:42 +00:00
Treehugger Robot
30366e7ad9 Merge "DynamicsProcessing: Validate config params based on ranges advertised" am: d14815472d am: 7449c3da5b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2499516

Change-Id: I26e54c5d7927b557f5e22313c7122fe03a546e87
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 17:15:18 +00:00
Andrew Scull
4110edd04f Merge "Use VSR to tell libhwtrust_cxx how to validate" am: c71a8d0ef1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2513919

Change-Id: I0a17520eb8b5ed1dfdce001d3bfbaf2d4b9452d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 17:09:52 +00:00
Roshan Pius
6cb43da6f3 Merge "uwb[aidl]: Added LAST_STS_INDEX_USED config into CCC open ranging params" am: a6fe62c3dc am: a635a84622
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2486998

Change-Id: Icf717f9d8ac27eab296064749e257507d76d2c83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 17:04:43 +00:00
David Drysdale
4b6c4784be Merge "Test specifying CERTIFICATE_NOT_{BEFORE,AFTER}" am: a2f63439c7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2509815

Change-Id: I049986169e441e8511cbfef431c8035ebe1b39dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 16:37:22 +00:00
Treehugger Robot
0463ca058b Merge changes I53a67135,I235ca85f,If3180282 am: 7c0d76357c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2508576

Change-Id: I7591bee277268fd48308a75b82353bdb288ac716
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 16:37:03 +00:00