OSDN Git Service

android-x86/hardware-libhardware.git
9 years agoChange payload size to size_t and add uid param
Andres Morales [Thu, 5 Feb 2015 18:49:58 +0000 (10:49 -0800)]
Change payload size to size_t and add uid param

Buffers will likely be bigger than 255!

Change-Id: I8cc1ac1c656493a94e5a41ce6ee948af159f18f6

9 years agoBack out locking order and (over) simplification in out_write(), in_read().
Paul McLean [Fri, 20 Feb 2015 23:39:59 +0000 (15:39 -0800)]
Back out locking order and (over) simplification in out_write(), in_read().

Change-Id: I96954f883798f8e10adce56d9c33b70574999d1c

9 years agoUSB device disconnect latency
Paul McLean [Fri, 20 Feb 2015 19:12:56 +0000 (11:12 -0800)]
USB device disconnect latency

Eliminated unnecessay locking/unlocking in adev_set_parameters().
Corrected and simplified lock/unlock order in out_write() and in_read().

Bugs 19363750

Change-Id: Iede9a95f5f17645d9780b344fd5ee009cd9fa94d

9 years agoam 3cbe7142: am fb9ad66a: Merge commit \'d7cc04b275ea6d1cec863159327281b0ffbc8120...
Bill Yi [Fri, 20 Feb 2015 00:30:42 +0000 (00:30 +0000)]
am 3cbe7142: am fb9ad66a: Merge commit \'d7cc04b275ea6d1cec863159327281b0ffbc8120\' into HEAD

* commit '3cbe71422d9df74a2a1383f858fa81ea9b267cb7':

9 years agoam fb9ad66a: Merge commit \'d7cc04b275ea6d1cec863159327281b0ffbc8120\' into HEAD
Bill Yi [Fri, 20 Feb 2015 00:23:21 +0000 (00:23 +0000)]
am fb9ad66a: Merge commit \'d7cc04b275ea6d1cec863159327281b0ffbc8120\' into HEAD

* commit 'fb9ad66afd1591fffc24db04214f45a6abf96c59':

9 years agoMerge commit 'd7cc04b275ea6d1cec863159327281b0ffbc8120' into HEAD
Bill Yi [Thu, 19 Feb 2015 22:31:52 +0000 (14:31 -0800)]
Merge commit 'd7cc04b275ea6d1cec863159327281b0ffbc8120' into HEAD

9 years agoMerge "camera_common: add -EUSERS to set_torch_mode"
Chien-Yu Chen [Thu, 19 Feb 2015 21:01:11 +0000 (21:01 +0000)]
Merge "camera_common: add -EUSERS to set_torch_mode"

9 years agoMerge "Improve locking/unlocking in *_set_params()."
Paul McLean [Wed, 18 Feb 2015 21:49:12 +0000 (21:49 +0000)]
Merge "Improve locking/unlocking in *_set_params()."

9 years agoImprove locking/unlocking in *_set_params().
Paul McLean [Wed, 18 Feb 2015 17:13:24 +0000 (09:13 -0800)]
Improve locking/unlocking in *_set_params().

Also clean up logging.
This doesn't completely fix the referenced bug, but substantially
reduces the instances of long latency on USB device disconnect.

Bug: 19363750

Change-Id: If0a6d64c4973277ae2474e121198e47df973965e

9 years agoam 66b7b389: am 0e5fca1c: Merge changes Id4bdfdcb,Ib94f3606
Shawn Willden [Wed, 18 Feb 2015 16:05:11 +0000 (16:05 +0000)]
am 66b7b389: am 0e5fca1c: Merge changes Id4bdfdcb,Ib94f3606

* commit '66b7b3899fdc76add9e728cebcde146b386210e0':
  Added insecure (chunkless) AEAD option.
  Add additional param lists to update and finish.

9 years agoam 0e5fca1c: Merge changes Id4bdfdcb,Ib94f3606
Shawn Willden [Wed, 18 Feb 2015 15:59:37 +0000 (15:59 +0000)]
am 0e5fca1c: Merge changes Id4bdfdcb,Ib94f3606

* commit '0e5fca1ca4777f5f5d5fa8bd0de139e42077881b':
  Added insecure (chunkless) AEAD option.
  Add additional param lists to update and finish.

9 years agoMerge changes Id4bdfdcb,Ib94f3606
Shawn Willden [Wed, 18 Feb 2015 15:48:03 +0000 (15:48 +0000)]
Merge changes Id4bdfdcb,Ib94f3606

* changes:
  Added insecure (chunkless) AEAD option.
  Add additional param lists to update and finish.

