Commit Graph

46436 Commits

Author SHA1 Message Date
Andrew Scull
ebcdcdbc03 Merge "Document expectations of DICE mode" 2023-05-10 00:53:08 +00:00
Andrew Scull
ed74a681eb 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
Change-Id: Ia5fc937654504199cabf4709f1c15484242e0161
2023-05-09 18:34:11 +00:00
Treehugger Robot
9470948681 Merge "audio VTS: Update 7.0/PolicyConfig" 2023-05-09 09:28:56 +00:00
Mikhail Naganov
a273cdde84 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
Change-Id: Ic7ed6b186e1d0f1ff853f84ad962c1e4acf17a68
2023-05-08 13:17:08 -07:00
Treehugger Robot
fd48e195bb Merge "Make apex_available of nn hidl interfaces explicit in Android.bp" 2023-05-06 16:26:59 +00:00
Spandan Das
2d7c55d23f Make apex_available of nn hidl interfaces explicit in Android.bp
These are available to com.android.neuralnetworks via the baseline
apexAvailable map in build/soong/apex/apex.go. This CL makes this
explicit in Android.bp

Test: m nothing #passes
Bug: 281077552
Change-Id: I9f08db0dba6b155c6f25393a5d4baf6de27110da
2023-05-05 23:52:38 +00:00
Tri Vo
67567baf94 Merge "Test cases for attested Root-of-Trust" 2023-05-05 17:07:39 +00:00
Tri Vo
520a95bc31 Test cases for attested Root-of-Trust
Add tests for verfied boot state and VBMeta digest.

Bug: 255344624
Test: VtsKeyMintAidlTargetTest
Change-Id: I4f0697e1a7cb83ca87150b6683cac3084a593864
2023-05-05 10:04:39 -07:00
Hasini Gunasinghe
51471dcfce Merge "Challenge is expected in timestamp token in case 2" 2023-05-04 15:21:15 +00:00
Hasini Gunasinghe
77819bb988 Challenge is expected in timestamp token in case 2
In the second case out of the two cases of authorization enforcement
described for update(), it seems like the challenge is expected in
the timestamp token.

Test: N/A
Change-Id: I33e1b84bf8218335665b31ca144b3b4ecb342328
2023-05-03 22:33:30 +00:00
Max Bires
c4f05e81e0 Merge "Support for non-factory attestation in Strongbox." 2023-05-03 16:05:49 +00:00
Treehugger Robot
8182edb4ff Merge "Freeze Audio AIDL interfaces" 2023-05-02 23:28:26 +00:00
Charlie Boutier
995445a080 Merge "Uwb Hal: use fs::write instead of File::write" 2023-05-02 19:47:28 +00:00
Treehugger Robot
827ca53e4e Merge "Adding bug component per http://go/xts-owners-policy" 2023-05-02 19:39:11 +00:00
Treehugger Robot
5a9edcec4c Merge "audio: Use the canonical direction port direction in ModuleUsb" 2023-05-02 17:43:28 +00:00
Mikhail Naganov
9be1cde261 Merge "audio VTS: Update PolicyConfig after AudioPolicyConfig" 2023-05-02 16:34:46 +00:00
Treehugger Robot
453ec12115 Merge "Strongbox may not support 1024 bit key size for RSA." 2023-05-02 15:39:50 +00:00
Shunkai Yao
dd6ec5291a Freeze Audio AIDL interfaces
Fix Visualizer and Volume type UUID

Bug: 279432911
Test: m
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: I3e7d145aa37fb67d78cf05c06da22f74c0ea07ad
Merged-In: I3e7d145aa37fb67d78cf05c06da22f74c0ea07ad
2023-05-02 00:55:22 +00:00
Charlie Boutier
3561c84d77 Uwb Hal: use fs::write instead of File::write
Test: launch_cvd -enable_host_uwb
Change-Id: I1f9038f585ca79c33b8168db69da0e71fa414c6d
2023-05-02 00:06:28 +00:00
Mikhail Naganov
64fd6bd779 audio: Use the canonical direction port direction in ModuleUsb
Instead of relying on the device type, use the 'AudioPort.flags'
field to determine the device direction.

Remove 'isUsbInputDeviceType' and 'isUsbOutputtDeviceType'
as they are too specific to particular device type and just
add a maintenance burden.

Bug: 266216550
Test: m
Change-Id: Ia1b9330c2b419a1a4048ed78d914d05c1caf523f
2023-05-01 13:34:51 -07:00
Mikhail Naganov
33a35b5ffb audio VTS: Update PolicyConfig after AudioPolicyConfig
Make necessary changes to use updated AudioPolicyConfig class.

