Commit graph

945 commits

Author SHA1 Message Date
Chien-Yu Chen
5c6230ebf6 Camera: Update for torch callbacks
Clarify that HAL shouldn't send AVAILABLE_OFF in addition to
NOT_AVAILABLE when open() is called.

Update the comments to use the right torch status enums.

Bug: 21475390
Change-Id: If9adf4bd169048fc9760ef504d3a36414cfbb196
2015-06-03 13:59:39 -07:00
destradaa
f19ee6b70d Merge "Pack AGpsStatus data structures for 64-bit platforms. b/21471818" into mnc-dev 2015-06-01 21:13:10 +00:00
destradaa
6f8f5c5f40 Pack AGpsStatus data structures for 64-bit platforms.
b/21471818

The packing of AGpsStatus_v1 ensures that its size does not collide with
the size of AGpsStatus_v2.

Change-Id: Ic73a73070c29c0e819cb62667bc14333f448e856
2015-06-01 14:05:51 -07:00
Chien-Yu Chen
bbbcd516a3 Merge "Camera3: SHUTTER event for reprocessing" into mnc-dev 2015-06-01 17:25:43 +00:00
Chien-Yu Chen
73b49ebbf4 Camera3: SHUTTER event for reprocessing
Clarify that the SHUTTER event should be sent when HAL
start processing a reprocess request but the timestamp
should be the input image's start of exposure.

Bug: 21112186
Change-Id: I5bd32b749adc5e82e9a311ec4b123fd807a30d36
2015-06-01 10:21:16 -07:00
Dan Stoza
201c7d91b7 gralloc: Add foreign buffer usage flag
Adds GRALLOC_USAGE_FOREIGN_BUFFERS, which a consumer may set as a usage
flag if it intends to attach buffers that it has not detached from the
BufferQueue. It provides a hint to the producer (who may query the
consumer usage bits) that it may receive a buffer from another
BufferQueue, so that it can exit during initialization, hopefully with a
meaningful error message, if such buffers are not supported.

Also adds GRALLOC_USAGE_ALLOC_MASK, which is applied to usage bits
before calling alloc on the gralloc module, and prevents the module from
seeing GRALLOC_USAGE_FOREIGN_BUFFERS, since that usage flag is of no use
while allocating buffers.

Bug: 19801661
Change-Id: I17b927de94245f4df7cfd3f4483b544da3e9cd35
2015-05-29 19:52:34 +00:00
Zhijun He
21126b78e3 camera3: add camera3 stream configuration mode
This will be used for creating high speed capture session.

Bug: 21442271
Change-Id: I51feaec83de3d402decca7e4da79be85844536b4
2015-05-28 15:24:56 -07:00
Andres Morales
1cab2bf7e8 add request re-enroll to HAL API
devices may want to request an upgrade to a newer pasword
handle version

Change-Id: I34c731c81406e29961cff1fcccdefad02cff1237
2015-05-21 11:11:57 -07:00
Sasha Levitskiy
c32baff996 Merge "Fingerprint: Clean up documentaion for template delete." into mnc-dev 2015-05-16 17:47:00 +00:00
Sasha Levitskiy
0a544125ca Fingerprint: Clean up documentaion for template delete.
Change-Id: Ibe991d5f5e4bb77a859284a8f890a6bccc663448
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2015-05-15 15:46:47 -07:00
Andres Morales
d792aa6a88 Merge "[gatekeeper] document timeout requirements" into mnc-dev 2015-05-15 22:24:56 +00:00
Andres Morales
cca930dd7c [gatekeeper] document timeout requirements
GateKeeper may throttle the user, document the return
value of calls in this case.

No code changes.

Bug:21118563
Change-Id: Idd6c392d01c22627f828d86dd219a4a1d6e81439
2015-05-14 13:08:15 -07:00
Sasha Levitskiy
e0a2988b82 Fingerprint: Add enumerate function to FP HAL
Change-Id: I4a1da563a96a1e097ea56e0dced8c02820aa8485
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2015-05-12 16:35:15 -07:00
Andre Eisenbach
34ab95a369 Bluetooth native dumpsys logging support (1/5)
Bug: 18508263
Change-Id: Id7b69a6ed7d817a0f048cb8ebf0889c600171926
2015-05-12 15:56:10 +00:00
Shawn Willden
fb769fc312 Add KM_TAG_BOOTLOADER_ONLY.
Change-Id: Ia507a1378487640683985dbce2e76679261900d3
(cherry picked from commit 3eed99a54b)
2015-05-12 12:09:56 +00:00
Shawn Willden
9b31a49c36 Remove rescoping.
Rescoping was never a very good solution to the problem of supporting
multiple sets of authorizations for a given key material.  For M we're
removing it and in the future a better solution will be provided.