9 years agoam f18670b8: am 892ae44c: Merge "Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA"
Shawn Willden [Wed, 18 Feb 2015 11:39:14 +0000 (11:39 +0000)]
am f18670b8: am 892ae44c: Merge "Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA"

* commit 'f18670b802c85b393995596eee1f171f6d16852b':
  Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA

9 years agoam 87150001: Merge "Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA" into...
Shawn Willden [Wed, 18 Feb 2015 11:38:57 +0000 (11:38 +0000)]
am 87150001: Merge "Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA" into lmp-mr1-dev-plus-aosp

* commit '871500013a60c052475b219be3da10a8b6a9e66b':
  Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA

9 years agoam 892ae44c: Merge "Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA"
Shawn Willden [Wed, 18 Feb 2015 06:03:10 +0000 (06:03 +0000)]
am 892ae44c: Merge "Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA"

* commit '892ae44c5f805f6ac64e6e756964c79998411742':
  Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA

9 years agoMerge "Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA"
Shawn Willden [Wed, 18 Feb 2015 05:50:06 +0000 (05:50 +0000)]
Merge "Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA"

9 years agoMerge "Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA" into lmp-mr1-dev...
Shawn Willden [Wed, 18 Feb 2015 02:22:47 +0000 (02:22 +0000)]
Merge "Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA" into lmp-mr1-dev-plus-aosp

9 years agoRename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA
Shawn Willden [Sat, 7 Feb 2015 00:04:53 +0000 (17:04 -0700)]
Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA

Change-Id: Ieddd706ee205100719f7e2f9e18b3d9b07c37669

9 years agoMerge "Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA"
Shawn Willden [Wed, 18 Feb 2015 01:46:30 +0000 (01:46 +0000)]
Merge "Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA"

9 years agoRename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA
Shawn Willden [Sat, 7 Feb 2015 00:04:53 +0000 (17:04 -0700)]
Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA

Change-Id: Ieddd706ee205100719f7e2f9e18b3d9b07c37669

9 years agohardware: libhardware: introduce new fingerprint HAL 2.0 features.
Sasha Levitskiy [Thu, 11 Dec 2014 14:49:36 +0000 (06:49 -0800)]
hardware: libhardware: introduce new fingerprint HAL 2.0 features.

Change-Id: I4ab0a511417742a4b0b912ebf98a3773ec22bb10
Signed-off-by: Sasha Levitskiy <sanek@google.com>
9 years agoam d7cc04b2: am 6bdaf827: Merge "Add explicit values to keymaster_key_format_t"
Shawn Willden [Sat, 14 Feb 2015 01:04:48 +0000 (01:04 +0000)]
am d7cc04b2: am 6bdaf827: Merge "Add explicit values to keymaster_key_format_t"

* commit 'd7cc04b275ea6d1cec863159327281b0ffbc8120':
  Add explicit values to keymaster_key_format_t

9 years agoam 6bdaf827: Merge "Add explicit values to keymaster_key_format_t"
Shawn Willden [Sat, 14 Feb 2015 00:53:14 +0000 (00:53 +0000)]
am 6bdaf827: Merge "Add explicit values to keymaster_key_format_t"

* commit '6bdaf827ef59975efbf73b2d5b4228fb61c36123':
  Add explicit values to keymaster_key_format_t

9 years agoMerge "Add explicit values to keymaster_key_format_t"
Shawn Willden [Sat, 14 Feb 2015 00:40:41 +0000 (00:40 +0000)]
Merge "Add explicit values to keymaster_key_format_t"

9 years agoAdd explicit values to keymaster_key_format_t
Chad Brubaker [Fri, 13 Feb 2015 21:58:36 +0000 (13:58 -0800)]
Add explicit values to keymaster_key_format_t

Change-Id: I4113286396b16ca687fbd8bc38b2f16063fc1024

9 years agocamera_common: add -EUSERS to set_torch_mode
Chien-Yu Chen [Wed, 11 Feb 2015 19:31:12 +0000 (11:31 -0800)]
camera_common: add -EUSERS to set_torch_mode

To match the public API, seperate camera device in use and other
resources in use errors.

Bug: 2682206
Change-Id: Ie0451931f0c84fc65f3f6294a9f44bec10627afe

9 years agoam 4c2059d8: am adbfbb74: Add new SENSOR_TYPE_WRIST_TILT_GESTURE sensor type
Nick Vaccaro [Wed, 11 Feb 2015 02:55:24 +0000 (02:55 +0000)]
am 4c2059d8: am adbfbb74: Add new SENSOR_TYPE_WRIST_TILT_GESTURE sensor type

