Commit graph

46351 commits

Author SHA1 Message Date
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
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
Sam Wu
9f8fac2faa Merge "Revert "uwb(hal): Implement UCI over serial in the default HAL"" 2023-04-07 23:45:06 +00:00
Andrew Scull
de49fca027 Merge "Document that the component version can be a string" 2023-04-07 20:57:25 +00:00
Sam Wu
63bcd88052 Revert "uwb(hal): Implement UCI over serial in the default HAL"
Revert submission 2215484-pica_cf

Reason for revert: DroidMonitor: Potential culprit for Bug X - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Reverted changes: /q/submissionid:2215484-pica_cf

Change-Id: Ifd9f5cf04631e19a33b29b4b2917eaab2b506e23
2023-04-07 18:35:20 +00:00
Charlie Boutier
77ee578477 Merge "uwb(hal): Implement UCI over serial in the default HAL" 2023-04-06 16:09:27 +00:00
Treehugger Robot
a3bc09e02a Merge "VTS: Restore 2nd-IMEI tests" 2023-04-06 05:58:35 +00:00
Tommy Chiu
728336ffa3 VTS: Restore 2nd-IMEI tests
Enable some tests that are bypassed on strongbox implementation.

Bug: 262255219
Test: VtsAidlKeyMintTargetTest
Change-Id: I548bddcd16c0a1ee1c1cb8266d4d99dbdff3d39b
2023-04-06 02:09:22 +00:00
Treehugger Robot
d0d17b1c8c Merge "Add min uwb initiation time as new vendor capability." 2023-04-06 00:11:53 +00:00
Treehugger Robot
a9259fafd6 Merge "All hals are marked optional in compatibility matrices (U)" 2023-04-05 21:05:38 +00:00
Devin Moore
6dc4b5917a Merge "Add hal_implementation_test on automotive cf to test_mapping" 2023-04-05 17:37:26 +00:00
Treehugger Robot
13f7e14af3 Merge "Camera: VTS: Wait for release fence before consuming buffers" into android13-tests-dev am: 1c8377c24c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2520900

Change-Id: I02490da662338296bd76de6c9e39b8f590aae0c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 17:34:13 +00:00
Treehugger Robot
1c8377c24c Merge "Camera: VTS: Wait for release fence before consuming buffers" into android13-tests-dev 2023-04-05 17:10:33 +00:00
Pavan Kumar M
8b5cf0ca14 Update Vts for getSlicingConfig
Currently getSlicingConfigAPI always returns NOT_SUPPORTED.
But GetSlicingConfig is supported in Android U. and VTS will fail.

This change updates the expected errorcodes for getSlicingConfig API.

Tests: Builds, Boots, RadioDataTest
Bug: 228996685
Change-Id: I10cf7b0b9ba09e56605d5a498ec48c4b8972f00b
2023-04-05 16:44:49 +05:30
Shuzhen Wang
3d44601e7f Camera: Fix VTS failure for depth only camera am: 72f97643fb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2523160

Change-Id: I849cf4e48e18cc88ec6e62eb4066f2ff05887fa4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 02:07:10 +00:00
Shuzhen Wang
72f97643fb Camera: Fix VTS failure for depth only camera
If the device is depth-only, use threshold with Y16 format rather than
IMPLEMENTATION_DEFINED.

This fixes the regression introduced by the fix for b/265984260.

Bug: 276957901
Test: atest VtsAidlHalCameraProvider_TargetTest
Change-Id: If9023f1ed17bb761abbb9be36e567264f8bf0689
2023-04-04 20:57:27 +00:00
ziyiw
46b5ac8692 Add min uwb initiation time as new vendor capability.
Test: manual
Bug: 245854896
Merged-In: I640b54356d4a7dc338d995596147aa6716278b54
Change-Id: I12436cad527255d8f88e9ca34409aee0a59b3c92
2023-04-04 20:06:49 +00:00
Shuzhen Wang
0f56c56709 Camera: VTS: Wait for release fence before consuming buffers
The camera HAL may signal release fence after processCaptureResult.
If the VTS test waits for the release fence in the context of the
capture result, there is possibility of deadlock.

Rather, we should wait for the releaseFence in a different thread
context to really emulate the real application behavior.

Test: atest VtsAidlHalCameraProvider_TargetTest
Bug: 241281568
Change-Id: Id1d92e901aae1cab084846d252ef090fcda182d7
2023-04-04 16:45:28 +00:00
David Duarte
e432bdd45b uwb(hal): Implement UCI over serial in the default HAL
Bug: 229824143
Test: manual with cuttlefish
Change-Id: Ia29e618b8c9b53f295f66ff0b94965d4f571f8e4
2023-04-03 17:32:44 +00:00
Devin Moore
6bbf5bb312 Add hal_implementation_test on automotive cf to test_mapping
Test: lunch aosp_cf_x86_64_auto-userdebug && atest
hal_implementation_test
Bug: 274164202

