Commit graph

14736 commits

Author SHA1 Message Date
Bill Rassieur
08465e2c76 Merge master@5406228 into git_qt-dev-plus-aosp.
Change-Id: I4a82f872dd706ac422ff596217e6f67fee8b7f91
BUG: 129345239
2019-03-29 04:24:26 +00:00
Emil Jahshan
8cafc5dc63 [automerger skipped] Merge "Y16 format enablement for external provider" am: 44968dc629 am: 0e8d2cb6dd
am: e076865454 -s ours
am skip reason: change_id I358686e7c4330bb180dec4a9cce3bc1cf5475260 with SHA1 eed0040e21 is in history

Change-Id: I4a4e4131abd1e0297beb87099fc6bd464e61452e
2019-03-25 13:40:26 -07:00
Emil Jahshan
e076865454 Merge "Y16 format enablement for external provider" am: 44968dc629
am: 0e8d2cb6dd

Change-Id: Iff5ae7adfec1b047ca400cb0e018987d1b31f7ad
2019-03-25 13:36:14 -07:00
Emil Jahshan
0e8d2cb6dd Merge "Y16 format enablement for external provider"
am: 44968dc629

Change-Id: I7057b359c7fe4bd76eba480486871fbb88d0eba2
2019-03-25 13:32:28 -07:00
Treehugger Robot
44968dc629 Merge "Y16 format enablement for external provider" 2019-03-25 20:19:44 +00:00
Xusong Wang
7b277acbd0 Sync operation docs between NeuralNetworks.h and HAL file am: 66baf74114 am: e265b746b9
am: 094a06c28e

Change-Id: I34c9eba2b4fa207486416a2b0a04c569aac76a69
2019-03-22 17:37:30 -07:00
Xusong Wang
094a06c28e Sync operation docs between NeuralNetworks.h and HAL file am: 66baf74114
am: e265b746b9

Change-Id: Iafbf27f0c06886f934bb9e3faaa72f0ea76f1312
2019-03-22 17:27:53 -07:00
Xusong Wang
e265b746b9 Sync operation docs between NeuralNetworks.h and HAL file
am: 66baf74114

Change-Id: I2473a12afe7fdf86cf7a2d567bf659424c26601e
2019-03-22 17:18:41 -07:00
TreeHugger Robot
4c8c6251ce Merge "API changes in MicrophoneDirection" 2019-03-22 23:43:43 +00:00
Xusong Wang
1f6750e7b1 [automerger skipped] Fix caching interface according to vendor feedback. am: ed0822bc78 am: 2688f8fbfb
am: a8c6a9c87c -s ours
am skip reason: change_id I921b7b8ccc3c66af19f6589f7213c6870d6f07bf with SHA1 b61ba1ed0b is in history

Change-Id: I3067372c437a1df7600f0a2e8fcd2ef54e97647f
2019-03-22 15:28:10 -07:00
Viet Dang
61fbf54e98 [automerger skipped] BidirectionalSequenceLSTM op: Adds layer norm support. am: ed5c004915 am: de5183ff14
am: 889b52c305 -s ours
am skip reason: change_id I72d029fef6d890eb1771c21814b028b09af280c7 with SHA1 f404a1e894 is in history

Change-Id: I8f702728d68a9dd5999ef53686b17bbccb68fe1a
2019-03-22 15:27:49 -07:00
Xusong Wang
a8c6a9c87c Fix caching interface according to vendor feedback. am: ed0822bc78
am: 2688f8fbfb

Change-Id: I2570eee9de88f62025805c9666619592e7f872c7
2019-03-22 15:23:00 -07:00
Viet Dang
889b52c305 BidirectionalSequenceLSTM op: Adds layer norm support. am: ed5c004915
am: de5183ff14

Change-Id: I9ce3ac8a4569913161f2c6f3f3bcaae276036ffc
2019-03-22 15:22:41 -07:00
Xusong Wang
2688f8fbfb Fix caching interface according to vendor feedback.
am: ed0822bc78

