Commit graph

53148 commits

Author SHA1 Message Date
Henry Fang
047d533cdc UEC is not static on real device, so check its range intead of specific value am: c2794f8c26 am: 44272133e5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2611423

Change-Id: Ia81b10cf46a0b37aa09ef96143463d5970fa2979
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 23:30:57 +00:00
Henry Fang
44272133e5 UEC is not static on real device, so check its range intead of specific value am: c2794f8c26
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2611423

Change-Id: Ic52778208de887ab8ff62b9e275c96fdd604215f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 23:09:07 +00:00
Henry Fang
c2794f8c26 UEC is not static on real device, so check its range intead of specific value
Change-Id: If165935ce639bac439af21f23b741ab2fa999bb9
bug:285561687
test: manaul
2023-06-02 17:15:12 +00:00
Treehugger Robot
5d806f5adb Merge "wifi: Fix single AP iface isn't deleted" into udc-dev 2023-06-02 03:36:59 +00:00
Sunil Ravi
780bef050a wifi: Fix single AP iface isn't deleted
Bug: 222599182
Bug: 278808480
Test: Manual Test, the AP iface is deleted.
Change-Id: I07faf0afcd1f69af4ef57204ceac02c2572453f2
2023-06-01 21:54:24 +00:00
Paul Colta
a93bdd0578 HDMICEC: Out of Bounds Write in sendMessage in HdmiCec.cpp
Bug: 278243594
Test: m && m android.hardware.tv.cec@1.0 && m android.hardware.tv.cec@1.0-service && atest VtsHalTvCecV1_0TargetTest
Change-Id: I2989f66f41172b345e3047218e138358c18b8644
(cherry picked from commit 2371bc8191)
2023-06-01 07:52:40 +00:00
Yixiao Luo
d697652774 Add native handle validation to TV Input HAL AIDL VTS
Bug: 282862884
Test: VtsHalTvInputTargetTest
Change-Id: I803b54e5b52a00ab845ef7ba4d5cec5bb8bd89ca
2023-05-30 16:55:18 +00:00
Ram Indani
a9d135cd14 Merge "[VTS 2.3] Add length check before reading blob" into udc-dev 2023-05-30 16:24:09 +00:00
Tri Vo
0638c50994 Merge "KM 4 test fix Root-of-Trust parsing" into udc-dev 2023-05-26 18:26:40 +00:00
ramindani
caee7cd3f6 [VTS 2.3] Add length check before reading blob
Adding a length check prevents the read() from
reading outside the bounds and prevents OOB crash.

Test: atest VtsHalGraphicsComposerV2_3TargetTest && atest VtsHalGraphicsComposerV2_4TargetTest
BUG: 252764300
Change-Id: I6231e340a925127f9c32ccb76768286f7292df58
Merged-In: I6231e340a925127f9c32ccb76768286f7292df58
2023-05-25 22:12:24 +00:00
David Zeuthen
a3f446f543 Merge "identity: Set testMode to false for RKP." into udc-dev 2023-05-25 17:58:30 +00:00
Gabriel Biren
46b5275f49 Skip HIDL v1.6 RTT responder VTS tests if the am: 9c7ff0f4e0 am: 5bcbb62667 am: 4271b902ef am: dbf86959ab
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2600788

Change-Id: I0e3e27777f5a4fd7802484a99e3b2ae989534357
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-25 03:05:38 +00:00
Gabriel Biren
dbf86959ab Skip HIDL v1.6 RTT responder VTS tests if the am: 9c7ff0f4e0 am: 5bcbb62667 am: 4271b902ef
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2600788

Change-Id: I75b42f194ad30a27dd88c4f747ef5d34a94026d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-25 02:24:14 +00:00
Gabriel Biren
13478dead5 Skip HIDL v1.6 RTT responder VTS tests if the am: 9c7ff0f4e0 am: 5bcbb62667 am: bf961a8327
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2600788

Change-Id: I96a2e7ebf7974f8ae9183c99e37636208eb06220
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-25 02:20:47 +00:00
Gabriel Biren
4271b902ef Skip HIDL v1.6 RTT responder VTS tests if the am: 9c7ff0f4e0 am: 5bcbb62667
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2600788

Change-Id: I45b57ef94974920f6fd6e1c9c127e2fb38d4246b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-25 01:40:36 +00:00
Gabriel Biren
bf961a8327 Skip HIDL v1.6 RTT responder VTS tests if the am: 9c7ff0f4e0 am: 5bcbb62667
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2600788

Change-Id: If5a48ff2c44a6163edbdf14ceed9b367886d2dca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-25 01:39:49 +00:00
Gabriel Biren
5bcbb62667 Skip HIDL v1.6 RTT responder VTS tests if the am: 9c7ff0f4e0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2600788

Change-Id: I30dfa5d5c2a81214949413d948424ca3f82f3e3c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-25 00:50:07 +00:00
David Zeuthen
2f54846e66 identity: Set testMode to false for RKP.
Bug: 283196184
Test: atest VtsHalIdentityTargetTest
(cherry picked from https://android-review.googlesource.com/q/commit:50001471e5c9acc8a07fd5abb9d8a08879fc3b98)
Merged-In: Iabe0f4cf14d96aa2cf48fac4709640495e4c522a
Change-Id: Iabe0f4cf14d96aa2cf48fac4709640495e4c522a
2023-05-24 23:48:38 +00:00
Tri Vo
ee400c8108 KM 4 test fix Root-of-Trust parsing
ROT was previously parsed into local variable, then discarded.
Fix it so that we are actually using parsed values.

Bug: 283892150
Test: VtsHalKeymasterV4_0TargetTest
Change-Id: I8af439d6262141648b01f1accaa9eb739fea85f8
Merged-In: I8af439d6262141648b01f1accaa9eb739fea85f8
2023-05-24 17:08:53 -04:00
Treehugger Robot
29bcd80ae7 Merge "Camera: Adjust VTS tests for zoom override latency" into udc-dev 2023-05-23 17:07:25 +00:00
Gabriel Biren
9c7ff0f4e0 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
(cherry picked from commit e8aca0a7aa)
2023-05-23 16:40:08 +00:00
Shuzhen Wang
38ddb278b3 Camera: Adjust VTS tests for zoom override latency
Now that the zoom override latency requirement is reduced to 1 frame,
adjust the VTS test accordingly.

Test: Run VtsAidlHalCameraProvider_TargetTest on Pixel
Bug: 283196724
Change-Id: Ie05106cd79549de6b91f94b5c25ffae768982a1b
2023-05-22 09:42:38 -07:00
Shubang Lu
6a2bf5901e Merge "Update documentation for TV messages" into udc-dev 2023-05-20 05:47:07 +00:00
Yuyang Huang
51d7c99586 Merge "Update APF VTS to include the vendor API level check" into udc-dev 2023-05-19 01:53:34 +00:00
David Zhao
e4773279d7 Update documentation for TV messages
Test: mmm
Bug: 278628657
Change-Id: I90a728b02f8208541bb10d419961b25f78fd840f
2023-05-18 16:37:03 -07:00
TreeHugger Robot
563a844ef0 Merge "Add IRemotelyProvisionedComponent widevine HAL to compat matrix" into udc-dev 2023-05-18 17:56:48 +00:00
Eran Messeri
0b48df3ad7 Merge "KM VTS test fix - handled "null" value for imei." into udc-dev 2023-05-18 15:58:56 +00:00
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