Commit Graph

45280 Commits

Author SHA1 Message Date
Xin Li
c96ae7d7f5 Merge TQ1A.230205.002
Bug: 263898609
Merged-In: I6bfb02a5cd76258284cc4d797a4508b21e672c4b
Change-Id: I9b4a1a6d0b6ba2e731737b5b731254a92dc4605e
2023-02-06 21:05:29 -08:00
Henri Chataing
3c766f6605 Merge "secure_element: Fix the expectation for closeChannel in VTS tests" 2023-02-07 01:37:06 +00:00
Yixiao Luo
277701b5ec Merge changes from topic "CAS AIDL Integration"
* changes:
  CAS: Correct Status enum values
  CAS: Add openSession with no params
2023-02-06 18:36:22 +00:00
Treehugger Robot
ec32540a84 Merge "Fix AttestKeyTest failures in KeyMint VTS" into android13-tests-dev am: c3702f8e5b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2406652

Change-Id: I2a19d5e784b2eabfffb63c3c1ceb7fed09682dcd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-06 17:45:19 +00:00
Treehugger Robot
9275a96448 Merge "AOSP AIDL USB audio HAL implementation." 2023-02-06 17:14:13 +00:00
Treehugger Robot
c3702f8e5b Merge "Fix AttestKeyTest failures in KeyMint VTS" into android13-tests-dev 2023-02-06 17:09:32 +00:00
Kangping Dong
05d0ccbc6e Merge "create staging/threadnetwork and add OWNERS" 2023-02-04 07:06:53 +00:00
KH Shi
d0d4fe20c1 Merge "Follow-up commit of aosp/2329897" 2023-02-04 03:23:34 +00:00
Treehugger Robot
d26180e5ff Merge "Remove the HIDL usb.gadget interface from the compat matrix" 2023-02-04 03:10:54 +00:00
Treehugger Robot
62d87cb2da Merge "VtsHalRadioV1_4Target.setPreferredNetworkTypeBitmap" into android12L-tests-dev am: 78cdf668a8 am: 221de90c16
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2375494

Change-Id: Ifdf2a54524931654a4668b3a2e482541afb7e1a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-04 02:07:30 +00:00
Treehugger Robot
221de90c16 Merge "VtsHalRadioV1_4Target.setPreferredNetworkTypeBitmap" into android12L-tests-dev am: 78cdf668a8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2375494

Change-Id: I9a4715bfea07ec34c9cb0fe8f31360c778e172c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-04 01:35:00 +00:00
Treehugger Robot
78cdf668a8 Merge "VtsHalRadioV1_4Target.setPreferredNetworkTypeBitmap" into android12L-tests-dev 2023-02-04 00:43:31 +00:00
Mikhail Naganov
d2ad3852e1 Merge "audio: Change log severity for audio I/O commands" 2023-02-03 23:28:56 +00:00
Venkatarama Avadhani
21222d705a CAS: Correct Status enum values
Bug: 266169861
Test: atest CtsMediaMiscTestCases

Change-Id: I4acda6a416cb72972e3fde0879d13254acb04fe0
2023-02-03 22:34:06 +00:00
Venkatarama Avadhani
9bd3427c7d CAS: Add openSession with no params
Add method to open a session with no arguments.

Bug: 266169861
Test: atest CtsMediaMiscTestCases

Change-Id: I912de02407716c9a5bcd28dabfa8eb8f45aef727
2023-02-03 22:33:36 +00:00
Devin Moore
10ff4a1fc3 Remove the HIDL usb.gadget interface from the compat matrix
This has been deprecated in level 8. Use the AIDL interface instead.

Test: none
Bug: 205764057

Change-Id: I5c7ca0dc26b5dd14daceb5a31d1040f59d1421e3
2023-02-03 22:29:27 +00:00
Yifan Hong
8bde9fedfc health: update owners.
-stayfan, +wjack

Test: N/A
Bug: N/A
Change-Id: I31f4f21efc30c90bc8e46567e7d08dfdabf717d1
2023-02-03 21:43:04 +00:00
Mikhail Naganov
1f72fd4622 audio: Change log severity for audio I/O commands
To reduce log spam, change log severity of commands
for audio I/O to "verbose".

