Commit graph

46927 commits

Author SHA1 Message Date
Tommy Chiu
728336ffa3 VTS: Restore 2nd-IMEI tests
Enable some tests that are bypassed on strongbox implementation.

Bug: 262255219
Test: VtsAidlKeyMintTargetTest
Change-Id: I548bddcd16c0a1ee1c1cb8266d4d99dbdff3d39b
2023-04-06 02:09:22 +00:00
Treehugger Robot
31655e51c6 Merge "Add min uwb initiation time as new vendor capability." am: d0d17b1c8c am: b70f93639d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2523375

Change-Id: Icd6a1de8399a82f7e11e4bd79742afd7019c0f32
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 01:06:07 +00:00
Treehugger Robot
b70f93639d Merge "Add min uwb initiation time as new vendor capability." am: d0d17b1c8c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2523375

Change-Id: Ie489b94f415491a20fc9bac5398575db7cd6795a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 00:37:59 +00:00
Treehugger Robot
d0d17b1c8c Merge "Add min uwb initiation time as new vendor capability." 2023-04-06 00:11:53 +00:00
Treehugger Robot
be933b2776 Merge "All hals are marked optional in compatibility matrices (U)" am: a9259fafd6 am: ff413b8431
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2515750

Change-Id: I63d37696c5ecf969a5af3661ab64e015052b5e92
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 22:06:41 +00:00
Treehugger Robot
ff413b8431 Merge "All hals are marked optional in compatibility matrices (U)" am: a9259fafd6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2515750

Change-Id: I94b77a53001807d163eab308ff241e5b026221a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 21:35:21 +00:00
Treehugger Robot
a9259fafd6 Merge "All hals are marked optional in compatibility matrices (U)" 2023-04-05 21:05:38 +00:00
Treehugger Robot
683462ff64 Merge "Camera: VTS: Wait for release fence before consuming buffers" into android13-tests-dev am: 1c8377c24c am: c3b6c6c691 am: 9d21620c42 am: 4cc259bd6d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2520900

Change-Id: I6767784b62814cc5165979213120c0dc9a920a66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 19:37:04 +00:00
Treehugger Robot
4cc259bd6d Merge "Camera: VTS: Wait for release fence before consuming buffers" into android13-tests-dev am: 1c8377c24c am: c3b6c6c691 am: 9d21620c42
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2520900

Change-Id: I11b2ca9f0b6b6046db422f5e207580282932b377
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 18:49:58 +00:00
Devin Moore
7384f1d91c Merge "Add hal_implementation_test on automotive cf to test_mapping" am: 6dc4b5917a am: a60cd63337
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2520399

Change-Id: I30cc4767d3350f86e69bb7116a6ce173563990b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 18:47:58 +00:00
Treehugger Robot
41e0286ba5 Merge "Camera: VTS: Wait for release fence before consuming buffers" into android13-tests-dev am: 1c8377c24c am: 13f7e14af3 am: 741506640a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2520900

Change-Id: Idaefcf5c650012829792b5db1760b90045dd653a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 18:47:40 +00:00
Treehugger Robot
9d21620c42 Merge "Camera: VTS: Wait for release fence before consuming buffers" into android13-tests-dev am: 1c8377c24c am: c3b6c6c691
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2520900

Change-Id: Id293d3565aa4faecb4b7975c1a93520ff2b21eba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 18:20:24 +00:00
Devin Moore
a60cd63337 Merge "Add hal_implementation_test on automotive cf to test_mapping" am: 6dc4b5917a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2520399

Change-Id: Ic7a63490fb3da4f64de3780e21e94a4278c5e85d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 18:18:12 +00:00
Treehugger Robot
741506640a Merge "Camera: VTS: Wait for release fence before consuming buffers" into android13-tests-dev am: 1c8377c24c am: 13f7e14af3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2520900

Change-Id: I806727ccd1d21699e094b6069f2bc3b74e3e0444
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 18:17:34 +00:00
Devin Moore
6dc4b5917a Merge "Add hal_implementation_test on automotive cf to test_mapping" 2023-04-05 17:37:26 +00:00
Treehugger Robot
13f7e14af3 Merge "Camera: VTS: Wait for release fence before consuming buffers" into android13-tests-dev am: 1c8377c24c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2520900

Change-Id: I02490da662338296bd76de6c9e39b8f590aae0c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 17:34:13 +00:00
Treehugger Robot
c3b6c6c691 Merge "Camera: VTS: Wait for release fence before consuming buffers" into android13-tests-dev am: 1c8377c24c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2520900

Change-Id: I9a8eea575e4598fcd3b9fea2c5bbcfe26369381e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 17:31:31 +00:00
Treehugger Robot
1c8377c24c Merge "Camera: VTS: Wait for release fence before consuming buffers" into android13-tests-dev 2023-04-05 17:10:33 +00:00
Pavan Kumar M
8b5cf0ca14 Update Vts for getSlicingConfig
Currently getSlicingConfigAPI always returns NOT_SUPPORTED.
But GetSlicingConfig is supported in Android U. and VTS will fail.

This change updates the expected errorcodes for getSlicingConfig API.

Tests: Builds, Boots, RadioDataTest
Bug: 228996685
Change-Id: I10cf7b0b9ba09e56605d5a498ec48c4b8972f00b
2023-04-05 16:44:49 +05:30
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