Commit graph

149 commits

Author SHA1 Message Date
Miao Wang
a82d39102a Fix the spec for TENSOR_QUANT8_ASYMM to match our validation.
- Scale of 0.0 is invalid for quantized tensor.

Bug: 77236592
Test: mma
Change-Id: I3a53d6303d8c964d451e17a3b1671de82d0ff335
2018-04-09 18:31:47 +00:00
TreeHugger Robot
eac7714719 Merge changes from topic "nfc1.1" into pi-dev
* changes:
  Changes in current.txt as per NFC 1.1 changes
  Add defaultSysCodePowerState in types.hal in NFC 1.1
2018-04-03 20:40:46 +00:00
TreeHugger Robot
1058b982e9 Merge "Update VHAL types.hal" into pi-dev 2018-04-03 17:52:05 +00:00
Steve Paik
28b9f8be0b Update VHAL types.hal
Revised types.hal:
  - Add documentation to everything
  - Remove radio property
  - Update Power Manager properties
  - Cleanup formatting

Bug: 77301298
Test: It compiles
Change-Id: I05a1b3269092c05e7f56c57166d2aebe420d7f6a
2018-04-02 22:45:20 -07:00
Peiyong Lin
584ee3b94a Merge "[Graphics] Update CommandWriter APIs to common::V1_1::* enum." into pi-dev 2018-04-03 04:28:28 +00:00
Ruchi Kandoi
b0cd96080f Changes in current.txt as per NFC 1.1 changes
Test: compiles without errors
Bug: 77496460
Change-Id: Ic0d45b64ac6a06cfa1405842464e69ebdebfe1ca
2018-04-02 17:53:51 -07:00
Peiyong Lin
a2acfa2219 [Graphics] Update CommandWriter APIs to common::V1_1::* enum.
Previously we introduced Dataspace V1.1 and PixelFormat V1.1, thus APIs
accepting Dataspace should also be updated to accept V1_1::Dataspace and
V1_1::PixelFormat.

BUG: 77156734
Test: adb shell /data/nativetest/VtsHalGraphicsComposerV2_2TargetTest/VtsHalGraphicsComposerV2_2TargetTest
Change-Id: I00d00749f2895b727a18a28903256128a33e8b97
2018-04-02 15:56:45 -07:00
TreeHugger Robot
5a322f7e64 Merge "Update doc in Gnss Hal v1.1" into pi-dev 2018-04-02 22:50:28 +00:00
Yu-Han Yang
5d21ab2cc1 Update doc in Gnss Hal v1.1
Bug: 74949950
Fixes: 74949950
Test: N/A
Change-Id: I863445417d785c0b346ec96383adfd2366dbd71b
2018-04-02 14:28:33 -07:00
Chia-I Wu
6c8257feca graphics: add RenderIntent and better HDR support
This adds

  ColorMode::BT2020
  ColorMode::BT2100_PQ
  ColorMode::BT2100_HLG
  Dataspace::BT2020_HLG
  Dataspace::BT2020_ITU_HLG
  RenderIntent::COLORIMETRIC
  RenderIntent::ENHANCE
  RenderIntent::TONE_MAP_COLORIMETRIC
  RenderIntent::TONE_MAP_ENHANCE

and fixes per-frame metadata to be per-layer.  It also clarifies how
the composer should treat certain dataspaces and makes the
corresponding composer changes.

Bug: 73824924
Bug: 32148660
Test: manual
Change-Id: I5d12f50190522103c2ac97ee8dc2d5f6a2dabffe
2018-04-02 13:04:33 -07:00
Tomasz Wasilczyk
bdf10416ee Merge "Clear out ambiguity in broadcastradio@2.0 comments." into pi-dev 2018-03-31 02:05:51 +00:00
TreeHugger Robot
432a5c0570 Merge "Update RegState for new CellIdentity types" into pi-dev 2018-03-31 01:26:30 +00:00
TreeHugger Robot
5727901a3a Merge "SetMacAddress in Vendor HAL" into pi-dev 2018-03-30 23:51:42 +00:00
Tomasz Wasilczyk
674696f92a Clear out ambiguity in broadcastradio@2.0 comments.
Bug: 76798863
Test: it builds
Change-Id: Icd13a187d3a002e6d1d0af8d360de31a75949b69
2018-03-30 16:01:22 -07:00
Ram Periathiruvadi
899d09c3ff Merge "Deprecate DRIVING_STATUS vehicle property." into pi-dev 2018-03-30 20:37:50 +00:00
Brian Young
d83bad7d89 Merge "Add "Unlocked device required" key API" into pi-dev 2018-03-30 14:21:20 +00:00
Ram Periathiruvadi
b4ec3dd5cf Deprecate DRIVING_STATUS vehicle property.
DRIVING_STATUS is not required from VHAL.  It will be derived from other
car sensor vehicle properties in higher layers.

