Commit graph

55095 commits

Author SHA1 Message Date
Hasini Gunasinghe
93439a212b Merge changes from topic "authgraph-hal" into main
* changes:
  Add (nonsecure) default AuthGraph impl
  authgraph: add parallel session VTS tests
  authgraph: add placeholder VTS test
  Define the AIDL interface for AuthGraph key exchange.
2023-11-01 16:27:51 +00:00
Henry Fang
0804e9f8b2 Merge "Add fix vts fail when configureMonitorEvent" into android14-tests-dev am: 7bb2ce9795
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2807334

Change-Id: I6cf77e7655b3ee02514743610be2b285cf7bde35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-01 01:03:26 +00:00
Henry Fang
7bb2ce9795 Merge "Add fix vts fail when configureMonitorEvent" into android14-tests-dev 2023-11-01 00:49:16 +00:00
David Drysdale
7fd838c0fe Add (nonsecure) default AuthGraph impl
Add an implementation for the AuthGraph key exchange HAL, to allow
testing and policy compliance.

In real use, IAuthGraphKeyExchange instances are expected to be
retrieved from some other HAL, allowing the AuthGraph instance to be
specifically correlated with the component that uses it.

Bug: 284470121
Bug: 291228560
Test: hal_implementation_test
Test: VtsAidlAuthGraphSessionTest
Change-Id: Ib064292d60bead663af7721fd1406f2a9b5d8ecd
2023-10-31 23:18:56 +00:00
David Drysdale
d42cb6fa69 authgraph: add parallel session VTS tests
Test: VtsAidlAuthGraphSessionTest
Change-Id: Idcf79afe838fdbfb88bd7f43fe758ac03d9ba0d1
2023-10-31 23:18:56 +00:00
David Drysdale
c8625a8963 authgraph: add placeholder VTS test
Test: VtsAidlAuthGraphSessionTest (with nonsecure default impl)
Change-Id: I1a94071da8de8d4934709fa7875f89a0bb00a142
2023-10-31 23:18:56 +00:00
Hasini Gunasinghe
0e2495f107 Define the AIDL interface for AuthGraph key exchange.
Introduce the AIDL methods for key exchange and the CDDLs for
the relevant input/output types that are CBOR encoded.

Use a standard comment format in CDDL files to indicate where additional
structure definitions can be found, in the hope that one day tooling
will be available to automatically check schema syntax.

Add authgraph to compatibility matrix

This CL merges the CLs: aosp/2750484, aosp/2750485, aosp/2750486 by
drysdale@google.com

Co-authored-by: David Drysdale <drysdale@google.com>

Bug: 284470121
Test: validate schemas with https://cddl.anweiss.tech/
Test: VtsAidlAuthGraphSessionTest (with nonsecure default impl)
Change-Id: I2793666ede028f8abe91569587c09dcac21c67e0
2023-10-31 23:18:56 +00:00
Myles Watson
aa6ae3fd00 [automerger skipped] BluetoothAudio: Statically link HAL dependencies am: 58d8a57469 -s ours am: bd5216bf6c -s ours
am skip reason: Merged-In I2b3c32b133e208ec2cfb1b244ccb24ad249f22df with SHA-1 5aadf9ad17 is already in history

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

Change-Id: I30a6230cb3c1d2cae013887edbc1a3891b0c55e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 21:43:53 +00:00
Myles Watson
bd5216bf6c [automerger skipped] BluetoothAudio: Statically link HAL dependencies am: 58d8a57469 -s ours
am skip reason: Merged-In I2b3c32b133e208ec2cfb1b244ccb24ad249f22df with SHA-1 5aadf9ad17 is already in history

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

