OSDN Git Service

android-x86/hardware-libhardware.git
7 years agoMerge tag 'android-6.0.1_r52' into marshmallow-x86 android-x86-6.0-r1 android-x86-6.0-r2
Chih-Wei Huang [Fri, 8 Jul 2016 11:11:44 +0000 (19:11 +0800)]
Merge tag 'android-6.0.1_r52' into marshmallow-x86

Android 6.0.1 Release 52 (MOB30R)

7 years agoAdd guest mode functionality (1/3)
Ajay Panicker [Fri, 18 Mar 2016 21:27:36 +0000 (14:27 -0700)]
Add guest mode functionality (1/3)

Add a flag to enable() to start Bluetooth in restricted
mode. In restricted mode, all devices that are paired during
restricted mode are deleted upon leaving restricted mode.
Right now restricted mode is only entered while a guest
user is active

Bug: 27410683
Change-Id: I994a2933fd60301927ff2df65da634f81d4c9428

7 years agomake FB usage more robust
WuZhen [Mon, 22 Feb 2016 08:19:45 +0000 (16:19 +0800)]
make FB usage more robust

NO_REF_TASK
tested: local run

Change-Id: Ib38a2dc69b80e373744d647332feb403f1443671

7 years agogralloc: fallback to use fewer buffer on mapping error
Chih-Wei Huang [Thu, 2 Dec 2010 03:54:46 +0000 (11:54 +0800)]
gralloc: fallback to use fewer buffer on mapping error

Change-Id: I6be89437fd10bdc3f5e05d56944d3d547bffbf3c

7 years agogralloc: auto select pixel format according to color depth
Chih-Wei Huang [Thu, 2 Dec 2010 03:27:10 +0000 (11:27 +0800)]
gralloc: auto select pixel format according to color depth

Change-Id: I1e6db2bbe03260d156644ca0700eb2e3e02956dc

8 years agoDO NOT MERGE Add ability to add interop entries dynamically (1/2)
Andre Eisenbach [Thu, 14 Jan 2016 10:03:36 +0000 (02:03 -0800)]
DO NOT MERGE Add ability to add interop entries dynamically (1/2)

Add ability and interface for adding dynamic entries to the interop
workaround database.

Bug: 26548845
Change-Id: I17f8cbdf1e63c316aa52903be7ec526c9b1376bb
(cherry picked from commit 9cacd60df4d3a6cfe5af687177b478bc9855130f)

8 years agoMerge "Fix DATA_INJECTION flag in sensors.h" into mnc-dr-dev
Aravind Akella [Wed, 14 Oct 2015 21:03:13 +0000 (21:03 +0000)]
Merge "Fix DATA_INJECTION flag in sensors.h" into mnc-dr-dev

8 years agoDo not reset out_get_presentation_position() to 0 on standby
Andy Hung [Mon, 10 Aug 2015 20:52:34 +0000 (13:52 -0700)]
Do not reset out_get_presentation_position() to 0 on standby

Bug: 21199150
Bug: 23080499
Change-Id: I749b331bfce8cfe27b16bb2fce14f23816fb48ce

8 years agoDefine the data parameter for POWER_HINT_INTERACTION.
Michael Wright [Wed, 16 Sep 2015 22:28:19 +0000 (23:28 +0100)]
Define the data parameter for POWER_HINT_INTERACTION.

Change-Id: I86857c1ea92082de109c612080e47c9c9835726b

8 years agoFix DATA_INJECTION flag in sensors.h
Aravind Akella [Thu, 10 Sep 2015 22:00:51 +0000 (15:00 -0700)]
Fix DATA_INJECTION flag in sensors.h

Bug: 24001171
Change-Id: Ia42934a97566f0ebe8d324e065351a3d9ed55621

8 years agoHWC: Add a color transform attribute per display
Dan Stoza [Mon, 31 Aug 2015 19:08:57 +0000 (12:08 -0700)]
HWC: Add a color transform attribute per display

Adds a color transform option to the queryable display attributes,
which allows a different vendor-specific color transform (e.g., wide
gamut, sRGB, etc.) per display configuration. This does not increase the
HWC version, and is considered a part of HWC 1.5, though if
getDisplayAttributes returns an error code as a result of being passed
an unsupported attribute, the call will be retried without the new color
transform option.