Bug: 71793754
Test: compile and boot.
Change-Id: Ia9f9aeb0e7ff0f16c66422ecb4dc9ad9c152a844
2018-03-29 15:43:32 -07:00
TreeHugger Robot
fcf9546ffe Merge "Fix the NNAPI HAL documentation about ADD and MUL" into pi-dev 2018-03-29 22:41:15 +00:00
Eric Schwarzenbach
74befb69b9 Update RegState for new CellIdentity types
Bug: 74826109
Test: make, make vts
Change-Id: I6350e5da5bc064e665e54d161ee589c3eadf901a
2018-03-29 12:37:42 -07:00
TreeHugger Robot
7b28d5f97a Merge "Camera: Add Monochrome camera capability" into pi-dev 2018-03-28 21:01:31 +00:00
Miao Wang
f62984027c Fix the NNAPI HAL documentation about ADD and MUL
- ADD and MUL supports QUANT8_ASYMM since OMR1. It was a bug missing
  them in the HAL documentation.
  - Added the updated hash to current.txt for this ABI preserving
  change.

Bug: 75459529
Test: mm
Change-Id: I492a7431c0dbb3dc5967c586d080eb134e380bf2
2018-03-28 11:13:48 -07:00
Brian Young
3f48322658 Add "Unlocked device required" key API
Add a keymaster parameter for keys that should be inaccessible when
the device screen is locked. "Locked" here is a state where the device
can be used or accessed without any further trust factor such as a
PIN, password, fingerprint, or trusted face or voice.

This parameter is added to the Java keystore interface for key
creation and import, as well as enums specified by and for the native
keystore process.

Test: CTS tests in I8a5affd1eaed176756175158e3057e44934fffed

Bug: 67752510

Merged-In: Id19d19b19532ac8d4c52aad46a954faa4515289d
Change-Id: Id19d19b19532ac8d4c52aad46a954faa4515289d
(cherry picked from commit 1840be6d35)
2018-03-28 08:38:56 -07:00
Ahmed ElArabawy
ef8890b691 Merge changes from topic "propagate_eap_failure" into pi-dev
* changes:
  WiFi: Add vts tests for ISupplicantStaIface 1.1
  WiFi: supplicant HAL: Modify onEapFailure Callback
2018-03-28 00:04:57 +00:00
Jong Wook Kim
b9f0ff9fa6 SetMacAddress in Vendor HAL
Add a Wifi HAL interface to set MAC address.

The default implementation is to bring the interface down, change the
MAC address, and then bring the interface back up.

Bug: 74347653
Test: vts, manual testing
Change-Id: Ic740d94ec2fcb37e6743d0f3e967f3f4b6afb57d
2018-03-27 15:37:30 -07:00
Shuzhen Wang
cf41ad4d69 Camera: Add Monochrome camera capability
Test: Camera CTS on a monochrome camera device
Bug: 74597035
Bug: 64691172
Change-Id: I720b29c794127ca01e658a2d9d69e3cb61adcd14
2018-03-27 13:01:30 -07:00
TreeHugger Robot
c7d15e9f51 Merge "Camera2: Add distortion correction support" into pi-dev 2018-03-27 19:26:45 +00:00
Ahmed ElArabawy
8b837b313b WiFi: supplicant HAL: Modify onEapFailure Callback
This commit modifies the onEapFailure call back to include the error code.
This enables the framework to react on the different errors reported by
the EAP methods.

Bug: 64612561
Test: Manual

