Commit Graph

41750 Commits

Author SHA1 Message Date
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
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
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
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
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
Netajee Shubash Chand Miriyala
e1863a9ce4 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
2023-01-05 01:51:44 +00:00
Mikhail Naganov
6de19308ab audio VTS: Use the right device type in PcmOnlyConfigInputStreamTest
The fix in https://r.android.com/2322475 modifies the device
address, which becomes 'IN_DEFAULT' for the telephony case.
As a result, tests that verify capture position were not
skipped, and they do fail on certain platforms when there is
no active telephone call. The fix is to use the initial device
type which was passed to the test as a parameter, not the adjusted
one.

Bug: 263305254
Test: atest VtsHalAudioV7_0TargetTest
Test: atest VtsHalAudioV7_1TargetTest
Change-Id: Ied7134a1bd97e70dcc2400e0827810f9d71a6438
(cherry picked from commit 7029707e34)
2022-12-22 03:39:18 +00:00
Changyeon Jo
017cb98ee9 Fix how displays are used in test cases
Open and close the display for each camera instance.

Bug: 259449376
Test: atest VtsHalEvsTargetTest VtsHalEvsV1_1TargetTest
Change-Id: I0f3d2c0b2c9f8a5e527d0abd5c9b248c84dddfbb
2022-12-04 08:17:44 +00:00
Mikhail Naganov
715b8ec2c5 audio VTS: Use 'IN_DEFAULT' device type for telephony
This undoes the change which had happened unintentionally in
https://cs.android.com/android/_/android/platform/hardware/ \
interfaces/+/1e703f182e2fcbb9123bf661d81d22a04d0e1f8d

The device type passed to 'openInputStream' for telephony
devices should be 'AUDIO_DEVICE_IN_DEFAULT'

Bug: 259636577
Test: atest VtsHalAudioV7_0TargetTest
Test: atest VtsHalAudioV7_1TargetTest
Change-Id: Ic8f4367961346b87087c885a3cdaccab3c1407c9
(cherry picked from commit d72b42d769)
2022-11-30 17:15:34 +00:00
Midas Chien
1120a6f78c composer: vts: configure layer for DisplayDecoration
Some HW may not support crop function for decoration and current API
can't query this capability. Configure decoration layer to full screen
to avoid this limitation.

Bug: 225765061
Bug: 259505289
Test: VtsHalGraphicsComposer3_TargetTest
--gtest_filter=*DisplayDecoration*

Change-Id: If47154adf9d48f9c1b8390b4bee090d8bf40ff3b
(cherry picked from commit 7d55d4269d)
Merged-In: If47154adf9d48f9c1b8390b4bee090d8bf40ff3b
(cherry picked from commit 308f4ac906)
Merged-In: If47154adf9d48f9c1b8390b4bee090d8bf40ff3b
2022-11-22 18:06:39 +08:00
Treehugger Robot
e37ff34514 Merge "audio: Fix HAL reply handling in CompressedOffloadOutputStreamTest" into android13-tests-dev 2022-11-15 00:29:39 +00:00
Mikhail Naganov
5f5827a171 audio: Fix HAL reply handling in CompressedOffloadOutputStreamTest
Increase data position based on the HAL consumption of data,
on the production by the test.

Bug: 254806348
Test: atest VtsHalAudioV7_1TargetTest:CompressedOffloadOutputStream/CompressedOffloadOutputStreamTest
Change-Id: I33a86ec62662ba4738c70c15b77ece0135da7d29
(cherry picked from commit bae409f6c6)
2022-11-09 19:36:58 +00:00
Zhang Yuan
50f12068b8 Adding DSDA configuration for VTS.
Some of the devices which supports DSDA configuration is failing with IRadioConfig.setSimSlotsMapping() VTS. Hence improving the Test case to support.
Test: atest VtsHalRadioTargetTest
Bug: 253337352

Change-Id: I66314124dbf410d8344025aa45529652e126368a
2022-11-09 15:21:12 +00:00
Gabriel Biren
590248f68e Add a null pointer check for wifi_chip in am: 4e6349240e am: 26b625704e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2279026

Change-Id: I3a56d4c73b2c3c40dfb650a32cd431f414b4ba7c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-05 07:13:36 +00:00
Gabriel Biren
26b625704e Add a null pointer check for wifi_chip in am: 4e6349240e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2279026