Bug: 20853317
Change-Id: Iab1605bc073ed4caa780e55ddf396efeeff3aff1

8 years agoMerge "Add USB out_get_presentation_position() for timestamps" into mnc-dev
Glenn Kasten [Fri, 7 Aug 2015 16:38:45 +0000 (16:38 +0000)]
Merge "Add USB out_get_presentation_position() for timestamps" into mnc-dev

8 years agoAdd USB out_get_presentation_position() for timestamps
Andy Hung [Tue, 4 Aug 2015 22:05:19 +0000 (15:05 -0700)]
Add USB out_get_presentation_position() for timestamps

Bug: 21196672
Change-Id: Ic509e91a9c0d3421b78371207d7e63425e895e71

8 years agoImplement Bluetooth settings factory reset (4/5)
Ajay Panicker [Tue, 28 Jul 2015 23:53:53 +0000 (16:53 -0700)]
Implement Bluetooth settings factory reset (4/5)

Implemented the factory reset function to be used to reset all bluetooth
settings on device to factory default

Bug: 16161518
Change-Id: I69358db95582ddd0f2f640f76cf0931f797d369b

8 years agoAdd better documentation to fingerprint.h
Jim Miller [Sat, 25 Jul 2015 01:25:40 +0000 (18:25 -0700)]
Add better documentation to fingerprint.h

Some vendors are confused by the use of errors vs acquired messages
This adds documentation on how they should be used.

Fixes bug 22728578

Change-Id: I5e6a8f7b159ec331a59202fa64b7320e43661429

8 years agoCorrect keymaster1 documentation.
Shawn Willden [Wed, 8 Jul 2015 15:57:16 +0000 (09:57 -0600)]
Correct keymaster1 documentation.

Bug: 22291207
Change-Id: I130d2ab2110321dc2228d41a154750da3a3f0b75

8 years agoMerge "Add KM_TAG_MIN_MAC_LENGTH." into mnc-dev
Alex Klyubin [Wed, 22 Jul 2015 15:24:28 +0000 (15:24 +0000)]
Merge "Add KM_TAG_MIN_MAC_LENGTH." into mnc-dev

8 years agoAdd KM_TAG_MIN_MAC_LENGTH.
Shawn Willden [Wed, 8 Jul 2015 12:04:52 +0000 (06:04 -0600)]
Add KM_TAG_MIN_MAC_LENGTH.

This allows the binding of minimum length for MACs or tags to HMAC keys
and AEAD symmetric keys.  Later attempts to use these keys with a
shorter MAC or tag specification (provided to begin() with
KM_TAG_MAC_LENGTH) will fail with KM_ERROR_INVALID_MAC_LENGTH.

Bug: 22337277
Change-Id: Ic5292ce01bdd6ecde25aad115e4b407aadc85f23

8 years agoMerge "Camera2 tests: Fix incorrect error code check" into mnc-dev
Eino-Ville Talvala [Sat, 11 Jul 2015 00:32:25 +0000 (00:32 +0000)]
Merge "Camera2 tests: Fix incorrect error code check" into mnc-dev

8 years agoCamera2 tests: Fix incorrect error code check
Eino-Ville Talvala [Fri, 10 Jul 2015 22:04:24 +0000 (15:04 -0700)]
Camera2 tests: Fix incorrect error code check

Bug:  22410279
Change-Id: Iad74e90d148908aafd39878608c10fe03c689b8a

8 years agoRemove out-of-date camera2 native tests.
Ruben Brunk [Fri, 10 Jul 2015 21:45:56 +0000 (14:45 -0700)]
Remove out-of-date camera2 native tests.

Bug: 22410279
Change-Id: Ib4a39306115e05b8e430bdc8456ad940b3426a8e

8 years agoFingerprint: Add post_enroll() API, adapt struct for binary compatibility, doc change.
Sasha Levitskiy [Wed, 24 Jun 2015 23:32:43 +0000 (16:32 -0700)]
Fingerprint: Add post_enroll() API, adapt struct for binary compatibility, doc change.