Change-Id: I793b61b898df63f07dc2e40798a6d6761d8e259d
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2018-03-27 11:12:42 -07:00
Steve Paik
25aa123f7d Fix AP_POWER_BOOTUP_REASON to be static
Bug: 69284418
Test: VTS passes
Change-Id: Ia4816b4d9329c8bd02bf325aed6cfe5bdda30c70
2018-03-23 14:26:35 -07:00
Wyatt Riley
e5c92bb789 Comment updated for privacy clarity
Clarifying model name does not allow device specific
indentification.

Bug: 73951626
Test: Build only (comment only)
Change-Id: Ib10176ec4db935fe87330b39977b7ab6b281808f
2018-03-21 17:29:33 -07:00
Eino-Ville Talvala
89ff1df0b4 Merge "Camera2: Deprecate LENS_RADIAL_DISTORTION, add LENS_DISTORTION" into pi-dev 2018-03-20 21:58:15 +00:00
TreeHugger Robot
ce77a51349 Merge "Add 5.1.2, 5.1.4, 7.1.2, 7.1.4 output channel masks" into pi-dev 2018-03-20 20:03:33 +00:00
Dean Wheatley
ce8b2734f7 Add 5.1.2, 5.1.4, 7.1.2, 7.1.4 output channel masks
They were supposed to be added by the change with id
I2f488462614114e4c82149460b030585981ae15e
but actually were not.

Also, rename OUT_TOP_CENTER_... to OUT_TOP_SIDE_...
according to Dean's suggestion.

Bug: 38184704
Bug: 63901775
Test: make
Change-Id: Ib263b06e4f3aa84525c2255f7a52f9bb39dbebcd
2018-03-19 09:38:00 -07:00
TreeHugger Robot
4f9ad09267 Merge "Camera: Don't limit the camera provider types" into pi-dev 2018-03-19 11:22:19 +00:00
Eino-Ville Talvala
7b5fd70ca9 Camera2: Add distortion correction support
This allows camera devices to correct geometric distortion in their
optics, when requested by the application.

The correction only applies to processed (YUV, JPEG, etc) outputs,
not RAW buffers, or the result metadata.

Test: New CTS test passes
Bug: 74434422
Change-Id: I3b4807b08399e9ab18f4b20e3029fc16be662f5b
2018-03-18 18:52:23 -07:00
Eino-Ville Talvala
9171b61588 Camera2: Deprecate LENS_RADIAL_DISTORTION, add LENS_DISTORTION
LENS_RADIAL_DISTORTION is inconsistently defined: in some places, it
is documented to operate on the range [-1...1], and in others, on a
range dependent on the camera lens's intrinsic calibration and focal
length.

Since fixing just the definition will not fix any existing devices
that define this value, deprecate the old key and add a new consistent
one to make sure applications only reference the consistent
definition.

Test: Adjusted camera CTS passes
Bug: 74641761
Change-Id: Icefa3150a5804de264f9e0e98982d038b4dcdb70
2018-03-16 16:17:49 -07:00
Emilian Peev
36ad119251 Camera: Don't limit the camera provider types
Camera provider types should not be limited to a particular set
of pre-defined values. All providers will be treated equally
by camera framework regardless of their specific type.

Bug: 73738052
Test: run vts --skip-all-system-status-check --skip-preconditions
--primary-abi-only --module VtsHalCameraProviderV2_4Target -l INFO
Change-Id: I379c015d9e2fc4f68a7ad3ae7cd92b9d230dea33
2018-03-16 09:32:13 +00:00
Steven Moreland
c7f45fa3f7 Freeze HALs for Android P
Bug: 68112778
Test: none
Change-Id: I96fa3748e24230abaf7fb02429c9ceb78ff4d88d
2018-03-14 16:12:32 -07:00
Jordan Liu
6f8e4d5593 Fix wcdma signal strength comments
As per the spec, the range should be 0-31, 99, and the section
should be 8.5.

