Commit graph

55133 commits

Author SHA1 Message Date
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
fan.lv
765937cfac lnitialize payload of additionallnfo for VTS InjectSensorEventData test
If the payload of additionalInfo event isn't initialized, system will
crash when execute to the function of convertToHidlEvent in
HalProxyAidl::injectSensorData. Because there is an operation to get
the payload in the function of convertToHidlEvent.

Bug:306109770
Test:VtsAidlHalSensorsTargetTest.Sensors/SensorsAidlTest #InjectSensorEventData
Change-Id:I649de10451914ddfdb9d735ca1359521bf810bca
2023-10-26 10:45:13 +08: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
Jooyung Han
a232f9f196 Merge "Cleanup: use shared apex_key" into main 2023-10-24 03:46:05 +00:00
Aditya Wazir
7001c367ef Refactored keymaster4_utils_fuzzer
The following are the updates to the fuzzer:
1. Randomized order of apis.

Test: ./keymaster4_utils_fuzzer
exec/s: 4950
Bug: 302149569

Change-Id: Ie5d80a4e1d28ddd76a9c16609d20995d93710965
2023-10-23 07:04:48 +00:00
Jooyung Han
b1233e8928 Add rebootescrow HAL into APEX
Bug: 300011388
Test: VtsHalRebootEscrowTargetTest
Change-Id: I34c96187300057196c9bdc098daff2b59f056662
2023-10-23 14:52:43 +09:00
Jooyung Han
6e2b75d801 Add secure_element HAL APEX
This bundles the default implementation used by the cuttlefish.

Bug: 300011111
Test: VtsHalSecureElementTargetTest
Change-Id: Ib723fcbb6748675f6dae2449aad5a71a54cce594
2023-10-23 14:39:45 +09:00
Jooyung Han
07ac233182 Move input processor service into VAPEX
Bug: 300011114
Test: Cuttlefish runs InputProcessor service from VAPEX
Change-Id: I41e297650909f85b5ef45ae9beb2e7508213c96d
2023-10-23 14:06:24 +09:00
Andrew Walbran
41041d6d9c Merge "Support android.hardware.media.c2 in Rust." into main 2023-10-19 21:38:13 +00:00
Treehugger Robot
3199222a90 Merge "Add a config with test skipping for SDK < 33" into android13-tests-dev am: 632438dc9e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2787019

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

Change-Id: I91ba8e2c85ed0d048241182c7ae6aa7e99587e5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 03:29:44 +00:00
Treehugger Robot
632438dc9e Merge "Add a config with test skipping for SDK < 33" into android13-tests-dev 2023-10-19 03:11:06 +00:00
Jooyung Han
b0675a2ecb Merge "Cleanup: use a shared apex_key" into main 2023-10-19 01:54:20 +00:00
Jooyung Han
52dec402f0 Merge "Cleanup: use shared apex_key (fingerprint APEX)" into main 2023-10-19 01:53:59 +00:00
Jooyung Han
e8d679e223 Merge "Cleanup: move VINTF fragment into VAPEX" into main 2023-10-19 01:53:30 +00:00
Changyeon Jo
2405c6f40e [automerger skipped] Update VtsHalEvsV1_*TargetTest am: ab78601274 -s ours am: ddb56ed736 -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: Ib67c326ffa63861a907d77d065cbb6eba5920800
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 01:52:55 +00:00