Commit graph

42367 commits

Author SHA1 Message Date
Zhang Yuan
eec2cb1d2f Add REQUEST_NOT_SUPPORTED and INVALID_ARGUMENTS to be allowed. am: 399c257ece am: ccd929fd64
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2469865

Change-Id: Ib0fea47459e6ba4ceb2572efda7589ca9ceca027
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 01:40:12 +00:00
Treehugger Robot
546704447e Merge "Add ATSC support in the vts" into android12-tests-dev am: 333df15518 am: 368ca264f2 am: fee45b6dbb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2471289

Change-Id: Ib09ab19c164af8186f69ea5c4d5e07c541f332a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 00:38:44 +00:00
Zhang Yuan
ccd929fd64 Add REQUEST_NOT_SUPPORTED and INVALID_ARGUMENTS to be allowed. am: 399c257ece
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2469865

Change-Id: I0fb3ce3f3eee21fe18907d12aa822e4af6c09317
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 00:38:34 +00:00
Treehugger Robot
fee45b6dbb Merge "Add ATSC support in the vts" into android12-tests-dev am: 333df15518 am: 368ca264f2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2471289

Change-Id: I384cfc0e1dc70275f87e10997a29b14225690105
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 00:38:23 +00:00
Treehugger Robot
368ca264f2 Merge "Add ATSC support in the vts" into android12-tests-dev am: 333df15518
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2471289

Change-Id: If47be0aaa310c6e3bbcddeffcc1c2a201654a0f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 00:01:42 +00:00
Treehugger Robot
333df15518 Merge "Add ATSC support in the vts" into android12-tests-dev 2023-03-14 23:24:36 +00:00
stanley-ct.chen
107b2fb86b Fix google vts dead lock am: 33a593ab59 am: 18738f2a5c am: f7bd18c7c6 am: 34f7b35c46
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2486875

Change-Id: I3dfb3dd9b54946cce1a7a70a7f9190fba3c4d237
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 20:23:11 +00:00
Wei
d4dcef21e7 Add ATSC support in the vts
ATSC configuration isn't supported in current config reader.
Add it in this CL.

Bug: 271933206
Test: manual

Change-Id: I7a1f5356c33d6576d6ae6c71fd4af171b5ad30ac
2023-03-14 19:51:22 +00:00
stanley-ct.chen
34f7b35c46 Fix google vts dead lock am: 33a593ab59 am: 18738f2a5c am: f7bd18c7c6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2486875

Change-Id: I45b164c723f7e1725185dab8db3a41005dd03488
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 19:42:15 +00:00
Zhang Yuan
399c257ece Add REQUEST_NOT_SUPPORTED and INVALID_ARGUMENTS to be allowed.
For those devices which does not support GSM, returning is not
supported or invalid arguments are the expected behavior.

Bug: 271642958
Test: atest VtsHalRadioTargetTest
Merged-In: I3ac7407fdee82348411db99d340613e62f36a277
Change-Id: I3ac7407fdee82348411db99d340613e62f36a277
Signed-off-by: Jia Jia <jia.jia@zte.com.cn>
(cherry picked from commit 5bf6d5777a)
2023-03-14 19:08:46 +00:00
stanley-ct.chen
f7bd18c7c6 Fix google vts dead lock am: 33a593ab59 am: 18738f2a5c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2486875

Change-Id: I1518cdc4eaa836569ab470edb73ceaa408d8d502
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 19:01:31 +00:00
stanley-ct.chen
18738f2a5c Fix google vts dead lock am: 33a593ab59
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2486875

Change-Id: I5b81aa26e0e5823309345e09a2238b09d3fa767c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 18:42:08 +00:00
stanley-ct.chen
33a593ab59 Fix google vts dead lock
[Description]
Fix google vts dead lock

Bug: 271400402
Test:
1. AC on/off PASS
2. UHDTV Scan PASS
3. UHDTV Switch PASS

Change-Id: Ic198224309636c83d533a24bb15519e67931b6d1
2023-03-14 11:38:29 +08:00
ziyiw
fbe75bbcf1 Add new reason code and status code for session conflict.
Also assigned a new number to the UWB regulation off status/reason code.

