Commit graph

18283 commits

Author SHA1 Message Date
Michael Butler
68a6de7abe NNAPI VTS: Add validation for Priority
This CL also cleans up the validation framework code.

Bug: 67828197
Test: mma
Test: VtsHalNeuralnetworksV1_*TargetTest
Change-Id: I84661fb2b8204148788d10425ca0ac986158b15f
Merged-In: I84661fb2b8204148788d10425ca0ac986158b15f
(cherry picked from commit da1a692880)
2020-03-16 11:05:59 +00:00
Michael Butler
d09c0eef0b NNAPI VTS: decouple 1.2 tests from 1.3 types
Bug: 141718368
Test: mma
Test: VtsHalNeuralnetworksV1_*TargetTest
Change-Id: Ied7b95e146e4d2d95622642bfbb959cf134b5a7a
Merged-In: Ied7b95e146e4d2d95622642bfbb959cf134b5a7a
(cherry picked from commit 4876af1ba1)
2020-03-16 11:05:57 +00:00
Miao Wang
406890769a Add tests to make sure executeFenced validate unspecified output shapes
Bug: 148979873
Test: mm
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: Ib4960c71ca46ca034777cc7b02d7d2885a98691d
Merged-In: Ib4960c71ca46ca034777cc7b02d7d2885a98691d
(cherry picked from commit fa161c7a0a)
2020-03-16 11:01:09 +00:00
Miao Wang
2d74d7dfae Add more tests exercising IPreparedModel::executeFenced API
- executeFenced with device memory
  - executeFenced with depending sync fences

Bug: 148979873
Test: mm
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I772c5c85f75cee56e2af06470c2de5b810f8078d
Merged-In: I772c5c85f75cee56e2af06470c2de5b810f8078d
(cherry picked from commit 34dfa2f74c)
2020-03-16 11:01:08 +00:00
Yifan Hong
326e2454d9 Add identity HAL to current matrix.
Test: m check-vintf-all
Bug: 131717099
Change-Id: I91c68af8c8456105f35ee701ed9f08135e56e6f5
2020-03-13 14:50:25 -07:00
Rambo Wang
218ea408e3 Update Barring HAL Structures to nest single-use unions/structs
Bug: 148102466
Test: compilation for both cuttlefish and sargo
Merged-In: I8a8e734011909b038c0d735c2bfde7ea773b71e6
Change-Id: I8a8e734011909b038c0d735c2bfde7ea773b71e6
(cherry picked from commit 24c3416b4f)
2020-03-11 18:16:25 -07:00
Nathan Harold
666a2d3d83 Add a VTS test for BarringInfo
Add a VTS that verifies polled BarringInfo
is sanely constructed.

Bug: 148646258
Test: make VtsHalRadioV1_5TargetTest
Merged-In: Idf8d110efe8fa2289fbcc8ed7f0959f0bd51999e
Change-Id: Idf8d110efe8fa2289fbcc8ed7f0959f0bd51999e
(cherry picked from commit 72083ba9cd)
2020-03-11 13:11:55 -07:00
Rambo Wang
8d4a73b149 Add CellIdentity to getBarringInfoResponse
Add CellIdentity to getBarringInfoResponse to make
the req/resp method match the existing indication.
The CellIdentity is used to prevent races where
barring is attributed to the wrong cell based on the
timing of separate polled or unsolicited inputs to
the framework.

Because the CellIdentity is already in IRadioIndication
the information to provide CID with BarringInfo is already
present and available. This just makes the unsol and the
polled APIs match.

Matching indication is IRadioIndication@1.5::barringInfoChanged

