Sandeep Dhavale
7bc10fb520
Fastboot: Convert Fastboot HIDL HAL to AIDL
...
Also adds mock implementation based on AIDL.
Bug: 205760652
Test: m
Signed-off-by: Sandeep Dhavale <dhavale@google.com >
Change-Id: Iee32e3e859d90ba494ab41fab739f6317993a3c3
2022-10-05 19:58:06 +00:00
David Drysdale
e6fe69b75d
Merge "KeyMint HAL: clarify time-based auth behaviour"
2022-10-05 06:09:40 +00:00
Andrew Scull
6e69625012
Merge "Tweak RKP HAL comments"
2022-10-04 20:20:48 +00:00
Andrew Scull
a4c4a18dc7
Tweak RKP HAL comments
...
Change the cert_type field from an enum of strings to a tstr type with
the known types documented in comments. The types are part of the
protocol between the HAL implementation and the provisioning server that
is opaque to the Android platform, so there's not need to bump the HAL
version in order to add new certificate types.
Replace the undefined Dcc type/acronym with the term "DICE chain" for
smoother reading.
Make the behaviour of generateCertificateRequest() in the v3 HAL more
explicit by explaining that a ServiceSpecificException should be raised
with the same error code that is currently documented.
Bug: 240312857
Test: n/a - comments only
Change-Id: If5acc388b25fa24d240c936ddefd08943fc6dd8d
2022-10-04 13:12:22 +00:00
Treehugger Robot
481337da0a
Merge "Disable some sanitizers on libnlinterceptor targets."
2022-10-03 21:53:33 +00:00
Steven Moreland
1b7bec0011
Merge changes from topic "hidl2aidl_confirmationui"
...
* changes:
hidl2aidl: conversion of vts confirmationui hidl to aidl
hidl2aidl: conversion of confirmationui hidl to aidl
2022-10-03 19:10:31 +00:00
Peter Collingbourne
f10ee08f84
Disable some sanitizers on libnlinterceptor targets.
...
ASan is not meant to be enabled in production binaries, and the fuzzer
"sanitizer" is only intended to be used with fuzz targets. So disable
both of them.
Change-Id: Ice7d8d3fd6621077d485b430d9e06fb3ba240e87
2022-09-30 18:08:28 -07:00
Treehugger Robot
59b028b6dc
Merge "Build input-related HAL code for host"
2022-09-30 20:40:36 +00:00
Siarhei Vishniakou
a65f581ea3
Build input-related HAL code for host
...
This would allow to run some of the tests on host, which is sometimes
convenient when a device is not readily available.
Bug: 249591924
Test: atest --host inputflinger_tests
Change-Id: Ide39bc4beb5174191bdc31e0a9b9f905622fcde5
2022-09-30 07:28:53 -07:00
Treehugger Robot
b3d143edc6
Merge "Update Bluetoot Audio HAL Target Test" into android13-tests-dev am: 9604eb65fe
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2237119
Change-Id: Ia92e5cc17a24e60cacae10ccc2c1fa91208d701b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-29 21:57:37 +00:00
Treehugger Robot
9604eb65fe
Merge "Update Bluetoot Audio HAL Target Test" into android13-tests-dev
2022-09-29 21:29:35 +00:00
David Drysdale
a867bc1eb3
KeyMint HAL: clarify time-based auth behaviour
...
Changes:
- correct the sign of the timestamp comparison text
- make updateAad() and finish() refer to the auth text in begin()
- describe auth flows for keys with AUTH_TIMEOUT on devices without
a secure time source
Test: none, comment change only
Change-Id: Ia60a4a949e030a7a96772406e3b0f7b3211a0915
2022-09-29 15:56:25 +01:00
Treehugger Robot
3edee2d5cb
[automerger skipped] Merge "tunerhal:set default frontend to DVBS [1/1]" into android11-tests-dev am: 81022732af -s ours am: 4f3ac4267d -s ours am: d13527a33e -s ours am: 72bf300aec -s ours
...
am skip reason: skipped by user quxiangfang
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2159062
Change-Id: Icb062b716489ad5991e943d0954ace4d880ed432
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-29 01:56:26 +00:00
Treehugger Robot
72bf300aec
[automerger skipped] Merge "tunerhal:set default frontend to DVBS [1/1]" into android11-tests-dev am: 81022732af -s ours am: 4f3ac4267d -s ours am: d13527a33e -s ours
...
am skip reason: skipped by user quxiangfang
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2159062
Change-Id: Ib4055077df5e87a74c9ee12dc6b641d4f9d6b8c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-29 01:38:22 +00:00
Treehugger Robot
d13527a33e
[automerger skipped] Merge "tunerhal:set default frontend to DVBS [1/1]" into android11-tests-dev am: 81022732af -s ours am: 4f3ac4267d -s ours
...
am skip reason: skipped by user quxiangfang
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2159062
Change-Id: I7a07d40a9febf29eea94761262822916e530ce47
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-29 01:24:02 +00:00
Treehugger Robot
4f3ac4267d
[automerger skipped] Merge "tunerhal:set default frontend to DVBS [1/1]" into android11-tests-dev am: 81022732af -s ours
...
am skip reason: skipped by user quxiangfang
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2159062
Change-Id: I143fbd025bc19d7cb27e7cacc773864d7ae2a8f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-29 00:54:53 +00:00
Treehugger Robot
34565c65fd
Merge "Use latest Identity and KM AIDL API"
2022-09-28 23:17:22 +00:00
shihchienc
fecec8626d
Update Bluetoot Audio HAL Target Test
...
Since we change the design of loading LE Audio Capabilities in BT
Audio HAL, we update the VTS test to make sure no matter a device
supports LE Audio Offload or not, it can pass all tests that they
should pass.
Also, update vts test to match C++ coding style.
Bug: 248181252
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: Ie46c86663e0a22627c324f96360063cd4d4874e4
(cherry picked from commit 3ab9f5e2f0 )
2022-09-28 22:12:29 +00:00
kongchenrui
65ebae18f7
Fix the problem that the data field of Entry in the verifyLogicalOrUltraHighResCameraMetadata function is empty am: 7549241c15
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2228941
Change-Id: I102d6c279198f701576e3831983404d96a9a613e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-28 21:17:50 +00:00
Florian Mayer
4eeda58ce2
Merge "Revert "Disable FilterTest/1#FilterOutNonVendorTags on HWASan.""
2022-09-28 21:03:20 +00:00
kongchenrui
7549241c15
Fix the problem that the data field of Entry in the verifyLogicalOrUltraHighResCameraMetadata function is empty
...
The reason for this problem is: local variables are used when saving
PhysicalCameraCharacteristics. When its life cycle ends, physChars will
be released. Since Entry uses a pointer, data will be null. So physChars
should be defined outside else to ensure that physChars is not released
during use
Bug: 248221707
Test: VtsHalCameraProviderV2_4TargetTest
Test: VtsAidlHalCameraProvider_TargetTest
Signed-off-by: kongchenrui <kongchenrui@xiaomi.com >
Change-Id: I4c05e695d255f210f310f8ce78ec2fa71a42cee9
2022-09-28 20:35:55 +00:00
Alice Kuo
f5dcf5d566
Merge "Update Bluetoot Audio HAL Target Test"
2022-09-28 15:42:34 +00:00
Treehugger Robot
81022732af
Merge "tunerhal:set default frontend to DVBS [1/1]" into android11-tests-dev
2022-09-28 01:54:02 +00:00
Florian Mayer
0d8a45944f
Revert "Disable FilterTest/1#FilterOutNonVendorTags on HWASan."
...
This reverts commit 40a4639e51 .
Reason for revert: Speculative rollback after fix in b/248637663
Bug: 230535046
Change-Id: I72b5242dbc73587004e31305e3b25c13cc7b5827
2022-09-28 00:25:45 +00:00
shihchienc
3ab9f5e2f0
Update Bluetoot Audio HAL Target Test
...
Since we change the design of loading LE Audio Capabilities in BT
Audio HAL, we update the VTS test to make sure no matter a device
supports LE Audio Offload or not, it can pass all tests that they
should pass.
Also, update vts test to match C++ coding style.
Bug: 248181252
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: Ie46c86663e0a22627c324f96360063cd4d4874e4
2022-09-27 07:18:59 +00:00
Chih-hung Hsieh
f4a9ee68a3
Merge "Fix out-of-memory error."
2022-09-27 07:17:21 +00:00
Chih-Hung Hsieh
739fbefe2d
Fix out-of-memory error.
...
Bug: 248637663
Test: atest android.hardware.audio.common@7.0-util_tests android.hardware.audio.common@7.1-util_tests
Change-Id: Ifb41ddc3fbfa8c9db7f3e10cede2155d28d3c8c4
2022-09-24 18:07:38 -07:00
Treehugger Robot
a81db8037c
[automerger skipped] Merge "Sync audio_policy_engine_configuration.xsd with the SDK" into android12-tests-dev am: 7146592275 -s ours am: c4cbaa651e -s ours am: e3cba937c4 -s ours
...
am skip reason: Merged-In I0161ddb33e52cbca9b425c0cbb4f32f320c43af4 with SHA-1 7443e2f547 is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2225422
Change-Id: I77a50578520263a37003bc1876e416f1a02ee27e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-24 03:07:00 +00:00
Mikhail Naganov
fe6bd02d15
[automerger skipped] Sync audio_policy_engine_configuration.xsd with the SDK am: 9f348454e1 -s ours am: cf8fefbec3 -s ours am: d853e915a3 -s ours
...
am skip reason: Merged-In I0161ddb33e52cbca9b425c0cbb4f32f320c43af4 with SHA-1 7443e2f547 is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2225422
Change-Id: I0a732032e416c7205cacbb7db7e70d867c3b11f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-24 03:06:59 +00:00
Treehugger Robot
e3cba937c4
[automerger skipped] Merge "Sync audio_policy_engine_configuration.xsd with the SDK" into android12-tests-dev am: 7146592275 -s ours am: c4cbaa651e -s ours
...
am skip reason: Merged-In I0161ddb33e52cbca9b425c0cbb4f32f320c43af4 with SHA-1 7443e2f547 is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2225422
Change-Id: I9256574d7355956923e92b7b11b45943ea7d7c61
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-24 02:37:34 +00:00
Mikhail Naganov
d853e915a3
[automerger skipped] Sync audio_policy_engine_configuration.xsd with the SDK am: 9f348454e1 -s ours am: cf8fefbec3 -s ours
...
am skip reason: Merged-In I0161ddb33e52cbca9b425c0cbb4f32f320c43af4 with SHA-1 7443e2f547 is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2225422
Change-Id: I0c220c2df72cba41c78bb67cd6da32790b461c94
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-24 02:37:32 +00:00
Treehugger Robot
c4cbaa651e
[automerger skipped] Merge "Sync audio_policy_engine_configuration.xsd with the SDK" into android12-tests-dev am: 7146592275 -s ours
...
am skip reason: Merged-In I0161ddb33e52cbca9b425c0cbb4f32f320c43af4 with SHA-1 7443e2f547 is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2225422
Change-Id: I15460751581dcd365706f73f5db83a149080cb8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-24 02:11:53 +00:00
Mikhail Naganov
cf8fefbec3
[automerger skipped] Sync audio_policy_engine_configuration.xsd with the SDK am: 9f348454e1 -s ours
...
am skip reason: Merged-In I0161ddb33e52cbca9b425c0cbb4f32f320c43af4 with SHA-1 7443e2f547 is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2225422
Change-Id: Ibe3484b8b67c40ae0aeb8e8c7454d999a34426e5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-24 02:11:51 +00:00
Treehugger Robot
7146592275
Merge "Sync audio_policy_engine_configuration.xsd with the SDK" into android12-tests-dev
2022-09-24 01:45:08 +00:00
Treehugger Robot
89d993d3d8
Merge changes from topic "aidl_audio_effect_2"
...
* changes:
AIDL effect: Refine some implementation and test logic.
AIDL effect: Initial IEffect interface implementation and vts test
AIDL effect: Initial IEffect interface definition
2022-09-23 19:26:33 +00:00
Mikhail Naganov
3e57663166
[automerger skipped] Sync audio_policy_engine_configuration.xsd with the SDK am: 7443e2f547 am: 47365bb990 -s ours am: 4d374f0f09 -s ours am: 43c79660f1 -s ours
...
am skip reason: Merged-In I0161ddb33e52cbca9b425c0cbb4f32f320c43af4 with SHA-1 7ac8751b9f is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2225423
Change-Id: Ibdbc9ee0a078139361ab6120e9b77e4f4898a294
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 17:53:14 +00:00
Mikhail Naganov
43c79660f1
[automerger skipped] Sync audio_policy_engine_configuration.xsd with the SDK am: 7443e2f547 am: 47365bb990 -s ours am: 4d374f0f09 -s ours
...
am skip reason: Merged-In I0161ddb33e52cbca9b425c0cbb4f32f320c43af4 with SHA-1 7ac8751b9f is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2225423
Change-Id: Icc62c48e53732d29f703f837bad514c69f52f8f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 17:35:34 +00:00
Mikhail Naganov
4d374f0f09
[automerger skipped] Sync audio_policy_engine_configuration.xsd with the SDK am: 7443e2f547 am: 47365bb990 -s ours
...
am skip reason: Merged-In I0161ddb33e52cbca9b425c0cbb4f32f320c43af4 with SHA-1 7ac8751b9f is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2225423
Change-Id: I85521b8de1853cfc18e70fd778f79cc4ab1a21e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 17:08:45 +00:00
Treehugger Robot
27b9d268cf
[automerger skipped] Merge "Sync audio_policy_engine_configuration.xsd with the SDK" into android13-tests-dev am: 8c30d250cc -s ours
...
am skip reason: Merged-In I0161ddb33e52cbca9b425c0cbb4f32f320c43af4 with SHA-1 7ac8751b9f is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2225421
Change-Id: I2da2eaf950489507bb11c2af4e7bcf0b3330d81f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 16:38:44 +00:00
Mikhail Naganov
47365bb990
Sync audio_policy_engine_configuration.xsd with the SDK am: 7443e2f547
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2225423
Change-Id: I816fd76d13635b491c0911fe4ee6cd30a584bcd2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 16:38:42 +00:00
Mikhail Naganov
a492054a5e
[automerger skipped] Sync audio_policy_engine_configuration.xsd with the SDK am: 327cf1cb17 -s ours
...
am skip reason: Merged-In I0161ddb33e52cbca9b425c0cbb4f32f320c43af4 with SHA-1 7ac8751b9f is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2225421
Change-Id: I96b56699ff7f5ad73e0aba4bfcaee1c138688253
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 16:38:41 +00:00
Treehugger Robot
8c30d250cc
Merge "Sync audio_policy_engine_configuration.xsd with the SDK" into android13-tests-dev
2022-09-23 16:15:24 +00:00
junchao yuan
ab5c449227
tunerhal:set default frontend to DVBS [1/1]
...
bug:239667706
Problem:
test tunerhal vts fail with DVBS;
Solution:
set defualt frontend to DVBS;
Verify:
s905X4/ohm
Change-Id: I79386738783309b917ec5cff89c48b2bdc99bd7c
2022-09-23 01:49:46 +00:00
Mikhail Naganov
4799ddf271
[automerger skipped] Sync audio_policy_engine_configuration.xsd with the SDK am: 7ac8751b9f am: 0919b1abcd -s ours
...
am skip reason: Merged-In I0161ddb33e52cbca9b425c0cbb4f32f320c43af4 with SHA-1 1cbe492d59 is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2225420
Change-Id: Ie12ea4f387ca79820a7cd02fe9621befdba76180
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 00:18:22 +00:00
Mikhail Naganov
0919b1abcd
Sync audio_policy_engine_configuration.xsd with the SDK am: 7ac8751b9f
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2225420
Change-Id: Id136e4b17cb083dd13aa67ed4d6e25dd3a4b3877
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 00:01:25 +00:00
Shunkai Yao
121c6ddc99
AIDL effect: Refine some implementation and test logic.
...
Bug: 238913361
Test: atest VtsHalAudioEffectTargetTest
Change-Id: I5a9bb542872de6c5700fa6b14e124e9b9e206da6
2022-09-22 01:36:58 +00:00
Shunkai Yao
4590517a96
AIDL effect: Initial IEffect interface implementation and vts test
...
Bug: 238913361
Test: atest VtsHalAudioEffectTargetTest
Merged-In: Id64d28af9122e82acd96e3349cf37c3d9728069a
Change-Id: Id64d28af9122e82acd96e3349cf37c3d9728069a
2022-09-22 01:36:00 +00:00
Shunkai Yao
84efa03de3
AIDL effect: Initial IEffect interface definition
...
Bug: 238913361
Test: atest VtsHalAudioEffectTargetTest
Merged-In: I0d02fed5d40a108003e735d3619e2fc7c0ef6332
Change-Id: I0d02fed5d40a108003e735d3619e2fc7c0ef6332
2022-09-22 00:43:47 +00:00
Mikhail Naganov
7443e2f547
Sync audio_policy_engine_configuration.xsd with the SDK
...
The audio_policy_engine_configuration.xsd schema was missing
four values for the usage enum. This was causing the VTS
test to fail. These usages must be specified in the audio
policy engine configuration file, otherwise a GTS test fails.
Bug: 245303963
Bug: 246231268
Bug: 246901091
Test: atest VtsHalAudioPolicyV1_0TargetTest
Change-Id: I0161ddb33e52cbca9b425c0cbb4f32f320c43af4
(cherry picked from commit 1cbe492d59 )
Merged-In: I0161ddb33e52cbca9b425c0cbb4f32f320c43af4
2022-09-21 22:02:38 +00:00
Mikhail Naganov
9f348454e1
Sync audio_policy_engine_configuration.xsd with the SDK
...
The audio_policy_engine_configuration.xsd schema was missing
four values for the usage enum. This was causing the VTS
test to fail. These usages must be specified in the audio
policy engine configuration file, otherwise a GTS test fails.
Bug: 245303963
Bug: 246231268
Bug: 246901091
Test: atest VtsHalAudioPolicyV1_0TargetTest
Change-Id: I0161ddb33e52cbca9b425c0cbb4f32f320c43af4
(cherry picked from commit 1cbe492d59 )
Merged-In: I0161ddb33e52cbca9b425c0cbb4f32f320c43af4
2022-09-21 22:02:34 +00:00