Commit Graph

14306 Commits

Author SHA1 Message Date
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
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
Guang Zhu
795143e237 Merge "update OWNERS for vts related projects" am: 5b27c23298
am: 1c30397dc1

Change-Id: Id40aacb962098e6984a2b979f8b999418e1a3e85
2019-02-12 18:59:48 -08:00
Steven Moreland
fdc43e10f5 Merge "Sync docs between NeuralNetworks.h and HAL file"
am: 11c5c3a4a2

Change-Id: I2b857cb3375402fefd6df56e186a1bd7525d8692
2019-02-12 18:53:29 -08:00
Nathan Harold
dda7b61fef Merge "Add NR Cell Identity to CellIdentityNr" am: 2db4a029a8
am: 4e8aae0591

Change-Id: I6cd0909f68d81215d69ec4127aac0d4f76f76214
2019-02-12 18:50:45 -08:00
Guang Zhu
1c30397dc1 Merge "update OWNERS for vts related projects"
am: 5b27c23298

Change-Id: Iccaaf0fe270b418cef2a320a86c9ac4cb17cd6a2
2019-02-12 18:37:15 -08:00
Nathan Harold
4e8aae0591 Merge "Add NR Cell Identity to CellIdentityNr"
am: 2db4a029a8

Change-Id: Ic1dda29a9b69630672eba78ced9885df33322bde
2019-02-12 18:18:39 -08:00
Kevin Chyn
99625ae670 Add onLockoutChanged for IBiometricsFace
Lockout is moved to the HAL (as compared to IBiometricsFingerprint@2.1)
To maintain public API behavior (BiometricPrompt) there needs to be a
way to synchronously retrieve the lockout status.

Bug: 121196511
Bug: 121198195
Bug: 123262389

Test: Builds
Change-Id: Idb0a1225451e9f123ccb42accbbbd2914ad6cabc
2019-02-12 17:33:16 -08:00
Steven Moreland
e694cb2dad neuralnetworks: Update makefiles.
Bug: N/A
Test: N/A
Change-Id: I83a920c646cf03dcc161a6fbc928a6dc09b2d7f1
Merged-In: I5fb6c126a090a3fe0fa4829ea9224564133dc1ae
2019-02-12 17:10:15 -08:00
Steven Moreland
11c5c3a4a2 Merge "Sync docs between NeuralNetworks.h and HAL file" 2019-02-13 01:07:08 +00:00
Treehugger Robot
5b27c23298 Merge "update OWNERS for vts related projects" 2019-02-13 00:46:11 +00:00
Hervé Guihot
70d25b813e Added missing ASSERT_NE.
Test was failing with segmentation fault (and crashing whole VTS) when
device was not available.

Change-Id: Id0f28d061dc5858fa00ef1bac5f7aa467d860864
2019-02-12 16:22:44 -08:00
Nathan Harold
2db4a029a8 Merge "Add NR Cell Identity to CellIdentityNr" 2019-02-12 23:18:15 +00:00
Etan Cohen
02b43050d9 Merge "Revert "[AWARE] Disable NANv3 data-path capabilities"" 2019-02-12 22:58:58 +00:00
Emilian Peev
22eac5f667 Camera: Enable session parameter reconfiguration queries
Check with Hal whether stream reconfiguration is required
in case of session parameter updates.

Bug: 122609098
Test: Manual using application,
vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalCameraProviderV2_4Target -l INFO
Change-Id: Ic02525871aa079393b28b2da53764093f95f881d
2019-02-12 14:54:00 -08:00
Steven Moreland
907c8ccc2b Merge "Update makefiles." 2019-02-12 22:20:43 +00:00
Lev Proleev
2756283e30 Sync docs between NeuralNetworks.h and HAL file
Test: VtsHalNeuralnetworksV1_2TargetTest
Bug: 116445845
Fixes: 124246635
(cherry picked from commit 5d2ec0f5f0)
Merged-In: I4287a947faa260f69ba50c746bd40a0981548e50
Change-Id: I4287a947faa260f69ba50c746bd40a0981548e50
2019-02-12 13:49:56 -08:00
Jayant Chowdhary
cfb03b387d [automerger skipped] Documentation updates to camera HAL interfaces. am: 48f3952ffc am: cf1fd4de74
am: 41faba33c6 -s ours
am skip reason: change_id Ibc2415531a16e42ae81e33c3bdb28aca08e6a5fe with SHA1 5845a3f05c is in history