Change-Id: If56284f67c901bd7794bb77fc971d71ef80700c0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 21:12:13 +00:00
Myles Watson
58d8a57469 BluetoothAudio: Statically link HAL dependencies
Bug: 290666670
Bug: 289857524
Bug: 284091286
Bug: 289489060
Test: mma -j32
Change-Id: I2b3c32b133e208ec2cfb1b244ccb24ad249f22df
(cherry picked from commit 44628f38d2)
Merged-In: I2b3c32b133e208ec2cfb1b244ccb24ad249f22df
2023-10-31 18:45:58 +00:00
Treehugger Robot
309d65f0c4 Merge "LoudnessEnhancer: Added test cases to validate effect processing." into main 2023-10-31 17:04:05 +00:00
Alice Wang
4020b2bd42 Merge "Revert "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env"" into main 2023-10-31 15:13:01 +00:00
Alice Wang
cdf9d2c936 Revert "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env"
Revert submission 2778549-expose-avf-rkp-hal

Reason for revert: SELinux denial
avc:  denied  { find } for pid=3400 uid=10085 name=android.hardware.security.keymint.IRemotelyProvisionedComponent/avf scontext=u:r:rkpdapp:s0:c85,c256,c512,c768 tcontext=u:object_r:avf_remotelyprovisionedcomponent_service:s0 tclass=service_manager permissive=0


Reverted changes: /q/submissionid:2778549-expose-avf-rkp-hal

Bug: 308596709
Change-Id: Id6a930d16949389048713cef20dfa06cdbb9ac95
2023-10-31 15:01:15 +00:00
Alice Wang
561454a0b3 Merge "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env" into main 2023-10-31 12:21:41 +00:00
David Drysdale
c281ef40a5 Merge "gatekeeper: generate Rust bindings" into main 2023-10-31 09:01:16 +00:00
Sneha Patil
496e4415b0 LoudnessEnhancer: Added test cases to validate effect processing.
Added test to verify increase in loudness with gains.
Added test to verify that outputs are 0 for INT_MIN gain value.

Bug: 305866207
Test: atest VtsHalLoudnessEnhancerTargetTest
Change-Id: I6e87f5bf6f268980b6cc9af4b7a191657f117eb5
2023-10-31 11:58:02 +05:30
Devin Moore
2908f7ba6a Merge "Revert "Remove Q matrices"" into main 2023-10-30 23:41:11 +00:00
Devin Moore
5f679f3deb Revert "Remove Q matrices"
Revert submission 2808255-deprecate_android_q

Reason for revert: Broke a device build that is targeting Q b/308482858

Reverted changes: /q/submissionid:2808255-deprecate_android_q

Change-Id: Icc5250b219b8500bbd98eba0d20c637c76b734e6
2023-10-30 22:38:29 +00:00
Treehugger Robot
80c14fb148 Merge "Remove Q matrices" into main 2023-10-30 17:02:53 +00:00
Shunkai Yao
4a0e25ba6f Merge "audio: Add VTS execution tracer" into main 2023-10-30 16:13:44 +00:00
Sadaf Ebrahimi
0fd834c749 Merge "Edit tests to adjust with changes in libxml2 upgrade" into main 2023-10-30 15:06:55 +00:00
Sadaf Ebrahimi
8029a0567c Adjust with changes in libxml2 upgrade
Bug: http://b/307806447
Test: TreeHugger
Change-Id: I474ca3539a2443ad0b1f590f27aa53a7279798e1
2023-10-30 15:06:32 +00:00
Sadaf Ebrahimi
351f681ec8 Edit tests to adjust with changes in libxml2 upgrade
Bug: http://b/307806447
Test: TreeHugger
Change-Id: I5978fb6b11538ac254b971fada17cfbbcc5360cf
2023-10-30 15:06:26 +00:00
David Drysdale
8cf2649f8b gatekeeper: generate Rust bindings
Test: TreeHugger
Change-Id: I125a2a682f39070720a3038b9b5e3407b2b467bb
2023-10-30 08:17:12 +00:00
Treehugger Robot
db1da1c8a6 Merge "Refactored keymaster4_utils_fuzzer" into main 2023-10-30 05:14:00 +00:00
Jooyung Han
94b63ab755 Merge changes I1d745f64,I4bb2572c into main
* changes:
  Use static linking for virtual fingerprint hal
  Make Fingerprint Virtual HAL APEX as default