* commit '4c2059d8fbefad3d3f3c37079819ea8205809b17':
  Add new SENSOR_TYPE_WRIST_TILT_GESTURE sensor type

9 years agoam adbfbb74: Add new SENSOR_TYPE_WRIST_TILT_GESTURE sensor type
Nick Vaccaro [Wed, 11 Feb 2015 00:20:54 +0000 (00:20 +0000)]
am adbfbb74: Add new SENSOR_TYPE_WRIST_TILT_GESTURE sensor type

* commit 'adbfbb747de9fe1efc21fc83f6591e7d13c81c36':
  Add new SENSOR_TYPE_WRIST_TILT_GESTURE sensor type

9 years agoAdded insecure (chunkless) AEAD option.
Shawn Willden [Tue, 10 Feb 2015 21:29:46 +0000 (14:29 -0700)]
Added insecure (chunkless) AEAD option.

Also moved chunk length specification to operation parameter rather than
keygen parameter.

Change-Id: Id4bdfdcb1c7b64b3f22b4027e037e37c2860ec39

9 years agoRename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA
Shawn Willden [Sat, 7 Feb 2015 00:04:53 +0000 (17:04 -0700)]
Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA

Change-Id: Ieddd706ee205100719f7e2f9e18b3d9b07c37669

9 years agoAdd additional param lists to update and finish.
Shawn Willden [Sat, 7 Feb 2015 00:01:53 +0000 (17:01 -0700)]
Add additional param lists to update and finish.

At the moment this is to accommodate associated data for AEAD modes, but
there may be other parameters in the future.

Change-Id: Ib94f3606e3f714f6fa75bf0d4bd75804d9a8db4e

9 years agoAdd new SENSOR_TYPE_WRIST_TILT_GESTURE sensor type
Nick Vaccaro [Tue, 13 Jan 2015 20:14:28 +0000 (12:14 -0800)]
Add new SENSOR_TYPE_WRIST_TILT_GESTURE sensor type

Adds a new sensor type for converting the Android Wear defined wrist
tilt sensor type into an official android sensor type.

Change-Id: If6357aeb463a556a68a19b28931edec04f99a952

9 years agoam 2c16d1e0: am a163e491: Merge "gralloc: clarify lock_ycbcr in light of multimedia...
Lajos Molnar [Wed, 4 Feb 2015 18:58:19 +0000 (18:58 +0000)]
am 2c16d1e0: am a163e491: Merge "gralloc: clarify lock_ycbcr in light of multimedia codec usage" into lmp-mr1-dev

* commit '2c16d1e07d4600f78f40d16137c16c3160a3fdef':
  gralloc: clarify lock_ycbcr in light of multimedia codec usage

9 years agoam a163e491: Merge "gralloc: clarify lock_ycbcr in light of multimedia codec usage...
Lajos Molnar [Wed, 4 Feb 2015 15:49:31 +0000 (15:49 +0000)]
am a163e491: Merge "gralloc: clarify lock_ycbcr in light of multimedia codec usage" into lmp-mr1-dev

* commit 'a163e491c148468884520d6d331a0f6d19104677':
  gralloc: clarify lock_ycbcr in light of multimedia codec usage

9 years agoMerge "gralloc: clarify lock_ycbcr in light of multimedia codec usage" into lmp-mr1-dev
Lajos Molnar [Wed, 4 Feb 2015 07:18:02 +0000 (07:18 +0000)]
Merge "gralloc: clarify lock_ycbcr in light of multimedia codec usage" into lmp-mr1-dev

9 years agoMerge "Camera: modify test per framework interface change"
Yin-Chia Yeh [Tue, 3 Feb 2015 23:40:11 +0000 (23:40 +0000)]
Merge "Camera: modify test per framework interface change"

9 years agoCamera: modify test per framework interface change
Yin-Chia Yeh [Tue, 3 Feb 2015 00:20:46 +0000 (16:20 -0800)]
Camera: modify test per framework interface change

Wrap camera_module_t by CameraModule to follow
framework interface change.

Change-Id: Ief423a1571cf06c7ef80b98b403a33969baf95f6

9 years agoam efbc9f6d: am 949d6d4b: Merge changes I38700cda,I088e6094
Shawn Willden [Tue, 3 Feb 2015 20:47:53 +0000 (20:47 +0000)]
am efbc9f6d: am 949d6d4b: Merge changes I38700cda,I088e6094

* commit 'efbc9f6d0b6cbf890ee894ee66f2a6f8308c1766':
  Add raw key format, for symmetric key import.
  Remove "required" label from DSA algorithm.

