Commit graph

41733 commits

Author SHA1 Message Date
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
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
Treehugger Robot
ccb721c91b Merge "Make VtsHalNeuralnetworks* tests more binder-friendly." into android12-tests-dev am: 2a04b4462f am: 2a3972288c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2194136

Change-Id: Ia0644bba3357a0288133ea2f89c5bda5748fe185
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-15 22:37:15 +00:00
Changyeon Jo
a6e880a398 Remove color format constraints am: e6bb228dc6 am: 9b60ecd229
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2188343

Change-Id: I16002aae2f76e58380f72a131229a381cb11ca56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-15 22:36:12 +00:00
Changyeon Jo
4cbdc86584 Corrects color format requirements am: bfbbba6300 am: 217a6ff310
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2182380

Change-Id: I5320446feba732ffdfeb14b8305634afa6506aad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-15 22:34:28 +00:00
Treehugger Robot
3457c4eeae Merge "Remove color format constraints" into android13-tests-dev 2022-09-09 16:12:04 +00:00
Changyeon Jo
7f5ad61254 Remove color format constraints
VtsHalEvsTargetTest does not verify any behavior depending on
a frame buffer's color format.

Bug: 240685726
Test: atest VtsHalEvsTargetTest
Change-Id: If8b8c595cfc7404a8122728593f778528b45af15
(cherry picked from commit 849d0f370c)
2022-09-09 16:05:53 +00:00
Qoo Lin
ec1e1f61ed Fix SetBadMetadata fail am: 2ff704a6d4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2201200

Change-Id: Ia133acde9b27c275d6aeb02618af86ade3233956
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 00:15:46 +00:00
Treehugger Robot
52d98de46d Merge "fix segmentation fault of GraphicsComposerAidlCommandTest" into android13-tests-dev 2022-09-07 23:57:57 +00:00
David Gross
ce0048732a Make VtsHalNeuralnetworks* tests more binder-friendly.
Certain mutation testing -- mutateOperandLifeTimeTest and
mutateOperandInputOutputTest -- can introduce potentially very large
CONSTANT_COPY operands, which can in turn create potentially very
large Models which must be passed across binder.  To avoid overflowing
the binder buffer, we estimate the size of the mutated Model, and skip
the test if that size is too high.  The old logic recognizes that our
tests only have a single active binder transaction at a time, and
assumes that there are no other clients using the same service at the
same time, and so we should have the binder buffer to ourselves; to be
conservative, we reject any Model whose estimated size exceeds half
the binder buffer size.  Unfortunately, sometimes the binder buffer
still overflows, because it unexpectedly contains an allocation from
some other transaction: It appears that binder buffer memory
management is not serialized with respect to transactions from our
tests, and therefore depending on scheduler behavior, there may be a
sizeable allocation still in the buffer when we attempt to pass the
large Model.  To fix this problem we become even more conservative,
and instead of limiting the Model to half the binder buffer size, we
limit it to half IBinder.MAX_IPC_SIZE (the recommended transaction
size limit).  To confirm that this change does not exclude too many
tests, I checked how may times the size filter function
exceedsBinderSizeLimit is called, how many times it rejects a model
under the new logic (modelsExceedHalfMaxIPCSize), and how many times
it rejects a model under the old logic (modelsExceedHalfMaxIPCSize).