Test: compile
Bug: 272361935
Change-Id: I4cbf2443d7e3ec914ee465d9128fef5225a74712
2023-03-14 00:17:23 +00:00
David Zeuthen
e8d693aea2 identity: VTS: allow for multiple interpretations of AuthKey validity. am: a6fc69d339 am: 8a497eec46
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2485655

Change-Id: I2ea8de0cb7f2df5a466b2e8f2985fd82436997f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 22:22:40 +00:00
David Zeuthen
8a497eec46 identity: VTS: allow for multiple interpretations of AuthKey validity. am: a6fc69d339
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2485655

Change-Id: Ie3abbc5113eb77dc8191532b4ad6bef2d717e04f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 21:44:42 +00:00
David Zeuthen
a6fc69d339 identity: VTS: allow for multiple interpretations of AuthKey validity.
Bug: 271948315
Test: atest VtsHalIdentityTargetTest
Change-Id: Iedb9caad933b0df2b190915f5cc7177e507f15b5
(cherry picked from https://android-review.googlesource.com/q/commit:719920700e0e8c0849ef25eeaad8de2bf2442b6e)
Merged-In: Iedb9caad933b0df2b190915f5cc7177e507f15b5
2023-03-13 18:46:52 +00:00
dheda.shin
fa18198274 Patch for VTS am: 93945c1d25 am: f21272df98
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2473685

Change-Id: I3ea0520e4624b7d8b2ad1490283ac22eb6158096
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-08 02:33:55 +00:00
dheda.shin
f21272df98 Patch for VTS am: 93945c1d25
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2473685

Change-Id: I3428273f04261ccccf5691a70aa9b39ce656f1ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-08 01:53:25 +00:00
dheda.shin
93945c1d25 Patch for VTS
we changed to store event information in bitmap format
so that overlapping events can be handled.

Bug: 270650316
Test: startPublishRequest_1_6
Change-Id: I6f3cb8026d54dfa692bfd6eb64b24005ba663a1f
Signed-off-by: dheda.shin <dheda.shin@samsung.com>
2023-03-07 13:45:47 +09:00
Ayush Jain
471879fcfe Merge "Add a Vendor-dependent UCI Reason code for UWB OFF" into tm-mainline-prod 2023-03-03 22:41:43 +00:00
Ayush Jain
c0925e2adc Merge "Add a Vendor dependent UCI Status code for UWB OFF" into tm-mainline-prod 2023-03-02 23:40:13 +00:00
Wonsik Kim
ab817478ac VtsHalMediaOmx: fix OmxCodecAllowedTest to match requirement am: 86e97b5f11 am: da8e650fdd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2461813

Change-Id: I0b3cca7adef14a665e9a71cb0200c5a44ecbc23a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-02 03:36:55 +00:00
Wonsik Kim
da8e650fdd VtsHalMediaOmx: fix OmxCodecAllowedTest to match requirement am: 86e97b5f11
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2461813

Change-Id: I1480c337db7bf04e41b7ee0be8a8d771d609aaec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-02 02:55:09 +00:00
Ayush Jain
ff9268b13b Add a Vendor-dependent UCI Reason code for UWB OFF
Add a UCI reason code (sent in a SESSION_STATUS_NTF) for the scenario when UWB needs to be turned off due to Regulatory reasons.

Ran the "m android.hardware.uwb.fira_android-update-api" command to
update the generated AIDL API.

Bug: 267554906
Test: Compile make.com.google.android.uwb
Change-Id: I52d9f2dae203c3e2d3d26a8a5c30a2f2a969b591
2023-03-01 23:00:44 +00:00
Ayush Jain
3f884a8b91 Add a Vendor dependent UCI Status code for UWB OFF
Add a UCI status code for scenario when UWB needs to be turned off due
to Regulatory reasons.

Ran the "m android.hardware.uwb.fira_android-update-api" command to
update the generated AIDL API.

Bug: 267554906
Test: Compile make.com.google.android.uwb
Change-Id: I5f86007776479fefe2d3b3e36d16ef628f92cebd
2023-03-01 19:53:12 +00:00
Wonsik Kim
86e97b5f11 VtsHalMediaOmx: fix OmxCodecAllowedTest to match requirement
Bug: 249043823
Bug: 251553217
Test: atest VtsHalMediaOmxV1_0TargetStoreTest
Change-Id: I8015d559d8e7d88a32d1970102167fe4d7566c51
(cherry picked from commit db13ce5daf)
Merged-In: I8015d559d8e7d88a32d1970102167fe4d7566c51
2023-02-28 22:28:44 +00:00
TreeHugger Robot
f7ad0fb1c0 Merge "Change the unit of slot duration from ms to rstu." into tm-mainline-prod 2023-02-28 02:24:47 +00:00
Mikhail Naganov
f931570802 audio: Remove InputStreamTest#getCapturePosition test am: f38d908d43 am: 41b467bf5a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2457548

Change-Id: I135ff72cd62ca05059c0d96ba444f2b5f4af747e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-25 03:37:36 +00:00
Mikhail Naganov
41b467bf5a audio: Remove InputStreamTest#getCapturePosition test am: f38d908d43
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2457548

Change-Id: I5f2cfa9afb5894b4110794b931f95f956e056c56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-25 02:39:36 +00:00
Mikhail Naganov
f38d908d43 audio: Remove InputStreamTest#getCapturePosition test
The test was created based on assumptions and the current
HAL behavior. There is no actual requirement in the HIDL
interface for a stream to have a zero capture position
prior to start. In fact, some streams may be created by
the HAL "pre-loaded" with data if audio has already been
captured by the DSP and needs to be passed to the framework.

Bug: 270478574
Test: atest VtsHalAudioV7_1TargetTest
Change-Id: Ied6a71b73bff403365dd85fe6a212cfa4a5b284d
(cherry picked from commit afe90852d4)
2023-02-24 20:58:42 +00:00
ziyiw
40bc040455 Change the unit of slot duration from ms to rstu.
Test: compile
Bug: 266980744
Change-Id: Iba643094f9d44293e47b68487aeae30847af4826
2023-02-23 04:09:36 +00:00
Shuzhen Wang
1d07d585e9 Merge "Camera VTS: Override RotateAndCrop metadata" into android13-tests-dev am: 74a4696d56 am: f5dbd4869e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2450127

Change-Id: I9b814d00d6af386d3226063dd0d5015b8a65f26b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-22 21:35:09 +00:00
Shuzhen Wang
f5dbd4869e Merge "Camera VTS: Override RotateAndCrop metadata" into android13-tests-dev am: 74a4696d56
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2450127

Change-Id: I5c0e7eff3184f402c5723b9ca8f430ba0e67f881
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-22 20:49:56 +00:00
Shuzhen Wang
74a4696d56 Merge "Camera VTS: Override RotateAndCrop metadata" into android13-tests-dev 2023-02-22 20:17:33 +00:00
Michelle Ho
388d4ffb3b Camera VTS: Override RotateAndCrop metadata
Per camera metadata definition, ROTATE_AND_CROP_AUTO will never be sent
to the HAL, as camera service takes reponsibility of translating AUTO to
specific rotation value. So for VTS tests, we should always override
the metadata in CaptureRequest.

Bug: 270052579
Test: Run VtsAidlHalCameraProvider_TargetTest
Change-Id: I96f4992e145da25c463b0b406aa2a371af30f41f
2023-02-22 10:19:13 +00:00
KH Shi
d1de52c170 Merge changes from topic "tetheroffload-aidl-cherry-pick" into tm-mainline-prod
* changes:
  Fix tethering build after ag/21363239
  Follow-up commit of aosp/2329897
  Add tetheroffload VTS to general-tests
  Convert Tetheroffload HIDL to AIDL.
2023-02-22 08:57:52 +00:00
Alec Mouri
cbfd376e5f Check the correct sysprop for P010 support for gralloc 3 and 4. am: 960c14db22 am: 1924f8cb9b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2441523

Change-Id: Icea988adfa3b07c0309643f826b994ce7e9b0367
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 03:38:38 +00:00
Alec Mouri
1924f8cb9b Check the correct sysprop for P010 support for gralloc 3 and 4. am: 960c14db22
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2441523

Change-Id: Icaf4d03f9722c7b1593619c1153499c957630dd3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 02:13:20 +00:00
Bob Wang
c274bf47ba Merge changes from topics "min-slot-duration", "presubmit-am-9b6b545e139045589d95a07642d6096d" into tm-mainline-prod
* changes:
  [UWB HAL] Add new capability and reason code to show the channels that are capable for AoA.
  Add the unit of slot duration to its name.
2023-02-17 00:45:20 +00:00
Alec Mouri
960c14db22 Check the correct sysprop for P010 support for gralloc 3 and 4.
We need to check the first api level that the vendor shipped with.

Also check P010 support in the preamble of the relevant test rather than in allocate(), since otherwise either allocate() may incorrectly skip some tests or allocate() may succeed but with the wrong layout information.

Bug: 257442231
Test: VtsHalGraphicsMapperV4_0TargetTest
Change-Id: I00ae5aa01117704158c38f0689e91df99473e208
Merged-In: I00ae5aa01117704158c38f0689e91df99473e208
2023-02-16 23:16:14 +00:00
ziyiw
e7613eb815 [UWB HAL] Add new capability and reason code to show the channels that are capable for AoA.
Test: compile
Bug: 242951474
Change-Id: I307062b7ded64014327549e8c4a717d53e97f54b
2023-02-16 21:56:19 +00:00
ziyiw
9bf67194db Add the unit of slot duration to its name.
Test: compile
Bug: 266980744
Change-Id: I1418b7a1b9e938b03e785cb1b2b4c92a8f4c9ecf
2023-02-16 21:50:32 +00:00
Blair Prescott
4c765444c8 Wifi: P2P VTS tests fail with no P2P support am: c4f8e466e6 am: d696599f99 am: 3046424cb2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2432472

Change-Id: I762b1131e67266c00ef4ce28caf3c718b4be6b3c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-14 01:57:28 +00:00
Blair Prescott
3046424cb2 Wifi: P2P VTS tests fail with no P2P support am: c4f8e466e6 am: d696599f99
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2432472

Change-Id: I074f98ebdf8316672fe57531bef25d992f63df64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-14 00:51:35 +00:00
Blair Prescott
d696599f99 Wifi: P2P VTS tests fail with no P2P support am: c4f8e466e6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2432472

Change-Id: Ifdaf2ba4c16712720eb4a04ae3d35799150f1db1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-13 23:50:33 +00:00
Blair Prescott
c4f8e466e6 Wifi: P2P VTS tests fail with no P2P support
Skip P2P tests if P2P is not supported.

Bug: 200064365
Test: run vts -m VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I6ba23bb27f24700980cab28d1ff806e5efc65ec9
(cherry picked from commit b676061cd5)
(cherry picked from commit 4d81b6562dca69a3334bcb87756539fbdaedcd2d)
2023-02-13 15:12:30 +00:00
KH Shi
8196cbad1f Fix tethering build after ag/21363239
This commit fixes tethering apex build errors after ag/21363239:
- Remove unsupported field in Android.bp: "frozen: false"
- Add owner field to Android.bp to bypass compilation check of using
  unfrozen AIDL interfaces: owner: "google"

Bug: b/205762647
Test: build and install tethering apex:
      banchan com.google.android.tethering module_x86_64
      UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true m apps_only dist
      adb install out/dist/com.google.android.tethering.apex
Change-Id: Iea77f2117834c1317b3ab16f71881a6b2e299474
2023-02-10 12:07:40 +00:00
KH Shi
5babeec8a6 Follow-up commit of aosp/2329897
This commit resolves comments addressed in aosp/2329897.
- Remove EX_UNSUPPORTED_OPERATION return from setDataWarningAndLimit()
- Update some comments
- Change some errors into assertions
- Correct the sequence of the arguments in EXPECT_EQ(), expected
  argument goes before the actual argument
- Print error or error message if API call fails

Bug: b/205762647
Test: atest VtsHalTetheroffloadTargetTest
Change-Id: Ied83dac5c33e06f6ad4ced18fbee785047b24c38
(cherry picked from commit 562cbfeea2)
Merged-In: Ied83dac5c33e06f6ad4ced18fbee785047b24c38
2023-02-10 12:07:29 +00:00
Devin Moore
3e1765473e Add tetheroffload VTS to general-tests
Also add it to TEST_MAPPING so it's run in presubmits.

Test: na
Bug: 205762647
Change-Id: I9c43ffcff5ccf0fcabcab08101ebc454c7fe3317
(cherry picked from commit b9b0aa4878)
Merged-In: I9c43ffcff5ccf0fcabcab08101ebc454c7fe3317
2023-02-10 12:07:12 +00:00