Change-Id: If7e5738f921b0e91e46efc813d9f3c4bd1502832
Signed-off-by: Sasha Levitskiy <sanek@google.com>
8 years agoMerge "Revert "Revert "Rename keymaster tag types to clarify that integers are unsign...
Shawn Willden [Wed, 24 Jun 2015 22:43:55 +0000 (22:43 +0000)]
Merge "Revert "Revert "Rename keymaster tag types to clarify that integers are unsigned.""" into mnc-dev

8 years agoRevert "Revert "Rename keymaster tag types to clarify that integers are unsigned.""
Shawn Willden [Wed, 24 Jun 2015 20:59:14 +0000 (20:59 +0000)]
Revert "Revert "Rename keymaster tag types to clarify that integers are unsigned.""

This reverts commit 1fb6c227deb04b66dc0fe947a7ebb027dde0ecda.

Change-Id: Iccc8a7ff40a694b1e4420a5de4b847e62289ff42

8 years agoMerge "Revert "Rename keymaster tag types to clarify that integers are unsigned....
Shawn Willden [Wed, 24 Jun 2015 20:53:19 +0000 (20:53 +0000)]
Merge "Revert "Rename keymaster tag types to clarify that integers are unsigned."" into mnc-dev

8 years agoRevert "Rename keymaster tag types to clarify that integers are unsigned."
Shawn Willden [Wed, 24 Jun 2015 20:52:32 +0000 (20:52 +0000)]
Revert "Rename keymaster tag types to clarify that integers are unsigned."

This reverts commit 335920edaec77b77eac09f7966c337cbed93aa17.

Change-Id: Ib65f744b93ad2b62d5848dcf743397124a08911b

8 years agoMerge "Rename keymaster tag types to clarify that integers are unsigned." into mnc-dev
Shawn Willden [Wed, 24 Jun 2015 20:28:37 +0000 (20:28 +0000)]
Merge "Rename keymaster tag types to clarify that integers are unsigned." into mnc-dev

8 years agoRename keymaster tag types to clarify that integers are unsigned.
Shawn Willden [Wed, 24 Jun 2015 19:27:45 +0000 (12:27 -0700)]
Rename keymaster tag types to clarify that integers are unsigned.

Bug: 22008538
Change-Id: I699a0f03aaf0f9f49a78b310763364fc2fb34c90

8 years agoMerge "hardware: gatekeeper: Add delete and delete_all api's" into mnc-dev
Andres Morales [Wed, 24 Jun 2015 18:06:18 +0000 (18:06 +0000)]
Merge "hardware: gatekeeper: Add delete and delete_all api's" into mnc-dev

8 years agoMerge "Define a flag for whether a sensor supports data_injection mode or not." into...
Aravind Akella [Tue, 23 Jun 2015 22:24:37 +0000 (22:24 +0000)]
Merge "Define a flag for whether a sensor supports data_injection mode or not." into mnc-dev

8 years agohardware: gatekeeper: Add delete and delete_all api's
Naveen Ramaraj [Tue, 23 Jun 2015 00:47:18 +0000 (17:47 -0700)]
hardware: gatekeeper: Add delete and delete_all api's

Add delete and delete_all api for gatekeeper.

Change-Id: I0511cb546ecba54b2a60692d6f704f24c55aa940

8 years agoDefine a flag for whether a sensor supports data_injection mode or not.
Aravind Akella [Tue, 23 Jun 2015 01:26:54 +0000 (18:26 -0700)]
Define a flag for whether a sensor supports data_injection mode or not.

Change-Id: I46373bbd2e10859b84428fe32b76679ac4292607

8 years agoMerge "audio HAL: reverse mutex locking order" into mnc-dev
Eric Laurent [Tue, 23 Jun 2015 00:52:18 +0000 (00:52 +0000)]
Merge "audio HAL: reverse mutex locking order" into mnc-dev

8 years agoaudio HAL: reverse mutex locking order
Eric Laurent [Sat, 20 Jun 2015 00:49:17 +0000 (17:49 -0700)]
audio HAL: reverse mutex locking order

Do not use main audio HAL mutex but a specific stream mutex when
preventing control thread starvation by playback or capture threads.
This will prevent systematic locking of main HAL mutex in read ot write
and avoid glitches.

Bug: 21880828.
Bug: 18489202.