Bug: 205884982
Test: check logcat
Change-Id: I90dbf7d422064061f38d780f890407b24f787f5a
2023-02-03 12:14:42 -08:00
Treehugger Robot
550c330642 Merge "VtsHalBluetooth: Add test for double init" 2023-02-03 17:59:43 +00:00
Shunkai Yao
7b29d26705 Merge "Effect AIDL: Rename Flags.noProcessing to Flags.bypass" 2023-02-03 02:07:11 +00:00
Treehugger Robot
0008532f8b Merge "health: fix vts test failed in aidl v2" 2023-02-03 01:45:35 +00:00
Shunkai Yao
41500c1261 Effect AIDL: Rename Flags.noProcessing to Flags.bypass
Bug: 258124419
Test: atest VtsHalAudioEffectTargetTest
Change-Id: I3838fa71bed3aeb7824a7cdfb71d43041ddb4368
2023-02-03 01:39:23 +00:00
Robert Shih
6f60eece49 DrmHalTest: null check for skipped test am: 9049fc93a8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2417394

Change-Id: Ibcc9f17acb7b2d43b24496c07a5ad2992b659977
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-02 23:26:58 +00:00
Alice Wang
6331fd4d5a Merge "[dice] Pass InputValues to dice::execute_steps without conversion" 2023-02-02 19:57:38 +00:00
jiabin
253bd32b04 AOSP AIDL USB audio HAL implementation.
Bug: 266216550
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I82e053d3f6a918cafe0d43b030f724f63a99eb2a
2023-02-02 18:39:26 +00:00
Alice Wang
c4a9ba8bd3 [dice] Pass InputValues to dice::execute_steps without conversion
Test: atest VtsAidlDiceTargetTest VtsAidlDiceDemoteTargetTest
Bug: 267575445
Change-Id: I14819bb8e1af10a2de4539077491de3fb7df9a83
2023-02-02 16:35:45 +00:00
Treehugger Robot
2831fa2bf2 Merge "Updated the digest to SHA_2_256 in key upgrade tests." 2023-02-02 16:21:13 +00:00
Henri Chataing
4b780ebe46 secure_element: Fix the expectation for closeChannel in VTS tests
The AIDL interface states that closeChannel must return FAILED
if the channel is not opened. The default AIDL implementation
did not respect this requirement either.

Bug: 266384111
Test: m VtsHalSecureElementTargetTest
Change-Id: I3e7142e6bbeb9d79cea2c109689da59c0615167a
2023-02-02 16:20:42 +00:00
KH Shi
562cbfeea2 Follow-up commit of aosp/2329897
This commit resolves comments addressed in aosp/2329897.
- Remove EX_UNSUPPORTED_OPERATION return from setDataWarningAndLimit()
- Update some comments
- Change some errors into assertions
- Correct the sequence of the arguments in EXPECT_EQ(), expected
  argument goes before the actual argument
- Print error or error message if API call fails

Bug: b/205762647
Test: atest VtsHalTetheroffloadTargetTest
Change-Id: Ied83dac5c33e06f6ad4ced18fbee785047b24c38
2023-02-02 20:10:13 +08:00
Jack Wu
9beec7e3af health: fix vts test failed in aidl v2
Add a check before executing the test to determine whether the
health HAL is indeed the V2 version.

Bug: 266665472
Test: vts test
Change-Id: I43c7d0139037701f0ef2e8f3925272470684a50e
Signed-off-by: Jack Wu <wjack@google.com>
2023-02-02 16:49:43 +08:00
Shunkai Yao
e4312424c5 Merge "Effect AIDL: remove the shared_lib dependency for example binary" 2023-02-02 04:50:07 +00:00
Treehugger Robot
27dd86b818 Merge "Updated the comments where the return codes are used in other types." 2023-02-02 04:16:37 +00:00
Shunkai Yao
52ba4dc148 Effect AIDL: remove the shared_lib dependency for example binary
They will be dlopen so no need to add the shared_lib dependency.
But we need to add them as PRODUCT_PACKAGES in base_vendor.mk

Bug: 258124419
Test: build and boot cuttlefish, change effect lib path in Android.bp
and audio_effects_config.xml and bootup.

Change-Id: Ia3b9bef9b5ed86921d80adcc0ce2296f50939370
2023-02-02 03:19:53 +00:00
Kangping Dong
4f8c63817d create staging/threadnetwork and add OWNERS
The `hardware/interfaces/staging/threadnetwork` folder contains the
unstable/unreleased `hardware/interfaces/threadnetwork` code which
are not supposed to be used in production. But vendors may start
verifying their hardware with the HAL interface.

This directory will be cleaned up when the stable Thread HAL interface
is added in `hardware/interfaces/threadnetwork` by version `V` or later.

