Commit graph

46484 commits

Author SHA1 Message Date
Jayachandran C
569b04a197 Merge "Fix fail on RadioConfigTest#checkPortInfoExistsAndPortActive for dual-SIM detection" 2023-04-25 23:58:42 +00:00
Zhang Yuan
276189b7df Fix fail on RadioConfigTest#checkPortInfoExistsAndPortActive for dual-SIM detection
The code currently uses 'dsds' to detect dual-SIM configurations,
but it misses 'dsda' configurations, resulting in test failures.
Should use the detection mechanism by adding handling for 'dsda',
ensuring accurate detection of all dual-SIM configurations.

Bug: 277705768
Test: vts -m VtsHalRadioTargetTest -t PerInstance/RadioConfigTest#checkPortInfoExistsAndPortActive/0_android_hardware_radio_config_IRadioConfig_default

Change-Id: Ie73a958ff14e86f440831e18291b6599b6eac30b
Signed-off-by: Jia Jia <jia.jia@zte.com.cn>
2023-04-25 21:16:42 +00:00
Zhang Yuan
961b3dccde Fix fail on RadioConfigTest#checkPortInfoExistsAndPortActive for dual-SIM detection
The code currently uses 'dsds' to detect dual-SIM configurations,
but it misses 'dsda' configurations, resulting in test failures.
Should use the detection mechanism by adding handling for 'dsda',
ensuring accurate detection of all dual-SIM configurations.

Bug: 277705768
Test: vts -m VtsHalRadioTargetTest -t PerInstance/RadioConfigTest#checkPortInfoExistsAndPortActive/0_android_hardware_radio_config_IRadioConfig_default

Change-Id: Ie73a958ff14e86f440831e18291b6599b6eac30b
Signed-off-by: Jia Jia <jia.jia@zte.com.cn>
2023-04-25 21:14:42 +00:00
Andrew Scull
29b1d626ba Merge "Strictly deprecate IRPC test mode key generation" 2023-04-25 12:30:17 +00:00
caijq
d5dc7e9ab1 CEC : fix VtsHalTvCecV1_0TargetTest SendMessage test failed. am: bebdb2bef9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2554990

Change-Id: I391db13afec56ff52446640f2bd9695cc334dccd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 04:12:11 +00:00
Andrew Scull
f2ae193680 Strictly deprecate IRPC test mode key generation
It's already documented that IRPC v3 doesn't make use of test mode keys
however VTS still required support for their generation. Fix this and
simplify implementation of the v3 HAL by expecting an error in all cases
that the deprecated test mode keys are seen.

IRPC v3 also fully deprecated the EEK meaning a v3 implementation must
unconditionally report CURVE_NONE for supportedEekCurve.

The VTS tests are enhanced with contextual version constants rather than
reusing constants with seemingly unrelated names.

Bug: 278013975
Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I5709a0b1cd77eb28e677f64bb781fad58d91570a
2023-04-24 20:23:48 +00:00
caijq
bebdb2bef9 CEC : fix VtsHalTvCecV1_0TargetTest SendMessage test failed.
If CEC DUT is a TV device type,we should reset logical address to tv,
and then set message.initiator to tv.

Bug: 277715429
Test: run VTS

Change-Id: If7f7b9ddce182e5de80c91a30c4ec18294459fbf
Signed-off-by: caijq <callen.cai@rock-chips.com>
2023-04-24 08:34:39 +00:00
Nathalie Le Clair
f8160ecaa3 Add OWNERS to CEC HIDL HAL directory am: 5f86bf5794
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2553975

Change-Id: I8ad194c02ab9203a695b13fd62afdbb13a92bed3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-22 00:38:27 +00:00
Steven Moreland
feb7eced69 Merge "FCM 9: remove renderscript HAL" 2023-04-21 21:30:13 +00:00
Steven Moreland
064051c782 FCM 9: remove renderscript HAL
Bug: 205762042
Test: N/A
Change-Id: I3ff81b5fb8c01f948fbda2f5fa4a6764ba3c573b
2023-04-21 20:16:36 +00:00
Henri Chataing
8e9bf734b4 Merge "Bluetooth: Add a test for alignment" 2023-04-21 17:33:23 +00:00
Treehugger Robot
de5c086b79 Merge "Fix HCI parser and packetizer" 2023-04-21 17:22:19 +00:00
Myles Watson
bcc997bdf3 Bluetooth: Add a test for alignment
Bug: 276652301
Test: atest --host bluetooth-vendor-interface-hci-test
Change-Id: I3e862dd88aeed65e7a4ef1f9a223cc520a1ccc54
2023-04-21 16:48:16 +00:00
Henri Chataing
2845303342 Fix HCI parser and packetizer
Issue found from the test H4ProtocolAsyncTest#TestMultiplePackets.
The packetizer does not correctly handle a packet termination
at the beginning of a chunk.