Change-Id: Ia67f4b0cca7ea6f5f55ce3857fd2c9df3169d4dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-05 06:45:11 +00:00
Gabriel Biren
4e6349240e Add a null pointer check for wifi_chip in
configureChipToSupportIfaceTypeInternal.

Bug: 253411345
Test: atest VtsHalHostapdTargetTest
Change-Id: Ieb6de7311de8d98742e302b35196bee7fa7661ed
(cherry picked from commit b1c2d07e4e)
2022-10-31 22:09:14 +00:00
Henry Fang
176236cee0 [automerger skipped] Merge "Fix tunerhal vts feId uninitialized on getFrontendIdByType" into android11-tests-dev am: 40087f64c5 am: d8a70b00c6 -s ours am: 810da2daeb -s ours
am skip reason: skipped by user quxiangfang

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

Change-Id: I6d9e380e3d938e5adf0d12ef2c8c2aa0abf74d54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 19:57:22 +00:00
Henry Fang
810da2daeb [automerger skipped] Merge "Fix tunerhal vts feId uninitialized on getFrontendIdByType" into android11-tests-dev am: 40087f64c5 am: d8a70b00c6 -s ours
am skip reason: skipped by user quxiangfang

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

Change-Id: Ibfe8f62c8821d3e860e0b0dc2e2610d8be14127a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 19:41:16 +00:00
Henry Fang
d8a70b00c6 Merge "Fix tunerhal vts feId uninitialized on getFrontendIdByType" into android11-tests-dev am: 40087f64c5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2235855

Change-Id: I5984bcb9f4ba77cdd3deba87beaea43aaedd3a72
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 17:05:55 +00:00
Henry Fang
40087f64c5 Merge "Fix tunerhal vts feId uninitialized on getFrontendIdByType" into android11-tests-dev 2022-10-25 16:47:05 +00:00
Yu-Han Yang
25cd9d67d5 Call close() in TearDown()
Bug: 251580081
Test: atest VtsHalGnssTargetTest
Change-Id: Ieb02205f434899f7e9c5db32cfa7172788c39fa6
2022-10-14 23:14:58 +00:00
cmlin0118
5b9ba198ec Fix tunerhal vts feId uninitialized on getFrontendIdByType
Problem: FeId uninitialized on getFrontendIdByType
Solution: Initializ feId
Test: run vts -m VtsHalTvTunerV1_0TargetTest
Bug: 248472007
Change-Id: I373c49cf0a105869743be7f2c0737b4f5b30ae26
2022-10-14 14:52:26 +08:00
Treehugger Robot
9604eb65fe Merge "Update Bluetoot Audio HAL Target Test" into android13-tests-dev 2022-09-29 21:29:35 +00:00
Treehugger Robot
72bf300aec [automerger skipped] Merge "tunerhal:set default frontend to DVBS [1/1]" into android11-tests-dev am: 81022732af -s ours am: 4f3ac4267d -s ours am: d13527a33e -s ours
am skip reason: skipped by user quxiangfang

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

Change-Id: Ib4055077df5e87a74c9ee12dc6b641d4f9d6b8c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-29 01:38:22 +00:00
Treehugger Robot
d13527a33e [automerger skipped] Merge "tunerhal:set default frontend to DVBS [1/1]" into android11-tests-dev am: 81022732af -s ours am: 4f3ac4267d -s ours
am skip reason: skipped by user quxiangfang

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

Change-Id: I7a07d40a9febf29eea94761262822916e530ce47
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-29 01:24:02 +00:00
Treehugger Robot
4f3ac4267d [automerger skipped] Merge "tunerhal:set default frontend to DVBS [1/1]" into android11-tests-dev am: 81022732af -s ours
am skip reason: skipped by user quxiangfang

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

Change-Id: I143fbd025bc19d7cb27e7cacc773864d7ae2a8f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-29 00:54:53 +00:00
shihchienc
fecec8626d Update Bluetoot Audio HAL Target Test
Since we change the design of loading LE Audio Capabilities in BT
Audio HAL, we update the VTS test to make sure no matter a device
supports LE Audio Offload or not, it can pass all tests that they
should pass.
Also, update vts test to match C++ coding style.

