Commit graph

363 commits

Author SHA1 Message Date
Ahmed ElArabawy
24b937ec80 Merge "Wifi: Update the Latency mode API documentation" 2019-03-22 07:24:50 +00:00
TreeHugger Robot
aa4b98a8b1 Merge "Add new TEXTURE_TICK constant." 2019-03-22 04:31:16 +00: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
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
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
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
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
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
Anil Admal
992cdabf3a Update GNSS Batching to use new GnssLocation with elapsed realtime (HAL)
The ElapsedRealTime field was added to the GnssLocation in
gnss@2.0 HAL to additionally report elapsed time since boot.
The IGnssBatchingCallback.hal@1.0 must be extended to use this
new version of GnssLocation so that the location reported in
gnssLocationBatchCb() method includes the ElapsedRealTime field.

Fixes: 128034260
Test: Tested the new GNSS Batching extension using default
      implementation, VTS test, and cuttlefish.
Change-Id: I326655130782a04fbe168d4582462a123edd9ac2
2019-03-20 14:21:54 -07:00
TreeHugger Robot
b3e29358cf Merge "Add IRNSS to GnssConstellationType (HAL)" 2019-03-20 19:18:22 +00:00
Yu-Han Yang
6999a0f547 Add IRNSS to GnssConstellationType (HAL)
Bug: 119270132
Test: atest VtsHalGnssV2_0TestTarget
Change-Id: I3a5da40412a1e5dbe9410573ae2bc263643c585c
2019-03-19 22:00:17 -07:00
TreeHugger Robot
6ce6ad3fc7 Merge "Use @2.0::IGraphicBufferProducer in media.c2" 2019-03-20 03:51:23 +00:00
Mikhail Naganov
f3283809e8 Merge "audio: Add APTX_TWSP audio format" 2019-03-19 23:18:03 +00:00
Anil Admal
996b0b19d0 Merge "Add new GNSS capabilities for year of hardware deprecation (HAL)" 2019-03-19 21:44:35 +00:00
Aniket Kumar Lata
aa5d491075 audio: Add APTX_TWSP audio format
Add APTX_TWSP audio format support.

Bug: 111812273
Bug: 128825638
Test: make
Change-Id: Id8ba35d8aeea3d0c02be6c63ed3d05b039b0bb4f
2019-03-19 10:39:56 -07:00
Pawin Vongmasa
d9dcc1752e Use @2.0::IGraphicBufferProducer in media.c2
Test: make cts -j123 && cts-tradefed run cts-dev -m \
CtsMediaTestCases --compatibility:module-arg \
CtsMediaTestCases:include-annotation:\
android.platform.test.annotations.RequiresDevice

Bug: 33350696
Bug: 112362730
Change-Id: I561b96b4a416a92649bd1de174d55c6317d9b40a
2019-03-19 07:48:15 -07:00
Pawin Vongmasa
d80b5bb7dd Accompany HardwareBuffer with generation number
attachBuffer() should take a generation number and requestBuffer()
should return a generation number because AHardwareBuffer does not carry
the generation number.

Test: make cts -j123 && cts-tradefed run cts-dev -m \
CtsMediaTestCases --compatibility:module-arg \
CtsMediaTestCases:include-annotation:\
android.platform.test.annotations.RequiresDevice

Bug: 127778192
Change-Id: I201f84cf66f0e19b794a05c5ba88066360a37d96
2019-03-19 06:39:49 -07:00
Anil Admal
86450fa579 Add new GNSS capabilities for year of hardware deprecation (HAL)
The following capabilities need to be added to the GNSS HAL interface
to enforce support through the CTS/VTS tests.

-Add low power mode capability.
-Add satellite blacklisting capability.
-Add measurement corrections capability and move capabilities in
 IGnssCallback.hal that are specific to measurement correctons
 to its own sub-HAL measurement_corrections@1.0.

Bug: 128028791
Bug: 127434062
Bug: 128309220
Test: Tested on cuttlefish using default implementation and VTS tests
Change-Id: I60dbd2ce3cce3cb871aa5f6b690ef881f8dc5705
2019-03-18 19:09:48 -07:00
TreeHugger Robot
469b3ac3d4 Merge "Camera: Add recommended low latency use case id" 2019-03-18 22:02:53 +00:00
TreeHugger Robot
f3fd496636 Merge "Change CodeType from enum to string (HAL)" 2019-03-15 02:07:12 +00:00
Kevin Chyn
f700b79bc5 Merge changes from topic "face-hidl"
* changes:
  Address HIDL review comments
  Add SENSOR_DIRTY constant
2019-03-14 21:53:31 +00:00
Steven Moreland
785f27e892 Merge "Remove import comment on camera metadata HAL." 2019-03-14 20:42:37 +00:00
Miao Wang
8e501a7d31 Fix the documentation about paddings for SPACE_TO_BATCH_ND am: 9c9fea329e am: f29553e3e1
am: e9100c8b88

Change-Id: Iec682b2ea2dcbc5435d6d6f0ad3894f36f5f0ed8
2019-03-13 12:32:27 -07:00
Steven Moreland
41be3682a3 Remove import comment on camera metadata HAL.
No good place in generated docs.

Bug: 124382459
Test: ./update-makefiles.sh
Change-Id: I7802d12c34b33be192c83fc46ffed5a6a7385a0a
Merged-In: I7802d12c34b33be192c83fc46ffed5a6a7385a0a
2019-03-13 02:34:29 +00:00
Steven Moreland
f8230e060c Remove import comment on camera metadata HAL.
No good place in generated docs.