2023-10-30 02:11:21 +00:00
Treehugger Robot
a9050e3ac0 Merge "media.c2 aidl: provide a waitable fd for blockpool creation" into main 2023-10-28 06:33:09 +00:00
Pawan Wagh
6d61d7d121 Merge "Remove vendor from android.hardware.cas-service_fuzzer" into main 2023-10-27 23:36:18 +00:00
Jaideep Sharma
7449841dc5 audio: Add VTS execution tracer
Add Execution listener in VTS tests to get information
about test execution steps like, start, stop and failure messages
in logcat message.

Bug: 287168985
Test: run vts-hal-audio

Change-Id: Ie69a7bf78076c17d7b623d75748fa0fdbdba6b1e
2023-10-27 20:02:42 +00:00
Devin Moore
9313926939 Remove Q matrices
Devices with Q VINTF won't be able to update to Android V. Devices
launching Q or earlier will need to update their VINTF to R or above to
be able to work with Android V.

Test: m check-vintf-all
Bug: 279809679
Change-Id: Ib861160b3d38315084b35965229098285b1e2f8b
2023-10-27 18:23:32 +00:00
Alice Wang
87f8dce549 [avf] Adjust IRPC VTS tests to handle AVF in unsupported env
This cl adjusts IRPC VTS tests so that it can handle the IRPC AVF
impl in an environment where the IRPC operations are not supported.

Bug: 299257581
Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: Iae96076c20e360e6a4aca5518ca8df21920f6978
2023-10-27 09:50:19 +00:00
Eddy-SH Chen
566240ad7a Add fix vts fail when configureMonitorEvent
[Description]
VTS StartFilterInDemux failed when configureMonitorEvent is called

[Root Cause]
Scrambling status event is not notified when configureMonitorEvent is called
so test case failed.

[Solution]
Scrambling status event is not notified because of no input data.
Add input setting and check event notified or not after data is input.

Bug: 288193021
Change-Id: Icaaf0adc5bbd1c512742c48b0b665218da1c7980
2023-10-27 08:16:19 +00:00
Pawan Wagh
19c9d5b607 Remove vendor from android.hardware.cas-service_fuzzer
Fuzzer fails to get defaultServiceManager due to hermiticity issues
when vendor is enabled in cc_fuzz which uses vendor variant of
libbinder under libbinder_ndk.

Test: m android.hardware.cas-service_fuzzer && adb sync data && adb
shell
/data/fuzz/x86_64/android.hardware.cas-service_fuzzer/android.hardware.cas-service_fuzzer
-runs=10000
Bug: 301768467

Change-Id: Ief27f75f4330973fc194c77ea36cdbb826f35807
2023-10-26 23:32:23 +00:00
Sungtak Lee
eec87d9081 media.c2 aidl: provide a waitable fd for blockpool creation
Provide a waitable fd as a param for IComponent::createBlockPool()
along with IGraphicBufferAllocator interface. This will remove one IPC
call from HAL to client to get a waitable fd during blockpool creation.

Test: m
Bug: 254050314
Change-Id: I38d9bde987793e352299385fb141e484c758f89d
2023-10-26 22:25:32 +00:00
Changyeon Jo
7628f1094e Update CameraStreamBuffering test and correct instance name am: 912b16f8c5 am: b89bbf5625 am: ba22368df0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2794200

Change-Id: I423af75067e5faef3ed9b000ef24ddf942d911ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 21:54:54 +00:00
Treehugger Robot
a06a223c42 Merge "Add a config with test skipping for SDK < 33" into android13-tests-dev am: 632438dc9e am: 3199222a90
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2787019