Test: VtsHalNeuralnetworksV1_0TargetTest --gtest_filter=TestGenerated/ValidationTest.Test/*-*dsp*
Test: # models =  3592, modelsExceedHalfMaxIPCSize = 212, modelsExceedHalfBufferSize = 18
Test: VtsHalNeuralnetworksV1_1TargetTest --gtest_filter=TestGenerated/ValidationTest.Test/*-*dsp*
Test: # models =  7228, modelsExceedHalfMaxIPCSize = 330, modelsExceedHalfBufferSize = 28
Test: VtsHalNeuralnetworksV1_2TargetTest --gtest_filter=TestGenerated/ValidationTest.Test/*-*dsp*
Test: # models = 52072, modelsExceedHalfMaxIPCSize = 506, modelsExceedHalfBufferSize = 28
Test: VtsHalNeuralnetworksV1_3TargetTest --gtest_filter=TestGenerated/ValidationTest.Test/*-*dsp*
Test: # models = 73342, modelsExceedHalfMaxIPCSize = 568, modelsExceedHalfBufferSize = 28
Test: VtsHalNeuralnetworksTargetTest

Bug: 227719657
Bug: 227719752
Bug: 231928847
Bug: 238777741
Bug: 242271308

Merged-In: I3f81d71ca3c0ad4c639096b1dc034a8909bc8971
Change-Id: I3f81d71ca3c0ad4c639096b1dc034a8909bc8971
(cherry picked from commit 79324920f7)
2022-08-31 23:02:26 +00:00
Qoo Lin
2ff704a6d4 Fix SetBadMetadata fail
Align Android-T

Bug: 244284552
Test: run vts -m VtsHalGraphicsMapperV4_0TargetTest
Signed-off-by: Qoo Lin <qoo.lin@mediatek.com>
Change-Id: I722981dda3b3aba97f36407e50bd338d4812a723
2022-08-31 00:53:39 +00:00
Treehugger Robot
2a3972288c Merge "Make VtsHalNeuralnetworks* tests more binder-friendly." into android12-tests-dev am: 2a04b4462f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2194136

Change-Id: I651a99927a137c7401750274b505e30e548e7858
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-26 17:05:34 +00:00
Treehugger Robot
2a04b4462f Merge "Make VtsHalNeuralnetworks* tests more binder-friendly." into android12-tests-dev 2022-08-26 16:51:31 +00:00
David Gross
79324920f7 Make VtsHalNeuralnetworks* tests more binder-friendly.
Certain mutation testing -- mutateOperandLifeTimeTest and
mutateOperandInputOutputTest -- can introduce potentially very large
CONSTANT_COPY operands, which can in turn create potentially very
large Models which must be passed across binder.  To avoid overflowing
the binder buffer, we estimate the size of the mutated Model, and skip
the test if that size is too high.  The old logic recognizes that our
tests only have a single active binder transaction at a time, and
assumes that there are no other clients using the same service at the
same time, and so we should have the binder buffer to ourselves; to be
conservative, we reject any Model whose estimated size exceeds half
the binder buffer size.  Unfortunately, sometimes the binder buffer
still overflows, because it unexpectedly contains an allocation from
some other transaction: It appears that binder buffer memory
management is not serialized with respect to transactions from our
tests, and therefore depending on scheduler behavior, there may be a
sizeable allocation still in the buffer when we attempt to pass the
large Model.  To fix this problem we become even more conservative,
and instead of limiting the Model to half the binder buffer size, we
limit it to half IBinder.MAX_IPC_SIZE (the recommended transaction
size limit).  To confirm that this change does not exclude too many
tests, I checked how may times the size filter function
exceedsBinderSizeLimit is called, how many times it rejects a model
under the new logic (modelsExceedHalfMaxIPCSize), and how many times
it rejects a model under the old logic (modelsExceedHalfMaxIPCSize).

Test: VtsHalNeuralnetworksV1_0TargetTest --gtest_filter=TestGenerated/ValidationTest.Test/*-*dsp*
Test: # models =  3592, modelsExceedHalfMaxIPCSize = 212, modelsExceedHalfBufferSize = 18
Test: VtsHalNeuralnetworksV1_1TargetTest --gtest_filter=TestGenerated/ValidationTest.Test/*-*dsp*
Test: # models =  7228, modelsExceedHalfMaxIPCSize = 330, modelsExceedHalfBufferSize = 28
Test: VtsHalNeuralnetworksV1_2TargetTest --gtest_filter=TestGenerated/ValidationTest.Test/*-*dsp*
Test: # models = 52072, modelsExceedHalfMaxIPCSize = 506, modelsExceedHalfBufferSize = 28
Test: VtsHalNeuralnetworksV1_3TargetTest --gtest_filter=TestGenerated/ValidationTest.Test/*-*dsp*
Test: # models = 73342, modelsExceedHalfMaxIPCSize = 568, modelsExceedHalfBufferSize = 28
Test: VtsHalNeuralnetworksTargetTest

Bug: 227719657
Bug: 227719752
Bug: 231928847
Bug: 238777741
Bug: 242271308

Change-Id: I3f81d71ca3c0ad4c639096b1dc034a8909bc8971
2022-08-25 23:11:41 +00:00
JihCheng Chiu
10750526a6 fix segmentation fault of GraphicsComposerAidlCommandTest
When we run the VTS of GraphicsComposerAidlCommandTest, we always meet
segmentation fault issue in some test items. VTS test items crashed
when it deleted the layer or display from resource manager and try to
go next loop.
The problem is the test item try to delete the layer iterator or
display iterator in the loop, so the iterator become an invalid
iterator. Then it try to use the invalid iterator for going to next
iterator. This behavior caused segmentation fault. We use different
way to fix deleting layer and deleting display.
Delete layer: Test item always delete all layer for each display, so
              we always delete layer via get the first iterator until
              the resource manager is empty.
Delete display: Test item only delete virtual display, so we move the
                physical display to a temporary map. After delete all
                virtual display, we swap the temporary map and
                original map.

Bug: 243781450
Test: 1. test GraphicsComposerAidlCommandTest.SetLayerColorTransform
         for deleting layer
      2. test GraphicsComposerAidlCommandTest.SetOutputBuffer
         for deleting disply

Change-Id: Id467df658e78ed29fdfc039cabc119f8bf62d69d
2022-08-25 12:21:47 +00:00
Changyeon Jo
9b60ecd229 Remove color format constraints am: e6bb228dc6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2188343

Change-Id: I4b4f0fa412a88763e506acb9d5f2ed83463ba1d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-25 00:19:38 +00:00
Xin Li
be8ea4d3a8 Merge android12L-tests-dev@8941410
Change-Id: I39565ad6a87b2fdd6172675441e012943f5376b1
2022-08-17 22:38:00 -07:00
Changyeon Jo
e6bb228dc6 Remove color format constraints
VtsHalEvsV1_1TargetTest does not verify any behavior depending on
a frame buffer's color format.

Bug: 240685726
Test: atest VtsHalEvsV1_1TargetTest
Change-Id: I592a0a8de5fffd98178d624ee5aac4c28245d056
2022-08-17 01:03:20 +00:00
Changyeon Jo
217a6ff310 Corrects color format requirements am: bfbbba6300
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2182380

Change-Id: I8f3a94e1872975c82432a7484aeb45db5557a0c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-16 10:53:54 +00:00