Change-Id: I239c9b30560a965610c89ad01e2c80c4553b1166
2019-03-22 15:16:03 -07:00
Viet Dang
de5183ff14 BidirectionalSequenceLSTM op: Adds layer norm support.
am: ed5c004915

Change-Id: Ie8cf293d937f63a610bd0e2c526e3a3a98de1ecd
2019-03-22 15:15:49 -07:00
David Gross
0a94e28517 [automerger skipped] Add @V1_2::Capabilities to support all non extension operand types. am: 2d47c80c8e am: 8a8a9dfe29
am: 397361141f -s ours
am skip reason: change_id I83fb5920c1c75afbd7750d793a0b8f3e72a0552c with SHA1 632b4bd9b0 is in history

Change-Id: I403622d9292d84e075d93db31bc1792a4702e876
2019-03-22 13:27:09 -07:00
David Gross
397361141f Add @V1_2::Capabilities to support all non extension operand types. am: 2d47c80c8e
am: 8a8a9dfe29

Change-Id: Ib9131fce81360e7fbe3288453c6e059ecc126334
2019-03-22 13:23:04 -07:00
David Gross
8a8a9dfe29 Add @V1_2::Capabilities to support all non extension operand types.
am: 2d47c80c8e

Change-Id: Ibfbad70244b78f82a5e938f8f94e3034d1aff987
2019-03-22 13:18:54 -07:00
Xusong Wang
66baf74114 Sync operation docs between NeuralNetworks.h and HAL file
Test: mma
Change-Id: I0fb44d734216e2f40a9a2d4efc3640acd923f932
2019-03-22 13:11:25 -07:00
Xusong Wang
ed0822bc78 Fix caching interface according to vendor feedback.
- Instead of isCachingSupport returning a single boolean, switch to
  getNumberOfCacheFilesNeeded returning the number of cache files. This
  is to support use cases when driver needs more than one cache file for
  each type, or when driver does not need data cache.

- Instead of a separate saveToCache, pass cache info along with
  prepareModel_1_2 to save into cache as well as perform compilation.
  This is to avoid a potential additional copy of cache files.

Bug: 123780248
Test: VtsHalNeuralnetworksV1_xTargetTest with 1.2 sample driver
Test: VtsHalNeuralnetworksV1_xTargetTest with a test driver that can
      read and write cache entries
Change-Id: I921b7b8ccc3c66af19f6589f7213c6870d6f07bf
Merged-In: I921b7b8ccc3c66af19f6589f7213c6870d6f07bf
(cherry picked from commit b61ba1ed0b)
2019-03-22 13:10:54 -07:00
Viet Dang
ed5c004915 BidirectionalSequenceLSTM op: Adds layer norm support.
Also updates documentation for this op and UnidirectionalSequenceLSTM
op.

Bug: 123644584

Test: in ag/6758764

Change-Id: I72d029fef6d890eb1771c21814b028b09af280c7
Merged-In: I72d029fef6d890eb1771c21814b028b09af280c7
(cherry picked from commit f404a1e894)
2019-03-22 13:10:17 -07:00
Paul McLean
8c394f0fb1 API changes in MicrophoneDirection
Bug: 128523813
Test: build, flash, testbed app.
Change-Id: I1bcc9bb667224cebb401d9506853d5c650e7d68d
2019-03-22 11:58:07 -06:00
David Gross
2d47c80c8e Add @V1_2::Capabilities to support all non extension operand types.
Performance information in Capabilities is used by the runtime when
it selects the appropriate processor to distribute work to.  Prior to
this CL, Capabilities can only distinguish between float and non-float
data types -- so, for example, float16 and float32 performance is
considered to be the same, and performance for all non-float data types is
considered to be the same.

Bug: 124041010

Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_2TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.2::IDevice/sample-all