Test: atest --host bluetooth-vendor-interface-hci-test
Bug: 276652301
Change-Id: I1b61efcfa5f817fdb8b5870e81d660be5279fdea
2023-04-21 16:10:22 +00:00
Elie Kheirallah
3f2f348c48 Merge "Fix null dereference read in android::hardware::bluetooth::hci::H4Protocol::Send" 2023-04-21 15:04:56 +00:00
Nathalie Le Clair
5f86bf5794 Add OWNERS to CEC HIDL HAL directory
Bug: 277715429
Test: none

Change-Id: I3ca74319cc4d1f49a48c9e9f83a0ae402f56b782
(cherry picked from commit 683a0fc078)
2023-04-21 14:03:55 +00:00
Nathalie Le Clair
c054e7fda9 Merge "CEC : fix VtsHalTvCecV1_0TargetTest SendMessage test failed." 2023-04-21 14:02:57 +00:00
Henri Chataing
0c581a084a Bluetooth: Enable test Cdd_C_12_1_Bluetooth5Requirements
The requirements have been added to RootCanal:
 - LE Periodic Advertising
 - LL Privacy
 - LE 2M Phy

Test: atest
Bug: 275847929
Change-Id: Ifa49494091727bf162554a658629bc4ec3c3cd63
2023-04-20 23:12:06 +00:00
Elie Kheirallah
cd1bf1e530 Fix null dereference read in android::hardware::bluetooth::hci::H4Protocol::Send
Bug: 276375037
Test: atest VtsHalBluetoothTargetTest
Change-Id: Ib9f99a75a97538899ac64a3c02fff1ec5804a0e6
2023-04-20 21:37:50 +00:00
Diya Bera
00c56f8f36 Merge "Adding owners" 2023-04-20 20:02:26 +00:00
caijq
d936eb4589 CEC : fix VtsHalTvCecV1_0TargetTest SendMessage test failed.
If CEC DUT is a TV device type,we should reset logical address to tv ,
 and then set message.initiator to tv.

Change-Id: If7f7b9ddce182e5de80c91a30c4ec18294459fbf
Signed-off-by: caijq <callen.cai@rock-chips.com>
2023-04-20 07:46:15 +00:00
Nathalie Le Clair
683a0fc078 Add OWNERS to CEC HIDL HAL directory
Bug: 277715429
Test: none

Change-Id: I3ca74319cc4d1f49a48c9e9f83a0ae402f56b782
2023-04-20 07:45:06 +00:00
Mikhail Naganov
8353166760 [automerger skipped] Update VtsHalAudioPolicyV1_0TargetTest to match XML changes am: 55dd33f14f -s ours am: e1158fa1ba -s ours am: 155ac8ef64 -s ours
am skip reason: Merged-In Id581e290740a3c00ba3719a339c9bc47d730f35c with SHA-1 afff851110 is already in history

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

Change-Id: If36b72f15cb154bbf7466b2cdab885f3d8da350e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 02:25:54 +00:00
Mikhail Naganov
155ac8ef64 [automerger skipped] Update VtsHalAudioPolicyV1_0TargetTest to match XML changes am: 55dd33f14f -s ours am: e1158fa1ba -s ours
am skip reason: Merged-In Id581e290740a3c00ba3719a339c9bc47d730f35c with SHA-1 afff851110 is already in history

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

Change-Id: I7cc328378f38bb1918d6751797865a3b99de459e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 01:58:07 +00:00
Mikhail Naganov
e1158fa1ba [automerger skipped] Update VtsHalAudioPolicyV1_0TargetTest to match XML changes am: 55dd33f14f -s ours
am skip reason: Merged-In Id581e290740a3c00ba3719a339c9bc47d730f35c with SHA-1 afff851110 is already in history

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

Change-Id: I50d081a0fbafc3e91a93cd1d36578a2b1b0693a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 01:21:00 +00:00
Diya Bera
414ea865b3 Adding owners
Test: N/A
Bug: 278741020
Change-Id: I586787a31cab0d32d14d43f5f84ceb1e14087aa4
Merged-In: I586787a31cab0d32d14d43f5f84ceb1e14087aa4
2023-04-19 19:18:58 +00:00
Shraddha Basantwani
fdbc1dd5cc Tuner : Add missing bug component id for VTS
Bug: 278494089
Bug: 278494335
Test: NA
Change-Id: Icb2a536e32aee26b0a8a01a266b11ebabe3db5ea
2023-04-19 15:53:40 +05:30
Myles Watson
bf6879eaa2 Merge "Bluetooth AIDL: Set max thread count to 0" 2023-04-19 02:25:58 +00:00
Myles Watson
18bd4096a9 Bluetooth AIDL: Set max thread count to 0
The default HAL only uses one thread, which is 0 more than
the default of 1.

