OSDN Git Service

android-x86/hardware-libhardware.git
9 years agoMerge "Separate keymaster0 and keymaster1 HALs."
Shawn Willden [Thu, 26 Feb 2015 23:24:41 +0000 (23:24 +0000)]
Merge "Separate keymaster0 and keymaster1 HALs."

9 years agoSeparate keymaster0 and keymaster1 HALs.
Shawn Willden [Tue, 24 Feb 2015 16:17:38 +0000 (09:17 -0700)]
Separate keymaster0 and keymaster1 HALs.

For now the keymaster1 HAL still includes all of the keymaster0 entry
points, and soft_keymaster_device will continue to implement them.  In
the near future the keymaster0 entry points will be removed, as soon as
we can ensure that keystore no longer needs them.

Change-Id: I5c54282c12d1c4b8b22ed4929b6e6c724a94ede4

9 years agoMerge "Clarify the meaning of KM_TAG_MAC_LENGTH."
Alex Klyubin [Tue, 24 Feb 2015 00:43:51 +0000 (00:43 +0000)]
Merge "Clarify the meaning of KM_TAG_MAC_LENGTH."

9 years agoClarify the meaning of KM_TAG_MAC_LENGTH.
Alex Klyubin [Sat, 21 Feb 2015 00:42:23 +0000 (16:42 -0800)]
Clarify the meaning of KM_TAG_MAC_LENGTH.

Change-Id: I18478923059783e955613142a8d3352f98f5d7b0

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 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 "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 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 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 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 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 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 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 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 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 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 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 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 agoMerge "usbaudio: Return 0 bytes on failure in capture"
Eric Laurent [Fri, 9 Jan 2015 17:49:31 +0000 (17:49 +0000)]
Merge "usbaudio: Return 0 bytes on failure in capture"

9 years agousbaudio: Return 0 bytes on failure in capture
Viswanath L [Fri, 31 Oct 2014 07:37:39 +0000 (13:07 +0530)]
usbaudio: Return 0 bytes on failure in capture

Return 0 bytes from in_read() in failure conditions so that invalid
data is not recorded.

Change-Id: I9a6294e4162fa642fd7e160a32d1ad16f255ff62

9 years agoMerge "Fix missing #includes in hardware/libhardware."
Elliott Hughes [Mon, 29 Dec 2014 21:17:12 +0000 (21:17 +0000)]
Merge "Fix missing #includes in hardware/libhardware."

9 years agoFix missing #includes in hardware/libhardware.
Elliott Hughes [Mon, 29 Dec 2014 20:59:11 +0000 (12:59 -0800)]
Fix missing #includes in hardware/libhardware.

Change-Id: If7c72054bf79b89c3d7a544956da671c3b404269

9 years agoMerge "fix: memory leak"
Eric Laurent [Thu, 18 Dec 2014 16:42:10 +0000 (16:42 +0000)]
Merge "fix: memory leak"

9 years agofix: memory leak
soon1.choi [Thu, 18 Dec 2014 07:03:43 +0000 (16:03 +0900)]
fix: memory leak

free momory for str_parms to prevent memory leak.

Change-Id: I7df5567d665554dbd4646c881f0f48b0c568c5fe

9 years agoMerge "Fix build in C++11 mode"
Dan Albert [Wed, 17 Dec 2014 02:29:26 +0000 (02:29 +0000)]
Merge "Fix build in C++11 mode"

9 years agoMerge "Cleanup Obsolete LOCAL_PRELINK_MODULE."
Ying Wang [Tue, 16 Dec 2014 20:40:03 +0000 (20:40 +0000)]
Merge "Cleanup Obsolete LOCAL_PRELINK_MODULE."

9 years agoCleanup Obsolete LOCAL_PRELINK_MODULE.
Ying Wang [Tue, 16 Dec 2014 20:33:37 +0000 (12:33 -0800)]
Cleanup Obsolete LOCAL_PRELINK_MODULE.

Bug: 18675947
Change-Id: I62157cd4bfab0edb445dd6543eb47a981e642848

9 years agoFix build in C++11 mode
Bernhard Rosenkränzer [Fri, 12 Dec 2014 21:16:55 +0000 (22:16 +0100)]
Fix build in C++11 mode

Fix build in C++11 mode instead of reverting to C++98 mode.
(Fixes some constructs that were mistaken for C++11 literals and
a use of the std::ostream(NULL) constructor).

Building in C++98 mode causes clang to fall over conflicting definitions
of char16_t.