Bug: 124382459
Test: ./update-makefiles.sh
Change-Id: I7802d12c34b33be192c83fc46ffed5a6a7385a0a
2019-03-12 19:34:15 -07:00
Emilian Peev
7549141c38 Camera: Add recommended low latency use case id
One extra recommended id must be present for low latency
snapshot use cases.

Bug: 128450197
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalCameraProviderV2_4Target -l INFO

Change-Id: I259fec5157f1190c485a373dcaa500d02c0389be
2019-03-12 18:10:31 -07:00
Miao Wang
9c9fea329e Fix the documentation about paddings for SPACE_TO_BATCH_ND
Bug: 123929388
Test: mm
Change-Id: I3acbfc7b1205774d9852ce8dd8c3144f250c793c
2019-03-12 15:08:08 -07:00
Michael Wright
ff96aa8d47 Merge "Moved brightness from Lights to SF." 2019-03-12 21:16:25 +00:00
Steven Moreland
705fe94a47 Merge "bufferqueue@1.0: remove comment in function def" am: 5418f17004 am: 1b7da8b6bb
am: 095414578e

Change-Id: Ib83e63c4e21071c020de29b38c7898ac1a0e5cb7
2019-03-12 13:55:19 -07:00
Yu-Han Yang
221a85e014 Change CodeType from enum to string (HAL)
Bug: 127464982
Test: atest VtsHalGnssV2_0TargetTest
Change-Id: Ia8635c3c071bcb03b75d17ac1ba36767dc7eda72
2019-03-12 12:12:17 -07:00
TreeHugger Robot
95d9b50f0d Merge "audio: Fix and enhance channel mask enums" 2019-03-12 18:26:43 +00:00
Kevin Chyn
6424d7ea26 Address HIDL review comments
Fixes: 127852175

Test: builds
Test: hidl-gen -L hash -r android.hardware:hardware/interfaces android.hardware.biometrics.face@1.0
      hash added to current.txt
Test: make -j56 VtsHalBiometricsFaceV1_0TargetTest

Change-Id: I4a8b6db5824a686ec742ed826ff26e721ff26dc8
2019-03-11 18:56:17 -07:00
Kevin Chyn
b936d1d684 Add SENSOR_DIRTY constant
Fixes: 127993599

Test: Test: hidl-gen -L hash -r android.hardware:hardware/interfaces android.hardware.biometrics.face@1.0
      add updated hash to current.txt
Test: Builds

Change-Id: I98a7953f3a99f263709a15f143a3ca5fd062b489
2019-03-11 11:21:14 -07:00
Steven Moreland
62355801ca bufferqueue@1.0: remove comment in function def
Bug: 124382459
Test: manual
Change-Id: Ia99990d6ba3d50d81eb58735212142ec88a74293
2019-03-09 01:00:01 +00:00
Mikhail Naganov
ce6f1cf448 audio: Fix and enhance channel mask enums
Add AUDIO_CHANNEL_INDEX_MASK_{9..24}

Fix channel order for AUDIO_CHANNEL_OUT_3POINT{0,1}POINT2

Bug: 126455009
Test: make
Change-Id: I36a89c9903ad1702c5c0bdb0632c3f3234bb75d7
2019-03-08 16:31:28 -08:00
Elliott Hughes
9e53c0ddd6 Fix "tranpose" typo. am: 7b303e1670 am: 1d58b00848
am: 988ff70cd8

Change-Id: Ic7c3fbe9a9b6afbb4182c479be8d41df942e3988
2019-03-08 16:22:11 -08:00
Slava Shklyaev
b45f700b34 Specify NNAPI extension name format am: 1d2cd43476 am: f6bdc6a983
am: 1d3588a789

Change-Id: Ib97cd492c51a3ce463f17fb3a14905d8c2092e57
2019-03-08 12:35:26 -08:00
Elliott Hughes
7b303e1670 Fix "tranpose" typo.
Test: N/A
Change-Id: I5c02f66b1fdf4ee77564809b5610ba53d93273af
2019-03-08 12:15:39 -08:00
Dan Gittik
3e83c4558a Moved brightness from Lights to SF.
Test: manual.
      Check that brightness works.
Fixes: 111435292

Change-Id: I3d19bc2fc4088bc9a956a5cf38c3b163fe35256f
2019-03-08 17:14:17 +00:00
Slava Shklyaev
1d2cd43476 Specify NNAPI extension name format
Fix: 125376611
Test: mma
Change-Id: I7d7fcb5d23b4c998c4cd6cd8c9b14ec932876a17
2019-03-08 11:19:40 +00:00
Michele Berionne
498c5d31e0 Merge "Fix documentation for carrier lock APIs in IRadio 1.4" am: caec5406ae am: 8987bebd33
am: a26bed9cc4

Change-Id: I5fa329ff4dee3e9fa57e650431f18613730e3d7b
2019-03-07 20:06:28 -08:00
TreeHugger Robot
c29e7400c0 Merge "Remove obsolete comments." 2019-03-08 02:05:32 +00:00
TreeHugger Robot
2dfd5ccb18 Merge "Camera: Make availablePhysicalRequestKeys ndk public" 2019-03-08 00:24:10 +00:00
Peiyong Lin
0a3c844398 Remove obsolete comments.
BUG: 127850729
Test: N/A
Change-Id: I6d45f30c129749a95050d3c046fbfe91d0a75f3e
2019-03-07 15:02:19 -08:00