Commit Graph

14336 Commits

Author SHA1 Message Date
Steven Moreland
f0f1649ea0 Merge "target-level 4: allow camera provider 2.4-5" 2019-02-15 02:14:04 +00:00
Shuo Qian
cee3576302 Merge "Add VTS for emergencyDial" am: ac077becfd am: 250bdd77a9
am: f959dd768a

Change-Id: I11178eb1dcb5f8cab89b595015019ab1d3b1f997
2019-02-14 17:42:18 -08:00
Shuo Qian
f959dd768a Merge "Add VTS for emergencyDial" am: ac077becfd
am: 250bdd77a9

Change-Id: I27a9cd662355ae19c82bbee42c0927ec63b38a50
2019-02-14 17:39:05 -08:00
Changyeon Jo
d0dc2bd341 Updates openDisplay() API description
This change corrects the description of openDisplay()'s behavior when
new client requests to access a display resource.

Bug: 122671398
Test: N/A
Change-Id: Ic7380748f4907376563771498e8823ed739e09a6
Signed-off-by: Changyeon Jo <changyeon@google.com>
2019-02-15 01:34:56 +00:00
Shuo Qian
250bdd77a9 Merge "Add VTS for emergencyDial"
am: ac077becfd

Change-Id: I5f31028ec7f59a491082475f6620f3f52032c616
2019-02-14 15:29:23 -08:00
Shuo Qian
ac077becfd Merge "Add VTS for emergencyDial" 2019-02-14 23:17:00 +00:00
Michael Butler
9e3f898921 Merge "Pretty-print ErrorStatus and DeviceStatus test failure logs" 2019-02-14 20:49:00 +00:00
Michael Butler
42a35bee10 Pretty-print ErrorStatus and DeviceStatus test failure logs
Argument-dependent lookup will only work for operator>> if the operator
is in one of the argument's namespaces. This caused the enumerations to
pretty-print for V1_0, but not for V1_1 or V1_2. This change ensures the
V1_0 namespace is used.

Test: mma
Test: atest VtsHalNeuralnetworksV1_0TargetTest (verified the test output "OFFLINE" for DeviceStatus and "DEVICE_UNAVAILABLE" for ErrorStatus instead of raw byte value representation)
Test: atest VtsHalNeuralnetworksV1_1TargetTest (verified the test output "OFFLINE" for DeviceStatus and "DEVICE_UNAVAILABLE" for ErrorStatus instead of raw byte value representation)
Test: atest VtsHalNeuralnetworksV1_2TargetTest (verified ran and passed tests)
Fixes: 124316129
Change-Id: I764a46e2d87615b1f3da0ab0e6edb134bb533887
2019-02-14 20:48:40 +00:00
Xusong Wang
487c488db5 [automerger skipped] Remove tmp directory after CompilationCachingTest if cache not supported. am: 6824cc1e64 am: 06e2af27a0
am: 41b6d5e3df -s ours
am skip reason: change_id I5969beb1ec365c992765f40d7693630606f16e18 with SHA1 350d91b1df is in history

Change-Id: I6137a96f60c840f76db3494d444efaf8532eb045
2019-02-14 12:47:33 -08:00
Herv Guihot
2e8117d5ed [automerger skipped] Added missing ASSERT_NE. am: ac7ac525b2 am: d98afb98d9
am: 740e0c6042 -s ours
am skip reason: change_id Id0f28d061dc5858fa00ef1bac5f7aa467d860864 with SHA1 70d25b813e is in history

Change-Id: I35691b0e5d8208c3de49a7e9974022525e76922a
2019-02-14 12:47:11 -08:00
Xusong Wang
41b6d5e3df Remove tmp directory after CompilationCachingTest if cache not supported. am: 6824cc1e64
am: 06e2af27a0

Change-Id: Iee233cd40f05c3d8e318da4e80ef5215ad3b0fbc
2019-02-14 12:43:16 -08:00
Herv Guihot
740e0c6042 Added missing ASSERT_NE. am: ac7ac525b2
am: d98afb98d9

