Commit graph

32608 commits

Author SHA1 Message Date
Ian Hua
23d4e5e298 Add FL6 spec tests to AIDL VTS.
Also skip FL6 (AIDL_V2) tests for older AIDL drivers.

Cherrypicked from I689fef0945428f6548977628e3c43628dd1e5bf7

Bug: 206089870
Test: VtsHalNeuralnetworksTargetTest
Specifically, for old driver such as AIDL_V1 sample driver, it can pass
HIDL tests and skip AIDL_V2 tests. For new driver such as AIDL_V2
sample driver, it can pass all tests.

Change-Id: I689fef0945428f6548977628e3c43628dd1e5bf7
2021-12-10 16:19:19 +00:00
David Gross
0af4ac2ec4 Add PACK operation to NNAPI feature level 6.
Cherrypicked from Ic15d047b70c62437b4f0db6f2ca10127591ae07c

Bug: 206089870

Test: m -j NeuralNetworksTest_static
Test: VtsHalNeuralnetworksTargetTest

Change-Id: Ic15d047b70c62437b4f0db6f2ca10127591ae07c
2021-12-10 16:18:25 +00:00
Ian Hua
aaeda0e84f AIDL interface changes for NNAPI feature level 6.
- Add BATCH_MATMUL operation
- Support TENSOR_INT32 for RESHAPE operation.

Also update "current" version snapshot and use
android.hardware.neuralnetworks-V2-ndk since AIDL v1 has been frozen.

Cherrypicked from Iabe45c57e2306d61055f711eda03b80b9cbe906d

Bug: 206089870
Test: mm
Change-Id: Iabe45c57e2306d61055f711eda03b80b9cbe906d
Merged-In: Iabe45c57e2306d61055f711eda03b80b9cbe906d
2021-12-10 16:17:59 +00:00
Treehugger Robot
f6564e68e5 Merge "Wifi: P2P VTS tests fail with no P2P support" into android12-tests-dev 2021-12-09 23:17:44 +00:00
Treehugger Robot
ea1df0eab4 Merge "Update VtsHalEvsV1_*TargetTest am: 7bc98ce6ed" into android12-tests-dev 2021-12-08 23:10:24 +00:00
Changyeon Jo
3ac7a0c7c9 Update VtsHalEvsV1_*TargetTest am: 7bc98ce6ed
Original change: commit 7bc98ce6ed

Fix: 209710364
Test: TreeHugger
Change-Id: If323d494b4311e94c966e7943a0c85f5aa99b917
2021-12-08 19:15:29 +00:00
Treehugger Robot
4845835a0f Merge "Update VtsHalEvsV1_1TargetTest" into android12-tests-dev 2021-12-08 08:27:00 +00:00
Changyeon Jo
32a001b98e Update VtsHalEvsV1_1TargetTest
This CL makes following changes to fix bugs in VTS test cases.

* Correct the definition of RawStreamConfig and its size constant.
* Update all test cases to use a stream configuration reported by the
  target camera device.
* Update CameraStreamExternalBuffering test cases to take internally
  allocated buffers into account.

Bug: 192460757
Bug: 199626993
Test: atest VtsHalEvsV1_1TargetTest
Change-Id: Ia03775ae543617ba5057e91bbbb5aed9221d1a30
2021-12-06 16:20:18 +00:00
Treehugger Robot
79e54b66c1 Merge "audio VTS: Consider only attached devices for stream tests" into android12-tests-dev 2021-12-03 03:16:17 +00:00
Mikhail Naganov
d2315fad1b audio VTS: Consider only attached devices for stream tests
V6 and V7 use the audio policy configuration file for generating
the set of test profiles. The generator must only take into
account profiles of mix ports that are routed to device ports of
attached devices. Otherwise the HAL can rightfully refuse
to create a stream for the profile when the device isn't attached.

Bug: 205808571
Test: atest HalAudioV6_0GeneratorTest
Test: atest HalAudioV7_0GeneratorTest
Test: atest VtsHalAudioV6_0TargetTest
Test: atest VtsHalAudioV7_0TargetTest
Change-Id: I798f978c1c0bc32831c20e4b08338b462d8eea16
2021-11-24 19:01:11 +00:00
Changyeon Jo
7bc98ce6ed Update VtsHalEvsV1_*TargetTest
- Removes a requirement of the landscape aspect ratio of the captured
  frames because the Extended View System now allows the video streams
  in any aspect ratio
- Increases the maximum latency of the video stream start request from
  500 ms to 1 second to accommodate the camera system design with the
  additional processing units outside of the head unit