9 years agoam 949d6d4b: Merge changes I38700cda,I088e6094
Shawn Willden [Tue, 3 Feb 2015 20:41:29 +0000 (20:41 +0000)]
am 949d6d4b: Merge changes I38700cda,I088e6094

* commit '949d6d4bfc1cf37a84d5d4ac00a20017941fdeba':
  Add raw key format, for symmetric key import.
  Remove "required" label from DSA algorithm.

9 years agoMerge changes I38700cda,I088e6094
Shawn Willden [Tue, 3 Feb 2015 20:30:05 +0000 (20:30 +0000)]
Merge changes I38700cda,I088e6094

* changes:
  Add raw key format, for symmetric key import.
  Remove "required" label from DSA algorithm.

9 years agoMerge "camera_common: add TORCH_MODE_STATUS_OFF"
Chien-Yu Chen [Tue, 3 Feb 2015 18:27:53 +0000 (18:27 +0000)]
Merge "camera_common: add TORCH_MODE_STATUS_OFF"

9 years agoAdd raw key format, for symmetric key import.
Shawn Willden [Tue, 3 Feb 2015 18:12:20 +0000 (11:12 -0700)]
Add raw key format, for symmetric key import.

Change-Id: I38700cdafcf1f244584d6e88f8d9540c70a7de56

9 years agoRemove "required" label from DSA algorithm.
Shawn Willden [Tue, 3 Feb 2015 18:10:48 +0000 (11:10 -0700)]
Remove "required" label from DSA algorithm.

Change-Id: I088e6094ec56f434356d11ab2032b1a5b1223334

9 years agoam 9da1cb51: am f3391a93: Merge changes I4ef53a09,I7c3c5bd5
Shawn Willden [Mon, 2 Feb 2015 23:43:51 +0000 (23:43 +0000)]
am 9da1cb51: am f3391a93: Merge changes I4ef53a09,I7c3c5bd5

* commit '9da1cb51c6d9ddca81213211aa5168685557a9cc':
  Remove get_output_size() method from keymaster HAL.
  Add tag to allow caller-specified nonce.

9 years agoam f3391a93: Merge changes I4ef53a09,I7c3c5bd5
Shawn Willden [Mon, 2 Feb 2015 23:39:20 +0000 (23:39 +0000)]
am f3391a93: Merge changes I4ef53a09,I7c3c5bd5

* commit 'f3391a93188de86f7e15859e613faba94f65cdbc':
  Remove get_output_size() method from keymaster HAL.
  Add tag to allow caller-specified nonce.

9 years agoMerge changes I4ef53a09,I7c3c5bd5
Shawn Willden [Mon, 2 Feb 2015 23:19:31 +0000 (23:19 +0000)]
Merge changes I4ef53a09,I7c3c5bd5

* changes:
  Remove get_output_size() method from keymaster HAL.
  Add tag to allow caller-specified nonce.

9 years agoRemove get_output_size() method from keymaster HAL.
Shawn Willden [Mon, 2 Feb 2015 18:50:57 +0000 (11:50 -0700)]
Remove get_output_size() method from keymaster HAL.

Rather than requiring implementations to be able to predict output
sizes, we'll just have the Java layer make a very conservative guess.

Change-Id: I4ef53a09d122d4ecf0c80b9dadc9c7a9073561cc

9 years agoAdd tag to allow caller-specified nonce.
Shawn Willden [Fri, 30 Jan 2015 13:23:26 +0000 (06:23 -0700)]
Add tag to allow caller-specified nonce.

Change-Id: I7c3c5bd5f26a4d465554c998f673e0ee2ab8b86e

9 years agoam 3ec7c973: am d5f7dbec: audio: Add audio parameter key for device connect
Haynes Mathew George [Mon, 2 Feb 2015 15:37:02 +0000 (15:37 +0000)]
am 3ec7c973: am d5f7dbec: audio: Add audio parameter key for device connect

* commit '3ec7c973d134dae7e246358d92e6054de911d7b8':
  audio: Add audio parameter key for device connect

9 years agoam d5f7dbec: audio: Add audio parameter key for device connect
Haynes Mathew George [Mon, 2 Feb 2015 15:29:58 +0000 (15:29 +0000)]
am d5f7dbec: audio: Add audio parameter key for device connect

* commit 'd5f7dbec0cac2d0e638025e43f8fb0d611d22bfa':
  audio: Add audio parameter key for device connect