Change-Id: I07c5ed369a933ad77f2af7f1c96d73aec11be5fe
2019-02-14 12:42:56 -08:00
Xusong Wang
06e2af27a0 Remove tmp directory after CompilationCachingTest if cache not supported.
am: 6824cc1e64

Change-Id: I2f119007890c1e264f92c454cb8856b0d38b0ba8
2019-02-14 12:40:04 -08:00
Herv Guihot
d98afb98d9 Added missing ASSERT_NE.
am: ac7ac525b2

Change-Id: I1cd8565bd756a6f518af0711294405f6f0b63aea
2019-02-14 12:39:49 -08:00
Xusong Wang
6824cc1e64 Remove tmp directory after CompilationCachingTest if cache not supported.
The tmp directory is only removed when the driver reports caching not
supported, otherwise it is kept for debugging purpose.

Test: 1.2 VTS tests with sample driver
Change-Id: I5969beb1ec365c992765f40d7693630606f16e18
Merged-In: I5969beb1ec365c992765f40d7693630606f16e18
(cherry picked from commit 350d91b1df)
2019-02-14 10:16:41 -08:00
Hervé Guihot
ac7ac525b2 Added missing ASSERT_NE.
Test was failing with segmentation fault (and crashing whole VTS) when
device was not available.

Change-Id: Id0f28d061dc5858fa00ef1bac5f7aa467d860864
Merged-In: Id0f28d061dc5858fa00ef1bac5f7aa467d860864
(cherry picked from commit 70d25b813e)
2019-02-14 10:15:27 -08:00
Xusong Wang
e50086a29d Merge "Remove tmp directory after CompilationCachingTest if cache not supported." 2019-02-14 18:10:18 +00:00
Steven Moreland
50256f91ae Merge "Freeze HALs for Android Q (internal)" 2019-02-14 16:54:24 +00:00
TreeHugger Robot
5c2a49d556 Merge "DRM: optional 1.0 to 1.2." 2019-02-14 08:57:15 +00:00
sqian
f67133f216 Add VTS for emergencyDial
Modify the document for 'hasKnownUserIntentEmergency'.

In the scenarios that the 'address' in the 'dialInfo' field has other
 functions besides the emergency number function, if the
 'hasKnownUserIntentEmergency' field is true, the user's intent for this
 dial request is emergency call, and the modem must treat this as an
 actual emergency dial; if the 'hasKnownUserIntentEmergency' field is
 false, Android does not know user's intent for this call.

Test: compile
Bug: 121345950
Change-Id: I3457e7519be564ac5043e06380e9450a1b12425f
(cherry picked from commit 7208840ec0148ad5a01bdf419170282cd1b32437)
2019-02-14 04:22:12 +00:00
Miao Wang
f6a7967fe1 [automerger skipped] Fix the usage of GTEST_SKIP am: 6e06a5ce41 am: db6dc690ea
am: 6dbe34c37c -s ours
am skip reason: change_id I6baaf54c626778129c1aab4f6622af570b34ec3f with SHA1 4135a8e94c is in history

Change-Id: I51718bedf07a3397b68ed051dc6d716e2b7bb88b
2019-02-13 18:24:47 -08:00
Steven Moreland
369f17b7e0 target-level 4: allow camera provider 2.4-5
Bug: N/A
Test: N/A
Change-Id: I9171d94f2188bf37ec01e1bc1028c9a33e1aa7af
2019-02-13 17:36:38 -08:00
Xusong Wang
ab23d9cb25 Merge "Modify several 1.2 nn operation specs." 2019-02-14 01:15:33 +00:00
Miao Wang
6dbe34c37c Fix the usage of GTEST_SKIP am: 6e06a5ce41
am: db6dc690ea

Change-Id: I856b8b3d9676a8a6957c6c206ba6e99f77f66be6
2019-02-13 16:46:01 -08:00
Miao Wang
db6dc690ea Fix the usage of GTEST_SKIP
am: 6e06a5ce41

