Commit graph

53148 commits

Author SHA1 Message Date
Subrahmanyaman
0e0f60cff1 Support for non-factory attestation in Strongbox.
Updated the BootLoaderStateTest for strongbox implementations which
do not support factory attestation.

Bug: 255344624
Test: vts -m VtsAidlKeyMintTarget
Change-Id: I8fe176a18fc0b9e2b2d0b012b7b63124d15c9e2f
Merged-In: I8fe176a18fc0b9e2b2d0b012b7b63124d15c9e2f
2023-05-11 16:30:14 -04:00
Mahesh KKV
73ab317336 Merge "Add documentation for Aware suspend & resume" into udc-dev 2023-05-11 14:50:54 +00:00
TreeHugger Robot
7b8c1f81e1 Merge "Clean up VtsHalRadioTargetTest" into udc-dev 2023-05-11 01:20:45 +00:00
Gabriel Biren
8e9d701b56 Remove unused wifi offload HAL.
Bug: 280901687
Test: m
Change-Id: Iad9a2c470b27fbe5432fd5a88244162f8f73a71c
2023-05-11 01:07:42 +00:00
maheshkkv
0ace7e5f91 Add documentation for Aware suspend & resume
Bug: 281882132
Test: build
Change-Id: Ifea3dd9a0bd635c95e3b80f09427d380b75e0fa9
2023-05-10 17:01:24 -07:00
Andrew Scull
b450714667 Document expectations of DICE mode
The Open Profile for DICE give possible guidelines on the requirements
for the DICE mode but Android needs those to be strictly specified.

