OSDN Git Service

android-x86/hardware-libhardware.git
8 years agoAdd guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2 am: 4137555a77 am...
Ajay Panicker [Tue, 24 May 2016 22:21:24 +0000 (22:21 +0000)]
Add guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2 am: 4137555a77 am: 9ed5e051f0  -s ours am: 07c1c4dd8d
am: d22d07f82b

* commit 'd22d07f82b2f6a30fba60b32463ac3d16010ad60':
  Add guest mode functionality (1/3)

Change-Id: Ibc2e00534f707c70977ff64207fae05ba43addd2

8 years agoAdd guest mode functionality (1/3) am: 4048610354
Ajay Panicker [Tue, 24 May 2016 22:15:52 +0000 (22:15 +0000)]
Add guest mode functionality (1/3) am: 4048610354
am: 1b89c8c0dd  -s ours

* commit '1b89c8c0ddf76ce8c6ff96cc7997f87e166b7ac6':
  Add guest mode functionality (1/3)

Change-Id: I69d69431c767ecd615839f97cef1faaa912f2f50

8 years agoAdd guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2 am: 4137555a77 am...
Ajay Panicker [Tue, 24 May 2016 22:15:50 +0000 (22:15 +0000)]
Add guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2 am: 4137555a77 am: 9ed5e051f0  -s ours
am: 07c1c4dd8d

* commit '07c1c4dd8da9eb7b6bd46ff83c831e7ad9383cd2':
  Add guest mode functionality (1/3)

Change-Id: I4be5d4c2d2095ce288bc4b80970359265a714b4d

8 years agoAdd guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2 am: 4137555a77
Ajay Panicker [Tue, 24 May 2016 22:12:59 +0000 (22:12 +0000)]
Add guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2 am: 4137555a77
am: 9ed5e051f0  -s ours

* commit '9ed5e051f0b633308bb66acf4660e89eb52037c2':
  Add guest mode functionality (1/3)

Change-Id: I252ab37ea484800f920ad224b85e2cad9ed28032

8 years agoAdd guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2
Ajay Panicker [Tue, 24 May 2016 22:07:25 +0000 (22:07 +0000)]
Add guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2
am: 4137555a77

* commit '4137555a77c5fd68eedbf63a0a351599edcbbcac':
  Add guest mode functionality (1/3)

Change-Id: I5cc9b7d8082908d2c64012b63e5183365366ed1e

8 years agoAdd guest mode functionality (1/3) am: 4e10135ef4
Ajay Panicker [Tue, 24 May 2016 22:05:24 +0000 (22:05 +0000)]
Add guest mode functionality (1/3) am: 4e10135ef4
am: 6e98ba09a2

* commit '6e98ba09a2722b8aa9242797c379016e0bb42de7':
  Add guest mode functionality (1/3)

Change-Id: I3dd89a69243cdacb5b8ebe5227a2b718b17968d4

8 years agoAdd guest mode functionality (1/3)
Ajay Panicker [Tue, 24 May 2016 22:02:01 +0000 (22:02 +0000)]
Add guest mode functionality (1/3)
am: 4048610354

* commit '4048610354bc6fff0eea733d46df502a29487b9f':
  Add guest mode functionality (1/3)

Change-Id: Ic2bd8be69bbe1dc2a247e1d152e95d158ad3161c

8 years agoAdd guest mode functionality (1/3)
Ajay Panicker [Tue, 24 May 2016 22:02:00 +0000 (22:02 +0000)]
Add guest mode functionality (1/3)
am: 4e10135ef4

* commit '4e10135ef499073711944860ccf9a7c43b8bf6ac':
  Add guest mode functionality (1/3)

Change-Id: I8942fea871b1c1721d0644a5eedf9fdd6a6bc0eb

8 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

8 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

8 years agoDO NOT MERGE ANYWHERE Add new foreground load power hint.
Bryce Lee [Wed, 27 Apr 2016 14:28:05 +0000 (07:28 -0700)]
DO NOT MERGE ANYWHERE Add new foreground load power hint.

This power hint allows the underlying hardware to be aware when an
intensive foreground activity is active, allowing for resources to be
adjusted accordingly.

Bug: 26987295
Change-Id: I834d2227c7f86e9426d0fab20910d565125bd184

8 years agoDO NOT MERGE Add ability to add interop entries dynamically (1/2)
Andre Eisenbach [Wed, 24 Feb 2016 18:47:23 +0000 (18:47 +0000)]
DO NOT MERGE Add ability to add interop entries dynamically (1/2)
am: 0a778c30fd

* commit '0a778c30fd5625d6f584b71a636511621653a23c':
  DO NOT MERGE Add ability to add interop entries dynamically (1/2)

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 agoSensors: MultiHal: Increase xfer buffer size
Nick Vaccaro [Tue, 9 Feb 2016 22:56:17 +0000 (14:56 -0800)]
Sensors: MultiHal: Increase xfer buffer size

Increased the size of the sensor event transfer queue from 20 to
36 sensor events.  This size now matches Sensor Services buffer size
that it passes to poll() for reading events and will allow the
multihal to transfer the maximum events possible per poll cycle.