9 years agoam cb37e73b: am ee844515: Merge "Fix "error: \'strlen\' was not declared in this...
Elliott Hughes [Sat, 31 Jan 2015 08:33:58 +0000 (08:33 +0000)]
am cb37e73b: am ee844515: Merge "Fix "error: \'strlen\' was not declared in this scope"."

* commit 'cb37e73bb023ca97048a8c4b0155ce6397f84e10':
  Fix "error: 'strlen' was not declared in this scope".

9 years agoam ee844515: Merge "Fix "error: \'strlen\' was not declared in this scope"."
Elliott Hughes [Sat, 31 Jan 2015 07:49:22 +0000 (07:49 +0000)]
am ee844515: Merge "Fix "error: \'strlen\' was not declared in this scope"."

* commit 'ee84451582a1ccf3a177726f2848b64670c88437':
  Fix "error: 'strlen' was not declared in this scope".

9 years agoMerge "Fix "error: 'strlen' was not declared in this scope"."
Elliott Hughes [Sat, 31 Jan 2015 04:41:51 +0000 (04:41 +0000)]
Merge "Fix "error: 'strlen' was not declared in this scope"."

9 years agoFix "error: 'strlen' was not declared in this scope".
Elliott Hughes [Sat, 31 Jan 2015 04:40:50 +0000 (20:40 -0800)]
Fix "error: 'strlen' was not declared in this scope".

Change-Id: I8ae39a6b3cf4844429e6211b3c909c6f72978832

9 years agoaudio: Add audio parameter key for device connect
Haynes Mathew George [Thu, 25 Sep 2014 02:10:12 +0000 (19:10 -0700)]
audio: Add audio parameter key for device connect

Add audio parameter key for device connect.

Bug: 17785277
Bug: 19214836
Change-Id: Icd81702634e0bd83645d89c2d65e2b303fc11f8c
(cherry picked from commit 55c07c3418a3bc19a72c4935d8ed57a57074c49a)

9 years agoMerge "hardware keyguard HAL"
Andres Morales [Sat, 31 Jan 2015 00:08:56 +0000 (00:08 +0000)]
Merge "hardware keyguard HAL"

9 years agoMerge "camera HAL: Update camera_info with simultaneous access information."
Ruben Brunk [Fri, 30 Jan 2015 22:59:39 +0000 (22:59 +0000)]
Merge "camera HAL: Update camera_info with simultaneous access information."

9 years agoam 06b402dd: am ac41815a: Merge "Add missing includes."
Elliott Hughes [Fri, 30 Jan 2015 21:28:00 +0000 (21:28 +0000)]
am 06b402dd: am ac41815a: Merge "Add missing includes."

* commit '06b402dd10f6d6d0e2ee0127e9254d0bd7f480fe':
  Add missing includes.

9 years agoam ac41815a: Merge "Add missing includes."
Elliott Hughes [Fri, 30 Jan 2015 21:16:31 +0000 (21:16 +0000)]
am ac41815a: Merge "Add missing includes."

* commit 'ac41815a99763b3e59d0f2f9ef2bb3e5a2011336':
  Add missing includes.

9 years agohardware keyguard HAL
Andres Morales [Thu, 29 Jan 2015 18:53:19 +0000 (10:53 -0800)]
hardware keyguard HAL

simple API for signing/verifying passwords
with a hardware-backed keyguard

Change-Id: Ib2e25c7419e113494c2b0a4579ce8264a2335e07

9 years agogralloc: clarify lock_ycbcr in light of multimedia codec usage
Lajos Molnar [Fri, 30 Jan 2015 19:01:47 +0000 (11:01 -0800)]
gralloc: clarify lock_ycbcr in light of multimedia codec usage

Bug: 19179927
Change-Id: I53886f8d1a3a998b958f031b04ddd4cbf19aad2c

9 years agoMerge "Add missing includes."
Elliott Hughes [Fri, 30 Jan 2015 06:25:47 +0000 (06:25 +0000)]
Merge "Add missing includes."

9 years agoAdd missing includes.
Elliott Hughes [Fri, 30 Jan 2015 05:19:10 +0000 (21:19 -0800)]
Add missing includes.

Change-Id: I91730363386dae6ecb2193ec8f50ba9f8fc0ad60

9 years agocamera3: update reprocessing spec
Zhijun He [Sat, 17 Jan 2015 00:44:40 +0000 (16:44 -0800)]
camera3: update reprocessing spec

Also bump the HAL version to 3.3 for reprocessing spec update

Change-Id: I37eda90970eace23c42ba9106d4db1587df8d1b4

