Commit graph

45078 commits

Author SHA1 Message Date
subrahmanyaman
e840cade52 aidl: corrected ERROR_GENERAL_FAILURE description.
Corrected the description for ERROR_GENERAL_FAILURE error code
to Operation failed.

Bug: 265288984
Test: VtsHalGatekeeperTarget
Change-Id: I0cf3cd01226efae57103ad07149c8ff1bba8dbd5
2023-01-12 14:48:17 +00:00
Treehugger Robot
248026347f Merge "Limit LOG_TAG in header" 2023-01-11 20:00:55 +00:00
Shunkai Yao
f1f15a1e86 Merge "Audio AIDL : Add libeffects reverb implementation uuids" 2023-01-11 19:06:32 +00:00
Shunkai Yao
5df4e6c4b0 AIDL effect: update AudioDeviceDescription to list
Bug: 261129656
Test: atest VtsHalAudioEffectTargetTest
Change-Id: I424afb287fa97a6bf39221ba64d6af50c1d697eb
2023-01-11 17:02:21 +00:00
Jack Wu
0edf57e04b health: fix depending on multiple versions of the same aidl_interface
When health aidl_interface version updraged, some libraries are
depending on V1 and android.hardware.health-translate-ndk at the
same time. It will cause multiple versions depending if
android.hardware.health-translate-ndk is depending on new version.
version.

Fork android.hardware.health-translate-ndk generate two versions,
so that other libraries can depend on the same aidl_interface,
to avoid multiple versions depending.

Bug: 251425963
Test: m
Change-Id: I0641e9f6c1445ee2549b956012ebb35eb1f8ac97
Signed-off-by: Jack Wu <wjack@google.com>
2023-01-11 09:45:19 +00:00
Shunkai Yao
b490783ad7 Merge "AIDL effect: add dynamic libraries open check" 2023-01-11 04:44:51 +00:00
John Reck
fb373b0613 Merge "Clarify deprecation message" 2023-01-10 22:36:48 +00:00
Devin Moore
e33ef6ccd2 Merge "Remove HIDL gatekeeper from compat matrix" 2023-01-10 21:58:43 +00:00
Treehugger Robot
98319e92a6 Merge changes I97fd41f8,Iab3c970b
* changes:
  audio: Generalize stream implementations
  audio: Plumb IStreamOutEventCallback to the stream
2023-01-10 21:43:27 +00:00
Mikhail Naganov
f429c03d49 audio: Generalize stream implementations
This allows for more code reuse and composability when
implementing streams for a particular audio "backend."

The existing "stub" code has been moved to StreamStub* files.

Bug: 264712385
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I97fd41f87eb6d01e1d57f0d70a86d3b2b3555837
2023-01-10 19:18:42 +00:00
Steven Moreland
9c8b6b21ff Limit LOG_TAG in header
Including LOG_TAG in a header prevents any files which uses
this header from defining a LOG_TAG.

Bug: 259162245
Change-Id: I847f4b4f8898aac373db2566c745d3e73404f58a
Merged-In: I847f4b4f8898aac373db2566c745d3e73404f58a
2023-01-10 18:56:35 +00:00
Shunkai Yao
e221e712f9 AIDL effect: add dynamic libraries open check
Bug: 258124419
Test: atest VtsHalAudioEffectFactoryTargetTest
Change-Id: Id6fbb7b47422eed65635e137d1b97218d6b18a91
2023-01-10 17:31:50 +00:00
Nathalie Le Clair
e6c4ebb0de Merge "Refactor HDMI related AIDL packages" 2023-01-10 17:05:18 +00:00
John Reck
a190be3f86 Clarify deprecation message
Note that it's still used if mapper@4 is still used

Test: n/a doc only change
Change-Id: I21d3070684592f2931842acb43466ae4236856e6
2023-01-10 10:56:00 -05:00
Shraddha Basantwani
b83ec07797 Audio AIDL : Add libeffects reverb implementation uuids
Bug: 258124419
Test: atest VtsHalEnvironmentalReverbTest
      atest VtsHalPresetReverbTargetTest

Change-Id: Ifa858ab002ee815f59b8582e5427eca566226fa2
2023-01-10 15:50:11 +05:30
Treehugger Robot
5616efe88b Merge "EnvironmentalReverb : Add minimum and maximum capabilities for params." 2023-01-10 08:25:28 +00:00
Treehugger Robot
143ab50f77 Merge "Remove HIDL atrace interface from compatibility matrix level 8" 2023-01-10 02:32:48 +00:00
Treehugger Robot
c8420d0269 Merge "Fix: BroadcastradioHalTest.DabTune case failure am: 58eeec5925 am: c9fa6a8ef3" 2023-01-10 00:10:07 +00:00
Netajee Shubash Chand Miriyala
db4f42e94c [automerger skipped] Fix: BroadcastradioHalTest.DabTune case failure am: 58eeec5925 am: c9fa6a8ef3 -s ours
am skip reason: skipped by user xuweilin

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