Change-Id: I55459ea0a70b9da848d3d3d43590050d71c53e28

8 years agoRevert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"
Ben Fennema [Wed, 2 Dec 2015 01:04:06 +0000 (01:04 +0000)]
Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"

This reverts commit 4c690fc64eba65e2a13ece82e6c81367a48a003a.

Change-Id: I1ebf4c866606e004e2120d106f32973700f8bfeb

8 years agoDO NOT MERGE ANYWHERE Add new interface for sensor physical data
Jani Suonpera [Fri, 9 Oct 2015 09:00:40 +0000 (12:00 +0300)]
DO NOT MERGE ANYWHERE Add new interface for sensor physical data

This is spesical solution only for emerald branch.

Changes including new const char* value/interface for sensor physical data. Sensor service and manager does not take care of content, structure or other
details of string. Sensor HAL is taking care of parsing data from string and setting values to Sensor HW.

Change-Id: Iae69e04b71313fbcba46515d6787f3deef4e7346
Signed-off-by: Ben Fennema <fennema@google.com>
8 years agoam 1ce7fe6b: Merge "Fix DATA_INJECTION flag in sensors.h" into mnc-dr-dev
Aravind Akella [Wed, 14 Oct 2015 21:08:12 +0000 (21:08 +0000)]
am 1ce7fe6b: Merge "Fix DATA_INJECTION flag in sensors.h" into mnc-dr-dev

* commit '1ce7fe6b0a887edc6fad8e3386ab8e28a5f0d107':
  Fix DATA_INJECTION flag in sensors.h

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 agoam 419c27b9: Do not reset out_get_presentation_position() to 0 on standby
Andy Hung [Wed, 14 Oct 2015 01:18:31 +0000 (01:18 +0000)]
am 419c27b9: Do not reset out_get_presentation_position() to 0 on standby

* commit '419c27b937b1628340985ac27f1d577e41b9a60e':
  Do not reset out_get_presentation_position() to 0 on standby

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 agoam 147d5404: Define the data parameter for POWER_HINT_INTERACTION.
Michael Wright [Tue, 22 Sep 2015 18:21:00 +0000 (18:21 +0000)]
am 147d5404: Define the data parameter for POWER_HINT_INTERACTION.

* commit '147d5404f5958133c291cc26adb5a781d7ac2ea8':
  Define the data parameter for POWER_HINT_INTERACTION.

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 agoam 95f01799: HWC: Add a color transform attribute per display
Dan Stoza [Thu, 3 Sep 2015 22:03:04 +0000 (22:03 +0000)]
am 95f01799: HWC: Add a color transform attribute per display

* commit '95f017990ba70ba3ed22eac4f61c4f02cfc79045':
  HWC: Add a color transform attribute per display

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 agoam 569737c6: Merge "Add USB out_get_presentation_position() for timestamps" into...
Glenn Kasten [Fri, 7 Aug 2015 16:53:34 +0000 (16:53 +0000)]
am 569737c6: Merge "Add USB out_get_presentation_position() for timestamps" into mnc-dev

* commit '569737c6b0301a1411bd02cc9eb59e9c64c8a7eb':
  Add USB out_get_presentation_position() for timestamps

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 agoam b3759712: Implement Bluetooth settings factory reset (4/5)
Ajay Panicker [Wed, 5 Aug 2015 18:10:36 +0000 (18:10 +0000)]
am b3759712: Implement Bluetooth settings factory reset (4/5)

* commit 'b3759712b0ab4ae294731ee5889c2ebd131a156f':
  Implement Bluetooth settings factory reset (4/5)

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 agoam 929e0a19: Add better documentation to fingerprint.h
Jim Miller [Tue, 28 Jul 2015 22:41:05 +0000 (22:41 +0000)]
am 929e0a19: Add better documentation to fingerprint.h

* commit '929e0a194ed989af9b9de62126a962ebf9d191cc':
  Add better documentation to fingerprint.h

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 agoam 70335f3d: Correct keymaster1 documentation.
Shawn Willden [Mon, 27 Jul 2015 20:51:19 +0000 (20:51 +0000)]
am 70335f3d: Correct keymaster1 documentation.

* commit '70335f3d30cf32a6f0352b75430aa6474821399d':
  Correct keymaster1 documentation.

8 years agoMerge "Fix compilation error on emerald-dev" into cw-e-dev
Ching Tzung Lin [Thu, 23 Jul 2015 22:57:03 +0000 (22:57 +0000)]
Merge "Fix compilation error on emerald-dev" into cw-e-dev

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 agoFix compilation error on emerald-dev
Ching Tzung Lin [Thu, 23 Jul 2015 17:18:06 +0000 (10:18 -0700)]
Fix compilation error on emerald-dev

Change-Id: I324fb9b1b54e31610fe4fdce8edbb6979e666cbb

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

9 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

9 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

9 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

9 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

9 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>
9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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>
9 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

9 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

9 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>
9 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>
9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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>
9 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

9 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

9 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>
9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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>
9 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

9 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

9 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>
9 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

9 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

9 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