Commit graph

18784 commits

Author SHA1 Message Date
Treehugger Robot
249b63ced6 Merge "Fix GnssMeasurement state range check" am: 43f1d331e3
Change-Id: I245b97dd441e20e59116e3090fd55f3e8ca68307
2020-05-27 22:37:33 +00:00
Treehugger Robot
43f1d331e3 Merge "Fix GnssMeasurement state range check" 2020-05-27 22:22:40 +00:00
Elliott Hughes
95d8258b56 Use libcutils' host implementation directly. am: 69a08536c2
Change-Id: If7529366b4d4ff5d350f544f076d10b171e69f54
2020-05-27 17:06:05 +00:00
Orion Hodson
0f8403f606 Add dependency on jni_headers
Preparation for removing implicit include paths for jni.h from soong.

Bug: 152482542
Test: Apply future soong change && m checkbuild
Change-Id: I880eb1f307d995cbd4f0f19e8f8d22c20fc36bef
Merged-In: I880eb1f307d995cbd4f0f19e8f8d22c20fc36bef
Exempt-From-Owner-Approval: build clean-up
(cherry picked from commit 43c1a6a41c)
2020-05-27 17:29:42 +01:00
Yu-Han Yang
4f21df3b44 Fix GnssMeasurement state range check
Bug: 157463010
Test: atest VtsHalGnssV2_0TestTarget
Change-Id: I72f4bf1f09d6271ac6367abc3972ee7747b18155
(cherry picked from commit 51d8defb3c)
Merged-In: I72f4bf1f09d6271ac6367abc3972ee7747b18155
2020-05-26 21:22:42 +00:00
Elliott Hughes
69a08536c2 Use libcutils' host implementation directly.
Also remove the tests of the mock property functions themselves, and
rely on the libcutils/libbase testing.

Bug: http://b/151789258
Test: treehugger
Change-Id: I455ef0c2e4f19f6e69b8f65a3b6d4595717c81cd
2020-05-20 09:18:12 -07:00
Lev Proleev
92b20695bc NNAPI: Clarify behaviour of ops that reduce dimensions am: d90a5de791
Change-Id: I91af2c87ab99e4e2d44ebe70b16a6d4045e3a544
2020-05-20 01:04:47 +00:00
Miao Wang
7826dead97 Add AndroidTest.xml for NNAPI 1.3 VTS and temporarily blacklist failing tests am: 4749010554
Change-Id: Ie5fa9cbd309aeb3d64a50041ac0e3833d7c3a7dc
2020-05-20 01:04:45 +00:00
Lev Proleev
7f872effec NNAPI: Clarify behaviour of REDUCE_* ops am: 4b2917a5ed
Change-Id: I17f4e08fc2bf43c05b2679d51556ff4a5772dfd3
2020-05-20 01:04:44 +00:00
Miao Wang
b759b4abf4 Filter out failing NNAPI validation tests am: e1c1e7e2f6
Change-Id: I4ca995b406b424796869a300cd28a3101ddecc26
2020-05-20 01:04:41 +00:00
Miao Wang
626a022fed Add AndroidTest.xml for NNAPI 1.0 VTS and blacklist failing tests am: f904bb11d2
Change-Id: I6e210b479bee9a123d1da93deb7ab4878c802278
2020-05-20 01:04:38 +00:00
Miao Wang
2880abe014 Add AndroidTest.xml for NNAPI 1.2 VTS and blacklist failing tests am: 398adea8b6
Change-Id: I4923c06eafc89ee8df9c7d8cd19aab17ac989719
2020-05-20 01:04:37 +00:00
Lev Proleev
d90a5de791 NNAPI: Clarify behaviour of ops that reduce dimensions
Clarify behaviour of the following ops in the case when inputs would
cause an output to have an empty shape:
* MEAN
* ARGMIN/ARGMAX
* STRIDED_SLICE