Bug: 148992393
Test: make && VtsHalRadioV1_5TargetTest
Merged-In: I74e6ab9ca9e0dd49846af774fd73773ff3737df7
Change-Id: I74e6ab9ca9e0dd49846af774fd73773ff3737df7
(cherry picked from commit 6894f89fd8)
2020-03-11 13:11:55 -07:00
Treehugger Robot
007c8457ec Merge "vts: VtsHalGraphicsMapperV2_1TargetTest fixup's" 2020-03-11 18:06:34 +00:00
Steven Moreland
d0e8e7b4b4 Merge "vibrator ext: use package name as module name" 2020-03-11 17:50:21 +00:00
Pierre Couillaud
49f262471d vts: VtsHalGraphicsMapperV2_1TargetTest fixup's
1) handles allocated through 'allocate' should be removed through
   'freeBuffer'.

2) make use of intended buffer handle in GetTransportSizeBadBuffer.

Bug: 146444563
Test: build, boot, VtsHalGraphicsMapperV2_1TargetTest

Cherry pick to master from android10-tests-dev

Change-Id: I6c1a67fc36dbc653ec2ada6a335d685d21e82800
Merged-In: I6c1a67fc36dbc653ec2ada6a335d685d21e82800
Signed-off-by: Pierre Couillaud <pierre.couillaud@broadcom.com>
2020-03-11 15:40:46 +00:00
Steven Moreland
dac21c4f0b vibrator ext: use package name as module name
For consistency.

Bug: N/A
Test: N/A
Change-Id: If32e8539fd8fffd5e27f0437bff480089e38f0da
2020-03-10 17:24:47 -07:00
Mikhail Naganov
d24ab2ba3a Update audio VTS source code to match the change in AudioPolicyConfig
Use getInputDevices instead of getAvailableInputDevices.

Bug: 149854039
Test: atest VtsHalAudioV5_0TargetTest
Change-Id: I0fed71eba8d031465ef98da2bf6be16c2fbfb5ff
Merged-In: I0fed71eba8d031465ef98da2bf6be16c2fbfb5ff
2020-03-10 15:36:43 -07:00
Treehugger Robot
db3e1cb767 Merge "bluetooth: Reference Bluetooth core specification 5.2" 2020-03-10 20:59:09 +00:00
Chih-hung Hsieh
1c7e676905 Merge "Fix bugprone-use-after-move warnings" 2020-03-10 17:13:21 +00:00
Alain Michaud
ae4e78df5a bluetooth: Reference Bluetooth core specification 5.2
Test: None
Bug: 151089119
Change-Id: I5c4ade22cda7bb8592625c6d0b7ec4aaf481aadd
Merged-In: I5c4ade22cda7bb8592625c6d0b7ec4aaf481aadd
2020-03-10 17:01:39 +00:00
Brad Ebinger
a4ed40b15b Clarify new setRadioPower documentation
There were some questions on how the new IRadio 1.5 setRadioPower
command should be implemented based on vendor feedback. This CL
clarifies this behavior.

Test: manual
Bug: 143683647
Change-Id: If08741f0ea156a5c2656a47e46f7e1f98bf54ec4
Merged-In: If08741f0ea156a5c2656a47e46f7e1f98bf54ec4
2020-03-09 14:03:08 -07:00
Sarah Chin
39e563b200 Merge "Update 1.5 IRadio interface with missing structs/functions" 2020-03-09 19:50:26 +00:00
Sarah Chin
ca2610164c Update 1.5 IRadio interface with missing structs/functions
Structs: AppStatus, CardStatus
Responses: getDataCallListResponse_1_5, getIccCardStatusResponse_1_5
Indications: dataCallListChanged_1_5
Update VTS tests to use 1.5 CardStatus

Test: build cf_x86_phone-userdebug
Bug: 150246280
Change-Id: Ib26c6df804d99f2487e2bfa7b302a98fa25f55e1
Merged-In: Ib26c6df804d99f2487e2bfa7b302a98fa25f55e1
2020-03-09 11:03:49 -07:00
Slava Shklyaev
37cf4fd14b Merge changes from topic "cp-resize-params"
* changes:
  Add align_corners and half_pixel_centers parameters to resize ops
  Fix NNAPI QoS Deadline test
  Relax NNAPI QoS deadline parameter