Change-Id: I757e8e50de933a4ef09399bcedf34d545f4423ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-09 23:28:17 +00:00
Devin Moore
3c63bb125b Remove HIDL gatekeeper from compat matrix
This HIDL interface is deprecate in level 8. The AIDL gatekeeper
interface should be used instead.

Test: none
Bug: 205760843
Change-Id: I58b8ca77ae9ab8d055a45871918dbd91435823a7
2023-01-09 23:14:38 +00:00
Devin Moore
da2777170d Remove HIDL atrace interface from compatibility matrix level 8
This interface is deprecated as of level 8.

Test: none
Bug: 204935495
Change-Id: Ie4cf7a45d70b9a9acf57f25e82fff64cfe379276
2023-01-09 21:47:02 +00:00
Mikhail Naganov
8651b364b8 audio: Plumb IStreamOutEventCallback to the stream
The plumbing was missing from the CL which has added
the callback (aosp/2256190).

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Iab3c970b3efd0281e34e07f98864531acc4c519e
2023-01-09 19:53:06 +00:00
Netajee Shubash Chand Miriyala
f43676b3d1 Fix: BroadcastradioHalTest.DabTune case failure am: 58eeec5925 am: c9fa6a8ef3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2379191

Change-Id: Ibd84f77471453262c0e2fc68d32f1d4f0707f5d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-09 19:29:31 +00:00
Shubhangi Pawar
6f46365c0c [automerger skipped] Merge "composer: vts: Init display dimension using active config" into android13-tests-dev am: 3e1907ae4a -s ours
am skip reason: Merged-In I64fec02f5386eb6ca1f41ab376be193231810b93 with SHA-1 4775bdce26 is already in history

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

Change-Id: Ibca2511021c61fb37a2f6eff02b56d6bb79b6697
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-09 19:25:37 +00:00
HyunKyoung
74f7a70a7c [automerger skipped] composer: vts: Init display dimension using active config am: 37b3413684 -s ours
am skip reason: Merged-In I64fec02f5386eb6ca1f41ab376be193231810b93 with SHA-1 4775bdce26 is already in history

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

Change-Id: If30d3c3372632f315e77215c3d3f7b17be58bf8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-09 19:25:34 +00:00
Netajee Shubash Chand Miriyala
c9fa6a8ef3 Fix: BroadcastradioHalTest.DabTune case failure am: 58eeec5925
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2379191

Change-Id: I077044dd855a3b090e63c8f625e72344f6756130
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-09 19:22:28 +00:00
Shubhangi Pawar
3e1907ae4a Merge "composer: vts: Init display dimension using active config" into android13-tests-dev 2023-01-09 18:59:00 +00:00
John Reck
a74147236c Merge "Add a README and a standardizable VERSION" 2023-01-09 18:38:26 +00:00
Pomai Ahlo
8c0e3f1ac7 Merge "Allow Uninstantiated Test SapTest" 2023-01-09 17:52:11 +00:00
Treehugger Robot
f6571bf854 Merge "contexthub: cleanup OWNERS" 2023-01-09 17:06:46 +00:00
Sam Dubey
fbc50a45ba Fix test name in test-mapping
Test: N/A
Bug: 264732141
Change-Id: I2b7959e9eb62f420e3097a4ff0ea3dd82e62fd3e
Merged-In: I2b7959e9eb62f420e3097a4ff0ea3dd82e62fd3e
2023-01-09 15:30:17 +00:00
Anthony Stange
583a014187 contexthub: cleanup OWNERS
Bug: N/A
Change-Id: I367eca8f6928e4927a0e79b38c2b1e34c1b49e63
Test: N/A
2023-01-09 15:00:20 +00:00
Venkatarama Avadhani
601d29917a Refactor HDMI related AIDL packages
Move CEC, EArc and the old "HDMI" package in to one common hdmi package
as cec, earc and connection.

Test: Build
Bug: 261729059

Change-Id: Ic657713e3a4078125e211bb0d337519a9192aaa1
2023-01-09 16:53:02 +05:30
Sham Rathod
e362a46cd9 EnvironmentalReverb : Add minimum and maximum capabilities for params.
Bug: 263416041
Test: atest VtsHalEnvironmentalReverbTest
Change-Id: I7acd88483f844792776ccc2a310623d84b76c3ae
2023-01-09 16:33:58 +05:30
Treehugger Robot
b4a40f0dbd Merge "Add CEC AIDL tests to test mapping (presubmit)" 2023-01-09 10:57:37 +00:00
Treehugger Robot
99d4458c3b Merge changes Ic8eaee53,Ide961d91,Ie97f3ce9
* changes:
  audio: Allow going to 'IDLE' for synchronous drain
  audio: Improve test coverage
  audio VTS: Refactor support for non-deterministic SM behavior
2023-01-09 08:51:53 +00:00
Treehugger Robot
0a9430add2 Merge "Add ExtendableType to allocate" 2023-01-09 08:05:54 +00:00
Michal Olech
3cc2a00799 Add CEC AIDL tests to test mapping (presubmit)
Bug: 250526670
Bug: 250526969
Test: acloud create --local-instance --local-image && cd
hardware/interfaces/tv && atest

