Commit graph

53321 commits

Author SHA1 Message Date
Yuyang Huang
5c3c6483d3 Update APF VTS to include the vendor API level check
APF is support is mandatory since VSR 14. Before that, the APF
requirement is optional. Vendors can opted into upgrading their
HAL to AIDL, so the VTS need to check if vendor API level on the device
and only mandate the APF capability check if the vendor API level is
greater or equal to 14.

Bug: 283181837
Test: atest VtsHalWifiStaIfaceTargetTest
Change-Id: I21513187d4ca99d721d0e9dc5e243adad77ab8c6
2023-05-18 18:11:56 +09:00
David Zhao
17a9190730 Add VTS for Watermark APIs
Bug: 283016116
Test: atest VtsHalTvInputTargetTest
Change-Id: I0861ee1fb60bfc702446f9c8af4ddee3737d9ed9
2023-05-17 17:10:15 -07:00
Shubang Lu
b85319ccd7 Merge "Add default implementation for setTvMessageEnabled" into udc-dev 2023-05-17 19:12:50 +00:00
David Zhao
eb955ce442 Add default implementation for setTvMessageEnabled
Bug: 283016116
Test: mmm
Change-Id: I1872cf28ad658c177a892f7c7587a91a34f445ff
2023-05-16 17:55:55 -07:00
Raj Goparaju
a5f9277262 Merge "AudioControl: add version check for module change callback APIs" into udc-dev 2023-05-16 18:06:58 +00:00
Joseph Jang
ab1f07d8d7 Merge "Add support testMode=false since KM RPC version 3" into udc-dev 2023-05-16 07:00:14 +00:00
Raj Goparaju
4a118d4e10 AudioControl: add version check for module change callback APIs
With Stable-AIDL structure, we have the same VTS test serving
multiple versions. It is possible that vendors implement older
version on the latest tree.

Therefore, the new API tests should not add new requirements on
older versions. Protect the new tests with version check to
ensure they are only executed if meeting version requirements.

Bug: 281945739
Test: run vts --module VtsAidlHalAudioControlTest
Change-Id: Ia186313088a3e8551b11a92259667edd0c6a3878
2023-05-15 18:00:15 -07:00
David Zhao
1a6b4a76e2 Merge "Update TV Input HAL documentation for device IDs" into udc-dev 2023-05-16 00:11:50 +00:00
David Zhao
44308a63fc Update TV Input HAL documentation for device IDs
Test: mmm
Bug: 278628657
Change-Id: I631f1ddf3348c0a570d98db16b0ce711bb7cb53f
2023-05-15 15:06:53 -07:00
Rajesh Nyamagoud
ba824fe285 KM VTS test fix - handled "null" value for imei.
Added a check to make sure IMEI is not "null".

Bug: 281676499
Test: atest VtsAidlKeyMintTargetTest
(cherry picked from https://android-review.googlesource.com/q/commit:71d19b21c30596b24ba053bfd9765528ee36901d)
Merged-In: Ia1569a30412d633eee4d4de8cd00dea077d1c23d
Change-Id: Ia1569a30412d633eee4d4de8cd00dea077d1c23d
2023-05-15 16:57:04 +00:00
Joseph Jang
f6ba6dc4bd Add support testMode=false since KM RPC version 3
Bug: 281661155
Change-Id: Ie727c327c10c6c48d72f9dc9689560f75e3d0131
Merged-In: Ie727c327c10c6c48d72f9dc9689560f75e3d0131
2023-05-15 03:15:17 +00:00
Treehugger Robot
2047ab0aae Merge "Update the remote access test folder." into udc-dev 2023-05-13 02:38:40 +00:00
TreeHugger Robot
a60e28c818 Merge "Remove unused wifi offload HAL." into udc-dev 2023-05-13 02:22:28 +00:00
Yu Shan
58ff09197b Update the remote access test folder.
Update the test folder directory. The previous temp directory
is not allowed to be accessed by selinux rule.

Test: Manual follow remote access test plan on seahawk.
Bug: 272773565
Change-Id: I2b8b05f56560d3d28d0d61e816d345f8d03f59a5
2023-05-12 18:00:59 -07:00
TreeHugger Robot
48d7962a98 Merge "VTS: Rename Vsr_Bluetooth5Requirments" into udc-dev 2023-05-13 00:28:29 +00:00
Myles Watson
c97b0196f7 VTS: Rename Vsr_Bluetooth5Requirments
Bug: 281798597
Test: atest VtsHalBluetoothTargetTest
Change-Id: I7db99066be11a6dae206cfe4997101db751ae059
Merged-In: I7db99066be11a6dae206cfe4997101db751ae059
2023-05-12 22:47:20 +00:00
Robert Shih
295b7d42de Add IRemotelyProvisionedComponent widevine HAL to compat matrix
Bug: 274501757
Change-Id: Ieb23ddd9ef4f1b9117f21f388fc00d7431f6bf9e
2023-05-12 19:38:48 +00:00
Treehugger Robot
1b3c54106e Merge "VTS: Reduce TV's advertising set requirement to 10" into udc-dev 2023-05-12 18:32:24 +00:00
Shunkai Yao
686183ef3d Merge "Implement AIDL effect IFacotry::queryProcessing" into udc-dev 2023-05-12 17:32:13 +00:00
Shunkai Yao
89ec63ed09 Implement AIDL effect IFacotry::queryProcessing
Bug: 281572768
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: I0166786d531437ef52690b92067766879b043a1d
2023-05-12 14:36:23 +00:00
Treehugger Robot
4b518cc3e7 VTS: Reduce TV's advertising set requirement to 10
Bug: 281798597
Test: atest VtsHalBluetoothVTargetTest
Change-Id: Ia3be5a1c7a7acc5270baef74b295291c32851987
2023-05-11 23:54:11 -07:00
Tri Vo
f3ce0a9de0 KM 4 tests for Root-of-Trust
Add tests for device locked state, verfied boot state and VBMeta digest.

Bug: 255344624
Test: VtsHalKeymasterV4_0TargetTest against default impl of KM 4
Change-Id: I46e62ab9031d3745f99bd214f9e579e80edc9128
Merged-In: I46e62ab9031d3745f99bd214f9e579e80edc9128
2023-05-11 16:30:21 -04:00
Tri Vo
dbb1c89347 Test cases for attested Root-of-Trust
Add tests for verfied boot state and VBMeta digest.

Bug: 255344624
Test: VtsKeyMintAidlTargetTest
Change-Id: I4f0697e1a7cb83ca87150b6683cac3084a593864
Merged-In: I4f0697e1a7cb83ca87150b6683cac3084a593864
2023-05-11 16:30:21 -04:00
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