Bug: 248181252
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: Ie46c86663e0a22627c324f96360063cd4d4874e4
(cherry picked from commit 3ab9f5e2f0)
2022-09-28 22:12:29 +00:00
kongchenrui
7549241c15 Fix the problem that the data field of Entry in the verifyLogicalOrUltraHighResCameraMetadata function is empty
The reason for this problem is: local variables are used when saving
PhysicalCameraCharacteristics. When its life cycle ends, physChars will
be released. Since Entry uses a pointer, data will be null. So physChars
should be defined outside else to ensure that physChars is not released
during use

Bug: 248221707
Test: VtsHalCameraProviderV2_4TargetTest
Test: VtsAidlHalCameraProvider_TargetTest
Signed-off-by: kongchenrui <kongchenrui@xiaomi.com>
Change-Id: I4c05e695d255f210f310f8ce78ec2fa71a42cee9
2022-09-28 20:35:55 +00:00
Treehugger Robot
81022732af Merge "tunerhal:set default frontend to DVBS [1/1]" into android11-tests-dev 2022-09-28 01:54:02 +00:00
Treehugger Robot
e3cba937c4 [automerger skipped] Merge "Sync audio_policy_engine_configuration.xsd with the SDK" into android12-tests-dev am: 7146592275 -s ours am: c4cbaa651e -s ours
am skip reason: Merged-In I0161ddb33e52cbca9b425c0cbb4f32f320c43af4 with SHA-1 7443e2f547 is already in history

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

Change-Id: I9256574d7355956923e92b7b11b45943ea7d7c61
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-24 02:37:34 +00:00
Mikhail Naganov
d853e915a3 [automerger skipped] Sync audio_policy_engine_configuration.xsd with the SDK am: 9f348454e1 -s ours am: cf8fefbec3 -s ours
am skip reason: Merged-In I0161ddb33e52cbca9b425c0cbb4f32f320c43af4 with SHA-1 7443e2f547 is already in history

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

Change-Id: I0c220c2df72cba41c78bb67cd6da32790b461c94
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-24 02:37:32 +00:00
Treehugger Robot
c4cbaa651e [automerger skipped] Merge "Sync audio_policy_engine_configuration.xsd with the SDK" into android12-tests-dev am: 7146592275 -s ours
am skip reason: Merged-In I0161ddb33e52cbca9b425c0cbb4f32f320c43af4 with SHA-1 7443e2f547 is already in history

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

Change-Id: I15460751581dcd365706f73f5db83a149080cb8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-24 02:11:53 +00:00
Mikhail Naganov
cf8fefbec3 [automerger skipped] Sync audio_policy_engine_configuration.xsd with the SDK am: 9f348454e1 -s ours
am skip reason: Merged-In I0161ddb33e52cbca9b425c0cbb4f32f320c43af4 with SHA-1 7443e2f547 is already in history

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

Change-Id: Ibe3484b8b67c40ae0aeb8e8c7454d999a34426e5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-24 02:11:51 +00:00
Treehugger Robot
7146592275 Merge "Sync audio_policy_engine_configuration.xsd with the SDK" into android12-tests-dev 2022-09-24 01:45:08 +00:00
Mikhail Naganov
43c79660f1 [automerger skipped] Sync audio_policy_engine_configuration.xsd with the SDK am: 7443e2f547 am: 47365bb990 -s ours am: 4d374f0f09 -s ours
am skip reason: Merged-In I0161ddb33e52cbca9b425c0cbb4f32f320c43af4 with SHA-1 7ac8751b9f is already in history

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

Change-Id: Icc62c48e53732d29f703f837bad514c69f52f8f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-23 17:35:34 +00:00
Mikhail Naganov
4d374f0f09 [automerger skipped] Sync audio_policy_engine_configuration.xsd with the SDK am: 7443e2f547 am: 47365bb990 -s ours
am skip reason: Merged-In I0161ddb33e52cbca9b425c0cbb4f32f320c43af4 with SHA-1 7ac8751b9f is already in history

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

Change-Id: I85521b8de1853cfc18e70fd778f79cc4ab1a21e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-23 17:08:45 +00:00
Mikhail Naganov
47365bb990 Sync audio_policy_engine_configuration.xsd with the SDK am: 7443e2f547
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2225423