Change-Id: Iffa6f422f18dd68f8ecb2cf77b818a27461cb084
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 21:54:44 +00:00
Changyeon Jo
d001202178 [automerger skipped] Update VtsHalEvsV1_*TargetTest am: ab78601274 -s ours am: ddb56ed736 -s ours am: 2405c6f40e -s ours
am skip reason: Merged-In Id41bde10964b650f78e76d4f97a4588367f7c7fc with SHA-1 13fb8a7a82 is already in history

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

Change-Id: Iefece8cf741e7db9442d14a2feace6f7e458e00e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 21:54:23 +00:00
Yu Shan
95787225c8 [automerger skipped] Allow CDD required properties to be absent in VTS. am: 775b6eca77 -s ours am: 9e9ee99ccd -s ours am: 76623de19a -s ours
am skip reason: Merged-In I93020e7e024760601bc5a8edf9997cc356a568c6 with SHA-1 da7a4ddabd is already in history

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

Change-Id: Idae2438fff56e4c051cbb8b0799b459e9c82507e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 21:53:56 +00:00
Yu Shan
887fcb6dbb [automerger skipped] Allow CDD required properties to be absent in VTS. am: da7a4ddabd -s ours am: 22a7a8c838 -s ours
am skip reason: Merged-In I93020e7e024760601bc5a8edf9997cc356a568c6 with SHA-1 076976eea2 is already in history

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

Change-Id: I0139a90997de6b5faed83ff53de17a246cb206f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 21:45:40 +00:00
Steven Moreland
d2617f1dfe [automerger skipped] Merge "OMX: allow in 8" into android14-tests-dev am: 9848235972 -s ours
am skip reason: skipped by user delphij

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

Change-Id: I91863bbbf5e49c10128477c29db7a83f3b312228
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 21:44:48 +00:00
Yu Shan
d772246d16 [automerger skipped] Allow CDD required properties to be absent in VTS. am: 076976eea2 -s ours
am skip reason: skipped by user delphij

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

Change-Id: I0df804a10b9dc5272bbbae4365cb9e5d8a53467a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 21:32:28 +00:00
Xin Li
e4d528153d Merge "Merge android14-tests-dev" into main 2023-10-26 20:11:38 +00:00
Jooyung Han
e458294ba1 Use static linking for virtual fingerprint hal
To make the binary smaller in APEX, use static linking.

For aosp_cf_x86_64_phone target, the APEX is reduced from 1576960 to
643072 (by 933888).

Bug: 306314086
Test: m
Change-Id: I1d745f64fb98a97e7adb417870034044a03ce88c
2023-10-26 11:09:00 +09:00
Jooyung Han
3d000a3a6f Merge "Add rebootescrow HAL into APEX" into main 2023-10-26 01:52:34 +00:00
Jooyung Han
80baad2ccf Make Fingerprint Virtual HAL APEX as default
- moved apex definition beside the HAL binary definition
- updated README.md about installation

Bug: 306314086
Test: follow README.md to test the virtual FP HAL
Change-Id: I4bb2572ca79c93cb32a273625f4e965c2505e48a
2023-10-26 10:47:49 +09:00
Jooyung Han
446fe9a525 Merge "Add secure_element HAL APEX" into main 2023-10-25 01:48:28 +00:00
Changyeon Jo
ba22368df0 Update CameraStreamBuffering test and correct instance name am: 912b16f8c5 am: b89bbf5625
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2794200

Change-Id: If7df49ed360c8484d18f393199105ea85a6c032e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 01:36:43 +00:00
Changyeon Jo
e68bfd2cf7 Update CameraStreamBuffering test and correct instance name am: 912b16f8c5 am: b89bbf5625
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2794200

Change-Id: I8d157319a7600fd894cca643104bf66dbec49917
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 01:32:27 +00:00
Changyeon Jo
b89bbf5625 Update CameraStreamBuffering test and correct instance name am: 912b16f8c5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2794200

Change-Id: If6a14f102e39d5754a4ca42d6e2857a04a6a4e60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 01:08:02 +00:00
Jooyung Han
e4067812af Merge "Move input processor service into VAPEX" into main 2023-10-24 04:52:11 +00:00