Change-Id: Ib9095ca1d2521af8c9d1eed735235f0fd2463f91
2023-04-03 17:08:37 +00:00
Yifan Hong
83867895ed All hals are marked optional in compatibility matrices (U)
Requirements are tested separatedly, in vts_treble_vintf_test.

New requirements are reflected in vts_treble_vintf_test. See change
If922f97cbf9fc.

Test: TH
Bug: 247575800

Change-Id: I2ffb16e226a5bcf5166a99fc6199276b9230cf50
Merged-In: I2ffb16e226a5bcf5166a99fc6199276b9230cf50
2023-03-31 14:37:00 -07:00
Myles Watson
048b8f7517 Run VtsHalBluetoothTargetTest with hwasan
Bug: 276457982
Test: atest VtsHalBluetoothTargetTest
Change-Id: I4d203f4217f6509c08c5519dc3ff53b9eca5c172
2023-03-31 13:15:19 -07:00
Yifan Hong
d1129e076c Merge "All hals are marked optional in compatibility matrices (Q~T)" 2023-03-31 19:29:52 +00:00
Yifan Hong
79ed41b0e6 All hals are marked optional in compatibility matrices (Q~T)
Requirements are tested separatedly, in vts_treble_vintf_test.

New requirements are reflected in vts_treble_vintf_test. See change
If922f97cbf9fc.

Test: TH
Bug: 247575800

Change-Id: I6bc267dee4ca6145b9e7b40abde773ce5fc52e8c
2023-03-31 19:29:18 +00:00
Shunkai Yao
ddd489824d Merge changes from topic "fix-b-273252382-connect-external-device"
* changes:
  audio: Clarify profiles management for external devices
  audio: Add some utility methods, improve logging
2023-03-31 05:35:08 +00:00
Treehugger Robot
73c824414b Merge "Updated fuzz_config in Android.bp file" 2023-03-31 05:28:36 +00:00
Treehugger Robot
728011d97c Merge "Updated fuzz_config in Android.bp file" 2023-03-31 05:23:13 +00:00
Treehugger Robot
bf89d7ed4a Merge "Updated fuzz_config in Android.bp file" 2023-03-31 05:21:13 +00:00
Treehugger Robot
bbf290bb5d Merge "Updated fuzz_config in Android.bp file" 2023-03-31 05:11:52 +00:00
Mikhail Naganov
7b2d12b1f7 audio: Clarify profiles management for external devices
Clarify what should happen to mix port profiles after
connection of an external device. Add a test to verify
this behavior.

Also, add an XML file for the test runner for
VtsHalAudioCoreTargetTest.

Bug: 273252382
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I3381dd29c5922bf31fa3a8ae6fa273597e8333a1
Merged-In: I3381dd29c5922bf31fa3a8ae6fa273597e8333a1
2023-03-30 20:32:00 -07:00
Mikhail Naganov
d5536d9ac6 audio: Add some utility methods, improve logging
Add 'isDefaultAudioFormat' to Utils.h.

Print the module type in 'setModuleDebug'.

Align 'suggestDeviceAddressTag' with framework code.

Bug: 273252382
Test: m
Change-Id: I0248d2e866522a63a745d4af6132b7d2b6a01564
Merged-In: I0248d2e866522a63a745d4af6132b7d2b6a01564
2023-03-30 20:32:00 -07:00
Tri Vo
bf75a4070d Test for bootloader state
Bug: 255344624
Test: VtsKeyMintAidlTargetTest
Change-Id: I8b34a94c11d7cc174821483f624fd083ca1763ac
2023-03-30 15:45:16 -07:00
Andrew Scull
c71a8d0ef1 Merge "Use VSR to tell libhwtrust_cxx how to validate" 2023-03-30 09:36:31 +00:00
David Drysdale
a2f63439c7 Merge "Test specifying CERTIFICATE_NOT_{BEFORE,AFTER}" 2023-03-30 06:21:09 +00:00
Treehugger Robot
7c0d76357c Merge changes I53a67135,I235ca85f,If3180282
* changes:
  VTS: Add VSR requirement tests to VTS
  Fix clang-tidy errors
  VtsHalBluetooth: Use PDL to generate packets
2023-03-30 04:09:07 +00:00