Bug: 155508675
Bug: 155660285
Bug: 155508675
Bug: 155238914
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I92d1c3866a462a99b4eed7782b72f62bb6a076c6
Merged-In: I92d1c3866a462a99b4eed7782b72f62bb6a076c6
(cherry picked from commit d4bba83f6a)
2020-05-19 13:39:26 -07:00
Miao Wang
4749010554 Add AndroidTest.xml for NNAPI 1.3 VTS and temporarily blacklist failing tests
- Also adds TEST_MAPPING filters here to make sure sample driver tests
  are still being filtered out.
  - There may still be failing tests, but should not cause OOM in test harness.

Bug: 156691406
Test: mm
Test: atest VtsHalNeuralnetworksV1_3TargetTest
Change-Id: Ie05350d71dede04967d94dad4147bd3ed3435f7d
Merged-In: Ie05350d71dede04967d94dad4147bd3ed3435f7d
(cherry picked from commit 338acf5c15)
2020-05-19 13:38:28 -07:00
Lev Proleev
4b2917a5ed NNAPI: Clarify behaviour of REDUCE_* ops
Add a clarification on the behaviour of REDUCE_* ops when all dimensions
of an input tensor are reduced.

Bug: 155508675
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I3a67225c3af80af40a11362ca5d0f55350cbfa05
Merged-In: I3a67225c3af80af40a11362ca5d0f55350cbfa05
(cherry picked from commit eec7d86b44)
2020-05-19 13:38:00 -07:00
Miao Wang
e1c1e7e2f6 Filter out failing NNAPI validation tests
Bug: 155577050
Test: atest VtsHalNeuralnetworksV1_*TargetTest
Change-Id: Id8d497dddd5521670689ff2ea08610c3aaeaf748
Merged-In: Id8d497dddd5521670689ff2ea08610c3aaeaf748
(cherry picked from commit 4429d856cd)
2020-05-19 13:35:55 -07:00
Miao Wang
f904bb11d2 Add AndroidTest.xml for NNAPI 1.0 VTS and blacklist failing tests
- Also adds TEST_MAPPING filters here to make sure sample driver tests
  are still being filtered out.

Bug: 155577050
Test: mm
Test: atest VtsHalNeuralnetworksV1_0TargetTest
Change-Id: Ic8f556a957e6af340d500e2c4696b41b2a6e8516
Merged-In: Ic8f556a957e6af340d500e2c4696b41b2a6e8516
(cherry picked from commit 8ebe2a04c5)
2020-05-19 13:35:42 -07:00
Miao Wang
398adea8b6 Add AndroidTest.xml for NNAPI 1.2 VTS and blacklist failing tests
- Also adds TEST_MAPPING filters here to make sure sample driver tests
  are still being filtered out.

Bug: 155674368
Test: mm
Test: atest VtsHalNeuralnetworksV1_2TargetTest
Change-Id: I5f5d272742d4cdd6a8cc87ec035b5e2508eaa98f
Merged-In: I5f5d272742d4cdd6a8cc87ec035b5e2508eaa98f
(cherry picked from commit f7c55d5f9b)
2020-05-19 13:35:29 -07:00
David Anderson
f37dbbc570 Re-enable boot HAL tests and make sure they restore previous slot flags. am: d028b91f4a
Change-Id: I1e5c42c592419c097e678bd966b3ee3b26efd3c9
2020-05-19 06:18:19 +00:00
David Anderson
d028b91f4a Re-enable boot HAL tests and make sure they restore previous slot flags.
Bug: 154667790
Test: set slot to a
      run SetActiveBootSlot/SetSlotAsUnbootable tests
      fastboot reboot bootloader
      fastboot getvar current-slot shoud be a
      repeat on b slot