Bug: 205758693
Test: VtsHalBluetoothTargetTest
Change-Id: I8828cab2b4eb4d2a28ecc41cb75e3eb470cd0da6
2023-04-18 15:46:32 -07:00
Mikhail Naganov
55dd33f14f Update VtsHalAudioPolicyV1_0TargetTest to match XML changes
There was a proposal for a backward-compatible XML schema change
(https://android-review.googlesource.com/q/I1bf31c6bf6c57c9b79f0d5751601aa77780f1f80)
which had a mistake. Express the change correctly to match
the implementation.

Bug: 231929160
Test: atest VtsHalAudioPolicyV1_0TargetTest
Change-Id: Id581e290740a3c00ba3719a339c9bc47d730f35c
Merged-In: Id581e290740a3c00ba3719a339c9bc47d730f35c
(cherry picked from commit e01186e117)
2023-04-18 17:36:06 +00:00
Shuzhen Wang
2603479470 Camera: VTS: Fix fence fd double close am: 3ad137edbb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2539830

Change-Id: I6f75051e3ac3bf9d3976969ead45da306d2ff10a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 00:49:20 +00:00
Charlie Boutier
29567e796b Merge "Revert "Revert "uwb(hal): Implement UCI over serial in the defau..."" 2023-04-17 23:22:04 +00:00
Shuzhen Wang
3ad137edbb Camera: VTS: Fix fence fd double close
Fence fd is closed when processCaptureResult returns. In order to
wait for the release fence *after* processCaptureResult returns,
the fence fd needs to be duped.

Test: Vendor testing
Bug: 241281568
Change-Id: Ib74f9bb141802713b476a2ef48a2252125a7915d
2023-04-17 05:02:05 +00:00
Treehugger Robot
a95f69da2e Merge "Add checks for different size of challenge" 2023-04-17 04:20:54 +00:00
Treehugger Robot
d83eed2fe3 Merge "Allow uninstantiated BootloaderStateTest" 2023-04-14 21:32:39 +00:00
Tri Vo
78e07d5dff Allow uninstantiated BootloaderStateTest
No tests are instantiated if KeyMint is present on the the device.
Explicitly allow that.

Bug: 277975776
Test: VtsAidlKeyMintTargetTest
Change-Id: I88f1c0a81f36d198dabcb1420b62a00bacdbb6e7
2023-04-14 11:01:22 -07:00
Sihu Song
72205da1e6 Merge "Add emulator metadata generator script" 2023-04-14 01:40:15 +00:00
Treehugger Robot
cd4380e4a5 Merge "Add compatibility matrix for V." 2023-04-13 18:59:01 +00:00
Treehugger Robot
fe4b88ab73 Merge "Add EventFlag for effect HAL thread processing" 2023-04-13 16:57:44 +00:00
Treehugger Robot
d10869b255 Merge "AHAL: use PCM_FORMAT_INVALID as the termination of format array." 2023-04-13 16:56:20 +00:00
jiabin
768c6f94d6 AHAL: use PCM_FORMAT_INVALID as the termination of format array.
Bug: 266216550
Test: make
Change-Id: Ibe2056eb4fdecb14c3e25daa3dbdd769d6433136
2023-04-12 23:46:55 +00:00
Yifan Hong
ffcf238842 Add compatibility matrix for V.
Test: TH
Bug: 266741352
Change-Id: Id87a43f231c9482a55e61204f9c67c975fff746c
Merged-In: Ic42e51b616782a2763eb80e1cad5ca776cc079d4
2023-04-12 21:54:01 +00:00
Tri Vo
eb94a4f9ef Merge "Test for bootloader state" 2023-04-12 16:20:51 +00:00
Yifan Hong
09e267b874 Merge "Finalize U kernel requirements." 2023-04-11 21:45:54 +00:00
Steven Moreland
51aec020ef Merge "Explicit init .rc user." 2023-04-11 21:33:30 +00:00
Yifan Hong
80aa7b7435 Finalize U kernel requirements.
Test: TH
Change-Id: Ib8805dfe93d22353f17f94c29962f171ad72749f
2023-04-11 11:17:33 -07:00
Treehugger Robot
2d79edf1d8 Merge "Update Vts for getSlicingConfig" 2023-04-11 04:38:44 +00:00
Shunkai Yao
41888a2f07 Add EventFlag for effect HAL thread processing
Bug: 261129656
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit

Change-Id: Ibe6052a8c2a182b33e6fe727b8606431dd2f5355
2023-04-11 00:10:50 +00:00
Steven Moreland
f13464d1dd Explicit init .rc user.
Set the user explicitly.

Bug: 276813155
Test: boot
Change-Id: Ifd5cbacd308ee74de64dd12741771f01abc5b1d5
2023-04-10 20:43:50 +00:00
Charlie Boutier
d572dd0bc7 Revert "Revert "uwb(hal): Implement UCI over serial in the defau..."
Revert submission 2528605-revert-2215484-pica_cf-BZDQSZLKEP

Reason for revert: revert^2

Reverted changes: /q/submissionid:2528605-revert-2215484-pica_cf-BZDQSZLKEP

Change-Id: I0c64b449c5da236a7cd63f88a605d48b9c471c67
2023-04-10 18:14:23 +00:00