Change-Id: I8ecdabc0fcfd1d259153e0fd1fa579aca64d9be4
Merged-In: I8ecdabc0fcfd1d259153e0fd1fa579aca64d9be4
2023-01-09 07:04:42 +00:00
HyunKyoung
37b3413684 composer: vts: Init display dimension using active config
Dimension was initialized to the size of the last config that is in the config list.
VTS didn't change the dimension in the readback test and allocated buffer
for the readback with the dimension size.
However it was different with actual display size.
This change initializes display dimension to the actual display size.

Bug: 259155172
Change-Id: I64fec02f5386eb6ca1f41ab376be193231810b93
Merged-In: I64fec02f5386eb6ca1f41ab376be193231810b93
Signed-off-by: HyunKyoung <hk310.kim@samsung.com>
2023-01-09 04:56:06 +00:00
Treehugger Robot
12c9d664aa Merge "composer: vts: Init display dimension using active config" 2023-01-09 04:51:54 +00:00
Shunkai Yao
cb3081e571 Merge changes from topic "dynamics_processing_aidl"
* changes:
  DynamicsProcessing: Add AIDL placeholder implementation and its unit test
  DynamicsProcessing: update AIDL interface definition
2023-01-07 02:25:02 +00:00
Treehugger Robot
7a15fa5005 Merge "Add more clarity about integer encoding for keys" 2023-01-07 00:36:40 +00:00
Jan Kowal
7e18359125 broadcastradio@2.0 VTS uses DAB frequency invalid in some regions am: 97b386fc3e am: 331a2bf94a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2379128

Change-Id: I1d0007b6ffdd320f43949da8ce6f7a235b419fe8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 23:27:38 +00:00
Netajee Shubash Chand Miriyala
58eeec5925 Fix: BroadcastradioHalTest.DabTune case failure
Root Cause: Even when proper DAB signals are available, the test-case
"BroadcastradioHalTest.DabTune" always fails. This is because the Pro
-gramSelector created as part of the test-case is not valid according
to the AOSP documentation; it passes only DAB_FREQUENCY as the Primar
-yId, but according to the AOSP documentation, DAB_FREQUENCY is not p
-art of proper acceptable PrimaryIds in a ProgramSelector

Fix: The test-case is modified to retrieve the station list before pe
-rforming any tune in the test-case; there are three possible outcome
-s:
- If there are no stations in the station list, the test-case shall b
  -e skipped
- If there are stations in the station list, but there are no dab sta
  -ions being transmitted/received, the test-case shall be skipped
- If there are stations in the station list, and if there are DAB ser
  -vices, extract one service from the list, and create a ProgramSele
  -ctor, and send a tune-request

Test: run "VtsHalBroadcastradioV2_0TargetTest from VTS; run the test-
case - "BroadcastradioHalTest.DabTune"

Bug: 208477956
Change-Id: I874d36f9eeb460fabadd06fe1e138a35b13a5816
(cherry picked from commit e1863a9ce4)
2023-01-06 23:16:31 +00:00
Jan Kowal
331a2bf94a broadcastradio@2.0 VTS uses DAB frequency invalid in some regions am: 97b386fc3e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2379128

Change-Id: Ida2248be37567eb7a1167e4eab09071eee9657c4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 23:07:07 +00:00
Ram Mohan
e4064cebba DynamicsProcessing: Add AIDL placeholder implementation and its unit test
Update audio_effects_config.xml to use libeffect dynamicsProcessing
implementation.

Bug: 258124419
Test: atest VtsHalDynamicsProcessingTargetTest
Test: atest VtsHalAudioEffectTargetTest

Change-Id: If93d084be383b716ff950faf1c3e23d6c1edaa66
2023-01-06 23:00:09 +00:00
Shunkai Yao
5bfe81fb79 DynamicsProcessing: update AIDL interface definition
Enum change aidl_api was automatically generated.

Bug: 258124419
Test: atest VtsHalDynamicsProcessingTargetTest
Change-Id: I942c20124190f91efdebbf2fd8d66692699a65cd
2023-01-06 23:00:09 +00:00
John Reck
0124abc1e9 Add a README and a standardizable VERSION
* Changes the compatbility matrix version to 5.0 & marks optional
* Tweaks the interface name in case it doesn't get removed soon
  (otherwise readme looks silly)
* Adds a README.md to mapper/stable-c
* Adds VTS test to validate versions match

Test: build + mapper VTS

Change-Id: I9b1256e07aaf2876d579a5487d2051c60097fb70
2023-01-06 17:40:16 -05:00
Hasini Gunasinghe
eb3e5d16cf Merge "Fix VtsRemotelyProvisionedComponentTests for IRPC V3" 2023-01-06 22:13:16 +00:00
John Reck
cf8d8bc769 Add ExtendableType to allocate
Allows for passing arbitrary additional options to IAllocator
Can be used to control things such as compression level without
exhausting usage bits

Currently there are no standard options defined so this only allows
for vendor-internal extensions currently.

Fixes: 257075040
Test: VtsHalGraphicsAllocatorAidl_TargetTest
Change-Id: I37b730f5ba141b08d458866c6d03a39b27124e02
2023-01-06 15:43:27 -05:00