Test: builds - No change to behavior
Bug: 71329173
Change-Id: Ib1ea54b19a7bcb33a0235b3ddb3fa09c4872890f
2018-03-05 20:30:18 +00:00
Yin-Chia Yeh
cd17100fe6 Camera: clarify external camera device ID requirements
Bug: 64874137
Change-Id: Ibf45a0077952d2ec42cdef80659a019b6d24051f
2018-02-21 15:52:02 -08:00
Nathan Harold
6aae45015f Fix LTE Timing Advance Doc String
The LTE TA Doc string has been fixed to reflect
the actual reported value of the field. The spec
reference was previously incorrect, which would
have indicated a range of 0-63 as the incremental
timing advance; however the field actually reports
the absolute timing advance, which has a much
larger range of 0-1282. In addition, this CL
updates the comment to remove a link to a defunct
website and explicitly states the range extracted
from the updated spec reference. This does not
impact the current behavior of the API as the the
previously incorrect docstring was nonsensical.

Bug: 66751464
Test: compilation (doc only change)
Change-Id: I2fc90c08ed6dd14548b10c638bf805b37d5c34e8
2018-02-16 17:32:47 +00:00
Etan Cohen
809b5df89d [AWARE] Update HAL 1.0 documentation for Match Filter
Update the documentation for Service Discovery Indication /
Match Filter to clarify that for Active Subscribe it is the
filter specified on the Subscribe itself (as opposed to on the
matching Publish).

No behavior change - just documentation of existing (1.0) functionality.

Bug: 71359797
Test: builds
Change-Id: Iae4c374b5e0b75b1af6587bfd7b6a21c99ecc7f4
2018-01-18 19:51:10 +00:00
Scott Randolph
cec59e9252 Unfreeze automotive HALs
This is part two to cover the entries that were not present in AOSP

Test:  Build mojave
Change-Id: I9266d065e111cc82be3a24cf4e36de6c0622632e
2017-12-19 17:43:19 -08:00
TreeHugger Robot
d50afbdb4a Merge "Comments for CTS Galileo Sub Message ID check" 2017-12-16 03:42:58 +00:00
Scott Randolph
5bbb9d6b09 Merge "Unfreeze automotive HALs" am: 738c58dd50 am: 8b3da6948e
am: fdf4b492aa

Change-Id: Ie811fc85cce2be54dd6282fe8b27abb8268a8471
2017-12-16 03:39:59 +00:00
Scott Randolph
fdf4b492aa Merge "Unfreeze automotive HALs" am: 738c58dd50
am: 8b3da6948e

Change-Id: I7bcaa3fe306afa0fec6bb3a6a3e6517e4d66e1b8
2017-12-16 03:36:58 +00:00
tccyp
85f8a5d011 Comments for CTS Galileo Sub Message ID check
The Galileo ICD specifies the value of 0 for the Spare Word.
SV 18 is transmitting in test mode and its payload includes the Spare
Words.
The real fix is in the Cts location test.

Test: make cts -j 32
Bug: b/69428649
Change-Id: I7bf83a8c2cc5eed7fc325b0628238192aaf4def1
2017-12-15 14:42:52 -08:00
Scott Randolph
e3fb7e7acb Unfreeze automotive HALs
Test:  Build development platform
Change-Id: I7b5708163680526cb227cbf19b0b4a37b96736ba
2017-12-14 16:05:53 -08:00
Wyatt Riley
0093415317 Clarifications to IGnss*.hal comments
Clarified PRN vs. Satellite ID
Corrected Measurement vs Clock typo

Test: build check, including hash verification. Comments only.
Change-Id: I1bef83800dbc796b1c8df43790f4239c81858d56
2017-12-14 18:05:31 +00:00
Eino-Ville Talvala
cc08739452 camera.metadata@3.2: Auto-generate metadata enums
Replace hand-written types.hal with one autogenerated from the
metadata definitions, like the SDK, NDK, and camera_metadata C library
definitions are.

No changes to actual definitions; only formatting changes and basic
documentation of each entry are added.

Add the new hash of camera.metadata@3.2::types to current.txt.

Bug: 33262893
Test: Manual inspection of new vs. old types.hal, builds, hidl-doc output
   is acceptable
Change-Id: Idd8c228359e45de3609bc16ac19e878b0ed0a557
2017-12-05 12:27:52 -08:00
sqian
2825f3471e Fix merge conflict CL for o-dr hashing am: 297522bd65
am: ecc213b124

Change-Id: I98670e70640eb449275fe0a8f6e285578e9365ce
2017-11-16 22:24:10 +00:00