Change-Id: I2b7bd5e22da1809d34a4354badeb503c0627daad
2019-02-12 13:41:26 -08:00
Jayant Chowdhary
41faba33c6 Documentation updates to camera HAL interfaces. am: 48f3952ffc
am: cf1fd4de74

Change-Id: I851b8dc19b70048389823d7b8c74035844f07c45
2019-02-12 13:35:32 -08:00
TreeHugger Robot
42a171f995 Merge "Camera: Handle binder call failure due to static metadata size" 2019-02-12 21:33:02 +00:00
Jayant Chowdhary
cf1fd4de74 Documentation updates to camera HAL interfaces.
am: 48f3952ffc

Change-Id: Ie058b9f3d7ce531363a848d3319ccf95b64bd3c8
2019-02-12 13:30:58 -08:00
Nathan Harold
a579346d26 Add NR Cell Identity to CellIdentityNr
Add the NR Cell Identity field to the NrCellIdentity
struct.

Bug: 124126359
Test: compilation on goog/master; VTS currently infeasible
      pending other changes.
Change-Id: Ie7082a7dc1737cb613ab178e86016fa0d09c24d3
2019-02-12 21:02:33 +00:00
Henry Fang
a757b1bc0d Add VTS for cas@1.1 hal interface
Added sendSessionEvent and onSessionEvent test case,
so vts can cover new interface in cas@1.1
Test: Manual
bug: 123642769

Change-Id: I3e82a5a7c9d1e8721b2e4fdc2aaffacfe96b91d9
2019-02-12 12:28:03 -08:00
Guang Zhu
02d5e3a322 update OWNERS for vts related projects
Bug: none
Test: none
Change-Id: Ief57a5e6924f71ca6b2a9b54496cd4b5f315f373
2019-02-12 11:25:14 -08:00
Jayant Chowdhary
48f3952ffc Documentation updates to camera HAL interfaces.
Bug: 124248114

Test: mm -j64

Change-Id: If1cf0e2d464ac62e5897b8faaf4835d06c12edd8
Merged-In: Ibc2415531a16e42ae81e33c3bdb28aca08e6a5fe
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2019-02-12 11:16:17 -08:00
Slava Shklyaev
891fc3e4b9 [automerger skipped] Deprecate OEM types in NNAPI am: 7081726008 am: c586261217
am: 6cc07cf940 -s ours
am skip reason: change_id I12e0c98324c1310815e150d24e0b25e26073a424 with SHA1 341f6b335d is in history

Change-Id: Ia1dcc7b518e5f03381d07cf5f476d1a6589590c1
2019-02-12 10:33:52 -08:00
Slava Shklyaev
6cc07cf940 Deprecate OEM types in NNAPI am: 7081726008
am: c586261217

Change-Id: I315671619b16b6397bcca6aa804ec46ae4b6b98c
2019-02-12 10:20:46 -08:00
Slava Shklyaev
c586261217 Deprecate OEM types in NNAPI
am: 7081726008

Change-Id: I5b459d312b8c297abaefd4524041180f842660f1
2019-02-12 10:16:08 -08:00
Shuzhen Wang
892e826a32 Camera: Handle binder call failure due to static metadata size
For physical camera static metadata, we should reduce its size before
passing it across binder if possible.

Test: Camera CTS
Bug: 124129552
Change-Id: I0d9129642ddcbb4c1a1c7fcf7a88bac734be4f5a
2019-02-12 08:54:45 -08:00
Slava Shklyaev
c713177f28 [automerger skipped] Update NNAPI Extensions documentation am: e94dc72150 am: f953e45c6a
am: d5f89df18f -s ours
am skip reason: change_id I7ddafca04bce6fd37a9c0877270cee325111d833 with SHA1 1ffe69a8e9 is in history

Change-Id: I76511c6522b86a5dfd1c498cf3cb37d9919b4ef0
2019-02-12 04:22:51 -08:00
Slava Shklyaev
d5f89df18f Update NNAPI Extensions documentation am: e94dc72150
am: f953e45c6a

Change-Id: I0c26b2728d3c85971f5b4274432b7787fe7d21d8
2019-02-12 04:18:44 -08:00