Change-Id: I66230eeb960f4a894d6c98fe7935ec932569c5a4
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoMerge "Remove ARCH_X86."
Elliott Hughes [Fri, 5 Dec 2014 17:47:28 +0000 (17:47 +0000)]
Merge "Remove ARCH_X86."

9 years agoRemove ARCH_X86.
Elliott Hughes [Fri, 5 Dec 2014 00:20:52 +0000 (16:20 -0800)]
Remove ARCH_X86.

Should have been __GLIBC__, but the code is dead anyway.

Change-Id: I773f296a9c31949fa631cad863b841584c71f0ef

9 years agoMerge "initialization of defined variables"
Kenny Root [Thu, 4 Dec 2014 23:25:46 +0000 (23:25 +0000)]
Merge "initialization of defined variables"

9 years agoMerge "Fix C++11 build."
Dan Albert [Fri, 28 Nov 2014 05:54:35 +0000 (05:54 +0000)]
Merge "Fix C++11 build."

9 years agoFix C++11 build.
Dan Albert [Fri, 28 Nov 2014 05:39:46 +0000 (21:39 -0800)]
Fix C++11 build.

Not sure how this slipped past my checkbuild...

Change-Id: Id238887a2a47ced387a6128a772fad3e468096be

9 years agoMerge "Use an older C++ standard."
Dan Albert [Thu, 20 Nov 2014 21:14:29 +0000 (21:14 +0000)]
Merge "Use an older C++ standard."

9 years agoUse an older C++ standard.
Dan Albert [Thu, 20 Nov 2014 19:23:35 +0000 (11:23 -0800)]
Use an older C++ standard.

Bug: 18466763
Change-Id: Ibea0eb2617f13bacca0a662fe4ca88fc8a168cd7

9 years agoMerge "Stop using stlport."
Dan Albert [Mon, 17 Nov 2014 22:27:34 +0000 (22:27 +0000)]
Merge "Stop using stlport."

9 years agoStop using stlport.
Dan Albert [Mon, 17 Nov 2014 22:21:50 +0000 (14:21 -0800)]
Stop using stlport.

Bug: 15193147
Change-Id: I5d53338f239ba18a2b007b345ba050d1560220b4

9 years agoam 793a854e: Fix remote submix crash on null sink
Jean-Michel Trivi [Wed, 15 Oct 2014 23:58:44 +0000 (23:58 +0000)]
am 793a854e: Fix remote submix crash on null sink

* commit '793a854e4547fa43632907a987684cadc93eb5e2':
  Fix remote submix crash on null sink

9 years agoFix remote submix crash on null sink
Jean-Michel Trivi [Tue, 14 Oct 2014 22:31:51 +0000 (15:31 -0700)]
Fix remote submix crash on null sink

The "remote submix" HAL uses a MonoPipe instance to "pipe" audio
  from the sink of this virtual device HAL to its source.
  The life-cycle of this pipe is:
  - creation when either the input or output stream is open
  - destruction when both input and output are closed.

Changes are:
Fix test for pipe destruction: destroy pipe when both
  input and output streams are NULL.
Count how many read errors went into the logs and cap them
  so as not to spam the logs when the pipe is not properly
  set up. Less 'I' logs, 'D' logs instead.
When opening input stream, check for non-null sink before
  checking if it's shutdown.

Bug 16653334
Bug 17111907

Change-Id: I634b4192b00f9b74a5109f42242423e9c8cb4c7c

9 years agoam 9f497870: Merge "Don\'t manually link stlport."
Dan Albert [Fri, 26 Sep 2014 19:53:02 +0000 (19:53 +0000)]
am 9f497870: Merge "Don\'t manually link stlport."

* commit '9f4978701783942e836aeab526727458e9cb1492':
  Don't manually link stlport.

9 years agoMerge "Don't manually link stlport."
Dan Albert [Fri, 26 Sep 2014 19:39:55 +0000 (19:39 +0000)]
Merge "Don't manually link stlport."

9 years agoDon't manually link stlport.
Dan Albert [Fri, 26 Sep 2014 17:55:44 +0000 (10:55 -0700)]
Don't manually link stlport.

Change-Id: Ib5a6e31b3a6dea39b45727a49356fa2838ea77bc

9 years agoRemove MHL hal definition.
Jungshik Jang [Thu, 18 Sep 2014 08:06:14 +0000 (17:06 +0900)]
Remove MHL hal definition.

Bug: 17479050
Change-Id: I7e238e09e253d46a552b775b0483215f8f1ae512