- Reduces a number of additional buffers to allocate from 6 to 2 in
  CameraStreamBuffering test, to be consistent with comments

Bug: 204835095
Test: atest VtsHalEvsV1_0TargetTest and
      atest VtsHalEvsV1_1TargetTest
Change-Id: Id41bde10964b650f78e76d4f97a4588367f7c7fc
2021-11-23 20:08:01 +00:00
shla
b1829af24e send <request active source> command to test cec message
VtsHalTvCec uses <give physical address> command with broadcast
mode to test cec sendMessage function, however according to the
cec spec about the command's description which says "A request to
a device to return its Physical Address", so this command is not
right for broadcast, some cec drivers deny to broadcast this
command, which will obviously lead the VTS case fail.

So I suggest to use <request active source> command to do the job.
I have verified the case can pass on Synaptics platform with this patch.

bug-id: b/206924358

Change-Id: I040c72180cf90cfbceb6363a50a621acf888c654
2021-11-18 23:29:09 +00:00
Blair Prescott
b676061cd5 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
2021-11-18 14:02:19 -08:00
Treehugger Robot
6f1e16a587 Merge "Add blindScan condition to blindScan test:" into android12-tests-dev 2021-11-16 20:51:37 +00:00
Treehugger Robot
84f0cd0e51 Merge "audio: Fix handling of dynamic profiles in VtsHalAudioV7_0TargetTest" into android12-tests-dev 2021-11-12 01:37:51 +00:00
Jayachandran C
f59f4c6dcf Add some delay for SIM power up and down delay for setSimCardPower_1_6 API
Bug: 203031664
Test: VTS
Change-Id: I68e7352ed95a8487dee291de493c78cf1491d569
Merged-In: I68e7352ed95a8487dee291de493c78cf1491d569
2021-11-10 19:32:56 +00:00
ming.lo
400f97e0e3 Add blindScan condition to blindScan test:
Bug: 203389496

Change-Id: If44df620ab90b5b0247fbee15e2b2a57e27683b5
2021-11-10 18:23:18 +08:00
Mikhail Naganov
482a1366e9 audio: Fix handling of dynamic profiles in VtsHalAudioV7_0TargetTest
The profiles generator wasn't loading correctly from the Audio
Policy Manager config file profiles with unpopulated attributes,
which is typical for dynamic profiles.

Bug: 204314749
Test: atest HalAudioV7_0GeneratorTest
Change-Id: I514a4e03da165cacb5dbaaa16470130895681484
Merged-In: I514a4e03da165cacb5dbaaa16470130895681484
(cherry picked from commit adf84c03b8)
2021-11-04 16:30:21 +00:00
Treehugger Robot
d83a6786bb Merge "Do not assert CardState::PRESENT on sim power down" into android12-tests-dev 2021-11-04 00:23:33 +00:00
derek.li
71bb7a84b3 [automerger skipped] Skip test on VtsHalTvTunerV1_0TargetTest if tuner type unsupported am: 6c1a0a6b94 -s ours
am skip reason: skipped by user dmulabagal

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

Change-Id: Id101ebbca8596fae0583e5307f2e26a4bb11dfde
2021-11-01 20:52:53 +00:00
Pierre Couillaud
b5fc63a9f6 Fix closure of record thread am: 6bf77fdf16
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1810676

Change-Id: I05e3dafb0fa293aab34c3f303463376ba6de3c94
2021-11-01 20:41:53 +00:00
Yu-Han Yang
bd33a36e63 [automerger skipped] Ensure non-empty SvInfo is received am: 41b8fd1f9e -s ours
am skip reason: skipped by user dmulabagal

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

Change-Id: Id05de156bea9d9aff2bb2f267bd8ac70fa3750be
2021-11-01 20:41:37 +00:00
Treehugger Robot
c3c375d709 Merge "broadcastradio@2.0 VTS uses DAB frequency invalid in some regions" into android11-tests-dev am: 8bb9d4fe8e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1729210

Change-Id: Ib6d68b988f7a9103efef61ded35593bd447cc3a6
2021-11-01 18:09:08 +00:00
shla
463659cc14 [automerger skipped] Fix a null pointer access in Tuner VTS am: 517aab51c9 -s ours
am skip reason: skipped by user dmulabagal

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

Change-Id: I5666645ca285225acae487e8e2e9c5c2c1864121
2021-11-01 18:09:01 +00:00
Fenglin Wu
043842b1fd [automerger skipped] vibrator: vts: correct the checking flag when testing on() interfaces am: 9edfd34da9 -s ours
am skip reason: skipped by user jsusbilla

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