Change-Id: I6f7585274487bd66e4d90e89014af41e9aa30411
(cherry picked from commit 7f10ab99fc)
2015-05-12 11:29:27 +00:00
Sasha Levitskiy
7eb7235c33 Fingerprint: Add storage path to set_active_group()
Change-Id: Ic6e7ad21cd3a253a38a6291bf08517c7e441af2b
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2015-05-07 19:25:00 -07:00
Prerepa Viswanadham
f0254aa0a0 Merge commit '5122502' into master_merge 2015-05-01 10:57:25 -07:00
Shawn Willden
4bdd7cbd47 Add KM_ERROR_CALLER_NONCE_PROHIBITED error code.
Bug: 20127433
Change-Id: I32eab62459003c526d3cf9ef108be7b2fd709960
2015-04-29 22:33:35 -06:00
destradaa
8153488b70 Update documentation related to A-GPS modes.
MS-Assisted has only be supported for legacy reasons for a while now.
This change moves gps.h in a direction where MS-Based (on device
computation with AGPS/Supl support) is the preferred mode to compute
locations in the device.

Change-Id: Id34a84bae79be52a435b78d249fb5b86a5f6b090
2015-04-28 13:10:56 -07:00
Satya Calloji
51225020dc LE low power scan feature
LE low power extended scan feature header changes
based on Google spec v0.95

Bug: 20029342
Change-Id: Id1020a4da177d0bc421fdd123c5355a291cc0475
2015-04-17 14:27:17 -07:00
Sasha Levitskiy
468b567316 Fingerprint: Add an API to get authenticator id
Change-Id: If45ebc228425eaa43bf9abde934f8bb4e7d97e6c
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2015-04-16 21:52:28 +00:00
Tim Kilbourn
6fa82480ae Add input HAL methods for getting device properties.
A property map holds the collection of the properties for a given
device identifier. HAL modules allocate and release these property maps
to control the lifetime of the data. The host will typically open and
read the corresponding idc file on allocation, and release these
resources when it is freed.

Change-Id: Ia13ec7b7abf1a79eeed87dc744c174a37f1fb8a9
2015-04-16 13:21:39 -07:00
Eino-Ville Talvala
7771e6c521 Merge "Camera: Add HAL module init method." 2015-04-16 16:25:05 +00:00
Ashutosh Joshi
7779bc0038 Merge "Remove custome sensors from sensors.h" 2015-04-16 03:21:03 +00:00
Vinit Deshpande
edd5aa91b9 am 9a92a7b..9a92a7b from mirror-m-wireless-internal-release
9a92a7b L2CAP and SDP Search API for BT profiles (1/2)
2015-04-15 20:12:43 -07:00
Eino-Ville Talvala
aee4782839 Camera: Add HAL module init method.
For use by Camera HAL libraries to perform one-time initialization
steps after the library is loaded.

Bug: 20016050
Change-Id: Ia01ae0eafcadece9124ac2cfcc3b1c3939352843
2015-04-15 17:26:13 -07:00
Ashutosh Joshi
050f2e45a0 Remove custome sensors from sensors.h
Custom sensors should not be included in sensors.h

Change-Id: I553fbe3dd41eaaa70628184f5a0b9499699f17bc
2015-04-15 14:47:43 -07:00
Dan Stoza
6b46cc59ce am 7ff6445c: am 8fcb7ee2: Merge "HWC 1.5: Add per-layer damage region"
* commit '7ff6445c7ae2c1f66dda17f5a5ee5ba53f23d796':
  HWC 1.5: Add per-layer damage region
2015-04-15 21:42:46 +00:00
Dan Stoza
8fcb7ee243 Merge "HWC 1.5: Add per-layer damage region" 2015-04-15 20:35:49 +00:00
destradaa
33642b9c57 Merge "Complete updates to gps.h to enhance the definition of GPS Measurements interface. b/19938206" 2015-04-14 23:56:45 +00:00
destradaa
357e6222b7 Complete updates to gps.h to enhance the definition of GPS Measurements interface.
b/19938206