Change-Id: I3054e0d93b823bd9d2fb84a49e9c5bbbe728262a

8 years agoAdd new error codes for rate-limit and max-use failures.
Shawn Willden [Thu, 18 Jun 2015 18:16:17 +0000 (12:16 -0600)]
Add new error codes for rate-limit and max-use failures.

Bug: 21607106
Change-Id: I2e5515efe51b84200ade8c4c4cc5db3800d4b658

8 years agoUpdate comments on now-unsed user ID and app ID tags.
Shawn Willden [Thu, 18 Jun 2015 18:15:09 +0000 (12:15 -0600)]
Update comments on now-unsed user ID and app ID tags.

I'd just remove them but Trusty keymaster has been generating keys with
KM_TAG_ALL_USERS and KM_TAG_ALL_APPLICATIONS, so removing them without
breaking those keys is tricky.  Plus I think they may come back.

Bug: 21845167
Change-Id: I3b807e3e4bee64eba72b7fa6f1ee1929c4ca9dd0

8 years agoRemove KM_TAG_AEAD_TAG.
Shawn Willden [Thu, 18 Jun 2015 18:09:20 +0000 (12:09 -0600)]
Remove KM_TAG_AEAD_TAG.

Bug: 19919114
Change-Id: I06fdd0f9b8e247587d800031d3367078423baa50

8 years agoMerge "Camera3: Document behavior of flush() corner cases." into mnc-dev
Eino-Ville Talvala [Fri, 12 Jun 2015 22:47:38 +0000 (22:47 +0000)]
Merge "Camera3: Document behavior of flush() corner cases." into mnc-dev

8 years agoMerge "Update USB channel mask handling" into mnc-dev
Andy Hung [Fri, 12 Jun 2015 22:24:23 +0000 (22:24 +0000)]
Merge "Update USB channel mask handling" into mnc-dev

8 years agoUpdate USB channel mask handling
Andy Hung [Wed, 10 Jun 2015 22:17:00 +0000 (15:17 -0700)]
Update USB channel mask handling

1 and 2 channels will default to mono and stereo
n > 2 will default to channel index masks

Bug: 16245854
Change-Id: I39f9d43385a93f48e323653fbde2e38a99b6256f

8 years agoCamera3: Document behavior of flush() corner cases.
Eino-Ville Talvala [Wed, 10 Jun 2015 21:58:32 +0000 (14:58 -0700)]
Camera3: Document behavior of flush() corner cases.

Document how HAL should operate when process_capture_request is
called while a flush() call is active.

Bug: 21506384
Change-Id: Ic1842add68123432e49914e83d8f7d5c13d6650d

8 years agoFingerprint: Avoid passing structures where simple types should suffice.
Sasha Levitskiy [Mon, 8 Jun 2015 20:14:15 +0000 (13:14 -0700)]
Fingerprint: Avoid passing structures where simple types should suffice.

Bug: 21282699

Change-Id: I02e13b7da0ad361a95b981f9745aac039151f356
Signed-off-by: Sasha Levitskiy <sanek@google.com>
8 years agoMerge "Camera2 tests: Update for framework changes" into mnc-dev
Eino-Ville Talvala [Tue, 9 Jun 2015 22:24:26 +0000 (22:24 +0000)]
Merge "Camera2 tests: Update for framework changes" into mnc-dev

8 years agoCamera2 tests: Update for framework changes
Eino-Ville Talvala [Tue, 9 Jun 2015 22:23:34 +0000 (15:23 -0700)]
Camera2 tests: Update for framework changes

Change-Id: I9ac788cfe9a001ef33bdc52a9e8ba0bdcf3ded2c

8 years agoSAP: Make it possible to enforce a 16-digit pin code (2/5)
Casper Bonde [Fri, 8 May 2015 12:33:58 +0000 (14:33 +0200)]
SAP: Make it possible to enforce a 16-digit pin code (2/5)

This change enable the posibility to enforce using a
16-digit pin or MITM for a RFCOMM or L2CAP connection.

This is needed for the SIM access profile.

Change-Id: I4d43eefa76e8abc1bcfad6dfd9004d8e82168bf4
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
8 years agoFingerprint: Remove unused API elements.
Sasha Levitskiy [Tue, 2 Jun 2015 18:29:12 +0000 (11:29 -0700)]
Fingerprint: Remove unused API elements.