Bug: 203492431
Change-Id: I0d6aee0666029fd17a94b3a46c51f43127db4759
2023-02-02 11:15:34 +08:00
Treehugger Robot
8c91779b64 Merge "powerstats: bump version of PowerStats HAL to V2" 2023-02-02 01:21:00 +00:00
Myles Watson
0daa164e59 VtsHalBluetooth: Add test for double init
Bug: 266221125
Test: atest VtsHalBluetoothTargetTest
Change-Id: Ic9c0abd27171e210367c2224f8a97991f4088285
2023-02-01 17:17:58 -08:00
Myles Watson
800e717e64 Merge "BluetoothHAL: Reset the chip on open(), close once" 2023-02-02 00:10:20 +00:00
Pawan Wagh
f784df7cca Merge "Fixing null deference crash in audio service" 2023-02-01 23:02:12 +00:00
Yifan Hong
ae32aaeedf Merge "Deprecate Android P VINTF." 2023-02-01 21:57:44 +00:00
Pawan Wagh
6f57cd9778 Fixing null deference crash in audio service
Bug: 267517128
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I8949270b456d65e516946ffd294a5328da9de14b
2023-02-01 21:14:34 +00:00
Robert Shih
9049fc93a8 DrmHalTest: null check for skipped test
Bug: 253168737
Change-Id: I0dea0d2482d607eecff433ffb901eba02a39770f
Test: VtsAidlHalDrmTargetTest
2023-02-01 16:39:18 +00:00
David Drysdale
44671d923a Merge "Skip curve25519 upgrade tests on KeyMint v1" 2023-02-01 12:44:34 +00:00
David Drysdale
9ea96ddd9d Skip curve25519 upgrade tests on KeyMint v1
Bug: 266010760
Test: VtsAidlKeyMintTargetTest
Change-Id: Ib65e8209477251cce15161b2502c893f9983da42
2023-02-01 07:44:43 +00:00
avinashhedage
a8e3bbfb68 Updated the comments where the return codes are used in other types.
Bug: 205760172
Test: VtsHalConfirmationUITarget
Change-Id: I9c30329361e27748c542e42bf932e01acc2f5a66
2023-02-01 07:36:42 +00:00
Treehugger Robot
a81c9a1e2f Merge "CAS: Fix memory leak in FactoryLoader" 2023-02-01 05:06:29 +00:00
Treehugger Robot
02cbb00444 Merge "Move canhalconfigurator to /system_ext" 2023-02-01 00:34:33 +00:00
Yifan Hong
909db8a309 Deprecate Android P VINTF.
Devices launching with P VINTF requirements
(including HALs and kernels) will
not be able to update to Android U.

If a device wish to do so, it must update the
vendor / odm partitions to match newer VINTF
requirements.

The list in fcm_execlude is generated with:

  system/libvintf/analyze_matrix/hals_for_release.py  -d -j --package-only | python3 -m json.tool

in the 3~4 section.

Test: TH
Bug: 205175891
Change-Id: I0f3584f461f9545ca9d3a508baa1e2fc562eabd3
2023-01-31 15:21:56 -08:00
Myles Watson
65b47f5f99 BluetoothHAL: Reset the chip on open(), close once
Sending a reset and discarding extra packets
helps ensure that tests are hermetic for devices
that do not power off the chip with rfkill.

Add a mutex to make sure that close only gets
called once.

Bug: 266221125
Test: atest VtsHalBluetoothTargetTest
Change-Id: Ifb259a675202aa5399a8c7570ba8c4df2083e10e
2023-01-31 14:42:57 -08:00
David Drysdale
fceecc92d5 [automerger skipped] Add check_feature helper am: b7d44a2eef -s ours
am skip reason: Merged-In I4a5b2a41172c15ae29efb5b177eb86cea5527b4e with SHA-1 3d2ba0a137 is already in history

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

Change-Id: I10564ac40f04f8bddda029e4ed897bdeaa8b156c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-31 18:29:25 +00:00
Benjamin Grimberg
981c9c2236 Fix AttestKeyTest failures in KeyMint VTS
Skip attestation key tests if the feature
FEATURE_KEYSTORE_APP_ATTEST_KEY is disabled on device,
as done in KeyMint CTS.

Bug: 244460948
Bug: 265740739

Test: VtsAidlKeyMintTargetTest
Change-Id: I8199e5c7570b10b71f127c7439b889c0b3327865
2023-01-31 08:12:27 -07:00