2020-03-09 10:20:27 +00:00
Treehugger Robot
9a260cdbb6 Merge "Configstore is optional on updating devices." 2020-03-07 03:56:33 +00:00
Yifan Hong
eaa9a5d157 Configstore is optional on updating devices.
Dropping requirement of configstore on devices
launching before or at P.

Test: pass
Bug: 150981985
Change-Id: I1c08bd7b18fe6006ee1555c39072e75ec4fb3210
2020-03-06 17:47:27 -08:00
Chih-Hung Hsieh
ba3a1cb529 Fix bugprone-use-after-move warnings
Bug: 150783499
Test: WITH_TIDY=1 make
Change-Id: If257532523674ea6256b72ec765904a8de5bf565
2020-03-05 15:30:00 -08:00
Bill Yi
4830ff59e0 Merge stage-aosp-master to aosp-master - DO NOT MERGE
Change-Id: I9d95b05d452a6d29dfec014a1d272db3beddeae6
2020-03-05 09:51:11 -08:00
Automerger Merge Worker
fbcf4ca055 Merge "Add NNAPI loop timeout VTS test" am: 2225653ff1
Change-Id: I952c5db6a279173ae91d8791f0cd8111210dd662
2020-03-05 17:27:21 +00:00
Slava Shklyaev
2225653ff1 Merge "Add NNAPI loop timeout VTS test" 2020-03-05 17:14:15 +00:00
Automerger Merge Worker
2bfaf96b31 Merge "vibrator: Document the source of always-on source IDs." am: 714163e46d
Change-Id: Ib98572c0e0c1eec4b8da06d55276b9a0ceb6b0de
2020-03-04 23:54:32 +00:00
Automerger Merge Worker
bbf0bc303c Convert VtsHalConfirmationUIV1_0TargetTest to parameterized test am: df2c671662
Change-Id: Ifb8965aefa9649fbde0b66f9dc2027ed68dc8429
2020-03-04 23:54:23 +00:00
Treehugger Robot
714163e46d Merge "vibrator: Document the source of always-on source IDs." 2020-03-04 23:45:19 +00:00
Janis Danisevskis
df2c671662 Convert VtsHalConfirmationUIV1_0TargetTest to parameterized test
Convert VtsHalConfirmationUIV1_0TargetTest to parameterized test.

Bug: 150382633
Test: VtsHalConfirmationUIV1_0TargetTest
Merged-In: I19d02418d0ef01e6493906ea0bebfbd181e25815
Change-Id: I19d02418d0ef01e6493906ea0bebfbd181e25815
2020-03-04 14:20:59 -08:00
Automerger Merge Worker
14936917f6 Merge "Remove vberCn, lberCn, xerCn" am: a9e6f70d50
Change-Id: I38a92582aa4aa4c0fc828548230e0cb98069907f
2020-03-04 17:35:19 +00:00
Automerger Merge Worker
f5b3322572 Merge "Add comments for invalid IP/port and add Invalid filterID/avSyncId" am: 1933b53af3
Change-Id: Iba38ac80790d82eceae1d7dab7c51ca6d6247ef3
2020-03-04 17:35:09 +00:00
Treehugger Robot
a9e6f70d50 Merge "Remove vberCn, lberCn, xerCn" 2020-03-04 17:21:39 +00:00
Treehugger Robot
1933b53af3 Merge "Add comments for invalid IP/port and add Invalid filterID/avSyncId" 2020-03-04 17:21:31 +00:00
Automerger Merge Worker
086c30878e Merge "drm vts: link dynamic libcrypto.so to pass FIPS" am: 5fe9f89858
Change-Id: I73475101a6390a921269b3b68e702aa5c653258d
2020-03-03 05:47:27 +00:00
Treehugger Robot
5fe9f89858 Merge "drm vts: link dynamic libcrypto.so to pass FIPS" 2020-03-03 05:33:25 +00:00
Automerger Merge Worker
3c85c15505 Merge "Add more info on control key param" am: d3b99f52cf
Change-Id: I7d68bb7c955d47b1b597ee02b169fa24b37f2ba2
2020-03-02 23:26:43 +00:00
Jordan Liu
d3b99f52cf Merge "Add more info on control key param" 2020-03-02 23:07:33 +00:00
Automerger Merge Worker
f24ac7f16e Identity: Statically link additional libraries in VtsHalIdentityTargetTest. am: 27cb4eb4da
Change-Id: I6f3be9291c188cb7ec1c2fea9a4c04f298081d57
2020-03-02 19:23:32 +00:00
David Zeuthen
27cb4eb4da Identity: Statically link additional libraries in VtsHalIdentityTargetTest.
The problem was that VtsHalIdentityTargetTest was dynamically linking
libraries that (currently) only are pulled in by the default IC HAL
implementaiton. This caused linking problems when copying
VtsHalIdentityTargetTest onto a device a running it.

