Commit graph

55052 commits

Author SHA1 Message Date
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
3d000a3a6f Merge "Add rebootescrow HAL into APEX" into main 2023-10-26 01:52:34 +00:00
Jooyung Han
446fe9a525 Merge "Add secure_element HAL APEX" into main 2023-10-25 01:48:28 +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
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
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
64d009118f [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: Ie411f8a7ee104472c83ef8b036425648e5a8b59a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 01:51:28 +00:00
Changyeon Jo
ddb56ed736 [automerger skipped] Update VtsHalEvsV1_*TargetTest am: ab78601274 -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: I62f952b07c8d46151e032668c062b259b15f85b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 01:34:54 +00:00
Shunkai Yao
48415986d9 Merge "Fix cts Pre/post Processing failures on Cuttlefish aidl" into main 2023-10-18 23:01:54 +00:00
Changyeon Jo
912b16f8c5 Update CameraStreamBuffering test and correct instance name
- CameraStreamBuffering test is modified to use the minimum number of
  frame buffers that is required to run a camera pipeline for a single
  client instead of using an arbitrarily chosen number, which may not
  work for certain device implementations.
- Fix a name of v1.0 EvsManager implementation in
  VtsHalEvsV1_0TargetTest.cpp

Bug: 305642713
Test: atest VtsHalEvsV1_0TargetTest and
      atest VtsHalEvsV1_1TargetTest
Change-Id: Ieec986dbdf947311e0bc86871432da8a988d37ad
(cherry picked from commit 2d8834dc96)
2023-10-18 20:40:53 +00:00
Changyeon Jo
945c9aa1de Merge "Update CameraStreamBuffering test and correct instance name" into main 2023-10-18 20:39:20 +00:00
Changyeon Jo
2d8834dc96 Update CameraStreamBuffering test and correct instance name
- CameraStreamBuffering test is modified to use the minimum number of
  frame buffers that is required to run a camera pipeline for a single
  client instead of using an arbitrarily chosen number, which may not
  work for certain device implementations.
- Fix a name of v1.0 EvsManager implementation in
  VtsHalEvsV1_0TargetTest.cpp

Bug: 305642713
Test: atest VtsHalEvsV1_0TargetTest and
      atest VtsHalEvsV1_1TargetTest
Change-Id: Ieec986dbdf947311e0bc86871432da8a988d37ad
2023-10-18 18:58:07 +00:00
Changyeon Jo
ab78601274 Update VtsHalEvsV1_*TargetTest
- Removes a requirement of the landscape aspect ratio of the captured
  frames because the Extended View System now allows the video streams
  in any aspect ratio
- Increases the maximum latency of the video stream start request from
  500 ms to 1 second to accommodate the camera system design with the
  additional processing units outside of the head unit
- Reduces a number of additional buffers to allocate from 6 to 2 in
  CameraStreamBuffering test, to be consistent with comments

Bug: 204835095
Bug: 305642713
Test: atest VtsHalEvsV1_0TargetTest and
      atest VtsHalEvsV1_1TargetTest
Change-Id: Id41bde10964b650f78e76d4f97a4588367f7c7fc
Merged-In: Id41bde10964b650f78e76d4f97a4588367f7c7fc
(cherry picked from commit 7bc98ce6ed)
2023-10-18 18:55:43 +00:00
Shunkai Yao
12179c335f Fix cts Pre/post Processing failures on Cuttlefish aidl
Bug: 295055755
Test: atest android.media.audio.cts.AudioPreProcessingTest
Test: atest android.media.audio.cts.DynamicsProcessingTest
Change-Id: Ia887a6c51ec13b9bb01581065c9272a7e02dad1f
2023-10-18 15:46:05 +00:00
Mikhail Naganov
fc35ca3d32 audio: Use hardcoded r_submix configuration with XML
There are several reasons why parsing the canonical XML
configuration for the remote submix module will not work
correctly (see the commend in the code).

Since de facto all vendors use the canonical configuration
XML for the remote submix, substitute parsing it with
a correct hardcoded version.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
(cherry picked from commit ea604d50de)
Change-Id: Ib9d9da25d315ff4ce36c1870241fb61d95fcca88
2023-10-17 19:54:38 -07:00
Lorena Torres-Huerta
f7492518c7 audio: Set connectedProfiles for non-attached device ports.
For external (non-attached) device ports that have dynamic
profiles, 'connectedProfiles' must be provided. They are
used when 'ModuleDebug.simulateDeviceConnections' is enabled.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
(cherry picked from commit a29393db39)
Change-Id: I69707d610c34f8f1eae9ef81768b76c40e985c0f
2023-10-17 19:54:29 -07:00
Lorena Torres-Huerta
533cc78aab audio: Populate MicrophoneInfo with vendor data
Added a virtual method Module::getMicrophoneInfos
so that vendor implementations can provide actual
data about device microphones. This information
is not part of the APM config file.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTestTest
(cherry picked from commit dc9d1a4b42)
Change-Id: I3ea9ba8da79fd29f8d69c5a575a57851d73df7b8
2023-10-17 19:54:13 -07:00
Mikhail Naganov
cc21b6f2e6 audio: Implement proper parsing of masks in XsdcConversion
Since the parsed XML uses compliant separator for lists
in attribute values, there is no need to use legacy
'maskFromString' function.

Bug: 305281224
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Ib257fd010b923ac651931e5976f9b1363d693f1b
2023-10-17 19:53:55 -07:00
Lorena Torres-Huerta
394e2527b5 audio: Parse module configurations from the APM XML files
The default implementation now loads the HAL configuration
from the legacy XML configuration file which was previously
consumed by the framework directly.

Note that errors in the config file will lead to crash
of the XML parser, pointing out to the source of the problem.

IMPORTANT NOTES:
  - Never use untested legacy config files with production
    devices.
  - Make sure that all possible configurations (for example,
    BT offload on/off) are tested.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
(cherry picked from commit 00a7307862)
Change-Id: Id1002cb065e7cc19bdd520aca15b3fe5d39e5853
2023-10-17 19:48:24 -07:00
Jooyung Han
5de1785959 Merge "Use explicit requirements from APEX" into main 2023-10-18 00:24:18 +00:00
Yu Shan
76623de19a [automerger skipped] Allow CDD required properties to be absent in VTS. am: 775b6eca77 -s ours am: 9e9ee99ccd -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: Ie67e2c2958fc74e334019d6a83666baac549b42a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-17 18:12:55 +00:00
Yu Shan
abb7c878b0 [automerger skipped] Allow CDD required properties to be absent in VTS. am: 775b6eca77 -s ours am: 9e9ee99ccd -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: Ie1ddfe7bfbaa05c26f40b17fa6ae3cdd12e63ce5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-17 18:11:30 +00:00
Yu Shan
9e9ee99ccd [automerger skipped] Allow CDD required properties to be absent in VTS. am: 775b6eca77 -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: I77ec2b6acda79af05a5dd5886f39cad49102bf55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-17 17:57:20 +00:00
Andrew Walbran
3a91d2b31f Support android.hardware.media.c2 in Rust.
Bug: 295245772
Test: m android.hardware.media.c2
Change-Id: I395783980ee12658fb0a246084c4d078840c6574
2023-10-17 15:31:23 +01:00
Jooyung Han
de82b61de8 Merge "Cleanup: use shared apex_key (wifi HAL APEX)" into main 2023-10-17 07:00:57 +00:00
Treehugger Robot
254c650c58 Merge "Cleanup: use shared apex_key" into main 2023-10-17 01:57:52 +00:00
Steven Moreland
0c72245836 Merge "OMX: allow in 8" into main 2023-10-16 21:50:36 +00:00
Roshan Pius
1561fd933b Merge "nfc(hal): Make it available for nfc apex" into main 2023-10-16 18:31:01 +00:00
Zhanglong Xia
eec8babbd7 Merge "update the thread_radio based on latest definition of SpinelInterface" into main 2023-10-16 03:29:27 +00:00
Jooyung Han
62ba8b5bbe Merge "Cleanup: use shared apex_key (vibrator HAL APEX)" into main 2023-10-16 01:19:52 +00:00
Yu Shan
22a7a8c838 [automerger skipped] Allow CDD required properties to be absent in VTS. am: da7a4ddabd -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: I947d8a8eff1f9a6cef6e7b89846e3f7fc10748d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-14 00:11:10 +00:00
Yu Shan
1e6cbc533f [automerger skipped] Allow CDD required properties to be absent in VTS. am: da7a4ddabd -s ours
am skip reason: Merged-In I93020e7e024760601bc5a8edf9997cc356a568c6 with SHA-1 8a1ab8705d is already in history

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

Change-Id: I0c7440fa5c47137625722c8e5c8632c47e820f12
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-14 00:09:45 +00:00
Mikhail Naganov
03a2fbc6a3 Merge changes from topic "revert-2770886-AidlAudioHalModuleConfig-FQCMWOWMCH" into main
* changes:
  Revert "audio: Parse module configurations from the APM XML files"
  Revert "audio: Populate MicrophoneInfo with vendor data"
  Revert "audio: Set connectedProfiles for non-attached device ports."
  Revert "audio: Use hardcoded r_submix configuration with XML"
2023-10-13 23:44:26 +00:00
Mikhail Naganov
af75a679c9 Revert "audio: Parse module configurations from the APM XML files"
Revert submission 2770886-AidlAudioHalModuleConfig

Reason for revert: Breaks BluetoothInstrumentationTests on main downstream

Reverted changes: /q/submissionid:2770886-AidlAudioHalModuleConfig

Bug: 305291602
Change-Id: I0076c88877943d9498f90c477e78a2be5d390150
2023-10-13 23:38:25 +00:00
Mikhail Naganov
5eea7fb0d7 Revert "audio: Populate MicrophoneInfo with vendor data"
Revert submission 2770886-AidlAudioHalModuleConfig

Reason for revert: Breaks BluetoothInstrumentationTests on main downstream

Reverted changes: /q/submissionid:2770886-AidlAudioHalModuleConfig

Bug: 305291602
Change-Id: I01a4d22056507f9047c4fead21c9a75bfa153a46
2023-10-13 23:38:25 +00:00
Mikhail Naganov
006a136ea7 Revert "audio: Set connectedProfiles for non-attached device ports."
Revert submission 2770886-AidlAudioHalModuleConfig

Reason for revert: Breaks BluetoothInstrumentationTests on main downstream

Reverted changes: /q/submissionid:2770886-AidlAudioHalModuleConfig

Bug: 305291602
Change-Id: Id325171baeabd61d244e5f15c37f7d14402bd426
2023-10-13 23:38:25 +00:00