9 years agocamera_common: add TORCH_MODE_STATUS_OFF
Chien-Yu Chen [Thu, 29 Jan 2015 23:12:47 +0000 (15:12 -0800)]
camera_common: add TORCH_MODE_STATUS_OFF

Add TORCH_MODE_STATUS_OFF for the case when HAL has to turn off the
torch mode that was turned on by a previous set_torch_mode() call
in order to turn on the torch mode for the current set_torch_mode()
call.

Bug: 2682206
Change-Id: Ia2f717ffaca8c4346ec5fcdf73895160f700f067

9 years agocamera HAL: Update camera_info with simultaneous access information.
Ruben Brunk [Fri, 16 Jan 2015 22:29:21 +0000 (14:29 -0800)]
camera HAL: Update camera_info with simultaneous access information.

- Add necessary metadata to the camera_info structure to allow
  the camera service to determine which devices can be safely
  opened and used simultaneously without attempting to open
  camera devices.

Change-Id: I4250b4c7e1296ebf4cab07355d6d3be01f17ba1e

9 years agoam 2a96edc3: am b2bc0e51: camera3: update ZSL spec
Zhijun He [Thu, 29 Jan 2015 23:57:02 +0000 (23:57 +0000)]
am 2a96edc3: am b2bc0e51: camera3: update ZSL spec

* commit '2a96edc36ae1f21bf13842f790c265b134d6e903':
  camera3: update ZSL spec

9 years agoam b2bc0e51: camera3: update ZSL spec
Zhijun He [Thu, 29 Jan 2015 23:49:04 +0000 (23:49 +0000)]
am b2bc0e51: camera3: update ZSL spec

* commit 'b2bc0e518278b228d8b4c6bd324f04237feb92c3':
  camera3: update ZSL spec

9 years agocamera3: update ZSL spec
Zhijun He [Thu, 29 Jan 2015 22:44:37 +0000 (14:44 -0800)]
camera3: update ZSL spec

INPUT stream is not used by framework-implemented ZSL (HAL3.2), the sample
use case description is incorrect.

Bug: 19197776
Change-Id: I247ad8755b2197c2a62cc109c151749b42a4bd49

9 years agoam 588f7259: am f4530d6e: Merge "Add missing includes."
Elliott Hughes [Thu, 29 Jan 2015 17:22:55 +0000 (17:22 +0000)]
am 588f7259: am f4530d6e: Merge "Add missing includes."

* commit '588f725985ef0757dcf3e1257471b9c91dd4f106':
  Add missing includes.

9 years agoam fb823c7f: am 1e541c22: Merge changes I85f430fb,I514a136b
Shawn Willden [Thu, 29 Jan 2015 17:21:35 +0000 (17:21 +0000)]
am fb823c7f: am 1e541c22: Merge changes I85f430fb,I514a136b

* commit 'fb823c7f6e34973fbfbee788b2ed658dc4544742':
  Remove extraneous 'const' on rescope.
  Rename KM_ERROR_UNSUPPORTED_TAG_LENGTH to KM_ERROR_UNSUPPORTED_MAC_LENGTH.

9 years agoam 9e9fa066: am 1309477b: Merge "Add missing "const" on add_rng_entropy argument."
Shawn Willden [Thu, 29 Jan 2015 17:21:35 +0000 (17:21 +0000)]
am 9e9fa066: am 1309477b: Merge "Add missing "const" on add_rng_entropy argument."

* commit '9e9fa066345fd3c17a995f447f07495a0f1eeb13':
  Add missing "const" on add_rng_entropy argument.

9 years agoam f4530d6e: Merge "Add missing includes."
Elliott Hughes [Thu, 29 Jan 2015 05:21:41 +0000 (05:21 +0000)]
am f4530d6e: Merge "Add missing includes."

* commit 'f4530d6eed5fa432fe9283355a265a38aea58bc6':
  Add missing includes.

9 years agoMerge "Add missing includes."
Elliott Hughes [Thu, 29 Jan 2015 04:59:25 +0000 (04:59 +0000)]
Merge "Add missing includes."

9 years agoAdd missing includes.
Elliott Hughes [Thu, 29 Jan 2015 03:54:13 +0000 (19:54 -0800)]
Add missing includes.

Change-Id: Ia74cceea707e51195a570eed37d4b334ac413773

9 years agoam 1e541c22: Merge changes I85f430fb,I514a136b
Shawn Willden [Thu, 29 Jan 2015 01:00:58 +0000 (01:00 +0000)]
am 1e541c22: Merge changes I85f430fb,I514a136b