9 years agousb audio: implement microphone mute.
Eric Laurent [Sun, 14 Sep 2014 19:18:18 +0000 (12:18 -0700)]
usb audio: implement microphone mute.

Bug: 17321604.
Change-Id: I8e3daf2636dfd5f85d990c0093c52c908064afac

9 years agoCamera HALs: Promote device HAL v3.2
Eino-Ville Talvala [Tue, 9 Sep 2014 23:42:27 +0000 (16:42 -0700)]
Camera HALs: Promote device HAL v3.2

And deprecate older HALs.

Bug: 17445920
Change-Id: I37a5e53fda3c93080e37ec848f84c702a2c9120b

9 years agosensors.h documentation change.
Aravind Akella [Thu, 4 Sep 2014 22:36:31 +0000 (15:36 -0700)]
sensors.h documentation change.

  i) on-change sensors should set maxDelay.
  ii) Drivers should hold a wake_lock till poll() is called
  the next time when delivering events from wake-up sensors.

Change-Id: I4b137843d5c857f04601618548306a710fbfbe5c

10 years agoMerge "Creates interface to dynamically configure GPS. Bug: 17110478 Change-Id: I2a05...
Tsuwei Chen [Tue, 2 Sep 2014 17:01:22 +0000 (17:01 +0000)]
Merge "Creates interface to dynamically configure GPS. Bug: 17110478 Change-Id: I2a053d02e3c198d519d6306809f81ff601169151" into lmp-dev

10 years agoCreates interface to dynamically configure GPS.
Tsuwei Chen [Tue, 26 Aug 2014 23:34:19 +0000 (16:34 -0700)]
Creates interface to dynamically configure GPS.
Bug: 17110478
Change-Id: I2a053d02e3c198d519d6306809f81ff601169151

10 years agoMerge commit '38014a7c' into lmp-dev
Griff Hazen [Fri, 29 Aug 2014 00:02:50 +0000 (17:02 -0700)]
Merge commit '38014a7c' into lmp-dev

Conflicts:
include/hardware/sensors.h

Change-Id: I21517f717761af7f52c003d535e86059ebb75f05

10 years agoam 74279e3c: Adding information about the first activation
Vinod Krishnan [Thu, 28 Aug 2014 23:08:37 +0000 (23:08 +0000)]
am 74279e3c: Adding information about the first activation

* commit '74279e3c23bd62c70d53098be91db85df5a68ece':
  Adding information about the first activation

10 years agoAdding information about the first activation
Vinod Krishnan [Thu, 28 Aug 2014 22:25:13 +0000 (15:25 -0700)]
Adding information about the first activation

Change-Id: If5759749c5e6a88dcaf5ab600c9086b056c3908a

10 years agoMerge "Fix problem with dropouts with multiple USB audio streams." into lmp-dev
Paul McLean [Thu, 28 Aug 2014 20:44:42 +0000 (20:44 +0000)]
Merge "Fix problem with dropouts with multiple USB audio streams." into lmp-dev

10 years agoFixing non-playback on USB devices with support for MONO playback.
Paul McLean [Mon, 25 Aug 2014 15:04:02 +0000 (08:04 -0700)]
Fixing non-playback on USB devices with support for MONO playback.

Bug 17136854

Change-Id: Ia0136fa8f9b4789d538b2dccb3f6071ae5062010

10 years agoFix problem with dropouts with multiple USB audio streams.
Paul McLean [Wed, 20 Aug 2014 23:50:25 +0000 (16:50 -0700)]
Fix problem with dropouts with multiple USB audio streams.

Bug 17136569

Change-Id: I94bdbe037533a3fd77f249fdd42f4d828d3bf87f

10 years agoMerge "Sensor HAL documentation fix." into lmp-dev
Aravind Akella [Fri, 22 Aug 2014 17:54:50 +0000 (17:54 +0000)]
Merge "Sensor HAL documentation fix." into lmp-dev

10 years agoSensor HAL documentation fix.
Aravind Akella [Thu, 21 Aug 2014 23:31:14 +0000 (16:31 -0700)]
Sensor HAL documentation fix.

Change-Id: Ibc3f643a22163f734ba0ca912f011decf55d9bfa

10 years agoMerge "Quick hack fix for USB accessory audio support" into lmp-dev
Glenn Kasten [Thu, 21 Aug 2014 15:35:20 +0000 (15:35 +0000)]
Merge "Quick hack fix for USB accessory audio support" into lmp-dev

10 years agoQuick hack fix for USB accessory audio support
Mike Lockwood [Thu, 14 Aug 2014 16:34:54 +0000 (09:34 -0700)]
Quick hack fix for USB accessory audio support