Fix this by only dynamically linking libbinder and libcrypto.

Bug: 150475275
Test: VtsHalIdentityTargetTest runs on a device without Identity Credential.
Change-Id: I4162cc81ade0373c31c96008f3a2bc95684fd2c2
2020-03-02 10:29:08 -05:00
Automerger Merge Worker
b61c44ed99 Merge "Parameterize VtsHalEvsV1_0TargetTest" am: 6905b3438e
Change-Id: I6845d2787d1d45e55158ca279fd3abf8e9b8ba20
2020-02-28 20:32:44 +00:00
Treehugger Robot
6905b3438e Merge "Parameterize VtsHalEvsV1_0TargetTest" 2020-02-28 20:20:50 +00:00
Harpreet \"Eli\" Sangha
7033e87d8c vibrator: Document the source of always-on source IDs.
Bug: 148617686
Test: N/A: Documentation change.
Change-Id: I471d394e0c0258fbdaaea27a50ed21c4c10123a7
Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com>
2020-02-29 03:28:16 +09:00
Changyeon Jo
b46adc9493 Parameterize VtsHalEvsV1_0TargetTest
Bug: 142397658
Test: VtsHalEvsV1_0Target
Signed-off-by: Changyeon Jo <changyeon@google.com>
Merged-In: Ica8f5e6228d7d4b1426d8cc9cd2c570d6b584897
Change-Id: Ide6f4f58b60936ca766feb3090645afedde37a4d
2020-02-28 17:21:59 +00:00
Automerger Merge Worker
a088726c45 Merge "Identity: Move signingKeyBlob from finishRetrieval() to startRetrieval()." am: 90a34e51e1
Change-Id: Ie52e80ea46e6d6e7caf3fbb266387a4546b4422e
2020-02-28 15:22:34 +00:00
Treehugger Robot
90a34e51e1 Merge "Identity: Move signingKeyBlob from finishRetrieval() to startRetrieval()." 2020-02-28 15:08:40 +00:00
Automerger Merge Worker
3e83f9593b Merge "Push prebuilt libvtswidevine to device for drm HAL tests" am: 99b3f37a51
Change-Id: Ia3591c7e4066f10c87d4a521c54dde8d69bf22b1
2020-02-27 23:06:05 +00:00
Dan Shi
99b3f37a51 Merge "Push prebuilt libvtswidevine to device for drm HAL tests" 2020-02-27 22:45:10 +00:00
Automerger Merge Worker
e1d8fbe4fd Merge "HalProxy unit test to expose incorrect numEventsOnPendingQueue" am: 4ce37f131d
Change-Id: I88f427ba574f7e2349dc20d979ba698b00edc438
2020-02-27 20:53:20 +00:00
Automerger Merge Worker
3e2dc4396a Merge "Build HalProxy unit tests with a test library ScopedWakelock" am: 43e05713c5
Change-Id: I3bb1cc38cc9761b3b0c9f31e3f817b5347c834b6
2020-02-27 20:53:12 +00:00