Change-Id: I9dd8ef8ac98fcf4f2a6ce2a78a171873e8f4ebab
2021-11-01 17:46:19 +00:00
Ady Abraham
4999608bbe [automerger skipped] composer: VtsDisplay::setDimensions shouldn't be const am: 26e1d731bb -s ours
am skip reason: Merged-In I616ea044f46bc080ad0e82753b5031d9a38369f3 with SHA-1 2fff170562 is already in history

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

Change-Id: I7897eee54c1eed05438b749de4643bde7ab8a35b
2021-11-01 17:16:52 +00:00
Ady Abraham
d5b1e5c1eb [automerger skipped] composer: update VtsDisplay dimensions am: 4a654833c0 -s ours
am skip reason: Merged-In Ie2671e61498d2501901885b2a9986ee1974bd641 with SHA-1 c801385495 is already in history

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

Change-Id: I79af5da61aa3fc96102863d54da5b9ea01602110
2021-11-01 17:16:47 +00:00
Anthony Stange
95fee12d67 [automerger skipped] Don't assert while a callback is registered am: 310d3ddef7 -s ours am: 7244044c38 -s ours
am skip reason: skip tag Change-Id I3a1f8fbf15c24e344fde8e5b44bb93681ef47d38 with SHA-1 93d11f50df is already in history

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

Change-Id: Iec309251e8342485e28bb503d0d80f51266b8a82
2021-11-01 17:16:43 +00:00
Treehugger Robot
d211bd1d11 Merge "Don't assert while a callback is registered" into android11-tests-dev am: 299f1aabcb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1654127

Change-Id: Ibfd0bedede499c3dd9946cbd50fb34820edcb8a4
2021-11-01 17:16:37 +00:00
Robert Shih
3f3f50e95b drm@1.2 vts: close session before modifying offline licenses am: 37b39f6bd2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1656760

Change-Id: I5e975e4e3a42b48a2763fb3793059380d6a878dc
2021-11-01 17:16:29 +00:00
Treehugger Robot
57c46d9654 [automerger skipped] Merge "Backporting Tuner VTS 1.0 test assets pusher and test enhancement" into android11-tests-dev am: 708a5b50b9 -s ours
am skip reason: skipped by user hgchen

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

Change-Id: I2cd061a2ab71c189c75b894112b6bb3285ecff33
2021-11-01 17:16:22 +00:00
Kihyung Lee
f5aab39277 Fix DabTune VTS failure of BroadcastRadio v2.0 am: 85c1b4a267
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1627941

Change-Id: I5e97b79ea5beab7a0675cd429869d18a66001c3f
2021-11-01 17:01:58 +00:00
Daniel Cardenas
cf0c671f9c [automerger skipped] Increase default timeout for changeStateIdletoExecute() from 100ms to 400ms am: c476ff3857 -s ours am: e7b96104a4 am: 63ccd2dbf2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1508957

Change-Id: I03504c983e1d260a4190bfe68134dc73ff50925c
2021-11-01 17:01:52 +00:00
hyewon.eum
a1354cb43f [automerger skipped] Fix VTS issue of BroadcastRadio v2.0 am: 20eb57563b am: 98b4916d01 -s ours
am skip reason: skipped by user dmulabagal

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

Change-Id: I4cf354318bec9ace3538d5d78638f75665ecd917
2021-11-01 17:01:44 +00:00
Shuo Qian
a38cb92134 [automerger skipped] Check emergency dialing result in DSDS or TSTS only if slot is in service or emergency only. am: 1b7eb24a82 -s ours
am skip reason: Merged-In Ic4c735e6d920fc3df28eda7bc3f0b958782bf42d with SHA-1 721fecbaaf is already in history

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

Change-Id: I726985012cb85c82dbafdf85d1fee41bf17516db
2021-10-30 01:37:27 +00:00
Ady Abraham
688a9e15b2 [automerger skipped] composer: increase timeout for VTS am: 48894dc40d -s ours
am skip reason: skipped by user dshi

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

Change-Id: Ie8f2f40fb49ce263d1841c38051562a729ba9d8b
2021-10-30 01:37:21 +00:00
Treehugger Robot
50ad958821 [automerger skipped] Merge "OMX VTS: free graphics buffers at the end of test" into android11-tests-dev am: 9f5c3c276c -s ours
am skip reason: Merged-In Ib9660ef8967b34114b36d71f9ed424f819b57e7a with SHA-1 179a52cbbf is already in history

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