Change-Id: Ib0b31d572ac4d9bf6770c574630dae64e9ab386c
2019-02-13 16:19:32 -08:00
Miao Wang
6e06a5ce41 Fix the usage of GTEST_SKIP
Test: mm
Test: VtsHalNeuralnetworksV1_0TargetTest
Change-Id: I6baaf54c626778129c1aab4f6622af570b34ec3f
Merged-In: I6baaf54c626778129c1aab4f6622af570b34ec3f
(cherry picked from commit 4135a8e94c)
2019-02-13 14:21:22 -08:00
Steven Moreland
7a0e3d17d4 Freeze HALs for Android Q (internal)
This freezes HALs for Android Q that were not developed in AOSP.

Bug: 119518846
Test: none
Change-Id: Ie125d9bb014ee747ce56a59feaca577ab2d9e96c
2019-02-13 22:20:42 +00:00
Kevin Chyn
1c16445989 resetLockout should return Status instead of bool
The actual lockout reset is asynchronous and returns its result in the
onLockoutChanged() callback

Bug: 121196511
Bug: 121198195
Bug: 123262389

Test: Builds
Change-Id: Ia5fd34d77ae1f8dba1a943e0e1fc51d458753090
2019-02-13 14:11:29 -08:00
Emilian Peev
332467b8bf Merge "Camera: Enable session parameter reconfiguration queries" 2019-02-13 21:54:22 +00:00
Henry Fang
d4ef921860 Merge "Add VTS for cas@1.1 hal interface" 2019-02-13 21:32:45 +00:00
Xusong Wang
b9319bd3bf Modify several 1.2 nn operation specs.
- Add TENSOR_QUANT8_ASYMM to RESIZE_BILINEAR
- Change the spec of batch_split in
  * GENERATE_PROPOSALS
  * ROI_ALIGN
  * ROI_POOLING
  * AXIS_ALIGNED_BBOX_TRANSFORM
  * BOX_WITH_NMS_LIMIT
- Add new op RESIZE_NEAREST_NEIGHBOR
- Fix minor specification error in
  * AXIS_ALIGNED_BBOX_TRANSFORM
  * GENERATE_PROPOSALS

Bug: 124060811
Bug: 124061329
Bug: 124061327
Test: 1.2 VTS tests with sample driver
Change-Id: If8b8cabd249f17247d8a5278b8360685c97c68e6
2019-02-13 13:09:38 -08:00
Xusong Wang
350d91b1df Remove tmp directory after CompilationCachingTest if cache not supported.
The tmp directory is only removed when the driver reports caching not
supported, otherwise it is kept for debugging purpose.

Test: 1.2 VTS tests with sample driver
Change-Id: I5969beb1ec365c992765f40d7693630606f16e18
2019-02-13 11:53:19 -08:00
Steven Moreland
d7f322212c Merge "Freeze HALs for Android Q" am: 3c27166505 am: b540a82ce4
am: a940076af9

Change-Id: I077fb0a3070f0c1d428933365f7caac16eb924fc
2019-02-13 10:19:05 -08:00
Steven Moreland
a940076af9 Merge "Freeze HALs for Android Q" am: 3c27166505
am: b540a82ce4

Change-Id: Ib2f391e1f5e87bc47bca49900d45f40cd23af4f4
2019-02-13 10:10:52 -08:00
Steven Moreland
b540a82ce4 Merge "Freeze HALs for Android Q"
am: 3c27166505

Change-Id: Iebf22867079dea39513769c90cd618cf92336965
2019-02-13 10:06:32 -08:00
Steven Moreland
3c27166505 Merge "Freeze HALs for Android Q" 2019-02-13 17:53:24 +00:00
Kevin Chyn
2065f80836 Merge "Add onLockoutChanged for IBiometricsFace" 2019-02-13 17:40:27 +00:00
Lev Proleev
93e3bebe04 [automerger skipped] Fix VTS tests. am: dce38f1364 am: af809a4a12
am: a83d57a58f -s ours
am skip reason: change_id Iefb502c6b9301d5470eb4cdaa46d398f1a0e512a with SHA1 923b8c5842 is in history

Change-Id: I33c05bfea6eb0fd4700bca336062b256b505460f
2019-02-13 07:14:47 -08:00
Lev Proleev
a83d57a58f Fix VTS tests. am: dce38f1364
am: af809a4a12