Change-Id: Icff45d3949d0ad76d22bdf8830c0903e81027b6e
2020-05-18 18:00:49 +00:00
Shuo Qian
ea208bd23e Merge "Skip voice call VTS for devices that don't support voice call with new Util" am: 41084e7ef4
Change-Id: I8011920a2bc136470d233940ed4dc335504bf82b
2020-05-16 03:07:01 +00:00
Shuo Qian
41084e7ef4 Merge "Skip voice call VTS for devices that don't support voice call with new Util" 2020-05-16 02:52:07 +00:00
Shuo Qian
f2ed9ffcb9 Skip voice call VTS for devices that don't support voice call with new Util
Bug: 154867827
Test: VtsHalRadio1_4Target
Change-Id: I888d4d4ffbff5d24bfe2b9b3cb878eb5f1e1762f
Merged-In: I888d4d4ffbff5d24bfe2b9b3cb878eb5f1e1762f
(cherry picked from commit 4e866a3020)
2020-05-16 01:29:07 +00:00
Treehugger Robot
09ed9b977e Merge "[VTS] Ignore tests of setting Active Boot Slot." am: b77ff497cd
Change-Id: I14fbffe44e7c48cf9386ac7aca92b430a6b66c13
2020-05-15 08:21:04 +00:00
Treehugger Robot
b77ff497cd Merge "[VTS] Ignore tests of setting Active Boot Slot." 2020-05-15 08:12:44 +00:00
Steven Moreland
d8321fdc3b Merge "Freeze audiocontrol@1.0::types." am: d0094c65f8
Change-Id: Ida4021747727bd6dd49e8b4e2d6427fdcd4fa31c
2020-05-15 00:03:48 +00:00
Steven Moreland
d0094c65f8 Merge "Freeze audiocontrol@1.0::types." 2020-05-14 22:11:32 +00:00
nelsonli
000d823eba [VTS] Ignore tests of setting Active Boot Slot.
Skip the test of SetActiveBootSlot and SetSlotAsUnbootable to avoid
booting problem if bootloader image doesn't exist in slot-B

Bug: 154667790
Test: atest VtsHalBootV1_0TargetTest
Change-Id: I80600a3312ccffe9471135198706ce068edc67f1
2020-05-14 16:33:53 +08:00
Treehugger Robot
1589363857 Merge "Fix sanitize address after scope" am: ff132d5cc7
Change-Id: I08534133ad666ddcffd760f1639e17535045217f
2020-05-13 20:24:40 +00:00
Treehugger Robot
ff132d5cc7 Merge "Fix sanitize address after scope" 2020-05-13 20:07:53 +00:00
Dan Shi
95d430d6c8 Use StopServicesSetup to stop/start framework. am: 8a648312f8
Change-Id: I0a3f67e848b2452b1919ae0e26d69fc1a9a9ce15
2020-05-13 18:05:52 +00:00
Yifan Hong
b9e1645e0b Fix sanitize address after scope
Test: pass
Fixes: 156199719
Change-Id: Icaf1e6d379199eec4d664494819405acc013a003
2020-05-13 10:11:39 -07:00
Steven Moreland
75b5d37af3 Freeze audiocontrol@1.0::types.
This was caught by R process, but due to a bug in hidl-gen, not
enforced.

Bug: 155593324
Test: build checks hash

Merged-In: Ied59b4ba94c8b6bb9e3ead869d8341cffa86f1e8
Change-Id: I2bf135bb10ad052bcfe4d8f2035ed8368d5ea9ac
2020-05-12 18:01:11 -07:00
Dan Shi
8a648312f8 Use StopServicesSetup to stop/start framework.
Bug: 155774142
Test: none
Exempt-From-Owner-Approval: This CL replaces target preparer, shouldn't
change test behavior.