* commit '1e541c22d3552b116f0ab3e3a826f458b2821673':
  Remove extraneous 'const' on rescope.
  Rename KM_ERROR_UNSUPPORTED_TAG_LENGTH to KM_ERROR_UNSUPPORTED_MAC_LENGTH.

9 years agoam 1309477b: Merge "Add missing "const" on add_rng_entropy argument."
Shawn Willden [Thu, 29 Jan 2015 01:00:57 +0000 (01:00 +0000)]
am 1309477b: Merge "Add missing "const" on add_rng_entropy argument."

* commit '1309477bdaaecc35b468f00045d9b1d005dde377':
  Add missing "const" on add_rng_entropy argument.

9 years agoMerge changes I85f430fb,I514a136b
Shawn Willden [Thu, 29 Jan 2015 00:45:57 +0000 (00:45 +0000)]
Merge changes I85f430fb,I514a136b

* changes:
  Remove extraneous 'const' on rescope.
  Rename KM_ERROR_UNSUPPORTED_TAG_LENGTH to KM_ERROR_UNSUPPORTED_MAC_LENGTH.

9 years agoMerge "Add missing "const" on add_rng_entropy argument."
Shawn Willden [Thu, 29 Jan 2015 00:44:56 +0000 (00:44 +0000)]
Merge "Add missing "const" on add_rng_entropy argument."

9 years agoRemove extraneous 'const' on rescope.
Shawn Willden [Mon, 26 Jan 2015 23:19:49 +0000 (16:19 -0700)]
Remove extraneous 'const' on rescope.

Change-Id: I85f430fb902fad75f7ce272ac5ab420f212a133c

9 years agoRename KM_ERROR_UNSUPPORTED_TAG_LENGTH to
Shawn Willden [Mon, 26 Jan 2015 20:04:28 +0000 (13:04 -0700)]
Rename KM_ERROR_UNSUPPORTED_TAG_LENGTH to
KM_ERROR_UNSUPPORTED_MAC_LENGTH.

Change-Id: I514a136b5cbdb1ab1df67d44a22d68a09427a711

9 years agoAdd missing "const" on add_rng_entropy argument.
Shawn Willden [Mon, 26 Jan 2015 20:03:58 +0000 (13:03 -0700)]
Add missing "const" on add_rng_entropy argument.

Change-Id: I584feed0f89f4342e94cc83e165904c78687f610

9 years agoam c9832229: am 7b8e44f5: Merge "Remove superfluous OpenSSL include paths."
Kenny Root [Mon, 26 Jan 2015 19:17:35 +0000 (19:17 +0000)]
am c9832229: am 7b8e44f5: Merge "Remove superfluous OpenSSL include paths."

* commit 'c98322296c13617c911cc66f4578aa5daf08aadb':
  Remove superfluous OpenSSL include paths.

9 years agoam 7b8e44f5: Merge "Remove superfluous OpenSSL include paths."
Kenny Root [Mon, 26 Jan 2015 19:12:19 +0000 (19:12 +0000)]
am 7b8e44f5: Merge "Remove superfluous OpenSSL include paths."

* commit '7b8e44f511fdb5bd2730e29cc88f72305cf7ab16':
  Remove superfluous OpenSSL include paths.

9 years agoMerge "Remove superfluous OpenSSL include paths."
Kenny Root [Mon, 26 Jan 2015 18:52:53 +0000 (18:52 +0000)]
Merge "Remove superfluous OpenSSL include paths."

9 years agoam e1d15dda: am 79c255ad: Merge "Change per-boot tag and remove rescope auth timeout...
Shawn Willden [Sat, 24 Jan 2015 16:57:19 +0000 (16:57 +0000)]
am e1d15dda: am 79c255ad: Merge "Change per-boot tag and remove rescope auth timeout tag."

* commit 'e1d15dda2a6a34215d4ee3d2f070270d787bf7cd':
  Change per-boot tag and remove rescope auth timeout tag.

9 years agoMerge "camera: update HAL module API for external camera"
Zhijun He [Fri, 23 Jan 2015 23:58:17 +0000 (23:58 +0000)]
Merge "camera: update HAL module API for external camera"

9 years agocamera: update HAL module API for external camera
Zhijun He [Mon, 12 Jan 2015 22:45:33 +0000 (14:45 -0800)]
camera: update HAL module API for external camera

Update camera module API 2.4 for usb camera support.

Change-Id: Id8329e31ad0622bdc06c60e87e97c742a9719b3b

9 years agoam 79c255ad: Merge "Change per-boot tag and remove rescope auth timeout tag."
Shawn Willden [Fri, 23 Jan 2015 22:21:44 +0000 (22:21 +0000)]
am 79c255ad: Merge "Change per-boot tag and remove rescope auth timeout tag."