Change-Id: I83fb5920c1c75afbd7750d793a0b8f3e72a0552c
Merged-In: I83fb5920c1c75afbd7750d793a0b8f3e72a0552c
(cherry picked from commit 632b4bd9b0)
2019-03-22 10:43:47 -07:00
Xusong Wang
c1ebcb1f94 Merge "Add @V1_2::Capabilities to support all non extension operand types." 2019-03-22 15:40:11 +00:00
Ahmed ElArabawy
24b937ec80 Merge "Wifi: Update the Latency mode API documentation" 2019-03-22 07:24:50 +00:00
TreeHugger Robot
8ee0a26fdc Merge "Adjust mock thermal HAL 2.0 mock data" 2019-03-22 04:34:05 +00:00
TreeHugger Robot
aa4b98a8b1 Merge "Add new TEXTURE_TICK constant." 2019-03-22 04:31:16 +00:00
David Gross
632b4bd9b0 Add @V1_2::Capabilities to support all non extension operand types.
Performance information in Capabilities is used by the runtime when
it selects the appropriate processor to distribute work to.  Prior to
this CL, Capabilities can only distinguish between float and non-float
data types -- so, for example, float16 and float32 performance is
considered to be the same, and performance for all non-float data types is
considered to be the same.

Bug: 124041010

Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_2TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.2::IDevice/sample-all

Change-Id: I83fb5920c1c75afbd7750d793a0b8f3e72a0552c
2019-03-21 19:37:36 -07:00
Xusong Wang
ad439a0424 Merge "Fix caching interface according to vendor feedback." 2019-03-22 02:31:24 +00:00
Ahmed ElArabawy
58d1b2a036 Wifi: Update the Latency mode API documentation
This commit updates the documentation for the HAL API setLatencyMode().
It also updates the current.txt with the IWifiChip new hash.

Bug: 124459516
Test: None
Change-Id: I018e0237807aab70f7587d5fd7517d64352140f7
2019-03-21 18:58:32 -07:00
Michael Wright
a4c94fd128 Add new TEXTURE_TICK constant.
Unlike TICK, this is specifically meant to be called repeatedly in
reaction to small movements in order to replicate a specific texture.

Bug: 111461797
Test: VTS
Change-Id: If21687b5fed5f578a638017abc9ce479a122612d
2019-03-22 01:21:33 +00:00
Eric Laurent
9b3504c317 Merge "audio HAL: restore HOTWORD audio source" 2019-03-21 23:55:00 +00:00
Wei Wang
aae73cd258 Adjust mock thermal HAL 2.0 mock data
Bug: 127269185
Test: Build
Change-Id: I7a8b83a893a51dcc1028f3f62c54877a446e1b71
2019-03-21 15:22:43 -07:00
Xusong Wang
b61ba1ed0b Fix caching interface according to vendor feedback.
- Instead of isCachingSupport returning a single boolean, switch to
  getNumberOfCacheFilesNeeded returning the number of cache files. This
  is to support use cases when driver needs more than one cache file for
  each type, or when driver does not need data cache.

- Instead of a separate saveToCache, pass cache info along with
  prepareModel_1_2 to save into cache as well as perform compilation.
  This is to avoid a potential additional copy of cache files.

Bug: 123780248
Test: VtsHalNeuralnetworksV1_xTargetTest with 1.2 sample driver
Test: VtsHalNeuralnetworksV1_xTargetTest with a test driver that can
      read and write cache entries
Change-Id: I921b7b8ccc3c66af19f6589f7213c6870d6f07bf
2019-03-21 14:17:08 -07:00
Anil Admal
bfc69b8b96 Merge "Revert "Revert "Update GNSS Batching to use new GnssLocation with elapsed realtime (HAL)""" 2019-03-21 20:36:48 +00:00
TreeHugger Robot
b6ab74810a Merge "BidirectionalSequenceLSTM op: Adds layer norm support." 2019-03-21 19:17:49 +00:00
Anil Admal
704bc613e0 Revert "Revert "Update GNSS Batching to use new GnssLocation with elapsed realtime (HAL)""
This reverts commit b3721a68f2.

Reason for revert: 
It appears that the build includes ag/6721678 but not ag/6762021 even though they both were submitted together. Hence the build errors.

Change-Id: I4e58b29239d291ae3621b90e4507de8eb8838298
2019-03-21 18:45:30 +00:00
Viet Dang
f404a1e894 BidirectionalSequenceLSTM op: Adds layer norm support.
Also updates documentation for this op and UnidirectionalSequenceLSTM
op.