Change-Id: I83cffadfff15e6352a69641c3227efb63e7a34e4
2020-05-12 14:07:30 -07:00
Selene Huang
66f76e3c4b Merge "Add attestation certificate parsing and validate for IC vts." am: 2ea80dc83f
Change-Id: I31f70be318c27ba9e1a95a6765f86cd3171eea79
2020-05-12 05:50:16 +00:00
Selene Huang
2ea80dc83f Merge "Add attestation certificate parsing and validate for IC vts." 2020-05-12 05:41:49 +00:00
Steven Moreland
b9e98012e4 Merge "Reminder to freeze keymaster at version "5"" am: a634e859df
Change-Id: Ia94b01bd19af655b7e2432e38cba3fc5bedfd6dc
2020-05-11 19:32:02 +00:00
Treehugger Robot
40577ac4f9 Merge "Identity Credential: Add method to accept verification token." am: 1ac087e4d6
Change-Id: I89d8871aeffd8a1f6cd4d8fbb6ccc939536f0fd6
2020-05-11 19:30:43 +00:00
Steven Moreland
a634e859df Merge "Reminder to freeze keymaster at version "5"" 2020-05-11 17:46:10 +00:00
Treehugger Robot
1ac087e4d6 Merge "Identity Credential: Add method to accept verification token." 2020-05-11 17:28:43 +00:00
Yu-Han Yang
90378b4bd6 DO NOT MERGE Stop location to avoid timing issue (VTS 2.0) am: 50958448b8
Change-Id: Ie6c15a267e4b22d81b2ccf72864330f95617e034
2020-05-08 23:12:28 +00:00
Yu-Han Yang
50958448b8 DO NOT MERGE Stop location to avoid timing issue (VTS 2.0)
Before setting constellation blacklist, the location report should
be stopped first. Otherwise, the sv status which contains blacklist
constellation is still reporting and may be counted in checking
SvList. According to the comments of this case, location should be
turned off as 2a step.

Also adding another test that a blacklist request that comes in
while tracking is started, takes effect after a stop/start cycle.

Bug: 144675840
Test: on device
Change-Id: I0a5030cbeeb4bbc45000157414582117d8abbae9
Merged-In: I0a5030cbeeb4bbc45000157414582117d8abbae9
2020-05-08 22:20:31 +00:00
Steven Moreland
3c1519c550 Reminder to freeze keymaster at version "5"
Fixes: 155808722
Test: freeze-api produces error
Change-Id: I0b6d41a129f1a8cb064c394c73a3a70a6f2abc32
2020-05-08 16:33:55 +00:00
David Zeuthen
a8ed82cbb4 Identity Credential: Add method to accept verification token.
This is to facilitate HAL implementations using a TA existing in a
different environment than where auth tokens are minted. This method
will be used by credstore in a companion CL.

This modifies version 2 of the Identity Credential API (which was
never been released) to add a new method and creates version 2 of the
Keymaster types-only AIDL API to include the new VerificationToken
parcelable and SecurityLevel enum.

Bug: 156076333
Test: atest VtsHalIdentityTargetTest
Test: atest android.security.identity.cts

Change-Id: I7d05413a9ec70225ce419079f3cc9daf026cf744
2020-05-08 11:33:23 -04:00
Treehugger Robot
1d2d0941a0 [automerger skipped] Merge "Rename vts-core to vts" am: 552990ed42 -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 ba894f81db is in history

Change-Id: Ifc140a304781a51d701e084810828fd82a931f73
2020-05-08 02:02:46 +00:00
Treehugger Robot
552990ed42 Merge "Rename vts-core to vts" 2020-05-08 01:44:18 +00:00
Dan Shi
fcced28d93 Rename vts-core to vts
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL update suite name vts-core to vts as
the suite name is updated. This CL won't change test logic or behavior.

Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
Change-Id: If871035f66631869d1082a557e2639a2766cd1de
2020-05-07 16:25:29 -07:00
Treehugger Robot
1f65d20a39 Merge "sensors:2.0:vts fix functional test for typeAsString field" am: e3fc570d6d
Change-Id: Iec84bed4fe462001a577b382e4934b59b765017b
2020-05-07 16:50:25 +00:00
Treehugger Robot
e3fc570d6d Merge "sensors:2.0:vts fix functional test for typeAsString field" 2020-05-07 16:34:31 +00:00
Stan Rokita
f26ba8c59f Search for subhal .so files in additional directories am: b42bde95cb
Change-Id: I1fb0ce977406e07a26278a2be0e2380ee7d677f4
2020-05-06 23:00:18 +00:00