Commit graph

41922 commits

Author SHA1 Message Date
Treehugger Robot
8900a1e345 Merge "VtsHalRadioV1_4Target.setPreferredNetworkTypeBitmap" into android12L-tests-dev am: 78cdf668a8 am: 221de90c16
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2375494

Change-Id: Ia0b554a43999591ae024e58fd53f8a2741b8cb85
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-04 02:08:07 +00:00
Treehugger Robot
221de90c16 Merge "VtsHalRadioV1_4Target.setPreferredNetworkTypeBitmap" into android12L-tests-dev am: 78cdf668a8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2375494

Change-Id: I9a4715bfea07ec34c9cb0fe8f31360c778e172c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-04 01:35:00 +00:00
Treehugger Robot
78cdf668a8 Merge "VtsHalRadioV1_4Target.setPreferredNetworkTypeBitmap" into android12L-tests-dev 2023-02-04 00:43:31 +00:00
Robert Shih
efe8d1a7a4 DrmHalTest: null check for skipped test am: 9049fc93a8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2417394

Change-Id: I48fcc9800808fa59bbc7928b3b690249b01daa81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-02 23:22:20 +00:00
Robert Shih
9049fc93a8 DrmHalTest: null check for skipped test
Bug: 253168737
Change-Id: I0dea0d2482d607eecff433ffb901eba02a39770f
Test: VtsAidlHalDrmTargetTest
2023-02-01 16:39:18 +00:00
David Drysdale
bd74aa905a Add check_feature helper am: b7d44a2eef
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2409412

Change-Id: I06196b720dd501b6628c3063ef672c9db3374c3e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-31 19:07:57 +00:00
Benjamin Grimberg
981c9c2236 Fix AttestKeyTest failures in KeyMint VTS
Skip attestation key tests if the feature
FEATURE_KEYSTORE_APP_ATTEST_KEY is disabled on device,
as done in KeyMint CTS.

Bug: 244460948
Bug: 265740739

Test: VtsAidlKeyMintTargetTest
Change-Id: I8199e5c7570b10b71f127c7439b889c0b3327865
2023-01-31 08:12:27 -07:00
David Drysdale
b7d44a2eef Add check_feature helper
Test: VtsAidlKeyMintTargetTest
Change-Id: I4a5b2a41172c15ae29efb5b177eb86cea5527b4e
Merged-In: I4a5b2a41172c15ae29efb5b177eb86cea5527b4e
(cherry picked from commit 3d2ba0a137)
2023-01-31 08:11:33 -07:00
Shubhangi Pawar
de820c8d7c Merge "drm aidl vts: proper skip tests without vendor module" into android13-tests-dev am: 05f5fd842d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2379389

Change-Id: Iae49fae0456f082c25d53b0d5dd2c9f800ce0922
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-26 04:21:31 +00:00
Shubhangi Pawar
05f5fd842d Merge "drm aidl vts: proper skip tests without vendor module" into android13-tests-dev 2023-01-26 03:45:22 +00:00
Treehugger Robot
d1798b790d Merge "Camera VTS: Keep buffer ids and frame numbers consistent" into android13-tests-dev am: ceeef2d2bf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2393593

Change-Id: Iae45cb7c407cab295127b7409a2491dd7faa4e67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-26 00:50:58 +00:00
Treehugger Robot
ceeef2d2bf Merge "Camera VTS: Keep buffer ids and frame numbers consistent" into android13-tests-dev 2023-01-25 22:25:06 +00:00
Emilian Peev
470d138062 Camera VTS: Keep buffer ids and frame numbers consistent
In case we have a camera device that doesn't support the
Hal buffer management mode, services are required to use
the frame number and stream id to deduce the specific
buffer id and Hals are not mandated to return valid
buffer ids as part of the capture result.

Bug: 265092659
Test:adb shell
/data/nativetest64/VtsAidlHalCameraProvider_TargetTest/VtsAidlHalCameraProvider_TargetTest
--gtest_filter=PerInstance/CameraAidlTest.process10BitDynamicRangeRequest/0_android_hardware_camera_provider_ICameraProvider_internal_0

Change-Id: I3b10e91d38a13afcca45f26712cc5d5c241c2a32
2023-01-25 11:07:37 -08:00
Treehugger Robot
5b1233def1 Merge "Camera VTS: Fix AIDL status typo" into android13-tests-dev am: 1c4170754f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2397737

Change-Id: I679b2cd106db1f4a4e1ae672106fd70e72420b9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 18:52:32 +00:00
Yu-Han Yang
ea19540d02 Skip TestGnssPowerIndication if capability is not supported am: 5da610c660
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2397741

Change-Id: I435aef2d1ef9c28a998563ee6a0630a913c30eef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 18:51:56 +00:00
Treehugger Robot
f390f754f5 Merge "Add an exception for QTI SM8550" into android13-tests-dev am: 2f27d9e80c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2369268

Change-Id: I65d57fca4be5c1a238ec4f7f0a7853d1284fc662
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 18:51:14 +00:00
Treehugger Robot
05c098749c Merge "Sync wait for the bluetooth to be disabled / enabled" into android13-tests-dev am: 7aeaa3a0a2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2375108

Change-Id: Ib841c36b44ac3f53cab9ffb0203cedd4459478af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 18:50:37 +00:00
Kyle Zhang
0c20acbb6c Merge "Fix OfflineLicenseTest not provisioned" into android13-tests-dev am: 6da64e6ba2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2379310

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

Change-Id: Ib52069ef2c995faedeff13a4a75d0a3084ebff0b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 18:48:54 +00:00
Shubhangi Pawar
88046925d7 Merge "composer: vts: Init display dimension using active config" into android13-tests-dev am: 3e1907ae4a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2302958

Change-Id: If58766c469cb791007e4bfbc4187295ffa1e87e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 18:47:33 +00:00
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
7aeaa3a0a2 Merge "Sync wait for the bluetooth to be disabled / enabled" into android13-tests-dev 2023-01-13 18:13:42 +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