Change-Id: I9dc863e9333507d5603eee3951b0a2b7c8c2b299
2015-04-14 16:30:21 -07:00
Sasha Levitskiy
b8f401ab1c Merge "Fingerprint: Add auth token to enroll" 2015-04-14 22:52:52 +00:00
Sasha Levitskiy
6eced703e6 Fingerprint: Add auth token to enroll
Change-Id: Ied10a03213b8473b1a625229a75b7af6126d635a
2015-04-14 15:25:08 -07:00
Ashutosh Joshi
19f3fa8717 Merge "Sensors HAL changes" 2015-04-14 22:15:16 +00:00
Ashutosh Joshi
6507f5080b Sensors HAL changes
Adding HAL changes for the following
i) a method to place the HAL in a special mode.
     Expect to use this method for data-injection.
ii) a method to inject sensor data into the sensors subsystem.
iii) New sensor type for a SYNC event (google custom sensor).
iv)  New sensor type for a nudge gesture (google custom sensor).

Change-Id: Idf0479b6301c5363cf51938e23aabc790b69fa96
2015-04-14 15:11:49 -07:00
destradaa
00caa89ca3 Make updates gps.h to enhance the definition of GPS Measurements interface.
b/19938206

The changes have been worked out after working with two partners to implement the interface.
The need of the additional flag is required, given that each partner can only provide one type of
pseudorange rate (corrected vs uncorrected).

Change-Id: I2d3bdffe5c24f8df97b33111a6753cc7b0f2b3d9
2015-04-14 11:44:27 -07:00
Shawn Willden
50e1759db4 am 6c93927d: am 4827279c: Merge "Add KM_ORIGIN_UNKNOWN."
* commit '6c93927dd390abcf0e6254a38ef2c0f14fc1a51e':
  Add KM_ORIGIN_UNKNOWN.
2015-04-14 18:23:44 +00:00
David Christie
4b49035055 Add ability to flush FLP HAL batched locations buffer.
Currently GmsCore has to guess how many locations to retrieve
based on requested frequency and then demux the output looking
for timestamps (that aren't monotonically increasing).  This
capability gives GmsCore a more graceful solution.

Change-Id: If2d054c09efc98e33e357796bbfcd37c91b24ec8
2015-04-13 18:47:29 -07:00
David Christie
5cf80e5003 Add a status callback for FLP HAL batching.
-Allows GmsCore to know if location batching is
 unsuccessful so it can switch to a SW solution.

Change-Id: I5a01d44fdcf6daa07d6b40cf95a674e98179bf00
2015-04-13 17:59:39 -07:00
David Christie
97f76dca03 Merge "Add support for capability querying in the FLP HAL" 2015-04-14 00:03:21 +00:00
David Christie
6e4b504920 Add support for capability querying in the FLP HAL
Change-Id: I93ebdbdaf7dc0b2ddf1a7e7a089073db51cd15c3
2015-04-13 16:57:59 -07:00
Andres Morales
21cc483442 am 9e4985e8: am 845ffcea: Merge "hw_auth_token: make timestamp 64 bits"
* commit '9e4985e8cb40e6e53a01a1080c210c0c09be305f':
  hw_auth_token: make timestamp 64 bits
2015-04-13 18:52:27 +00:00
Shawn Willden
d359b04483 Add KM_ORIGIN_UNKNOWN.
This designates keys whose origin cannot be determined because the
keymaster implementation is old and did not record it.

Change-Id: I3c366d527ed211c59f6dc04ddb48f3e9b3a07c7d
2015-04-13 12:13:35 -06:00
Andres Morales
606167c66b hw_auth_token: make timestamp 64 bits
Change-Id: I1f871300cd2edb407479e1e38284b068db364b38
2015-04-13 17:58:01 +00:00
Andres Morales
0593202124 Merge "add challenge to gatekeeper hal" 2015-04-12 22:51:10 +00:00
Prerepa Viswanadham
a9d5c2b6c9 Merge "Merge commit '3de70a1d6a1b8c0e7febce5e8fc4f0b3ad400b7d' into merge_work" 2015-04-12 21:56:30 +00:00
Jim Miller
1e1f7ba5c9 Clean up FingerprintManager API and make it public.
Change-Id: I416dcc42fd70926875cc77e0c2cc958fdfcd9f9d
2015-04-11 09:21:56 -07:00
Andres Morales
b9e58c810a Add HW_AUTH_TOKEN_VERSION constant
Change-Id: Ic01da2b9ed8efcdba7750d8ca7fe2321d9047b68
2015-04-11 02:02:53 +00:00
kschulz
9a92a7bff0 L2CAP and SDP Search API for BT profiles (1/2)
Added interface to create SDP records, to allow the upper
layers to set the content of the SDP record, including
both a RCFOMM channel and a l2cap PSM.

Change-Id: I7c47848a10b3d3091afbeadb4de8a8d7ea812288
2015-04-10 16:48:44 -07:00