Fix: 263144485
Test: n/a
(cherry picked from https://android-review.googlesource.com/q/commit:ed74a681ebf859f2652a4bbbd669f6000243aee9)
Merged-In: Ia5fc937654504199cabf4709f1c15484242e0161
Change-Id: Ia5fc937654504199cabf4709f1c15484242e0161
2023-05-10 20:18:24 +00:00
Terry Guan
7059468d04 Merge "Adding for adding async large parcelalbe callbacks functionality" into udc-dev 2023-05-10 13:12:49 +00:00
Gabriel Biren
4f9c93276d Merge "Skip HIDL v1.6 RTT responder VTS tests if the capabilities do not indicate responder support." into udc-dev 2023-05-09 23:28:34 +00:00
Eva Chen
d795ebd56c Merge "Remove note for ADAS properties." into udc-dev 2023-05-09 23:11:49 +00:00
Mikhail Naganov
ba65d8a948 audio VTS: Update 7.0/PolicyConfig
The call to instantiate PolicyConfig was updated
in Iced9d665d018853c4b2a50f4471a545af7bf60bb, however
the version of PolicyConfig class for HIDL HAL 7.x
was not updated accordingly

Bug: 205884982
Bug: 281450557
Test: atest VtsHalAudioV7_0TargetTest
Test: atest HalAudioV7_0GeneratorTest
(cherry picked from https://android-review.googlesource.com/q/commit:a273cdde847a627465458f971f88fa9ce07d4731)
Merged-In: Ic7ed6b186e1d0f1ff853f84ad962c1e4acf17a68
Change-Id: Ic7ed6b186e1d0f1ff853f84ad962c1e4acf17a68
2023-05-09 16:00:54 +00:00
Yu Shan
194757d25f Add inject-task-next-reboot debug command.
Support a debug command that will inject a fake remote task for
testing on next reboot with specified latency. This is used to
simulate the situation when a remote task arrives while the device
is not booted up and the task will be delivered once the device
boots up.

Test: Manually test on seahawk.
Bug: 275880463
Change-Id: I6eb064893bea0700da80dfa2dcf3079ddb0b59a1
2023-05-08 15:42:56 -07:00
Jeff Pu
30925ee9a4 Merge "Close the session if Fingerprint servers die" into udc-dev 2023-05-08 19:21:19 +00:00
Gabriel Biren
6eafc23dcf Skip HIDL v1.6 RTT responder VTS tests if the
capabilities do not indicate responder support.

Bug: 280550766
Test: atest VtsHalWifiRttV1_6TargetTest
Change-Id: I4e76a874837c6199b2bef65b3f0c138260972b4a
2023-05-08 18:29:10 +00:00
terryguan
a2fa508d3f Adding for adding async large parcelalbe callbacks functionality
Bug: 270740905
Test: atest com.android.car.CarPropertyManagerTest
Test: atest android.car.apitest.CarPropertyManagerTest
Test: atest com.android.car.hal.PropertyHalServiceTest
Test: manual, verified largeParcelable using shared memeory
Change-Id: Ic01402ceb58ea93957777bec4965121c594fa35e
2023-05-08 08:48:58 -07:00
Kriti Dang
9bd4fb3799 Merge "Change the HDR conversion VTS test to take into account sink device capabilities" into udc-dev 2023-05-08 12:23:44 +00:00
Kriti Dang
79bbec97c4 Change the HDR conversion VTS test to take into account sink device
capabilities

Bug: 278467239
Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I69c21b6d8b9753500a7b7a1692448b7151009ba3
2023-05-08 08:28:09 +00:00
Terry Guan
9368d6dc23 Merge "Added debug statement and refresh in default vehicle hal" into udc-dev 2023-05-06 01:10:34 +00:00
Eva Chen
49281ae7a6 Remove note for ADAS properties.
Bug: 281133179
Test: Comment only change
Change-Id: I6d9c8dfa0fead76195616023442e09887ae74aac
2023-05-05 15:19:22 -07:00
Jeff Pu
87e9f2bebe Close the session if Fingerprint servers die
by registering the death notification of the associated binder.
Bug: 273807765
Test: adb shell stop;adb shell start

Change-Id: Ifc60e68fdbf986a355f828a7fc11f2aecee4cbea
2023-05-05 14:14:57 +00:00
Austin Borger
c3eb1a10a7 Merge "Camera VTS: Close the session at the end of stream configuration validation" into udc-dev 2023-05-04 23:00:19 +00:00
Austin Borger
8e9ac0249a Camera VTS: Close the session at the end of stream configuration validation
Not calling mSession->close means that there will be multiple concurrent
sessions open, which may not be supported by the device.

Bug: 280559094
Test: Ran on cuttlefish
Change-Id: Ie622fabd4d0be2f8442e90d1c781bbf905172270
2023-05-04 22:57:49 +00:00
Sarah Chin
bb35a4371e Clean up VtsHalRadioTargetTest
Refactor class design so RadioServiceTest extends TestWithParam and
each individual radio service test extends RadioServiceTest.
Move setup and teardown logic common to all classes to RadioServiceTest.
Add logs to print when each test starts/finishes to help debug issues.
Remove unused imports and fix some typos.
Change unique_lock to lock_guard in notify to prevent MTE errors.

Test: atest VtsHalRadioTargetTest on fullmte build
Bug: 263940636
Change-Id: I2f6844f07d4518c00d47f98e5e15bea0a809fa84
Merged-In: I2f6844f07d4518c00d47f98e5e15bea0a809fa84
2023-05-04 22:35:47 +00:00
terryguan
f3cd073e86 Added debug statement and refresh in default vehicle hal
Added a debug statement to allow for a debug command to generate a large
amount of propConfigs to test large parcelables. DefaultVehicleHal
needed to refresh the properties when DefaultVehicleHal's
getAllPropConfigs is called

Bug: 270740905
Test: atest DefaultVehicleHalTest
Test: atest android.car.apitest.CarPropertyManagerTest
Test: --rerun-until-failure 3
Test: Manual
Change-Id: I95eb98cef64e327894760783ffe9883975359d89
2023-05-04 13:37:06 -07:00
Thomas Girardier
98d6368ebb Merge "Always use audio_configuration_changed_cb_ to notify the config update" into udc-dev 2023-05-04 04:55:16 +00:00
Treehugger Robot
b647d3f95b Merge "Skip RTT responder VTS tests if the capabilities do not indicate responder support." into udc-dev 2023-05-04 00:58:19 +00:00
Krzysztof Kosiński
1a7ec74f4f Merge "Use internal gRPC headers in BindToDeviceSocketMutatorLib." into udc-dev 2023-05-04 00:40:17 +00:00
Krzysztof Kosiński
6078da87ca Use internal gRPC headers in BindToDeviceSocketMutatorLib.
Bug: 280043032
Test: presubmit
Change-Id: I53c413ab3dbbfb056f3b7f22c1db336aa68ba611
Merged-In: I53c413ab3dbbfb056f3b7f22c1db336aa68ba611
2023-05-03 22:26:13 +00:00
Gabriel Biren
6d41484860 Skip RTT responder VTS tests if the capabilities
do not indicate responder support.

Bug: 280550766
Test: atest WifiRttControllerAidlTest
Change-Id: I343dc3f2729274db5628f54501b89a470a512206
2023-05-03 22:11:51 +00:00
Mikhail Naganov
85da71a9b5 audio VTS: Update PolicyConfig after AudioPolicyConfig
Make necessary changes to use updated AudioPolicyConfig class.

Bug: 205884982
Test: m VtsHalAudioV6_0TargetTest
Test: atest HalAudioV6_0GeneratorTest
(cherry picked from https://android-review.googlesource.com/q/commit:33a35b5ffbbcbcf8a41d70a8af807d6c16f332c9)
Merged-In: Iced9d665d018853c4b2a50f4471a545af7bf60bb
Change-Id: Iced9d665d018853c4b2a50f4471a545af7bf60bb
2023-05-02 18:14:43 +00:00
Shunkai Yao
51fd9e9e7d Merge "Remove Descriptor proxy field from individual effect" into udc-dev 2023-05-02 17:55:58 +00:00
Treehugger Robot
0b1aefa05b Merge "AHAL: add more comment for IModule.disconnectExternalDevice" into udc-dev 2023-05-02 16:48:32 +00:00
Krzysztof Kosiński
50f5adc5fd Merge "Refactor BindToDeviceSocketMutator." into udc-dev 2023-05-02 04:55:55 +00:00
Yu Shan
aa3a1395ea Merge changes I76f90d5a,I3d882dcf into udc-dev
* changes:
  Add VTS for IVN HAL.
  Support dump and add more unit tests.
2023-05-02 02:05:02 +00:00
Weilin Xu
45b6428eb0 Merge "Fix Result enum doc in AIDL broadcast radio HAL" into udc-dev 2023-05-02 01:38:55 +00:00
Yu Shan
c413c484ee Add VTS for IVN HAL.
Test: atest VtsHalIvnTargetTest
Bug: 274139217
Change-Id: I76f90d5aa1cec2821bb3345e8315743bc8f51b03
2023-05-01 16:01:06 -07:00
Sarah Kim
1992e765b6 [automerger skipped] Merge "Fix broken and flaky VTS tests" into android12-tests-dev am: 3323c87bfa am: c5bde9bbcd am: 18cd0f0954 am: 2637e14916 am: 5aa3dcb21d am: ef579e29e6 -s ours
am skip reason: Merged-In Ic7188f9d8ccfcd90d844b45e3b370a3be3c515d6 with SHA-1 757a75879f is already in history

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

Change-Id: I404920b723d8742ad1dbf2f2e49c06e582af7fa0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 22:15:57 +00:00
Sarah Kim
ef579e29e6 Merge "Fix broken and flaky VTS tests" into android12-tests-dev am: 3323c87bfa am: c5bde9bbcd am: 18cd0f0954 am: 2637e14916 am: 5aa3dcb21d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2572133

Change-Id: I11b303533b1c3e77adabab160eb19eb3aa570e55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 21:35:56 +00:00
Sarah Kim
983c09bb83 [automerger skipped] Merge "Fix broken and flaky VTS tests" into android12-tests-dev am: 3323c87bfa am: c5bde9bbcd am: 18cd0f0954 am: 2637e14916 am: 85a14b7d83 -s ours
am skip reason: Merged-In Ic7188f9d8ccfcd90d844b45e3b370a3be3c515d6 with SHA-1 757a75879f is already in history

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

Change-Id: I9498c34cef8c40428eca81d9725b2a2df889f705
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 21:33:10 +00:00
Sarah Chin
bf9527ee38 [automerger skipped] Backport VTS fixes to previous test versions am: 526a3a297b am: 64816a99b9 am: 0aae7cccd0 am: 0db1cc0601 am: 0647236cfe am: 36bc4c8fc2 -s ours
am skip reason: Merged-In I77e0706f413ce9defb174f00ee145dcc01f5d780 with SHA-1 fc35c0797e is already in history

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

Change-Id: I9f097513058d568678241e20e3248b60910d4926
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 21:11:42 +00:00
Sarah Kim
5aa3dcb21d Merge "Fix broken and flaky VTS tests" into android12-tests-dev am: 3323c87bfa am: c5bde9bbcd am: 18cd0f0954 am: 2637e14916
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2572133

Change-Id: I21e04e7f15abf82d9abd0ad962b4969272e36c1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 20:56:27 +00:00
Sarah Kim
85a14b7d83 Merge "Fix broken and flaky VTS tests" into android12-tests-dev am: 3323c87bfa am: c5bde9bbcd am: 18cd0f0954 am: 2637e14916
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2572133

Change-Id: I5ea33ba2d43d00de01182f5d9eadf1ec1859a2d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 20:52:22 +00:00
Sarah Chin
36bc4c8fc2 Backport VTS fixes to previous test versions am: 526a3a297b am: 64816a99b9 am: 0aae7cccd0 am: 0db1cc0601 am: 0647236cfe
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2574430

Change-Id: I58693fdb246470b2f5dc5e000a4a58c146a1d0dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 20:32:19 +00:00
Sarah Chin
04f0870c1f [automerger skipped] Backport VTS fixes to previous test versions am: 526a3a297b am: 64816a99b9 am: 0aae7cccd0 am: 0db1cc0601 am: 39457c46e2 -s ours
am skip reason: Merged-In I77e0706f413ce9defb174f00ee145dcc01f5d780 with SHA-1 fc35c0797e is already in history

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

Change-Id: I9b5c353149c15a09f655f3d1ba56554821527b53
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 20:29:42 +00:00
Sarah Kim
2637e14916 Merge "Fix broken and flaky VTS tests" into android12-tests-dev am: 3323c87bfa am: c5bde9bbcd am: 18cd0f0954
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2572133

Change-Id: Iada69110075c472c2dba5dc9eb1d44d1a9b936bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 20:06:35 +00:00
Sarah Chin
0647236cfe Backport VTS fixes to previous test versions am: 526a3a297b am: 64816a99b9 am: 0aae7cccd0 am: 0db1cc0601
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2574430

Change-Id: I5d578238e3a56460098977c3ba7cc8e054f61265
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 19:50:41 +00:00
Sarah Chin
39457c46e2 Backport VTS fixes to previous test versions am: 526a3a297b am: 64816a99b9 am: 0aae7cccd0 am: 0db1cc0601
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2574430

Change-Id: I1c2b2c52586d1d7a94980cad556f7cb131786cfa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 19:49:40 +00:00
Sarah Kim
18cd0f0954 Merge "Fix broken and flaky VTS tests" into android12-tests-dev am: 3323c87bfa am: c5bde9bbcd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2572133

Change-Id: I462f8665e402cdeeef80b0babd184400fbc66a40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 19:24:06 +00:00
Shunkai Yao
db026a8ca0 Remove Descriptor proxy field from individual effect
This field should be filled by IFactory implementation

Bug: 271500140
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: I96203b8cd037fd81b0b1d88fc5ca9915df02a919
2023-05-01 19:07:05 +00:00
Sarah Chin
0db1cc0601 Backport VTS fixes to previous test versions am: 526a3a297b am: 64816a99b9 am: 0aae7cccd0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2574430

Change-Id: I3e5d784484dad28e3e5136fe4281f794add85d1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 19:03:54 +00:00
Sarah Kim
c5bde9bbcd Merge "Fix broken and flaky VTS tests" into android12-tests-dev am: 3323c87bfa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2572133

Change-Id: Ia3a9b69291efc526cfe8a2161145d563edf6ee4f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 18:47:23 +00:00