Commit graph

45253 commits

Author SHA1 Message Date
Bhautik Ardeshana
dd8a1ae2e7 uwb: Allow Java backened jar to be created
Bug: 254568115
Test: Check for jar file in intermediate path
Change-Id: I36c0c356a5300f8ba31a1ab9a812740a8ea99335
2023-02-03 10:45:09 +05:30
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
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
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
Treehugger Robot
8c91779b64 Merge "powerstats: bump version of PowerStats HAL to V2" 2023-02-02 01:21:00 +00: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
David Drysdale
b7d44a2eef Add check_feature helper
Test: VtsAidlKeyMintTargetTest
Change-Id: I4a5b2a41172c15ae29efb5b177eb86cea5527b4e
Merged-In: I4a5b2a41172c15ae29efb5b177eb86cea5527b4e
(cherry picked from commit 3d2ba0a137)
2023-01-31 08:11:33 -07:00
Eran Messeri
cd46e02439 Merge "Keystore: Attestation fix in AOSP builds" 2023-01-31 13:43:55 +00:00
Shraddha Basantwani
09edb5748d CAS: Fix memory leak in FactoryLoader
Bug: 258638318
Bug: 262899644
Test: android.hardware.cas-service_fuzzer
Change-Id: Iff8a4e34a11f5a96e6c65cd84ee55f1712711670
2023-01-31 15:46:57 +05:30
Darren Hsu
c4fad13c9b powerstats: bump version of PowerStats HAL to V2
Bug: 264669398
Bug: 258321000
Bug: 266943256
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I009c09e4cd7e27250266cc7b2c1596df6fee95fe
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-01-31 14:16:23 +08:00
Treehugger Robot
9113258fe0 Merge "wifi: put vintf fragment into wifi apex" 2023-01-31 02:57:52 +00:00
Xiang Wang
2acfb5ddc8 Merge "Fix typo in Thermal AIDL interface and run update API" 2023-01-30 21:39:56 +00:00
Devin Moore
adf99047d5 Merge "Change optional="false" to "true" in compat matrix 7" 2023-01-30 17:55:31 +00:00
Treehugger Robot
e47d1c9ebb Merge "Make android.hardware.thermal HAL optional" 2023-01-30 17:20:20 +00:00
Jooyung Han
caad2b9831 wifi: put vintf fragment into wifi apex
The AOSP-version of wifi hal apex now contains the VINTF fragment in it.

Bug: 247018693
Bug: 266885060
Test: atest CtsWifiTestCases
Merged-In: Id8f196386967c3023cb5ee308d31b8cdeed7df0b
Change-Id: Id8f196386967c3023cb5ee308d31b8cdeed7df0b
2023-01-30 11:27:22 +09:00
Mikhail Naganov
5324db0668 Merge "audio: Match framework expectations for mic addresses" 2023-01-28 02:04:45 +00:00
Treehugger Robot
ae0621bf2a Merge "Change fastboot default impl to 'recovery: true'" 2023-01-28 01:31:19 +00:00
Devin Moore
3f1ac704b7 Change fastboot default impl to 'recovery: true'
It is needed to install in recovery according to bug.

Test: na
Bug: 266981597
Change-Id: I74f917d54ae7bec26fc4085e7b794916576fa4c2
2023-01-28 00:09:35 +00:00
Mikhail Naganov
b0f3d97f1a audio: Match framework expectations for mic addresses
The framework expects that "built-in mic" has address "bottom",
and the "buitl-in back mic" has address "back". This logic
will be incorporated into the XML to AIDL serializer later.

Bug: 205884982
Test: enable AIDL audio HAL on CF and run `atest CtsMediaAudioTestCases`
Change-Id: I5052b312b673e18e3148f917487b1f90a1e04ba6
2023-01-27 16:08:29 -08:00
Devin Moore
d874a23fc0 Make android.hardware.thermal HAL optional
A common workflow for vendors is to develop their new launching devices
targeting N-1 compatibility matrix so they can update each of their HALs
independently at different times.