Change-Id: Ic37406f5d67dfd196c97affdb1627d01cf9918ed
2021-10-29 23:18:42 +00:00
Treehugger Robot
dfdbc2b5f2 Merge "handle multiple cas plugins. some of them support descrambler, some of them don't" into android11-tests-dev am: 8f96b6734f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1590282

Change-Id: I5148d368ba39774a04d54fb80c07329dbd46c52a
2021-10-29 23:18:38 +00:00
Mikhail Naganov
d5611f7d4b audio: Allow using vendor extensions in surround formats (V5) am: c0525521bb am: 3e6cafd0ab
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1581066

Change-Id: Id64027899e95f0718e1297711d2638bcbd0d0e1a
2021-10-29 23:18:33 +00:00
Mikhail Naganov
f797d56b9c audio: Allow using vendor extensions in surround formats (V6) am: b4d10f0109
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1581927

Change-Id: Icd91852ef652378d42cf4fe7480f387025050909
2021-10-29 23:18:29 +00:00
Emilian Peev
656d72d628 [automerger skipped] Camera: Set arbitrary dataspace for RAW streams am: 8558454a67 -s ours
am skip reason: skipped by user jsusbilla

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

Change-Id: I4ca2617b74e53a873baa3e6c6e8242a786ddd033
2021-10-29 23:18:23 +00:00
Treehugger Robot
2b65ef590d Merge "Camera: Adjust VTS test to relax multi-camera requirement" into android12-tests-dev 2021-10-29 22:38:41 +00:00
Treehugger Robot
82a907b0cd Merge "Extend test timeout value from 180s to 600s" into android11-tests-dev am: 6f19ba03b3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1563112

Change-Id: I206eac55121c658f3d071117467ce841c18a2685
2021-10-29 22:36:55 +00:00
Dan Shi
0fd26dc9ee [automerger skipped] Merge "Support waiting for surfaceflinger service to stop before test starts" into android11-tests-dev am: 34fb8d9620 -s ours
am skip reason: skipped by user dshi

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

Change-Id: I1bd6360bcb29c32c0ac49fabe95c22f067af08ea
2021-10-29 22:36:46 +00:00
Treehugger Robot
141ea5f343 [automerger skipped] Merge "Increase NNAPI VTS single-test timeout to 20m." into android11-tests-dev am: b2bee2be31 -s ours
am skip reason: Merged-In I869208c79ff4c1d1928603a5630f456915928957 with SHA-1 670532f318 is already in history

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

Change-Id: Iadd4e7e0947f8f6be5631395939f4114b1475c87
2021-10-29 22:23:53 +00:00
Mikhail Naganov
adc74b1653 Add AUDIO_FORMAT_MAT to the list of formats in XSD V6 am: e7686793e4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1559799

Change-Id: I560cab6d8b0732a689ca61581976348f127091e8
2021-10-29 22:23:48 +00:00
Mikhail Naganov
26747182dc Add AUDIO_FORMAT_MAT to the list of formats in XSD am: db2d4be7fe am: a3581b2bb1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1558728

Change-Id: I6a0b0cb4f0366c53f0ad122bf97f45b46addfbc2
2021-10-29 22:23:44 +00:00
Treehugger Robot
ba807b9e81 [automerger skipped] Merge "wifi: Add sleep 3 seconds to allow terminate processing in VTS tear down" into android10-tests-dev am: 8789326c4f -s ours am: 97ca732c5b -s ours
am skip reason: skipped by user lesl

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

Change-Id: I7a6e570254a73505c308f018092d70141a1b9096
2021-10-29 22:23:39 +00:00
Treehugger Robot
40212f770e Merge "wifi: Add sleep 3 seconds to allow terminate processing in VTS tear down" into android11-tests-dev am: 7618b4cc8b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1554185

Change-Id: Ic922564dffbfdb96b30bcfe3fb9fe8a5934a9c17
2021-10-29 22:23:35 +00:00
Jan Kowal
b7013dc47f [automerger skipped] broadcastradio@2.0 VTS uses FM frequency invalid in some regions am: 03e3f60cad -s ours am: 42002dd0ff -s ours
am skip reason: Change-Id I86081fc3e1c0e0959039d5a00d96873fca454da6 with SHA-1 eab38fedae is in history

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

Change-Id: I363bcaf441c30962236ac9b35113800c11617f10
2021-10-29 22:23:31 +00:00