Bug: 123644584

Test: in ag/6758764

Change-Id: I72d029fef6d890eb1771c21814b028b09af280c7
2019-03-21 18:23:30 +00:00
Donghui Han
f11a86fd9d Merge "Revert "Update GNSS Batching to use new GnssLocation with elapsed realtime (HAL)"" 2019-03-21 17:45:10 +00:00
Donghui Han
b3721a68f2 Revert "Update GNSS Batching to use new GnssLocation with elapsed realtime (HAL)"
This reverts commit 992cdabf3a.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I0215f172f2d37654937ca72522e110a33c2f63c7
2019-03-21 17:42:42 +00:00
Anil Admal
d51789aef9 Merge "Update GNSS Batching to use new GnssLocation with elapsed realtime (HAL)" 2019-03-21 16:40:12 +00:00
Lev Proleev
0b074a9ba5 Update scale restrictions in NN API ops docs am: c8b3d162c2 am: 28c60ff868
am: 1c94eb7c5d

Change-Id: Ie6e9cbe78a4182dc23d8916dcd220c5c51064b0a
2019-03-21 07:11:00 -07:00
Lev Proleev
1c94eb7c5d Update scale restrictions in NN API ops docs am: c8b3d162c2
am: 28c60ff868

Change-Id: I51e1bc73407042c9ca0e3ddc1b32762371ce973a
2019-03-21 07:06:06 -07:00
Lev Proleev
28c60ff868 Update scale restrictions in NN API ops docs
am: c8b3d162c2

Change-Id: I177700ef60e2966e62d9b4704a2483396ddd6ecd
2019-03-21 07:00:54 -07:00
Lev Proleev
c8b3d162c2 Update scale restrictions in NN API ops docs
NN API relaxed scale restrictions to improve compatibility with TF Lite.

Updated ops:
- CONV_2D
- DEPTHWISE_CONV_2D
- TRANSPOSE_CONV_2D
- GROUPED_CONV_2D
- FULLY_CONNECTED

Test: mma
Bug: 127427474
Change-Id: I9dabd27b21679b99d638c364464d815e1c199787
2019-03-21 10:26:26 +00:00
Eric Laurent
872ace84c6 audio HAL: restore HOTWORD audio source
HOTWORD audio source was removed from HAL V4.0 by mistake.

Bug: 129001649
Test: make
Change-Id: I664eb6ca2a6c30bc6f48a752cb7300aac6c4294b
2019-03-20 15:58:38 -07:00
Xusong Wang
562a07a6cd [automerger skipped] Fix condition in mutateOperationOperandTypeSkip for conv ops. am: f80e3e7826 am: 47841b4de8
am: 207844312a -s ours
am skip reason: change_id I8925dfd18072ae5579657e8aa13128e7d9f58324 with SHA1 8804423ca1 is in history

Change-Id: I5ef220ea45322c3763418ec3431b7cedd993a9ab
2019-03-20 15:16:48 -07:00
Xusong Wang
46d6d34587 [automerger skipped] Skip OUTPUT_INSUFFICIENT_SIZE test for zero-sized output. am: 0237edd144 am: 384fcd1eb2
am: 43e4a63ec3 -s ours
am skip reason: change_id I04afd962ed45eac16aacfa9664ad80ba0d4f5855 with SHA1 d293315d93 is in history

Change-Id: Ibd6152942f2b391bfd872136be5413140f946f78
2019-03-20 15:16:27 -07:00
Xusong Wang
207844312a Fix condition in mutateOperationOperandTypeSkip for conv ops. am: f80e3e7826
am: 47841b4de8

Change-Id: I6c567bc7d4513480bb4581af9c5e48d7065de42c
2019-03-20 15:11:55 -07:00
Xusong Wang
43e4a63ec3 Skip OUTPUT_INSUFFICIENT_SIZE test for zero-sized output. am: 0237edd144
am: 384fcd1eb2

Change-Id: I46925696191753150085968f26b749fe720cd86c
2019-03-20 15:11:31 -07:00