tinyalsa fails to retrieve the correct value for the period count
from the f_audio_source driver and tries to use zero instead.
This wasn't a problem before because the usb audio HAL used hard coded values
that were compatible with the driver.

Bug: 16799652
Change-Id: I6f5b907a0699c58b071e9f419ed8e053a7d9dc77

10 years agoSome parameter renaming and comment update in sensors.h
Etienne Le Grand [Tue, 19 Aug 2014 21:30:19 +0000 (14:30 -0700)]
Some parameter renaming and comment update in sensors.h

bug: 16818625
Change-Id: Ifcda8cd4e80a7377a6b5b138b9c7a5a2275af153

10 years agoFix problem with reloading config of new capture devices
Paul McLean [Wed, 13 Aug 2014 22:32:34 +0000 (15:32 -0700)]
Fix problem with reloading config of new capture devices

with same card/device numbers.

Bug: 17012657
Change-Id: I7cb50aedc538d8c648e7f66c8e153cf47ce12577

10 years agoFix problem with reloading config of new devices with same card/device numbers.
Paul McLean [Tue, 12 Aug 2014 20:57:10 +0000 (13:57 -0700)]
Fix problem with reloading config of new devices with same card/device numbers.

Bug 16981885

Change-Id: I65c6c418ee0d0f42c87379b614f64302d27f8e77

10 years agoMerge "Camera2/3 HAL test: Update tet according createStream change" into lmp-dev
Zhijun He [Mon, 11 Aug 2014 17:33:51 +0000 (17:33 +0000)]
Merge "Camera2/3 HAL test: Update tet according createStream change" into lmp-dev

10 years agoFix typo in mhl hal.
Jungshik Jang [Mon, 11 Aug 2014 07:08:43 +0000 (16:08 +0900)]
Fix typo in mhl hal.

Bug: 16215362
Change-Id: Ic9d5a127007867ea72b2fa4040b917a2eef3fc39

10 years agoCamera2/3 HAL test: Update tet according createStream change
Zhijun He [Mon, 11 Aug 2014 04:24:49 +0000 (21:24 -0700)]
Camera2/3 HAL test: Update tet according createStream change

Bug: 14327010
Change-Id: I45d2ab4859ee0cc9273e579254f0569108c748f1

10 years agoMerge "LE: Add limited advertising duration capability (1/3)" into lmp-dev
Andre Eisenbach [Fri, 8 Aug 2014 02:29:28 +0000 (02:29 +0000)]
Merge "LE: Add limited advertising duration capability (1/3)" into lmp-dev

10 years agoCamera2/3 Test: cleanup the test
Zhijun He [Thu, 7 Aug 2014 23:25:41 +0000 (16:25 -0700)]
Camera2/3 Test: cleanup the test

1. Fix the HAL version check
2. Disable some test temporarily as the deprecated tags were used.

Bug: 16855498
Change-Id: I9f9dc285a1085b471d03c5a900cc44dd2a7480c3

10 years agoLE: Add limited advertising duration capability (1/3)
Andre Eisenbach [Thu, 7 Aug 2014 22:18:34 +0000 (15:18 -0700)]
LE: Add limited advertising duration capability (1/3)

Change-Id: I14006aa96758c285a1d88aef12df11cf28598028

10 years agoMerge "CEC: Update mhl header" into lmp-dev
Jinsuk Kim [Wed, 6 Aug 2014 21:40:12 +0000 (21:40 +0000)]
Merge "CEC: Update mhl header" into lmp-dev

10 years agoMerge "usb audio: fix set_parameters read/write concurrency" into lmp-dev
Eric Laurent [Wed, 6 Aug 2014 21:19:29 +0000 (21:19 +0000)]
Merge "usb audio: fix set_parameters read/write concurrency" into lmp-dev

10 years agousb audio: fix set_parameters read/write concurrency
Eric Laurent [Tue, 5 Aug 2014 03:29:17 +0000 (20:29 -0700)]
usb audio: fix set_parameters read/write concurrency

Do not read the ALSA PCM device configuration when playback
or capture is active.
Do not force ALSA profile update if card and device passed
to out/in_set_parameters() do not change.
Hold the main HAL lock when closing or opening the
ALSA PCM device.

Bug: 15520724.

Change-Id: I2b6087ed46ce7433de0b6dd8b24ec10de2e55d21

10 years agoCEC: Update mhl header
Jinsuk Kim [Wed, 6 Aug 2014 06:43:18 +0000 (15:43 +0900)]
CEC: Update mhl header

