Commit Graph

14357 Commits

Author SHA1 Message Date
Michael Butler
07d5610fae Pretty-print ErrorStatus and DeviceStatus test failure logs am: 857142085f am: f1ffd56a51
am: f0bd551121

Change-Id: I53cdf5948a262b688121a63426f06dda7b1f7394
2019-02-15 21:59:54 -08:00
Michael Butler
f0bd551121 Pretty-print ErrorStatus and DeviceStatus test failure logs am: 857142085f
am: f1ffd56a51

Change-Id: I4719a3d4e36fd6b4757c25e694c4282b8425a4d4
2019-02-15 21:54:50 -08:00
Michael Butler
f1ffd56a51 Pretty-print ErrorStatus and DeviceStatus test failure logs
am: 857142085f

Change-Id: Idea7fe34048c5b84f779ef5eebfc334fead37a0c
2019-02-15 21:50:45 -08:00
TreeHugger Robot
8c981bb8d9 Merge "Update TRANSPOSE_CONV_2D docs" 2019-02-16 02:05:35 +00:00
TreeHugger Robot
8eb6c4ed30 Merge "Camera: fix per stream error code for HAL buffer manager" 2019-02-15 23:00:54 +00:00
TreeHugger Robot
48c3591563 Merge "Report mock locations in 2.0 default implementation" 2019-02-15 22:17:33 +00:00
Michael Butler
857142085f 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
(cherry picked from commit 42a35bee10)
2019-02-15 13:34:50 -08:00
Yu-Han Yang
a509861a59 Report mock locations in 2.0 default implementation
- Create android.hardware.gnss@common-default-lib for sharing common
default implementation code.
- Create android.hardware.gnss@common-vts-lib for sharing common VTS
code.

Bug: 121217686
Change-Id: I35c127c23d97ab9a5c6ee13b36fbfe9c3708e3f3
Fixes: 121217686
Test: tested on cuttlefish
2019-02-15 09:42:43 -08:00
Hridya Valsaraju
4a14912775 Merge "Increate testcase timeout for VtsHalHealthStorageV1_0TargetTest" am: 3a4601ba48 am: a0f37d0f3e
am: 0744876533

Change-Id: I97e3e9ec85abd8e087d6a5ab7b33081179c76f5d
2019-02-15 09:39:02 -08:00
Hridya Valsaraju
0744876533 Merge "Increate testcase timeout for VtsHalHealthStorageV1_0TargetTest" am: 3a4601ba48
am: a0f37d0f3e

Change-Id: Ia966f4a4595303b85565f019a080f44a5f8a5bac
2019-02-15 09:34:58 -08:00
Hridya Valsaraju
a0f37d0f3e Merge "Increate testcase timeout for VtsHalHealthStorageV1_0TargetTest"
am: 3a4601ba48

Change-Id: I225726c4d9979024603a16ed5cdfd8f4fd040ffa
2019-02-15 09:30:53 -08:00
Treehugger Robot
3a4601ba48 Merge "Increate testcase timeout for VtsHalHealthStorageV1_0TargetTest" 2019-02-15 17:24:14 +00:00
Lev Proleev
44015c090a Update TRANSPOSE_CONV_2D docs
* Add info about per-channel quantization
* Update current.txt

Test: mma
Change-Id: I197d984c8b65b4c46bf526eb137f212ad8844926
2019-02-15 16:01:49 +00:00
Xusong Wang
18ec2cf8b6 [automerger skipped] Modify several 1.2 nn operation specs. am: 3ee1f4a333 am: afe2661cc7
am: af9e17465b -s ours
am skip reason: change_id If8b8cabd249f17247d8a5278b8360685c97c68e6 with SHA1 b9319bd3bf is in history

Change-Id: Ibedd716ac9a4cc19212c2810653155d9c2e33a58
2019-02-14 21:40:02 -08:00
TreeHugger Robot
71bb1d6ea1 Merge "Change class and variable names" 2019-02-15 04:53:54 +00:00
Xusong Wang
af9e17465b Modify several 1.2 nn operation specs. am: 3ee1f4a333
am: afe2661cc7

Change-Id: Ia36fde986bbd23b2601aafedaa487283ca02b69f
2019-02-14 18:31:20 -08:00
Xusong Wang
afe2661cc7 Modify several 1.2 nn operation specs.
am: 3ee1f4a333

Change-Id: I2f86409729979909d0299bc1ffc1c40cab15408b
2019-02-14 18:27:26 -08:00
Steven Moreland
f0f1649ea0 Merge "target-level 4: allow camera provider 2.4-5" 2019-02-15 02:14:04 +00:00
Xusong Wang
3ee1f4a333 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
Merged-In: If8b8cabd249f17247d8a5278b8360685c97c68e6
(cherry picked from commit b9319bd3bf)
2019-02-14 18:13:35 -08: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
Yin-Chia Yeh
71e6298ea6 Camera: fix per stream error code for HAL buffer manager
Also some refactoring to make the code more readable and less
indent.
Also clarify the unknown error case that per stream error code
might still be provided.

Test: GCA smoke test and camera CTS
Bug: 120986771
Change-Id: I3b7d3eadfe3895a3fdf3888735a3932d5c6c03bc
2019-02-14 14:17:33 -08: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
Hridya Valsaraju
bbab8f2a3e Increate testcase timeout for VtsHalHealthStorageV1_0TargetTest
The test is flaky with the current timeout and this CL
increases it to a safe value.

Bug: 120994008
Test: test passes

Change-Id: I63e0e11fcc1eb3bed490cdb21193e2c332cccf80
2019-02-13 17:21:21 -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