Bug: 205884982
Test: m VtsHalAudioV6_0TargetTest
Test: atest HalAudioV6_0GeneratorTest
Change-Id: Iced9d665d018853c4b2a50f4471a545af7bf60bb
2023-05-01 13:24:05 -07:00
Sarah Kim
2253179638 [automerger skipped] Merge "Fix broken and flaky VTS tests" into android12-tests-dev am: 3323c87bfa am: c5bde9bbcd am: 18cd0f0954 -s ours
am skip reason: Merged-In Ic7188f9d8ccfcd90d844b45e3b370a3be3c515d6 with SHA-1 ddaea2e5a4 is already in history

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

Change-Id: Ica72ad5ee4136ee157da8fdccf3dca2926ebb68e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 20:11:00 +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
Sarah Chin
aeaab2252e [automerger skipped] Backport VTS fixes to previous test versions am: 526a3a297b am: 64816a99b9 am: 0aae7cccd0 -s ours
am skip reason: Merged-In I77e0706f413ce9defb174f00ee145dcc01f5d780 with SHA-1 8ab8f0d1d8 is already in history

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

Change-Id: Id745f74b428582762e9084c57203369377464ff0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 19:08:01 +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
Sarah Chin
0aae7cccd0 Backport VTS fixes to previous test versions am: 526a3a297b am: 64816a99b9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2574430

Change-Id: If38943222d0d5687f7f12866ad147401c4ee8292
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 18:21:42 +00:00
Sarah Kim
3323c87bfa Merge "Fix broken and flaky VTS tests" into android12-tests-dev 2023-05-01 18:06:17 +00:00
Sarah Chin
64816a99b9 Backport VTS fixes to previous test versions am: 526a3a297b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2574430

Change-Id: Icc1838d577a8bd1dae4ca8b5b0524779354346c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 17:43:32 +00:00
Sarah Chin
526a3a297b Backport VTS fixes to previous test versions
Network scan check periodicity only if scan type is PERIODIC.
Fix MCC/MNC checks to handle null strings.

Test: atest VTS
Bug: 259674407
Change-Id: I77e0706f413ce9defb174f00ee145dcc01f5d780
Merged-In: I77e0706f413ce9defb174f00ee145dcc01f5d780
(cherry picked from commit 8ab8f0d1d8)
2023-04-30 23:48:50 +00:00
Sarah Chin
9459ee7fa1 [automerger skipped] Require SIM card for all VTS tests am: 9426eab44a am: 9973f65f95 am: 5b303d2fbb -s ours
am skip reason: Merged-In I1b2c317e21db118e4b957804feb76f266d887b20 with SHA-1 658fdaaa2a is already in history

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

Change-Id: Ieed913c004d81367155da159077cc568d4a3e832
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-29 22:00:24 +00:00
Sarah Chin
5b303d2fbb Require SIM card for all VTS tests am: 9426eab44a am: 9973f65f95
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2569893

Change-Id: I934fe99e216d7e967d30861d6ca8b8e46b3e2b5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-29 21:35:27 +00:00
Sarah Chin
9973f65f95 Require SIM card for all VTS tests am: 9426eab44a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2569893

Change-Id: I2769b1f7e7da440cfa4d6e8d85d59eaa5af63148
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-29 21:01:30 +00:00
Subrahmanyaman
ce2bebdd79 Strongbox may not support 1024 bit key size for RSA.
Strongbox may not support 1024 bit key size for RSA.
So in NoUserConfirmation test updated the key size to
2048 so that the test works for both TEE and Strongbox.

Bug: 280117495
Test: run VtsAidlKeyMintTarget
Change-Id: I32bb28001aca9b69eedb1bd3d0bcff43052d06e4
2023-04-28 23:37:02 +00:00
Sarah Chin
8ab8f0d1d8 Backport VTS fixes to previous test versions
Network scan check periodicity only if scan type is PERIODIC.
Fix MCC/MNC checks to handle null strings.

Test: atest VTS
Bug: 259674407
Change-Id: I77e0706f413ce9defb174f00ee145dcc01f5d780
Merged-In: I77e0706f413ce9defb174f00ee145dcc01f5d780
2023-04-28 16:28:09 -07:00
Jayachandran C
f9ce76989c Merge "Fix fail on RadioConfigTest#checkPortInfoExistsAndPortActive for dual-SIM detection" into android13-tests-dev am: 2b072c63c9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2530680

Change-Id: Ie637c517fef3d38ee80c69e8eab031ad33a5c4bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-28 20:37:07 +00:00
Jayachandran C
2b072c63c9 Merge "Fix fail on RadioConfigTest#checkPortInfoExistsAndPortActive for dual-SIM detection" into android13-tests-dev 2023-04-28 20:08:53 +00:00
Wyatt Riley
96d835a892 Adding bug component per http://go/xts-owners-policy
Bug: 278494314
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:890bdd52fd3b406e750fffe40e9c5f3b331c0358)