This works because the target (N-1) framework compatibility matrix is squashed
with the newer compatibility matrices allowing the use of newer
interfaces.

This doesn't work when converting a service from HIDL to AIDL when the
HIDL service is marked as optional="false". It allows for the use of the
new AIDL interface, but it still requires the old HIDL interface.

Marking the old HIDL interfaces as optional allows vendors to develop
before the device targets level 8.

Test: atest vts_treble_vintf_vendor_test
Bug: 247575800
Change-Id: I0da1b10b2bf5c10b19b2713b56be72738a15eec1
2023-01-27 23:10:56 +00:00
Devin Moore
f2cada53a3 Change optional="false" to "true" in compat matrix 7
A common workflow for vendors is to develop their new launching devices
targeting N-1 compatibility matrix so they can update each of their HALs
independently at different times.

This works because the target (N-1) framework compatibility matrix is squashed
with the newer compatibility matrices allowing the use of newer
interfaces.

This doesn't work when converting a service from HIDL to AIDL when the
HIDL service is marked as optional="false". It allows for the use of the
new AIDL interface, but it still requires the old HIDL interface.

Marking the old HIDL interfaces as optional allows vendors to develop
before the device targets level 8.

Test: m
Bug: 247575800
Change-Id: I4446cdaa4a44b4dae1e9eee68089bf723dd25276
2023-01-27 23:07:43 +00:00
Xiang Wang
d9dbb06a4b Fix typo in Thermal AIDL interface and run update API
Bug: b/205762943
Test: m
Change-Id: Ic85c569eb48edd136bfc0ec8df3202fad3d67b46
2023-01-27 00:20:25 +00:00
Devin Moore
227fecd3ed Merge "Rename compatibility_matrix.current.xml" 2023-01-26 20:33:59 +00:00
Shunkai Yao
1d2d51a55d audio: Add API to get io handle
Add new API to fetch IO handle which is
used for offloaded effects.

Test: atest VtsHalAudioEffectFactoryTargetTest
Test: atest VtsHalAudioEffectTargetTest

Change-Id: I82abe76036507e770f0e2aed2feef7905d85a5c9
2023-01-26 18:18:32 +00:00
Shunkai Yao
293a52a471 Merge "AIDL effect: add AutomaticGainControlV1 AIDL" 2023-01-26 17:24:51 +00:00
David Drysdale
85fb71b280 Merge "RKPv2 spec clarifications" 2023-01-26 09:44:06 +00:00
David Drysdale
28b953032e RKPv2 spec clarifications
- Rename keysToCertify to keysToSign to match param name in a few
  places.
- Make clearer that P-256 is allowed in EEK.
- Make clearer that EEK curve should match that specified in
  RpcHardwareInfo.supportedEekCurve.
- Add note about AAD for AES-GCM encryption.
- Add note about format of public key data in KDF context.

Test: None, comments only
Change-Id: Ie775a453b4d3941b7d24396da66681ab91978d81
2023-01-26 06:31:02 +00:00
Shunkai Yao
ca10874012 AIDL effect: add AutomaticGainControlV1 AIDL
Bug: 261129656
Test: Compile and build, will add usage and test code in followup CL.
Change-Id: Ib20ff6e8f8fe9b7c3ac3286c5c05edc6880a44fe
2023-01-26 05:24:27 +00:00
Shubhangi Pawar
7b3833fe82 Merge "drm aidl vts: proper skip tests without vendor module" into android13-tests-dev am: 05f5fd842d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2379389

Change-Id: If1129db3fd44a3961373f5602a954db7877a6e5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-26 04:25:34 +00:00
Shubhangi Pawar
05f5fd842d Merge "drm aidl vts: proper skip tests without vendor module" into android13-tests-dev 2023-01-26 03:45:22 +00:00