Commit graph

14681 commits

Author SHA1 Message Date
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
Kai Wang
ba464daf31 Merge "Add VHAL params for fuel economy and units" 2019-03-20 18:19:54 +00:00
Allie Abad
caee9505e5 Merge "Initial change to add mock DAB stations (hardcoded for now)." 2019-03-20 17:03:17 +00:00
Janis Danisevskis
fc020e8bbe Merge "Keymaster support: Verbose vendor errors" 2019-03-20 16:15:09 +00:00
Janis Danisevskis
c7a8b863cd Keymaster support: Verbose vendor errors
Added function for verbosely logging Keymaster vendor errors.

Bug: 123562864
Test: atest android.keystore.cts
Change-Id: Ida093941d3b76b3d2e953439229081345909c16b
2019-03-20 16:13:53 +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
Kai
8675df05d7 Add VHAL params for fuel economy and units
Add Units: US_GALLON and IMPERIAL_GALLON
Add property: FUEL_CONSUMPTION_UNITES_DISTANCE_OVER_VOLUME

Bug: 127734378
Test: make and flash
Change-Id: Id11501e6dd6ea43fdbda29cccc10ec954e5c3cc4
2019-03-19 12:08:16 -07: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
Allie
f62374d024 Initial change to add mock DAB stations (hardcoded for now).
Test: VtsHalBroadcastradioV2_0TargetTest

Change-Id: Ice8923490728402ed945e8cc0891fd8b2c5bf9dd
2019-03-18 15:08:04 -07:00
TreeHugger Robot
469b3ac3d4 Merge "Camera: Add recommended low latency use case id" 2019-03-18 22:02:53 +00:00
TreeHugger Robot
9cc43c58a4 Merge "Camera: cleanup external camera HAL fence FD logic" 2019-03-15 18:17:50 +00:00
Xusong Wang
cd83160e6c Merge "Fix condition in mutateOperationOperandTypeSkip for conv ops." 2019-03-15 03:59:24 +00:00
TreeHugger Robot
2781b3675e Merge "wifi - Add wlan driver/fw version when device boot up" 2019-03-15 02:28:07 +00:00
TreeHugger Robot
f3fd496636 Merge "Change CodeType from enum to string (HAL)" 2019-03-15 02:07:12 +00:00
TreeHugger Robot
cccae8396b Merge "Y16 format enablement for external provider" 2019-03-15 01:23:16 +00:00
Steven Moreland
7883157ffd [automerger skipped] Remove import comment on camera metadata HAL. am: 41be3682a3 am: 23b126f4d1
am: 21492d8e1d -s ours
am skip reason: change_id I7802d12c34b33be192c83fc46ffed5a6a7385a0a with SHA1 f8230e060c is in history

Change-Id: I5ea6d0911714aa5ab7df0ac7b7c617a7e90e3fad
2019-03-14 17:53:08 -07:00
Steven Moreland
21492d8e1d Remove import comment on camera metadata HAL. am: 41be3682a3
am: 23b126f4d1

Change-Id: I95cd9ddeb9cd135de3cafef10fd4c04642c19936
2019-03-14 17:49:03 -07:00
Steven Moreland
23b126f4d1 Remove import comment on camera metadata HAL.
am: 41be3682a3

Change-Id: I2d42b5fb5f40c1baa8c682ed8279c0b53b8bbe77
2019-03-14 17:44:05 -07: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
Yin-Chia Yeh
965d9dd821 Camera: cleanup external camera HAL fence FD logic
Treat all non-negative integers as valid FD.

Test: webcam smoke test
Bug: N/A
Change-Id: I5fd52c0d195d2d4b63d70d66f10bd2a3ea99985c
2019-03-14 14:21:01 -07:00
Emil Jahshan
eed0040e21 Y16 format enablement for external provider
added Y16 (depth) support for the external provider.
refactored initOutputCharsKeys to support both depth and color metadata according to the connected camera.
the VTS changes will be pushed to pie-vts-dev

Test: tested on intel depth camera D415 manually in addition to the VTS tests.