Change-Id: Iba2f6a5bc7a2923c3e9b92684a2fab2190f14fd5
Signed-off-by: Sasha Levitskiy <sanek@google.com>
8 years agoMerge "Camera: Update for torch callbacks" into mnc-dev
Chien-Yu Chen [Wed, 3 Jun 2015 21:01:50 +0000 (21:01 +0000)]
Merge "Camera: Update for torch callbacks" into mnc-dev

8 years agoCamera: Update for torch callbacks
Chien-Yu Chen [Wed, 3 Jun 2015 20:36:33 +0000 (13:36 -0700)]
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

8 years agogralloc: Sort usage flags
Dan Stoza [Wed, 3 Jun 2015 17:42:38 +0000 (10:42 -0700)]
gralloc: Sort usage flags

Sorts the usage flags in increasing order so it's easier to see where
the gaps are.

Bug: 21609491
Change-Id: I98af3c67be84c6c5137767f3cd7a8bd63dfb5c03

8 years agoFix extern "C" guards.
Shawn Willden [Wed, 3 Jun 2015 15:03:20 +0000 (09:03 -0600)]
Fix extern "C" guards.

Change-Id: Ibc8e023e3712903dbcbfac5fc64223e32775fe40

8 years agoMerge "Remove KM_TAG_CHUNK_LENGTH and add KM_TAG_AEAD_TAG" into mnc-dev
Shawn Willden [Wed, 3 Jun 2015 05:37:45 +0000 (05:37 +0000)]
Merge "Remove KM_TAG_CHUNK_LENGTH and add KM_TAG_AEAD_TAG" into mnc-dev

8 years agoMerge "Fix block mode numbering (CTR got added as 4 rather than 3)" into mnc-dev
Shawn Willden [Wed, 3 Jun 2015 05:30:17 +0000 (05:30 +0000)]
Merge "Fix block mode numbering (CTR got added as 4 rather than 3)" into mnc-dev

8 years agoMerge "Add output params to update() and finish()." into mnc-dev
Shawn Willden [Wed, 3 Jun 2015 05:21:52 +0000 (05:21 +0000)]
Merge "Add output params to update() and finish()." into mnc-dev

8 years agoAdd support for MITM for BluetoothSockets (3/4)
Casper Bonde [Tue, 21 Apr 2015 11:15:50 +0000 (13:15 +0200)]
Add support for MITM for BluetoothSockets (3/4)

This change adds an option to enforce Man-in-the-middle protection
for the authentication process. This feature is needed for the Sim
Access Profile.

Change-Id: I35d22a516ecbfc011ed13d7cb7d2ebda047fdfad
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
8 years agoMerge "libhardware: fix gralloc usage bit redefine" into mnc-dev
Chong Zhang [Wed, 3 Jun 2015 02:23:30 +0000 (02:23 +0000)]
Merge "libhardware: fix gralloc usage bit redefine" into mnc-dev

8 years agolibhardware: fix gralloc usage bit redefine
Chong Zhang [Wed, 3 Jun 2015 02:00:11 +0000 (19:00 -0700)]
libhardware: fix gralloc usage bit redefine

bug: 21584171
Change-Id: I66c287681d3e53a263f85fbddfccbb199eaa4b33

8 years agoSAP: Change to use new SDP Api (3/4)
Casper Bonde [Thu, 16 Apr 2015 13:25:41 +0000 (15:25 +0200)]
SAP: Change to use new SDP Api (3/4)

Added struct to carry SAP SDP record data.

Change-Id: I511a8de39a6d750e3e94bee72f48b3356ce6cd02
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
8 years agoRemove KM_TAG_CHUNK_LENGTH and add KM_TAG_AEAD_TAG
Shawn Willden [Mon, 1 Jun 2015 17:40:34 +0000 (11:40 -0600)]
Remove KM_TAG_CHUNK_LENGTH and add KM_TAG_AEAD_TAG

Bug: 19919114
Change-Id: I384f3d2fee2f68279c6518d9ac0a79e29bed0e52