Agreement with MHL consortium mandates that the open source implementation
should mention only RAP/RCP/Scratchpad command and their related constant
definitions.

Also added a new event definition that provides with the capability info
of the connected device.

Change-Id: I0875e96672720bf2f182ee1d8b4c32437faac930

10 years agoaudio HAL: add parameter to get audio HW sync source
Eric Laurent [Fri, 1 Aug 2014 21:42:44 +0000 (14:42 -0700)]
audio HAL: add parameter to get audio HW sync source

Bug: 16132368.
Change-Id: Id76ce254b73ea11316cc684399de8d9c520c9b9b

10 years agoMerge "sound_trigger HAL update" into lmp-dev
Eric Laurent [Tue, 5 Aug 2014 19:53:48 +0000 (19:53 +0000)]
Merge "sound_trigger HAL update" into lmp-dev

10 years agoMerge "Add HAL capabilities for GPS Measurements and Navigation Messages." into lmp-dev
destradaa [Tue, 5 Aug 2014 17:01:10 +0000 (17:01 +0000)]
Merge "Add HAL capabilities for GPS Measurements and Navigation Messages." into lmp-dev

10 years agoAdd HAL capabilities for GPS Measurements and Navigation Messages.
destradaa [Thu, 31 Jul 2014 23:34:09 +0000 (16:34 -0700)]
Add HAL capabilities for GPS Measurements and Navigation Messages.

Change-Id: I2ed41f2c048cfe82a539b3a4e955305787731a95

10 years agoAdd transport parameter to createBond() function (1/4)
Andre Eisenbach [Tue, 5 Aug 2014 00:22:29 +0000 (17:22 -0700)]
Add transport parameter to createBond() function (1/4)

Change-Id: I8373ace899444c138907aaecc0f067188b0a7d90

10 years agosound_trigger HAL update
Eric Laurent [Wed, 30 Jul 2014 15:58:39 +0000 (08:58 -0700)]
sound_trigger HAL update

Bug: 12378680.

Change-Id: I556cd316cbff3b8d88331319ca0ad65a09aae0f9

10 years agoMerge "Remove WAKE_UP_* sensor constants and stringTypes." into lmp-dev
Aravind Akella [Thu, 31 Jul 2014 16:46:03 +0000 (16:46 +0000)]
Merge "Remove WAKE_UP_* sensor constants and stringTypes." into lmp-dev

10 years agoIncorrect data type. bt_local_le_features_t of wrong size
Prerepa Viswanadham [Wed, 30 Jul 2014 22:10:39 +0000 (15:10 -0700)]
Incorrect data type. bt_local_le_features_t of wrong size

b/16653133

Change-Id: Icd7a3de6161669f4c54c6042bf80314e72f5f0ff

10 years agoRemove WAKE_UP_* sensor constants and stringTypes.
Aravind Akella [Tue, 29 Jul 2014 01:01:37 +0000 (18:01 -0700)]
Remove WAKE_UP_* sensor constants and stringTypes.

Change-Id: Iabe4bb064d88d9fcecc1a31e609cb8b77ebdd5ad

10 years agoAdd parameter key and values for hearing aid compatibility mode
Eric Laurent [Fri, 25 Jul 2014 17:10:11 +0000 (12:10 -0500)]
Add parameter key and values for hearing aid compatibility mode

Change-Id: Ibdbe102bd49dbf228af5d4327b1868849c9d754e

10 years agoMerge "Pass multichannel capability to AudioPolicyManager" into lmp-dev
Andy Hung [Tue, 29 Jul 2014 23:50:46 +0000 (23:50 +0000)]
Merge "Pass multichannel capability to AudioPolicyManager" into lmp-dev

10 years agoPass multichannel capability to AudioPolicyManager
Andy Hung [Mon, 28 Jul 2014 23:19:47 +0000 (16:19 -0700)]
Pass multichannel capability to AudioPolicyManager

Change-Id: Ifcfe5e9e0c01ccb0e9af25e0c718ea5f04181ae4

10 years agoAdd multichannel USB handshaking with AudioFlinger
Andy Hung [Tue, 22 Jul 2014 04:16:45 +0000 (21:16 -0700)]
Add multichannel USB handshaking with AudioFlinger

The number of channels can be "forced" using k_force_channels.
If the channel count proposed by AudioFlinger is not permitted
by the device, it is emulated.

Change-Id: Ib20e680c8f95adb84616a4fe52977f659cf4d6ca