Change-Id: I36a1781f1cf47d2b8177762b28a3d717484f0089
2023-04-28 20:08:30 +00:00
Treehugger Robot
4de72a2297 Merge "Bluetooth AIDL: SetTerminalRaw on fd" 2023-04-28 19:29:33 +00:00
Sarah Chin
7f3bd1792f Fix broken and flaky VTS tests
nvResetConfig takes some time to reset the modem, causing subsequent
tests to fail with a timeout since the modem is unavailabe.
Add a timeout after nvResetConfig to allow the modem to be up again
before running the next test.

Bug: 259674407
Test: atest VtsHalRadioTargetTest
Change-Id: Ic7188f9d8ccfcd90d844b45e3b370a3be3c515d6
Merged-In: Ic7188f9d8ccfcd90d844b45e3b370a3be3c515d6
(cherry picked from commit ddaea2e5a4)
2023-04-28 18:33:08 +00:00
Sarah Kim
2facc26b0c Merge "Fix broken and flaky VTS tests" 2023-04-28 18:29:25 +00:00
Henri Chataing
f41cdd3d0d Merge "Bluetooth: Enable test Cdd_C_12_1_Bluetooth5Requirements" 2023-04-28 17:35:03 +00:00
yanggang.yang
eb744bc14c Bluetooth AIDL: SetTerminalRaw on fd
Call SetTerminalRaw on the fd that was opened, since mFD has not been set. If SetTerminalRaw fails, log it but continue, since some platforms do not need this call.

Bug: 279870989
Test: start Bluetooth on a device that doesn't need SetTerminalRaw
Change-Id: I97c92c407b7c80442a0ba0812a630525219670a0
2023-04-28 17:02:08 +00:00
Sarah Chin
9426eab44a Require SIM card for all VTS tests
We check SIM card status is PRESENT before running any VTS tests, so
ensure that it's enforced in the configs as well.

Test: atest VtsHalRadioTargetTest
Bug: 249143796
Change-Id: I1b2c317e21db118e4b957804feb76f266d887b20
Merged-In: I1b2c317e21db118e4b957804feb76f266d887b20
(cherry picked from commit 658fdaaa2a)
2023-04-28 07:05:09 +00:00
Sarah Chin
658fdaaa2a Require SIM card for all VTS tests
We check SIM card status is PRESENT before running any VTS tests, so
ensure that it's enforced in the configs as well.

Test: atest VtsHalRadioTargetTest
Bug: 237504027
Change-Id: I1b2c317e21db118e4b957804feb76f266d887b20
Merged-In: I1b2c317e21db118e4b957804feb76f266d887b20
2023-04-27 18:44:23 -07:00
Sarah Chin
ddaea2e5a4 Fix broken and flaky VTS tests
1. nvResetConfig takes some time to reset the modem, causing subsequent
   tests to fail with a timeout since the modem is unavailabe.
   Add a timeout after nvResetConfig to allow the modem to be up again
   before running the next test.
2. Remove invalid errors for start/stopKeepalive. These tests should
   fail due to invalid arguments, so remove NONE as a possible error.
   RADIO_NOT_AVAILABLE should also be removed.
3. Fix incorrect startNetworkScan_InvalidInterval tests, since we only
   check the interval when the scan type is PERIODIC.
4. Save and reset the previous allowed network type bitmap after the
   test. Combine get/set into one test that tests both behaviors.
5. Fix checks for MCC/MNC in getDataRegistrationState

Bug: 277626718
Bug: 240953393
Bug: 264913330
Bug: 259674407
Bug: 242801688
Test: atest VtsHalRadioTargetTest
Change-Id: Ic7188f9d8ccfcd90d844b45e3b370a3be3c515d6
Merged-In: Ic7188f9d8ccfcd90d844b45e3b370a3be3c515d6
2023-04-27 18:43:06 -07:00
Jiabin Huang
cf210c83b2 AHAL: add more comment for IModule.disconnectExternalDevice
Bug: 277955540
Change-Id: I0d6a73884ab4bcfec62da45124024e8680155144
Test: TH
2023-04-27 23:06:57 +00:00
Seth Moore
5fc0168163 Merge "Add VSR annotations for RKP DICE" 2023-04-27 22:05:36 +00:00
Seth Moore
ac1639f227 Add VSR annotations for RKP DICE
Bug: 277965670
Test: n/a (comment changes only)
Change-Id: I64e34c1f9865811f0967148cad914f7ef77f9448
2023-04-27 11:15:28 -07:00
Yihan Dong
36f5abe27c Create OWNERS for VtsHalHealthStorageTargetTest
Bug: 278494006
Change-Id: I950548feb2673ba8f6c646a4916a4730ef6ce763
2023-04-27 09:11:30 +00:00
Treehugger Robot
e0a2388561 Merge "Update drm/1.3/vts/OWNERS" 2023-04-26 21:56:27 +00:00