8 years agoMerge "Pack AGpsStatus data structures for 64-bit platforms. b/21471818" into mnc-dev
destradaa [Mon, 1 Jun 2015 21:13:09 +0000 (21:13 +0000)]
Merge "Pack AGpsStatus data structures for 64-bit platforms. b/21471818" into mnc-dev

8 years agoPack AGpsStatus data structures for 64-bit platforms.
destradaa [Mon, 1 Jun 2015 20:47:52 +0000 (13:47 -0700)]
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

8 years agoFix block mode numbering (CTR got added as 4 rather than 3)
Shawn Willden [Mon, 1 Jun 2015 17:40:24 +0000 (11:40 -0600)]
Fix block mode numbering (CTR got added as 4 rather than 3)

Change-Id: I8c886c67ba081255ef18eb0f99ca1e6003fabb33

8 years agoAdd output params to update() and finish().
Shawn Willden [Mon, 1 Jun 2015 17:32:35 +0000 (11:32 -0600)]
Add output params to update() and finish().

Also, change signatures of several methods to pass structs rather than
array pointers and lengths.

Change-Id: Iaa1be186ebbd444202c47926ab57ac65d57416d7

8 years agoMerge "Camera3: SHUTTER event for reprocessing" into mnc-dev
Chien-Yu Chen [Mon, 1 Jun 2015 17:25:42 +0000 (17:25 +0000)]
Merge "Camera3: SHUTTER event for reprocessing" into mnc-dev

8 years agoCamera3: SHUTTER event for reprocessing
Chien-Yu Chen [Fri, 29 May 2015 00:13:05 +0000 (17:13 -0700)]
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

8 years agogralloc: Add foreign buffer usage flag
Dan Stoza [Fri, 29 May 2015 19:43:19 +0000 (12:43 -0700)]
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

8 years agoMerge "camera3: add camera3 stream configuration mode" into mnc-dev
Zhijun He [Fri, 29 May 2015 16:51:31 +0000 (16:51 +0000)]
Merge "camera3: add camera3 stream configuration mode" into mnc-dev

8 years agoMerge "Implement timestamp reporting functions" into mnc-dev
Jean-Michel Trivi [Fri, 29 May 2015 00:31:58 +0000 (00:31 +0000)]
Merge "Implement timestamp reporting functions" into mnc-dev

8 years agoImplement timestamp reporting functions
Jean-Michel Trivi [Tue, 26 May 2015 21:18:10 +0000 (14:18 -0700)]
Implement timestamp reporting functions

Count number of frames that have been written, reset on standby.
The presentation position is the number of written frames minus
  the frames still in the pipe (they were written but not presented).

Bug 21198864

Change-Id: I00ef10f56a825555e7a970cce1504a9bd3744e04

8 years agocamera3: add camera3 stream configuration mode
Zhijun He [Sat, 23 May 2015 01:12:28 +0000 (18:12 -0700)]
camera3: add camera3 stream configuration mode

This will be used for creating high speed capture session.

Bug: 21442271
Change-Id: I51feaec83de3d402decca7e4da79be85844536b4

8 years agoMerge "Reduce pipe length" into mnc-dev
Jean-Michel Trivi [Wed, 27 May 2015 22:12:19 +0000 (22:12 +0000)]
Merge "Reduce pipe length" into mnc-dev

8 years agoReduce pipe length
Jean-Michel Trivi [Tue, 26 May 2015 22:59:42 +0000 (15:59 -0700)]
Reduce pipe length

Bug 21198864

Change-Id: I5bb7ba20c4e2d294363a3a4487f4e3ae634ada46

8 years agoadd request re-enroll to HAL API
Andres Morales [Thu, 21 May 2015 18:11:57 +0000 (11:11 -0700)]
add request re-enroll to HAL API

devices may want to request an upgrade to a newer pasword
handle version

Change-Id: I34c731c81406e29961cff1fcccdefad02cff1237

8 years agoMerge "Fingerprint: Clean up documentaion for template delete." into mnc-dev
Sasha Levitskiy [Sat, 16 May 2015 17:46:58 +0000 (17:46 +0000)]
Merge "Fingerprint: Clean up documentaion for template delete." into mnc-dev