Change-Id: I816fd76d13635b491c0911fe4ee6cd30a584bcd2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-23 16:38:42 +00:00
Treehugger Robot
8c30d250cc Merge "Sync audio_policy_engine_configuration.xsd with the SDK" into android13-tests-dev 2022-09-23 16:15:24 +00:00
junchao yuan
ab5c449227 tunerhal:set default frontend to DVBS [1/1]
bug:239667706

Problem:
test tunerhal vts fail with DVBS;

Solution:
set defualt frontend to DVBS;

Verify:
s905X4/ohm

Change-Id: I79386738783309b917ec5cff89c48b2bdc99bd7c
2022-09-23 01:49:46 +00:00
Mikhail Naganov
0919b1abcd Sync audio_policy_engine_configuration.xsd with the SDK am: 7ac8751b9f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2225420

Change-Id: Id136e4b17cb083dd13aa67ed4d6e25dd3a4b3877
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-23 00:01:25 +00:00
Mikhail Naganov
7443e2f547 Sync audio_policy_engine_configuration.xsd with the SDK
The audio_policy_engine_configuration.xsd schema was missing
four values for the usage enum. This was causing the VTS
test to fail. These usages must be specified in the audio
policy engine configuration file, otherwise a GTS test fails.

Bug: 245303963
Bug: 246231268
Bug: 246901091
Test: atest VtsHalAudioPolicyV1_0TargetTest
Change-Id: I0161ddb33e52cbca9b425c0cbb4f32f320c43af4
(cherry picked from commit 1cbe492d59)
Merged-In: I0161ddb33e52cbca9b425c0cbb4f32f320c43af4
2022-09-21 22:02:38 +00:00
Mikhail Naganov
9f348454e1 Sync audio_policy_engine_configuration.xsd with the SDK
The audio_policy_engine_configuration.xsd schema was missing
four values for the usage enum. This was causing the VTS
test to fail. These usages must be specified in the audio
policy engine configuration file, otherwise a GTS test fails.

Bug: 245303963
Bug: 246231268
Bug: 246901091
Test: atest VtsHalAudioPolicyV1_0TargetTest
Change-Id: I0161ddb33e52cbca9b425c0cbb4f32f320c43af4
(cherry picked from commit 1cbe492d59)
Merged-In: I0161ddb33e52cbca9b425c0cbb4f32f320c43af4
2022-09-21 22:02:34 +00:00
Mikhail Naganov
327cf1cb17 Sync audio_policy_engine_configuration.xsd with the SDK
The audio_policy_engine_configuration.xsd schema was missing
four values for the usage enum. This was causing the VTS
test to fail. These usages must be specified in the audio
policy engine configuration file, otherwise a GTS test fails.

Bug: 245303963
Bug: 246231268
Bug: 246901091
Test: atest VtsHalAudioPolicyV1_0TargetTest
Change-Id: I0161ddb33e52cbca9b425c0cbb4f32f320c43af4
(cherry picked from commit 1cbe492d59)
Merged-In: I0161ddb33e52cbca9b425c0cbb4f32f320c43af4
2022-09-21 22:02:27 +00:00
Mikhail Naganov
7ac8751b9f Sync audio_policy_engine_configuration.xsd with the SDK
The audio_policy_engine_configuration.xsd schema was missing
four values for the usage enum. This was causing the VTS
test to fail. These usages must be specified in the audio
policy engine configuration file, otherwise a GTS test fails.

Bug: 245303963
Bug: 246231268
Bug: 246901091
Test: atest VtsHalAudioPolicyV1_0TargetTest
Change-Id: I0161ddb33e52cbca9b425c0cbb4f32f320c43af4
(cherry picked from commit 1cbe492d59)
Merged-In: I0161ddb33e52cbca9b425c0cbb4f32f320c43af4
2022-09-21 22:02:16 +00:00
Qoo Lin
bd4085f004 Fix SetBadMetadata fail am: 2ff704a6d4 am: ec1e1f61ed
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2201200

Change-Id: I0526ef6b278d84dd8321f826a3302f7d8df69e09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-15 22:38:08 +00:00