Commit Graph

45061 Commits

Author SHA1 Message Date
David Drysdale
3d2ba0a137 Add check_feature helper
Test: VtsAidlKeyMintTargetTest
Change-Id: I4a5b2a41172c15ae29efb5b177eb86cea5527b4e
2023-01-11 13:27:30 +00:00
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
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
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
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
Treehugger Robot
c2501bf06b [automerger skipped] Merge "Fix: BroadcastradioHalTest.DabTune case failure" into android11-tests-dev am: 77b8b2524a am: 433858b4f7 -s ours am: 769ee67fc7 -s ours am: 368988fafc -s ours
am skip reason: skipped by user sgaurav

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

Change-Id: Ica97b21332eb1d469b36642a3459549229ca785f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 20:41:23 +00:00
Treehugger Robot
368988fafc [automerger skipped] Merge "Fix: BroadcastradioHalTest.DabTune case failure" into android11-tests-dev am: 77b8b2524a am: 433858b4f7 -s ours am: 769ee67fc7 -s ours
am skip reason: skipped by user sgaurav

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

Change-Id: I674e15a8e83dcd22405ed7437aeed443e9be05ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 20:22:02 +00:00
Jan Kowal
97b386fc3e broadcastradio@2.0 VTS uses DAB frequency invalid in some regions
DAB frequency 178352kHz hardcoded in the test is used in EU region
(channel 5C) but it is not valid in others (e.g. Korea and China).

Therefore DabTune test was modified to use one of supported
frequencies reported via getDabRegionConfig method.

Test: run VtsHalBroadcastradioV2_0TargetTest on hardware units
configured for Europe, China and Korea DAB tuner regions.

Bug: b/190136847

Change-Id: Icd71e42a9242528465ac1358465d8b6d6d4896bf
(cherry picked from commit 7aa628d4de)
2023-01-06 20:09:18 +00:00
Treehugger Robot
769ee67fc7 [automerger skipped] Merge "Fix: BroadcastradioHalTest.DabTune case failure" into android11-tests-dev am: 77b8b2524a am: 433858b4f7 -s ours
am skip reason: skipped by user sgaurav

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

Change-Id: If9320fede7a194ed9f0eb36e9bb8bb4594163c53
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 20:06:59 +00:00
Mikhail Naganov
194daaac57 audio: Allow going to 'IDLE' for synchronous drain
For small buffers, the driver can perform draining
synhronously, returning control to the HAL only after
the buffer is empty. This makes going through
the 'DRAINING' state artificial. Thus, we allow going
to the 'IDLE' state directly.

In order to make sure that VTS handles both transitions:
to 'DRAINING' and to 'IDLE', correctly, add an "AOSP as
vendor" parameter "aosp.forceSynchronousDrain" to induce
this behavior in the default implementation.

Bug: 262402957
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Ic8eaee53cb4596afb5317b4b905e004af3f112aa
2023-01-06 19:43:14 +00:00
Mikhail Naganov
20047bc1d9 audio: Improve test coverage
Add a vendor-specific parameter "aosp.forceTransientBurst"
which helps to cover the case of non-full async writes.
This parameter is specific to the "AOSP as vendor" implementation,
other vendors are not required to have it—that's why it's
not in AIDL.

Fix minor issues in VTS found after revisiting the code, and by
looking at logs during testing.

Bug: 262402957
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Ide961d91a8d9da24392561654f04eb8207b7b781
2023-01-06 19:43:13 +00:00
Mikhail Naganov
4e699bd94f audio VTS: Refactor support for non-deterministic SM behavior
Use a DAG instead of a list for representing stream state machine
transitions. This allows accomodating multiple possible replies
from the stream state machine, and enables following different,
possibly converging test sequences depending on actual replies.

Update the async output state machine graph including possible
state transitions that are implemented but were missing from the
graph.

Bug: 262402957
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Ie97f3ce9222eec812d4eb4dfbce1f678370bef26
2023-01-06 19:43:13 +00:00
John Reck
0797e36036 Merge "Add stride query" 2023-01-06 19:38:30 +00:00
Bill Yi
a1fe8d755e Merge "Merge TQ1A.230105.002 to aosp-master - DO NOT MERGE" 2023-01-06 19:33:50 +00:00
Pomai Ahlo
abb09bd477 Allow Uninstantiated Test SapTest
Correct "RadioSapTest" to "SapTest"

Bug: 262975243
Test: atest VtsHalRadioTargetTest
Change-Id: I56c957d3b74f76e00cccde0012863c9080c78368
2023-01-06 10:42:18 -08:00
Seth Moore
1386742e52 Add more clarity about integer encoding for keys
Add references to appropriate documentation, as well.

Test: N/A
Bug: 251687782
Change-Id: I93adb940406c924879606137bb813d7735d9aee2
2023-01-06 09:56:27 -08:00
Bo Hu
249e4eb80e Merge changes from topic "isap_hidl2aidl"
* changes:
  Make Sap Interface Apex Available
  [ISap hidl2aidl] VTS Tests
  [ISap hidl2aidl] Compat Support
  Radio: hidl2aidl for ISap interface
2023-01-06 16:05:25 +00:00
Bill Yi
ec3c341330 Merge TQ1A.230105.002 to aosp-master - DO NOT MERGE
Merged-In: I8b23ec92656b37cb81bb74bfa6b70e6685b024a3
Merged-In: I2612141524cbd77334abaccb34cfa1659f5edfb6

Change-Id: I88e0607c608bdbc6429bcd97f228af663cc45aa8
2023-01-06 15:26:45 +00:00
Treehugger Robot
433858b4f7 Merge "Fix: BroadcastradioHalTest.DabTune case failure" into android11-tests-dev am: 77b8b2524a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2070028

Change-Id: I24ca4d4cd6091d74d434eec7995123b2f707770d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 07:33:34 +00:00
Treehugger Robot
77b8b2524a Merge "Fix: BroadcastradioHalTest.DabTune case failure" into android11-tests-dev 2023-01-06 07:05:02 +00:00
Hasini Gunasinghe
666b2717e4 Fix VtsRemotelyProvisionedComponentTests for IRPC V3
This updates the test: supportsValidCurve, for IRPC implementations
that supports only V3+.

Bug: 239476788
Test: atest VtsRemotelyProvisionedComponentTests with IRPC V3
implementation

Change-Id: Ic0f1223b30e31dc537155e19e800b3001ce0fc01
2023-01-05 21:35:51 +00:00
Henri Chataing
044d5a801a Merge "Extend the default implementation of the secure element AIDL interface" 2023-01-05 08:15:15 +00:00