8 years agoFingerprint: Clean up documentaion for template delete.
Sasha Levitskiy [Fri, 15 May 2015 22:46:47 +0000 (15:46 -0700)]
Fingerprint: Clean up documentaion for template delete.

Change-Id: Ibe991d5f5e4bb77a859284a8f890a6bccc663448
Signed-off-by: Sasha Levitskiy <sanek@google.com>
8 years agoMerge "[gatekeeper] document timeout requirements" into mnc-dev
Andres Morales [Fri, 15 May 2015 22:24:55 +0000 (22:24 +0000)]
Merge "[gatekeeper] document timeout requirements" into mnc-dev

8 years ago[gatekeeper] document timeout requirements
Andres Morales [Thu, 14 May 2015 20:08:15 +0000 (13:08 -0700)]
[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

8 years agoFingerprint: Add enumerate function to FP HAL
Sasha Levitskiy [Tue, 28 Apr 2015 22:49:05 +0000 (15:49 -0700)]
Fingerprint: Add enumerate function to FP HAL

Change-Id: I4a1da563a96a1e097ea56e0dced8c02820aa8485
Signed-off-by: Sasha Levitskiy <sanek@google.com>
8 years agoMerge "Remove unused data conversion functions from usb hal" into mnc-dev
Andy Hung [Tue, 12 May 2015 19:30:13 +0000 (19:30 +0000)]
Merge "Remove unused data conversion functions from usb hal" into mnc-dev

8 years agoMerge "Add output channel index mask to USB hal" into mnc-dev
Andy Hung [Tue, 12 May 2015 19:19:41 +0000 (19:19 +0000)]
Merge "Add output channel index mask to USB hal" into mnc-dev

8 years agoMerge "Add multichannel input to USB hal" into mnc-dev
Andy Hung [Tue, 12 May 2015 18:46:12 +0000 (18:46 +0000)]
Merge "Add multichannel input to USB hal" into mnc-dev

8 years agoBluetooth native dumpsys logging support (1/5)
Andre Eisenbach [Fri, 5 Dec 2014 17:35:57 +0000 (09:35 -0800)]
Bluetooth native dumpsys logging support (1/5)

Bug: 18508263
Change-Id: Id7b69a6ed7d817a0f048cb8ebf0889c600171926

8 years agoAdd KM_TAG_BOOTLOADER_ONLY.
Shawn Willden [Mon, 11 May 2015 15:24:48 +0000 (09:24 -0600)]
Add KM_TAG_BOOTLOADER_ONLY.

Change-Id: Ia507a1378487640683985dbce2e76679261900d3
(cherry picked from commit 3eed99a54b55a120c835de63b5872121b2fe98d1)

8 years agoRemove rescoping.
Shawn Willden [Mon, 11 May 2015 13:06:01 +0000 (07:06 -0600)]
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 7f10ab99fc63e99252d924b9e0bdfefef5374b40)

8 years agoRemove unused data conversion functions from usb hal
Andy Hung [Fri, 8 May 2015 00:48:38 +0000 (17:48 -0700)]
Remove unused data conversion functions from usb hal

Change-Id: I4ccf8441171ad796e8954b1960f76411ebb86e9d

8 years agoAdd output channel index mask to USB hal
Andy Hung [Wed, 6 May 2015 06:37:30 +0000 (23:37 -0700)]
Add output channel index mask to USB hal

Change-Id: I17818ac89f7ca591422cadfaa388590ff9c08613

8 years agoAdd multichannel input to USB hal
Andy Hung [Thu, 23 Apr 2015 05:14:39 +0000 (22:14 -0700)]
Add multichannel input to USB hal

Change-Id: I297669f7ba5a711923cf2f371d161819fad04740

8 years agoFingerprint: Add storage path to set_active_group()
Sasha Levitskiy [Thu, 7 May 2015 21:40:16 +0000 (14:40 -0700)]
Fingerprint: Add storage path to set_active_group()

Change-Id: Ic6e7ad21cd3a253a38a6291bf08517c7e441af2b
Signed-off-by: Sasha Levitskiy <sanek@google.com>
8 years agoMerge commit '5122502' into master_merge
Prerepa Viswanadham [Fri, 1 May 2015 17:57:25 +0000 (10:57 -0700)]
Merge commit '5122502' into master_merge