Change-Id: I358686e7c4330bb180dec4a9cce3bc1cf5475260
Signed-off-by: Emil Jahshan <emil.jahshan@intel.com>
2019-03-14 14:06:17 -07:00
Steven Moreland
785f27e892 Merge "Remove import comment on camera metadata HAL." 2019-03-14 20:42:37 +00:00
Eino-Ville Talvala
ee2fb713b7 Merge "Camera: Centralize OWNERS" 2019-03-14 17:13:47 +00:00
chenpaul
f5eca2949b wifi - Add wlan driver/fw version when device boot up
Bug: 127715974
Test: Property with wlan driver/fw version when device boot up
Change-Id: Idf1215ceb2c34502ed5eac6c8900350e511732fc
2019-03-14 12:33:29 +00:00
Xusong Wang
8804423ca1 Fix condition in mutateOperationOperandTypeSkip for conv ops.
The filter tensor is not always operand 1 if there are multiple
operations in the model.

Test: 1.2 VTS tests with sample driver
Change-Id: I8925dfd18072ae5579657e8aa13128e7d9f58324
2019-03-13 16:27:05 -07:00
Eino-Ville Talvala
d1ce4e664a Camera: Centralize OWNERS
Test: Builds
Change-Id: I9b8d1675566db44b959c633c25ceaf61a6dc08db
2019-03-13 15:15:45 -07:00
sqian
16e12d10c6 Merge "Sleep one second after connect." into pie-vts-dev am: e1704f3fd6 am: e3c3d56907
am: ed62130b14

Change-Id: Ib08c6a74d398987440408fd7db7e46f59295624e
2019-03-13 12:32:58 -07: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
Xusong Wang
37107361a4 Merge "Skip OUTPUT_INSUFFICIENT_SIZE test for zero-sized output." 2019-03-13 19:29:04 +00:00
sqian
ed62130b14 Merge "Sleep one second after connect." into pie-vts-dev am: e1704f3fd6
am: e3c3d56907

Change-Id: Ic8322a888f04dfa29bca109f5dc43f6978021da5
2019-03-13 10:02:48 -07:00
sqian
e3c3d56907 Merge "Sleep one second after connect." into pie-vts-dev
am: e1704f3fd6

Change-Id: I426c3cc7a90e8c40bbf99e0f2104ca9431bb2423
2019-03-13 09:58:51 -07:00
Treehugger Robot
e1704f3fd6 Merge "Sleep one second after connect." into pie-vts-dev 2019-03-13 16:53:23 +00: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
Yin-Chia Yeh
c2707ebcc7 resolve merge conflicts of 00236ffa71 to master
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I07e452ffd8dbe4492489d47459eb3662c76b78dd
2019-03-12 15:32:31 -07:00
Miao Wang
e9100c8b88 Fix the documentation about paddings for SPACE_TO_BATCH_ND am: 9c9fea329e
am: f29553e3e1

Change-Id: I599a87bc9a6b9f5e33c46d29b10b97da2c9abfa9
2019-03-12 15:21:50 -07:00
Miao Wang
f29553e3e1 Fix the documentation about paddings for SPACE_TO_BATCH_ND
am: 9c9fea329e

Change-Id: I03557411882f45b0151291cfcf010f7000d21278
2019-03-12 15:18:37 -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
Emil Jahshan
00236ffa71 Merge "VTS tests to work with depth Y16" into pie-vts-dev am: 0e802961e2
am: cbeda28395

Change-Id: Iac2b34c3ede77f1919ddce045a92f70991ae26e9
2019-03-12 14:43:32 -07:00
Xusong Wang
d293315d93 Skip OUTPUT_INSUFFICIENT_SIZE test for zero-sized output.
Bug: 126737477
Test: 1.2 VTS with sample driver
Change-Id: I04afd962ed45eac16aacfa9664ad80ba0d4f5855
2019-03-12 14:42:01 -07:00
Emil Jahshan
cbeda28395 Merge "VTS tests to work with depth Y16" into pie-vts-dev
am: 0e802961e2

Change-Id: I0a42e16b82c60c0c36e1809b9839b73226b22660
2019-03-12 14:39:33 -07:00
Treehugger Robot
0e802961e2 Merge "VTS tests to work with depth Y16" into pie-vts-dev 2019-03-12 21:24:59 +00:00