Commit graph

42367 commits

Author SHA1 Message Date
Jan Kowal
7271308ece 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: I8d2814fc6d7582b444632be398727d5d18b5d381
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 18:45:47 +00:00
Treehugger Robot
97a061aabf [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: I88f1e661364aa178b1665fb1231d986bd60256ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 18:45:17 +00:00
Mikhail Naganov
b7e3b73036 audio VTS: Use the right device type in PcmOnlyConfigInputStreamTest am: 6de19308ab
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2367469

Change-Id: I29438dd0a094d52305d4466367400cd4d5e03b46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 18:45:07 +00:00
Changyeon Jo
b536f21f4c Fix how displays are used in test cases am: 017cb98ee9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2305821

Change-Id: Id03c178a2fec64840a528dd047df0cbea215b44f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 18:43:56 +00:00
Mikhail Naganov
ea87c8a518 audio VTS: Use 'IN_DEFAULT' device type for telephony am: 715b8ec2c5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2322475

Change-Id: I547417d56c07c267e328d9ac0483aafbb1801788
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 18:43:26 +00:00
Midas Chien
33d2a7d453 [automerger skipped] composer: vts: configure layer for DisplayDecoration am: 1120a6f78c -s ours
am skip reason: Merged-In If47154adf9d48f9c1b8390b4bee090d8bf40ff3b with SHA-1 308f4ac906 is already in history

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

Change-Id: Id1f46ca50a167b3a9df97cd898cedc4a6f83b6a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 18:38:36 +00:00
Treehugger Robot
1c4170754f Merge "Camera VTS: Fix AIDL status typo" into android13-tests-dev 2023-01-25 02:11:46 +00:00
Yu-Han Yang
5da610c660 Skip TestGnssPowerIndication if capability is not supported
Bug: 263354944
Test: atest VtsHalGnssTargetTest
Change-Id: I372ca2f2fb4cb5d4cafbacc1bde1cc0f0f2077dd
2023-01-20 22:08:53 +00:00
Emilian Peev
7195938fe2 Camera VTS: Fix AIDL status typo
"physicalCameraDeviceStatusChange" returns a default
ScopedAStatus that will not include a valid AStatus instance.
This will result in binder instabilities once the status
is being parceled.
Return "ScopedAStatus::ok" instead.

Bug: 253993253
Test: adb shell VtsAidlHalCameraProvider_TargetTest
Change-Id: I219f608a04aaec0631e3de58a7e0d47a30294e52
2023-01-20 13:57:17 -08:00
Treehugger Robot
2f27d9e80c Merge "Add an exception for QTI SM8550" into android13-tests-dev 2023-01-18 00:29:00 +00:00
TreeHugger Robot
2626641d4c Merge "Merge "Snap tm-dev to android13-tests-dev" into tm-dev am: 5a1bde04ae" into tm-mainline-prod 2023-01-17 21:37:52 +00:00
Michael Butler
4cadc791a4 Disable TEST_MAPPING for VtsHalNeuralnetworksV1_*TargetTest
A sibling change removes the NN HIDL sample drivers from cuttlefish. In
response, this change removes the VtsHalNeuralnetworksV1_*TargetTest
tests from the TEST_MAPPING because they do not test anything without
the NN HIDL sample drivers present.

Note that the NN AIDL sample drivers and NN AIDL VTS test
(VtsHalNeuralnetworksTargetTest) are still present.

Bug: 233665601
Test: mma
Test: croot && cd hardware/interfaces/neuralnetworks && atest
Change-Id: I90bccd843ba9296c27d3010cec652be55a13a225
(cherry picked from commit e8e7a1018c)
2023-01-13 16:21:25 -08:00
Treehugger Robot
7aeaa3a0a2 Merge "Sync wait for the bluetooth to be disabled / enabled" into android13-tests-dev 2023-01-13 18:13:42 +00:00
Samip Garg
e3f06ea505 Merge "Snap tm-dev to android13-tests-dev" into tm-dev am: 5a1bde04ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20513348

Merged-In: I33a86ec62662ba4738c70c15b77ece0135da7d29
Change-Id: I015510c9edfe3a44ed290bd62c6dff94ec6fc867
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-13 00:53:51 +00:00
Kyle Zhang
6da64e6ba2 Merge "Fix OfflineLicenseTest not provisioned" into android13-tests-dev 2023-01-12 01:15:01 +00:00
Samip Garg
5a1bde04ae Merge "Snap tm-dev to android13-tests-dev" into tm-dev 2023-01-10 20:21:40 +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
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
Robert Shih
b76b6287d9 drm aidl vts: proper skip tests without vendor module
Bug: 253168737
Test: VtsAidlHalDrmTargetTest
Change-Id: Iaac3ef19197dceea16061e9926c831818b27bd14
2023-01-06 22:27:42 -08:00
Kyle Zhang
e006233589 Fix OfflineLicenseTest not provisioned
Bug: 261096489
Test: VtsAidlHalDrmTargetTest
Change-Id: Iac3d96cefd5639f076a6c58517b1bb8f60562ddf
2023-01-07 01:35:49 +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
James-YT.lin
e3d77fb6d0 VtsHalRadioV1_4Target.setPreferredNetworkTypeBitmap
Add mode not support check for setPreferredNetworkTypeBitmap.

Bug: 142369230
Test: run vts -m VtsHalRadioV1_4Target

Change-Id: I17b07f40b313f9b04e2f73d9b4a235ede891f8ea
(cherry picked from commit 16e7bf5ce3)
2023-01-04 08:43:04 +00:00
William Escande
675946eaed Sync wait for the bluetooth to be disabled / enabled
Bluetooth does not handle well conflicting message

Test: VtsHalBluetoothV1_0TargetTest
Test: VtsHalBluetoothV1_1TargetTest
Bug: 262645484
Bug: 262501652
Bug: 260064452
Change-Id: I0aca127fb5e5e33cc0086aaad19a8f1286fc83d6
(cherry picked from commit cd64ee13fb)
2023-01-04 00:23:59 +00:00
Yinchu Chen
431aec3d2f Add an exception for QTI SM8550
SM8550 doesn't support Keymint2.0, per the discussion in b/
add an exception in the test case when SM8550 is detected.

Bug: b/245649355
Test: VtsHalKeymasterV4_0TargetTest

Change-Id: I788a80c0f9b011f73aac9a8c4774e70e203ac3d6
2022-12-23 07:14:34 +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
Samip Garg
fe5e2ec823 Snap tm-dev to android13-tests-dev
Bug:259849956

Merge ab/9299233

Merged-In: I33a86ec62662ba4738c70c15b77ece0135da7d29
Change-Id: Ib7c38d7cefaed90da0caf0a970568149531b0cbe
2022-12-08 18:08:11 +00:00
Michael Butler
3a664b7912 [automerger skipped] Merge changes from topic "cherrypick-cherrypick-cherrypick-nnapi_burst_deserialize-fvwo2wt1ja-mueq5vhv8v-2ym2uz8wjy" into sc-qpr1-dev am: c63fef57a2 -s ours am: 87279d70a9 -s ours am: 8662e87ac4 -s ours
am skip reason: Merged-In I6bfb02a5cd76258284cc4d797a4508b21e672c4b with SHA-1 7a9e483f4b is already in history

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

Change-Id: Ic09cf1dc471ec2cf94e8c277c05935cd154592d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 05:52:38 +00:00
Presubmit Automerger Backend
64b20cacad [automerger skipped] [automerge] Add additional bounds checks to NNAPI FMQ deserialize utility functions 2p: 4668f30dcf am: fd5dced8e1 -s ours am: ab30bbe532 -s ours am: 14aa961aa7 -s ours
am skip reason: Merged-In I6bfb02a5cd76258284cc4d797a4508b21e672c4b with SHA-1 7a9e483f4b is already in history

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

Change-Id: Id05793c29bd8b0afe663f7856ea2e89a4a953a97
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 05:52:37 +00:00
Michael Butler
d81d8ed041 [automerger skipped] Add additional bounds checks to NNAPI FMQ deserialize utility functions am: 7a9e483f4b -s ours am: 2249ed2b2e -s ours am: 4609fc508c -s ours
am skip reason: Merged-In I6bfb02a5cd76258284cc4d797a4508b21e672c4b with SHA-1 082cefe340 is already in history

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

Change-Id: I24c8f13826c18a6c2253bc4c6bb4018d0e2f9b6b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 05:52:19 +00:00
Michael Butler
8662e87ac4 [automerger skipped] Merge changes from topic "cherrypick-cherrypick-cherrypick-nnapi_burst_deserialize-fvwo2wt1ja-mueq5vhv8v-2ym2uz8wjy" into sc-qpr1-dev am: c63fef57a2 -s ours am: 87279d70a9 -s ours
am skip reason: Merged-In I6bfb02a5cd76258284cc4d797a4508b21e672c4b with SHA-1 7a9e483f4b is already in history

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

Change-Id: Ib9d9214a9aed30183ced32e77b42eda506ef6da0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 05:28:26 +00:00
Presubmit Automerger Backend
14aa961aa7 [automerger skipped] [automerge] Add additional bounds checks to NNAPI FMQ deserialize utility functions 2p: 4668f30dcf am: fd5dced8e1 -s ours am: ab30bbe532 -s ours
am skip reason: Merged-In I6bfb02a5cd76258284cc4d797a4508b21e672c4b with SHA-1 7a9e483f4b is already in history

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

Change-Id: I1704a9401e4635fd8d0f01406a13a7cf972051d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 05:28:23 +00:00
Michael Butler
4609fc508c [automerger skipped] Add additional bounds checks to NNAPI FMQ deserialize utility functions am: 7a9e483f4b -s ours am: 2249ed2b2e -s ours
am skip reason: Merged-In I6bfb02a5cd76258284cc4d797a4508b21e672c4b with SHA-1 082cefe340 is already in history

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

Change-Id: I71c33155d822eb94148bdaa70fc8d015017c619c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 05:28:09 +00:00
Michael Butler
87279d70a9 [automerger skipped] Merge changes from topic "cherrypick-cherrypick-cherrypick-nnapi_burst_deserialize-fvwo2wt1ja-mueq5vhv8v-2ym2uz8wjy" into sc-qpr1-dev am: c63fef57a2 -s ours
am skip reason: Merged-In I6bfb02a5cd76258284cc4d797a4508b21e672c4b with SHA-1 7a9e483f4b is already in history

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

Change-Id: I505f48ddf91052395f54ec450fb45462257cde77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 05:10:50 +00:00
Presubmit Automerger Backend
ab30bbe532 [automerger skipped] [automerge] Add additional bounds checks to NNAPI FMQ deserialize utility functions 2p: 4668f30dcf am: fd5dced8e1 -s ours
am skip reason: Merged-In I6bfb02a5cd76258284cc4d797a4508b21e672c4b with SHA-1 7a9e483f4b is already in history

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

Change-Id: Ib3c42ff99ae5d31a383a93d7ec1c1897c7d8270b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 05:10:48 +00:00
Michael Butler
2249ed2b2e [automerger skipped] Add additional bounds checks to NNAPI FMQ deserialize utility functions am: 7a9e483f4b -s ours
am skip reason: Merged-In I6bfb02a5cd76258284cc4d797a4508b21e672c4b with SHA-1 082cefe340 is already in history

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

Change-Id: I3b12bce9c004a743cbe952b3a00117d402339408
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 05:10:24 +00:00
Michael Butler
c63fef57a2 Merge changes from topic "cherrypick-cherrypick-cherrypick-nnapi_burst_deserialize-fvwo2wt1ja-mueq5vhv8v-2ym2uz8wjy" into sc-qpr1-dev
* changes:
  [automerge] Add additional bounds checks to NNAPI FMQ deserialize utility functions 2p: 4668f30dcf
  Add additional bounds checks to NNAPI FMQ deserialize utility functions
2022-12-07 05:10:07 +00:00
Michael Butler
68a2f143b4 [automerger skipped] Add additional bounds checks to NNAPI FMQ deserialize utility functions am: 082cefe340 -s ours am: ac9b33c584 -s ours
am skip reason: Merged-In I6bfb02a5cd76258284cc4d797a4508b21e672c4b with SHA-1 67d9ebe9e6 is already in history

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

Change-Id: Ie07b19d787c06f8265575ed8c3e1938f21232f40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 05:09:15 +00:00
Michael Butler
ac9b33c584 [automerger skipped] Add additional bounds checks to NNAPI FMQ deserialize utility functions am: 082cefe340 -s ours
am skip reason: Merged-In I6bfb02a5cd76258284cc4d797a4508b21e672c4b with SHA-1 67d9ebe9e6 is already in history

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

Change-Id: Ia5d1652455c6d2663c1917ef2b9fec67bd1a362d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 04:45:27 +00:00
Michael Butler
84f2785f31 [automerger skipped] Add additional bounds checks to NNAPI FMQ deserialize utility functions am: 67d9ebe9e6 -s ours
am skip reason: Merged-In I6bfb02a5cd76258284cc4d797a4508b21e672c4b with SHA-1 06493bc122 is already in history

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

Change-Id: Ib936e10180e8dcd7a7a111687cf73ce734321c43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 03:52:38 +00:00
Michael Butler
06493bc122 Add additional bounds checks to NNAPI FMQ deserialize utility functions
This CL adds the following additional bounds checks:
* Adds additional checks of the index of the std::vector before
  accessing the element at the index
* Changes the array index operator [] to the checked std::vector::at
  method

Bug: 256589724
Test: mma
Merged-In: I6bfb02a5cd76258284cc4d797a4508b21e672c4b
Change-Id: I6bfb02a5cd76258284cc4d797a4508b21e672c4b
2022-12-05 22:08:39 +00:00
Presubmit Automerger Backend
fd5dced8e1 [automerge] Add additional bounds checks to NNAPI FMQ deserialize utility functions 2p: 4668f30dcf
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20614826

Bug: 256589724
Change-Id: I47ee25c6a04b37b74b043a8f5b5490ecaa1131aa
Merged-In: I6bfb02a5cd76258284cc4d797a4508b21e672c4b
2022-12-05 20:24:30 +00:00
Michael Butler
67d9ebe9e6 Add additional bounds checks to NNAPI FMQ deserialize utility functions
This CL adds the following additional bounds checks:
* Adds additional checks of the index of the std::vector before
  accessing the element at the index
* Changes the array index operator [] to the checked std::vector::at
  method

Bug: 256589724
Test: mma
Merged-In: I6bfb02a5cd76258284cc4d797a4508b21e672c4b
Change-Id: I6bfb02a5cd76258284cc4d797a4508b21e672c4b
2022-12-05 20:24:16 +00:00