* commit '79c255ade3ed7ab00db8041dbf7e2a171cbc32b0':
  Change per-boot tag and remove rescope auth timeout tag.

9 years agoMerge "Change per-boot tag and remove rescope auth timeout tag."
Shawn Willden [Fri, 23 Jan 2015 22:04:53 +0000 (22:04 +0000)]
Merge "Change per-boot tag and remove rescope auth timeout tag."

9 years agoChange per-boot tag and remove rescope auth timeout tag.
Shawn Willden [Fri, 23 Jan 2015 08:01:21 +0000 (01:01 -0700)]
Change per-boot tag and remove rescope auth timeout tag.

Change the boolean KM_TAG_SINGLE_USE_PER_BOOT to an integer-valued
KM_TAG_USES_PER_BOOT.  This makes it more flexible without changing
implementation complexity.

Remove KM_TAG_RESCOPE_AUTH_TIMEOUT because there's no clear use case and
it seems unnecessarily complex.

Change-Id: Iad1512f5cc80f517e5ea7622288179c162bed2ad

9 years agoRemove superfluous OpenSSL include paths.
Adam Langley [Fri, 23 Jan 2015 01:16:01 +0000 (17:16 -0800)]
Remove superfluous OpenSSL include paths.

The libcrypto and libssl modules (and their respective static and host
versions) use LOCAL_EXPORT_C_INCLUDE_DIRS thus just including the module
is sufficient.

Change-Id: I9030a3747b8a1f18acd0308746cb2f63d4123f8b

9 years agoam bde6c2bb: am b1a12188: Merge "Define keymaster HAL v0.4."
Shawn Willden [Thu, 22 Jan 2015 21:41:28 +0000 (21:41 +0000)]
am bde6c2bb: am b1a12188: Merge "Define keymaster HAL v0.4."

* commit 'bde6c2bb3fca4bc0665701ac99fa2b5b9673a6d6':
  Define keymaster HAL v0.4.

9 years agoam b1a12188: Merge "Define keymaster HAL v0.4."
Shawn Willden [Thu, 22 Jan 2015 21:36:14 +0000 (21:36 +0000)]
am b1a12188: Merge "Define keymaster HAL v0.4."

* commit 'b1a1218845eb32564b2f7f0297096ec43b27e41b':
  Define keymaster HAL v0.4.

9 years agoMerge "Define keymaster HAL v0.4."
Shawn Willden [Thu, 22 Jan 2015 21:28:56 +0000 (21:28 +0000)]
Merge "Define keymaster HAL v0.4."

9 years agoDefine keymaster HAL v0.4.
Shawn Willden [Thu, 12 Jun 2014 19:48:46 +0000 (13:48 -0600)]
Define keymaster HAL v0.4.

Change-Id: I040412443bbbe25bce3d44759d710b78eac36caa

9 years agoam 1d1bf8b5: am 8b7eca86: CEC: Add a new flag for set_option
Jinsuk Kim [Mon, 19 Jan 2015 02:54:58 +0000 (02:54 +0000)]
am 1d1bf8b5: am 8b7eca86: CEC: Add a new flag for set_option

* commit '1d1bf8b5f648abad900b16eabdfd0813e5d6a6a2':
  CEC: Add a new flag for set_option

9 years agoam 8b7eca86: CEC: Add a new flag for set_option
Jinsuk Kim [Mon, 19 Jan 2015 02:49:37 +0000 (02:49 +0000)]
am 8b7eca86: CEC: Add a new flag for set_option

* commit '8b7eca867492d8a08285059492ce5697b68b5821':
  CEC: Add a new flag for set_option

9 years agoCEC: Add a new flag for set_option
Jinsuk Kim [Sun, 18 Jan 2015 22:20:09 +0000 (07:20 +0900)]
CEC: Add a new flag for set_option

Added a flag to pass system language information to HAL so that it can
respond to <Get Menu Language> in standby mode.

Bug: 19054079

Change-Id: Iada00307202f5c9429944184b62b6456b624125a

9 years agousbcamera: initial implementation of default usb camera HAL
Zhijun He [Fri, 9 Jan 2015 01:40:00 +0000 (17:40 -0800)]
usbcamera: initial implementation of default usb camera HAL

* Basic skeleton of usb camera hal implementation
* Vendor tag is not supported yet
* Further usb camera hal implementation can be filled into UsbCamera.cpp
* Hot plug thread need to be implemented

Change-Id: Ida63b6d640e32192f5b60a280d9d5106d80e523f