9 years agoAdd KM_ERROR_CALLER_NONCE_PROHIBITED error code.
Shawn Willden [Tue, 28 Apr 2015 06:00:27 +0000 (00:00 -0600)]
Add KM_ERROR_CALLER_NONCE_PROHIBITED error code.

Bug: 20127433
Change-Id: I32eab62459003c526d3cf9ef108be7b2fd709960

9 years agoMerge "Update documentation related to A-GPS modes." into mnc-dev
destradaa [Tue, 28 Apr 2015 22:52:04 +0000 (22:52 +0000)]
Merge "Update documentation related to A-GPS modes." into mnc-dev

9 years agoUpdate documentation related to A-GPS modes.
destradaa [Tue, 28 Apr 2015 20:10:56 +0000 (13:10 -0700)]
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

9 years agofm radio HAL: fix metadata handling
Eric Laurent [Fri, 24 Apr 2015 02:11:36 +0000 (19:11 -0700)]
fm radio HAL: fix metadata handling

Fix potential crash due to list item removal
while processing metadata or cancel command.

Change-Id: I0c5552fcfc515e9591ce77f874c7450edb0dbf72

9 years agoam 067f3f78: am 35550a10: Merge changes from topic \'system-bt\'
Ed Heyl [Sun, 26 Apr 2015 00:11:45 +0000 (00:11 +0000)]
am 067f3f78: am 35550a10: Merge changes from topic \'system-bt\'

* commit '067f3f78d0ca6adea84a120aeaaca2e5e04fce5c':
  L2CAP and SDP Search API for BT profiles (1/2)
  Incorrect RSSI value in onlost/onfound
  OnFound/OnLost feature API changes based on spec v0.90

9 years agoam 35550a10: Merge changes from topic \'system-bt\'
Ed Heyl [Sat, 25 Apr 2015 23:49:56 +0000 (23:49 +0000)]
am 35550a10: Merge changes from topic \'system-bt\'

* commit '35550a1030879bd3cb74f10f0cadb6e6f660bffb':
  L2CAP and SDP Search API for BT profiles (1/2)
  Incorrect RSSI value in onlost/onfound
  OnFound/OnLost feature API changes based on spec v0.90

9 years agoMerge changes from topic 'system-bt'
Ed Heyl [Sat, 25 Apr 2015 23:26:39 +0000 (23:26 +0000)]
Merge changes from topic 'system-bt'

* changes:
  L2CAP and SDP Search API for BT profiles (1/2)
  Incorrect RSSI value in onlost/onfound
  OnFound/OnLost feature API changes based on spec v0.90

9 years agoL2CAP and SDP Search API for BT profiles (1/2)
kschulz [Fri, 6 Mar 2015 08:15:43 +0000 (09:15 +0100)]
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

9 years agoIncorrect RSSI value in onlost/onfound
Satya Calloji [Tue, 24 Mar 2015 01:18:13 +0000 (18:18 -0700)]
Incorrect RSSI value in onlost/onfound

Fix for signed value in onlost/onfound

Bug: 19891550
Change-Id: Idee4c566fe0d6f10a87c92f5bf03743fddbe2261

9 years agoOnFound/OnLost feature API changes based on spec v0.90
Satya Calloji [Tue, 10 Feb 2015 17:20:07 +0000 (09:20 -0800)]
OnFound/OnLost feature API changes based on spec v0.90

Bug: 19609671
Change-Id: Id28e188159aa41c940723fb5b12cade0a48e506b

9 years agoLE low power scan feature
Satya Calloji [Tue, 31 Mar 2015 20:58:21 +0000 (13:58 -0700)]
LE low power scan feature

LE low power extended scan feature header changes
based on Google spec v0.95

Bug: 20029342
Change-Id: Id1020a4da177d0bc421fdd123c5355a291cc0475

9 years agoFingerprint: Add an API to get authenticator id
Sasha Levitskiy [Thu, 16 Apr 2015 21:45:04 +0000 (14:45 -0700)]
Fingerprint: Add an API to get authenticator id

Change-Id: If45ebc228425eaa43bf9abde934f8bb4e7d97e6c
Signed-off-by: Sasha Levitskiy <sanek@google.com>