Change-Id: I602b4e4352551d967ae52661a9c9cb53c5e506a7
2019-02-13 07:10:44 -08:00
Lev Proleev
af809a4a12 Fix VTS tests.
am: dce38f1364

Change-Id: I374b7b665526dd7b2a02fbcb36e66907fb9529b4
2019-02-13 07:06:40 -08:00
Lev Proleev
dce38f1364 Fix VTS tests.
* Adds a specification of invalid scale and zero point for TENSOR_BOOL8.
This fixes vts failures for comparison ops.
* Removes (FUNDAMENTAL_MIN - 1) from invalid OperationTypes.
FUNDAMENTAL_MIN is equal to 0 and resulting -1 was statically casted to
uint32_t and passed 4294967295 as an invalid OperationType. However, our
validateOperation function interpreted this ID as an extension ID and
didn't fail.
* Adds mutateOperationOperandTypeSkip for QUANTIZE and DEQUANTIZE.
* Adds removeOperandSkip for BIDIRECTIONAL_SEQUENCE_RNN.

Fix: 121130841
Fix: 123247345
Test: VtsHalNeuralnetworksV1_2TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.2::IDevice/sample-all
Change-Id: Iefb502c6b9301d5470eb4cdaa46d398f1a0e512a
Merged-In: Iefb502c6b9301d5470eb4cdaa46d398f1a0e512a
(cherry picked from commit 923b8c5842)
2019-02-13 13:16:28 +00:00
TreeHugger Robot
afa04bc7d0 Merge "Added missing ASSERT_NE." 2019-02-13 05:04:57 +00:00
Steven Moreland
5900bb27eb [automerger skipped] neuralnetworks: Update makefiles. am: e694cb2dad am: 7231bbe737
am: a5f3c58af7 -s ours
am skip reason: change_id I5fb6c126a090a3fe0fa4829ea9224564133dc1ae with SHA1 f8a47b7f01 is in history

Change-Id: I831d324b9d30a0624aa538fe0a8882dc8d201488
2019-02-12 20:57:19 -08:00
Steven Moreland
a5f3c58af7 neuralnetworks: Update makefiles. am: e694cb2dad
am: 7231bbe737

Change-Id: Idb591c3aab7a58906fb4c7f806353984019bbcc5
2019-02-12 20:28:33 -08:00
Steven Moreland
806ed7b3f1 [automerger skipped] Merge "Sync docs between NeuralNetworks.h and HAL file" am: 11c5c3a4a2 am: fdc43e10f5
am: a3d1863103 -s ours
am skip reason: change_id I4287a947faa260f69ba50c746bd40a0981548e50 with SHA1 5d2ec0f5f0 is in history

Change-Id: I82094afc40b9e5a0eaeb450a7b9340efb63f6532
2019-02-12 19:48:56 -08:00
Steven Moreland
2229cee6de Freeze HALs for Android Q
Bug: 119518846
Test: none
Change-Id: I14bf1a75a9b6498ffdf411335e5acb7038d26efb
2019-02-13 03:27:29 +00:00
Steven Moreland
7231bbe737 neuralnetworks: Update makefiles.
am: e694cb2dad

Change-Id: I25be410843c9a3194340688d13a94a73ab206bd1
2019-02-12 19:27:10 -08:00
Guang Zhu
2e5ffae932 Merge "update OWNERS for vts related projects" am: 5b27c23298 am: 1c30397dc1
am: 795143e237

Change-Id: Ic3e43d135f4f6094a21f2dcf175f57316ea5ce6f
2019-02-12 19:24:17 -08:00
Steven Moreland
a3d1863103 Merge "Sync docs between NeuralNetworks.h and HAL file" am: 11c5c3a4a2
am: fdc43e10f5

Change-Id: I47696ea5cff5b8f392169e038aceff58212bde1d
2019-02-12 19:21:48 -08:00
Nathan Harold
bff65e069e Merge "Add NR Cell Identity to CellIdentityNr" am: 2db4a029a8 am: 4e8aae0591
am: dda7b61fef

Change-Id: Ied4b0bb75e558c6fd45baf821f6320f308eecda6
2019-02-12 19:03:52 -08:00