OSDN Git Service

android-x86/hardware-libhardware.git
10 years agoam c2a0b248: Merge "Update HDMI-CEC HAL interface definition" into klp-modular-dev
Jinsuk Kim [Tue, 29 Apr 2014 21:34:58 +0000 (21:34 +0000)]
am c2a0b248: Merge "Update HDMI-CEC HAL interface definition" into klp-modular-dev

* commit 'c2a0b2484ab80351ad18fb0b8337a8150e656b93':
  Update HDMI-CEC HAL interface definition

10 years agoMerge "Update HDMI-CEC HAL interface definition" into klp-modular-dev
Jinsuk Kim [Tue, 29 Apr 2014 21:32:29 +0000 (21:32 +0000)]
Merge "Update HDMI-CEC HAL interface definition" into klp-modular-dev

10 years agoam c070bad4: Merge changes I672d4ee8,I6a2183b5,If0c0135e
Colin Cross [Mon, 21 Apr 2014 13:45:30 +0000 (13:45 +0000)]
am c070bad4: Merge changes I672d4ee8,I6a2183b5,If0c0135e

* commit 'c070bad435799b4febdd2acf6be6c191f15f724e':
  usbaudio: allow compiling for 64-bit
  audio_remote_submix: allow compiling for 64-bit
  audio: allow compiling for 64-bit

10 years agoMerge changes I672d4ee8,I6a2183b5,If0c0135e
Colin Cross [Sat, 19 Apr 2014 00:11:28 +0000 (00:11 +0000)]
Merge changes I672d4ee8,I6a2183b5,If0c0135e

* changes:
  usbaudio: allow compiling for 64-bit
  audio_remote_submix: allow compiling for 64-bit
  audio: allow compiling for 64-bit

10 years agousbaudio: allow compiling for 64-bit
Colin Cross [Fri, 18 Apr 2014 22:41:11 +0000 (15:41 -0700)]
usbaudio: allow compiling for 64-bit

Set -Wno-unused-parameter, which makes the directory warnings-clean
on 32-bit and 64-bit.
Remove LOCAL_32_BIT_ONLY.

Change-Id: I672d4ee8d9e70c75f9376ca60389af08f73166b8

10 years agoaudio_remote_submix: allow compiling for 64-bit
Colin Cross [Fri, 18 Apr 2014 22:45:42 +0000 (15:45 -0700)]
audio_remote_submix: allow compiling for 64-bit

Fix a few 64-bit warnings and set -Wno-unused-parameter, which makes
the directory warnings-clean on 32-bit and 64-bit.
Remove LOCAL_32_BIT_ONLY.

Change-Id: I6a2183b5bb0cdf438a04de967995da7b1e2e3854

10 years agoaudio: allow compiling for 64-bit
Colin Cross [Fri, 18 Apr 2014 22:41:11 +0000 (15:41 -0700)]
audio: allow compiling for 64-bit

Set -Wno-unused-parameter, which makes the directory warnings-clean
on 32-bit and 64-bit.
Remove LOCAL_32_BIT_ONLY.

Change-Id: If0c0135e57935d785a0f36b7d5187ac567c7e21c

10 years agoam cb3a62ea: Merge "keymaster: add flags indicating feature support"
Kenny Root [Fri, 18 Apr 2014 21:15:30 +0000 (21:15 +0000)]
am cb3a62ea: Merge "keymaster: add flags indicating feature support"

* commit 'cb3a62ea2f9a08dbe83ff68685f6361a5d015345':
  keymaster: add flags indicating feature support

10 years agoMerge "keymaster: add flags indicating feature support"
Kenny Root [Fri, 18 Apr 2014 18:50:01 +0000 (18:50 +0000)]
Merge "keymaster: add flags indicating feature support"

10 years agoam dd6e1a01: Merge "Reduced most MultiHal ALOGI to ALOGV, reducing bootup logspam...
Aaron Whyte [Wed, 16 Apr 2014 20:33:03 +0000 (20:33 +0000)]
am dd6e1a01: Merge "Reduced most MultiHal ALOGI to ALOGV, reducing bootup logspam." into klp-modular-dev

* commit 'dd6e1a018e318d8f95d507a2b7fc54eaa0fcabf5':
  Reduced most MultiHal ALOGI to ALOGV, reducing bootup logspam.

10 years agoMerge "Reduced most MultiHal ALOGI to ALOGV, reducing bootup logspam." into klp-modul...
Aaron Whyte [Wed, 16 Apr 2014 20:29:55 +0000 (20:29 +0000)]
Merge "Reduced most MultiHal ALOGI to ALOGV, reducing bootup logspam." into klp-modular-dev

10 years agoam 40208a8b: DO NOT MERGE Fix PAN control callback definition to match what bluedr...
Ariel Gertzenstein [Wed, 16 Apr 2014 19:44:42 +0000 (19:44 +0000)]
am 40208a8b: DO NOT MERGE    Fix PAN control callback definition to match what bluedroid is doing.

* commit '40208a8b2baf9629c12966e52f2f901b3019670c':
  DO NOT MERGE    Fix PAN control callback definition to match what bluedroid is doing.

10 years agoDO NOT MERGE Fix PAN control callback definition to match what bluedroid is doing.
Ariel Gertzenstein [Sat, 1 Feb 2014 21:31:39 +0000 (13:31 -0800)]
DO NOT MERGE    Fix PAN control callback definition to match what bluedroid is doing.

There's a discrepancy in the order of arguments between the interface
and the implementation. bluedroid swaps the |error| and |local_role|
arguments when calling back so this change redefines the interface
for consistency.

http://b/12853951

Change-Id: I0ccfc6d6d2002d647d484ab7f53744863b569502

10 years agoReduced most MultiHal ALOGI to ALOGV, reducing bootup logspam.
Aaron Whyte [Tue, 15 Apr 2014 22:41:38 +0000 (15:41 -0700)]
Reduced most MultiHal ALOGI to ALOGV, reducing bootup logspam.

Bug: 14084750
Change-Id: I099aaaa24caf0213af373b5a600616674349ff95

10 years agoam 4d7ac52d: Fixed multihal handling of nonexistent sensor handles.
Aaron Whyte [Tue, 15 Apr 2014 18:26:06 +0000 (18:26 +0000)]
am 4d7ac52d: Fixed multihal handling of nonexistent sensor handles.

* commit '4d7ac52d75b725ff25d68416747bfd43bbbc065d':
  Fixed multihal handling of nonexistent sensor handles.

10 years agoFixed multihal handling of nonexistent sensor handles.
Aaron Whyte [Wed, 9 Apr 2014 22:56:54 +0000 (15:56 -0700)]
Fixed multihal handling of nonexistent sensor handles.

This prevents crashes and undefined behavior when someone
calls sensor HAL methods with nonexistent handles.
It also adds checks and warnings if bad sensor HALs provide
garbage sensor handles in their sensor events.

Tested by making sure pedometer and tilt still work.

Bug: 13513595
Change-Id: Ie1489d3f2972bec82ee1c73189e532f6658d1eca

10 years agoUpdate HDMI-CEC HAL interface definition
Jinsuk Kim [Thu, 10 Apr 2014 10:24:02 +0000 (19:24 +0900)]
Update HDMI-CEC HAL interface definition

Previously it was HAL that was responsible for the logical address
allocation. The address allocation logic itself is based on the algorithm
specified in the CEC standard, is dependent neither on vendor nor
on hardware. This CL replaces the method 'allocate_logical_address',
'get_logical_address' with 'add_logical_address', so that the common
allocation logic will be implemented in the cec service and can be used by
all vendors without having them put the same logic in all HAL
implementations. HAL is supposed to be passed the allocated address
and use it to configure the chipset in this new definition.

The change in the service that implements the address allocation logic
will be done in a follow up CL.

Also removed the description in 'get_version' about version number.
It needs not be in the description since it is an implementation detail.

Change-Id: I33f31580792785bec38b7bd6997f91b89bfbb500

10 years agoam d5b3c73d: Merge "DO NOT MERGE Add heart rate monitor, stringType and requiredPermi...
Aravind Akella [Fri, 11 Apr 2014 19:34:53 +0000 (19:34 +0000)]
am d5b3c73d: Merge "DO NOT MERGE Add heart rate monitor, stringType and requiredPermissions to sensors.h" into klp-modular-dev

* commit 'd5b3c73d80ec851296037d2c7ed011ac306eb2f5':
  DO NOT MERGE Add heart rate monitor, stringType and requiredPermissions to sensors.h

10 years agoMerge "DO NOT MERGE Add heart rate monitor, stringType and requiredPermissions to...
Aravind Akella [Fri, 11 Apr 2014 19:32:14 +0000 (19:32 +0000)]
Merge "DO NOT MERGE Add heart rate monitor, stringType and requiredPermissions to sensors.h" into klp-modular-dev

10 years agoDO NOT MERGE Add heart rate monitor, stringType and requiredPermissions to sensors.h
Aravind Akella [Mon, 7 Apr 2014 22:46:01 +0000 (22:46 +0000)]
DO NOT MERGE Add heart rate monitor, stringType and requiredPermissions to sensors.h

This reverts commit d27d819897dcae794d26d604c2334a76ef8b9558.

Change-Id: Ic66b792c8229867fa5ff760cdde3d7c6f3360296

10 years agoam 71a50543: Merge "Revert "Add heart rate monitor, stringType and requiredPermission...
Etienne Le Grand [Sat, 5 Apr 2014 09:05:55 +0000 (09:05 +0000)]
am 71a50543: Merge "Revert "Add heart rate monitor, stringType and requiredPermissions to sensors.h"" into klp-modular-dev

* commit '71a50543134b56055ab5be1262495bc3c7ec0c74':
  Revert "Add heart rate monitor, stringType and requiredPermissions to sensors.h"

10 years agoMerge "Revert "Add heart rate monitor, stringType and requiredPermissions to sensors...
Etienne Le Grand [Sat, 5 Apr 2014 05:01:34 +0000 (05:01 +0000)]
Merge "Revert "Add heart rate monitor, stringType and requiredPermissions to sensors.h"" into klp-modular-dev

10 years agoRevert "Add heart rate monitor, stringType and requiredPermissions to sensors.h"
Etienne Le Grand [Sat, 5 Apr 2014 05:01:27 +0000 (05:01 +0000)]
Revert "Add heart rate monitor, stringType and requiredPermissions to sensors.h"

This reverts commit 0b8ec4f71fa31cd6db33da5fefcebf2ecb6b6d7a.

Change-Id: I99051b6941cad570aef45ff568d1777f881fc33b

10 years agoam 61c78d98: Merge "Add heart rate monitor, stringType and requiredPermissions to...
Etienne Le Grand [Sat, 5 Apr 2014 01:48:40 +0000 (01:48 +0000)]
am 61c78d98: Merge "Add heart rate monitor, stringType and requiredPermissions to sensors.h" into klp-modular-dev

* commit '61c78d9804625ea2ec56c855602682aaa7dd5a75':
  Add heart rate monitor, stringType and requiredPermissions to sensors.h

10 years agoMerge "Add heart rate monitor, stringType and requiredPermissions to sensors.h" into...
Etienne Le Grand [Sat, 5 Apr 2014 01:44:19 +0000 (01:44 +0000)]
Merge "Add heart rate monitor, stringType and requiredPermissions to sensors.h" into klp-modular-dev

10 years agoAdd heart rate monitor, stringType and requiredPermissions to sensors.h
Etienne Le Grand [Tue, 25 Mar 2014 04:34:05 +0000 (21:34 -0700)]
Add heart rate monitor, stringType and requiredPermissions to sensors.h

Change-Id: I376e4dbb13d64f4987d4a8be82afddb625eefa54

10 years agoam 925855b5: Merge "LE: Add API to configure MTU for a given connection (1/4)" into...
Zhihai Xu [Mon, 31 Mar 2014 21:25:03 +0000 (21:25 +0000)]
am 925855b5: Merge "LE: Add API to configure MTU for a given connection (1/4)" into klp-modular-dev

* commit '925855b5de013cb709fb2d88d840f9c6e71cdcf6':
  LE: Add API to configure MTU for a given connection (1/4)

10 years agoMerge "LE: Add API to configure MTU for a given connection (1/4)" into klp-modular-dev
Zhihai Xu [Mon, 31 Mar 2014 21:21:16 +0000 (21:21 +0000)]
Merge "LE: Add API to configure MTU for a given connection (1/4)" into klp-modular-dev

10 years agoam 3bc29d3e: Merge "Added message_abort and operand enums" into klp-modular-dev
Jinsuk Kim [Mon, 31 Mar 2014 01:44:52 +0000 (01:44 +0000)]
am 3bc29d3e: Merge "Added message_abort and operand enums" into klp-modular-dev

* commit '3bc29d3e0a08bee19a43a61ce77b1b86a1cda436':
  Added message_abort and operand enums

10 years agoMerge "Added message_abort and operand enums" into klp-modular-dev
Jinsuk Kim [Mon, 31 Mar 2014 01:40:00 +0000 (01:40 +0000)]
Merge "Added message_abort and operand enums" into klp-modular-dev

10 years agoam 37de84bc: Merge "Camera2 Test: fix test criteria for exposure time"
Eino-Ville Talvala [Sat, 29 Mar 2014 01:02:57 +0000 (01:02 +0000)]
am 37de84bc: Merge "Camera2 Test: fix test criteria for exposure time"

* commit '37de84bc96f808601897bcd126b73fc839fd2c20':
  Camera2 Test: fix test criteria for exposure time

10 years agoMerge "Camera2 Test: fix test criteria for exposure time"
Eino-Ville Talvala [Sat, 29 Mar 2014 00:55:56 +0000 (00:55 +0000)]
Merge "Camera2 Test: fix test criteria for exposure time"

10 years agoCamera2 Test: fix test criteria for exposure time
Gaurav Batra [Sat, 29 Mar 2014 00:03:36 +0000 (17:03 -0700)]
Camera2 Test: fix test criteria for exposure time

Add some tolerance while testing requested exposure times against capture times.

Change-Id: I609e7819cde8ee466e152775781a6542e6686ded

10 years agoLE: Add API to configure MTU for a given connection (1/4)
Andre Eisenbach [Tue, 25 Mar 2014 13:30:05 +0000 (06:30 -0700)]
LE: Add API to configure MTU for a given connection (1/4)

bug:13571470
Change-Id: Ia473998b714c3968c75565adeef20fef5656abb4

10 years agoam 93bf9964: Fix sensor multi hal crash when sub-HAL reports an error
Nick Vaccaro [Tue, 25 Mar 2014 20:23:05 +0000 (20:23 +0000)]
am 93bf9964: Fix sensor multi hal crash when sub-HAL reports an error

* commit '93bf99647b0d33dfe12deecef828b6bcb568cafe':
  Fix sensor multi hal crash when sub-HAL reports an error

10 years agoAdded message_abort and operand enums
Jinsuk Kim [Mon, 24 Mar 2014 04:26:40 +0000 (13:26 +0900)]
Added message_abort and operand enums

Also clarfieid the method description (allocate_logical_address),
update method signatures to use more appropriate type.

Change-Id: Ie5d13969308e77ca19b3dbde682ca968337ab41b

10 years agoFix sensor multi hal crash when sub-HAL reports an error
Nick Vaccaro [Mon, 17 Mar 2014 20:05:09 +0000 (13:05 -0700)]
Fix sensor multi hal crash when sub-HAL reports an error

Fix a null pointer dereference bug that caused the multihal to crash
in an endless loop continuously trying to open a sensor HAL when it
reports back an error.

Change-Id: I6d82e8fdd9acde53f378a5fb3dfdb02c39d7b433

10 years agoam 5106ad0c: Merge "Audio HALs are 32-bit only"
Glenn Kasten [Thu, 13 Mar 2014 18:19:04 +0000 (18:19 +0000)]
am 5106ad0c: Merge "Audio HALs are 32-bit only"

* commit '5106ad0c6e664a622d177d997d3ec7147ef1ae8f':
  Audio HALs are 32-bit only

10 years agoMerge "Audio HALs are 32-bit only"
Glenn Kasten [Thu, 13 Mar 2014 18:12:51 +0000 (18:12 +0000)]
Merge "Audio HALs are 32-bit only"

10 years agoAudio HALs are 32-bit only
Glenn Kasten [Thu, 13 Mar 2014 16:55:04 +0000 (09:55 -0700)]
Audio HALs are 32-bit only

Change-Id: I97eef87849312610d82bc3f82e168bb40604e646

10 years agoam 98add895: Add \'get_logical_address\' in HDMI-CEC HAL interface
Jinsuk Kim [Tue, 11 Mar 2014 02:53:20 +0000 (02:53 +0000)]
am 98add895: Add \'get_logical_address\' in HDMI-CEC HAL interface

* commit '98add8956b1a346425df40d2f70a9ca33500f01c':
  Add 'get_logical_address' in HDMI-CEC HAL interface

10 years agoAdd 'get_logical_address' in HDMI-CEC HAL interface
Jinsuk Kim [Wed, 5 Mar 2014 09:08:02 +0000 (18:08 +0900)]
Add 'get_logical_address' in HDMI-CEC HAL interface

The new function allows the HDMI-CEC service to get the logical address
updated by HAL implementation.

Change-Id: I1a4c5f7b7773279091d5bd7c6971a8c9090a81ca

10 years agoam 355e5d68: Merge "[HDMI-CEC] Modify the signature of register_event_callback" into...
Jinsuk Kim [Tue, 11 Mar 2014 01:46:34 +0000 (01:46 +0000)]
am 355e5d68: Merge "[HDMI-CEC] Modify the signature of register_event_callback" into klp-modular-dev

* commit '355e5d68021b272f692e5aa26f21fb4da57b3b93':
  [HDMI-CEC] Modify the signature of register_event_callback

10 years agoMerge "[HDMI-CEC] Modify the signature of register_event_callback" into klp-modular-dev
Jinsuk Kim [Tue, 11 Mar 2014 01:44:19 +0000 (01:44 +0000)]
Merge "[HDMI-CEC] Modify the signature of register_event_callback" into klp-modular-dev

10 years agoam 5d082f18: Merge "Fix PAN control callback definition to match what bluedroid is...
Matthew Xie [Mon, 10 Mar 2014 09:11:28 +0000 (09:11 +0000)]
am 5d082f18: Merge "Fix PAN control callback definition to match what bluedroid is doing."

* commit '5d082f1826cd5b72cd2a0eb0116c8a613d7555dd':
  Fix PAN control callback definition to match what bluedroid is doing.

10 years agoMerge "Fix PAN control callback definition to match what bluedroid is doing."
Matthew Xie [Mon, 10 Mar 2014 07:54:28 +0000 (07:54 +0000)]
Merge "Fix PAN control callback definition to match what bluedroid is doing."

10 years agoam fc9be0a2: am 56910cf5: (-s ours) Merge "DO NOT MERGE BLE peripheral mode (1/4...
Wei Wang [Sat, 8 Mar 2014 02:11:15 +0000 (02:11 +0000)]
am fc9be0a2: am 56910cf5: (-s ours) Merge "DO NOT MERGE BLE peripheral mode (1/4): change HAL to support service data and service uuids." into klp-dev

* commit 'fc9be0a2438fca7bd7e961a86fd8d17f14b52623':
  DO NOT MERGE BLE peripheral mode (1/4): change HAL to support service data and service uuids.

10 years agoam 56910cf5: (-s ours) Merge "DO NOT MERGE BLE peripheral mode (1/4): change HAL...
Wei Wang [Sat, 8 Mar 2014 02:07:29 +0000 (02:07 +0000)]
am 56910cf5: (-s ours) Merge "DO NOT MERGE BLE peripheral mode (1/4): change HAL to support service data and service uuids." into klp-dev

* commit '56910cf52332219c6a23bc12596b261c127d93bf':
  DO NOT MERGE BLE peripheral mode (1/4): change HAL to support service data and service uuids.

10 years agoMerge "DO NOT MERGE BLE peripheral mode (1/4): change HAL to support service data...
Wei Wang [Sat, 8 Mar 2014 02:00:13 +0000 (02:00 +0000)]
Merge "DO NOT MERGE BLE peripheral mode (1/4): change HAL to support service data and service uuids." into klp-dev

10 years ago[HDMI-CEC] Modify the signature of register_event_callback
Jinsuk Kim [Thu, 6 Mar 2014 10:25:19 +0000 (19:25 +0900)]
[HDMI-CEC] Modify the signature of register_event_callback

Additional parameter helps the caller avoid managing a static instance
variable. The parameter is used to pass the caller object itself.

Change-Id: I06cbcc7736031678f4638a0b5082d7b6a7ea51b6

10 years agoam 57ac9a9e: Merge "Add handshake_callback to bt_hh" into klp-modular-dev
Mike J. Chen [Fri, 7 Mar 2014 18:44:24 +0000 (18:44 +0000)]
am 57ac9a9e: Merge "Add handshake_callback to bt_hh" into klp-modular-dev

* commit '57ac9a9e96fb50dba33b05e9ffac1c9f5a1ada8f':
  Add handshake_callback to bt_hh

10 years agoMerge "Add handshake_callback to bt_hh" into klp-modular-dev
Mike J. Chen [Fri, 7 Mar 2014 18:40:57 +0000 (18:40 +0000)]
Merge "Add handshake_callback to bt_hh" into klp-modular-dev

10 years agoDO NOT MERGE BLE peripheral mode (1/4): change HAL to support service data and servic...
Wei Wang [Wed, 6 Nov 2013 00:09:51 +0000 (16:09 -0800)]
DO NOT MERGE BLE peripheral mode (1/4): change HAL to support service data and service uuids.

Cherry picking ble advertising changes from master to KLP MR2.
b/13137996

Change-Id: I19a3755a4ed16e1ae03368cecee97773c05c1770

10 years agoam ee4e28c9: am 1482406b: usbaudio: fix for out->dev->lock remains locked in error...
Amit Shekhar [Thu, 6 Mar 2014 22:41:21 +0000 (22:41 +0000)]
am ee4e28c9: am 1482406b: usbaudio: fix for out->dev->lock remains locked in error case

* commit 'ee4e28c9ebc7f26a1a25d1042d5a941139055447':
  usbaudio: fix for out->dev->lock remains locked in error case

10 years agoam 1482406b: usbaudio: fix for out->dev->lock remains locked in error case
Amit Shekhar [Thu, 6 Mar 2014 21:02:36 +0000 (21:02 +0000)]
am 1482406b: usbaudio: fix for out->dev->lock remains locked in error case

* commit '1482406b70a254fc85d153a7066d7f90d724d195':
  usbaudio: fix for out->dev->lock remains locked in error case

10 years agoam 282ab1b6: Merge "gralloc: dont hardcode 32bpp as RGBX"
Jesse Hall [Thu, 6 Mar 2014 20:04:55 +0000 (20:04 +0000)]
am 282ab1b6: Merge "gralloc: dont hardcode 32bpp as RGBX"

* commit '282ab1b6b1a92b8cb2650c111bfab02916f8715d':
  gralloc: dont hardcode 32bpp as RGBX

10 years agoam b342abb6: Merge "gralloc: make private_handle_t layout consistent on 32/64-bit"
Greg Hackmann [Thu, 6 Mar 2014 20:04:54 +0000 (20:04 +0000)]
am b342abb6: Merge "gralloc: make private_handle_t layout consistent on 32/64-bit"

* commit 'b342abb6902a698963bb9d2108000da895845985':
  gralloc: make private_handle_t layout consistent on 32/64-bit

10 years agoMerge "gralloc: dont hardcode 32bpp as RGBX"
Jesse Hall [Thu, 6 Mar 2014 19:04:07 +0000 (19:04 +0000)]
Merge "gralloc: dont hardcode 32bpp as RGBX"

10 years agoMerge "gralloc: make private_handle_t layout consistent on 32/64-bit"
Greg Hackmann [Thu, 6 Mar 2014 18:24:48 +0000 (18:24 +0000)]
Merge "gralloc: make private_handle_t layout consistent on 32/64-bit"

10 years agousbaudio: fix for out->dev->lock remains locked in error case
Amit Shekhar [Thu, 30 Jan 2014 20:47:34 +0000 (12:47 -0800)]
usbaudio: fix for out->dev->lock remains locked in error case

out->dev->lock remains locked in error case in out_write()
Added pthread_mutex_unlock() in the error case

Bug: 12824374

Change-Id: Id467e3122008eb8128b42dfc0e9103600c1eef2d
Signed-off-by: Glenn Kasten <gkasten@google.com>
10 years agogralloc: make private_handle_t layout consistent on 32/64-bit
Greg Hackmann [Mon, 3 Mar 2014 21:10:15 +0000 (13:10 -0800)]
gralloc: make private_handle_t layout consistent on 32/64-bit

private_handle_t's memory layout must be consistent between the 32-bit
and 64-bit gralloc, in case buffers are passed between processes.
Replace the (variably sized) uintptr_t base with a fixed size uint64_t,
and enforce 8-byte alignment for architectures where uint64_t alignment
varies between 32-bit and 64-bit.

Change-Id: I06cb31d4b9620ea18e5b50d3a3142b5adb2d2a14
Signed-off-by: Greg Hackmann <ghackmann@google.com>
10 years agoAdd handshake_callback to bt_hh
Mike J. Chen [Wed, 26 Feb 2014 03:25:55 +0000 (19:25 -0800)]
Add handshake_callback to bt_hh

Change-Id: I505b1e56ee10c955eedff2e4d142cb7caa6b9fb2
Signed-off-by: Mike J. Chen <mjchen@google.com>
10 years agoam b96f1083: Merge "Move libhardware of <asm/page.h>."
Elliott Hughes [Tue, 25 Feb 2014 00:06:51 +0000 (00:06 +0000)]
am b96f1083: Merge "Move libhardware of <asm/page.h>."

* commit 'b96f1083b8d10f3e33b64f0da943dedfdb25b557':
  Move libhardware of <asm/page.h>.

10 years agoMerge "Move libhardware of <asm/page.h>."
Elliott Hughes [Tue, 25 Feb 2014 00:01:47 +0000 (00:01 +0000)]
Merge "Move libhardware of <asm/page.h>."

10 years agoMove libhardware of <asm/page.h>.
Elliott Hughes [Mon, 24 Feb 2014 23:50:34 +0000 (15:50 -0800)]
Move libhardware of <asm/page.h>.

Change-Id: I7cf9d04828f19b8d7d1d3b8948bef580b101b10c

10 years agogralloc: dont hardcode 32bpp as RGBX
Bernhard Rosenkraenzer [Thu, 20 Feb 2014 20:08:44 +0000 (01:38 +0530)]
gralloc: dont hardcode 32bpp as RGBX

Not every 32bpp is in RGBX format.

Change-Id: Ic3c6a0cbf475bff2fe2fc4b023c6bc58e4fc295e
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
10 years agoam 5f9a7907: Merge "Header file for HDMI-CEC HAL interface definition" into klp-modul...
Jinsuk Kim [Fri, 21 Feb 2014 01:30:35 +0000 (01:30 +0000)]
am 5f9a7907: Merge "Header file for HDMI-CEC HAL interface definition" into klp-modular-dev

* commit '5f9a7907844ba5319957dd9913ef951d78709afb':
  Header file for HDMI-CEC HAL interface definition

10 years agoMerge "Header file for HDMI-CEC HAL interface definition" into klp-modular-dev
Jinsuk Kim [Fri, 21 Feb 2014 01:27:29 +0000 (01:27 +0000)]
Merge "Header file for HDMI-CEC HAL interface definition" into klp-modular-dev

10 years agoHeader file for HDMI-CEC HAL interface definition
Jinsuk Kim [Wed, 19 Feb 2014 01:21:35 +0000 (10:21 +0900)]
Header file for HDMI-CEC HAL interface definition

Added here is the header file that defines HDMI-CEC HAL interface.
Its main purpose is to support major CEC features such as 'one touch
play', 'standby' for playback device. But basic skeleton for supporting
other kinds of devices(like TV) is also in place.

Change-Id: Iccbbec398bc675d69cb78ad6848ec57ac727cb8d

10 years agoam 80d4eced: Merge "Use /(vendor|system)/lib64/hw for 64-bit HAL libraries"
Colin Cross [Sun, 16 Feb 2014 18:42:54 +0000 (18:42 +0000)]
am 80d4eced: Merge "Use /(vendor|system)/lib64/hw for 64-bit HAL libraries"

* commit '80d4eced69f4d1e9f9ef97b5f4f26868cd76ae26':
  Use /(vendor|system)/lib64/hw for 64-bit HAL libraries

10 years agoMerge "Use /(vendor|system)/lib64/hw for 64-bit HAL libraries"
Colin Cross [Sun, 16 Feb 2014 18:40:01 +0000 (18:40 +0000)]
Merge "Use /(vendor|system)/lib64/hw for 64-bit HAL libraries"

10 years agoUse /(vendor|system)/lib64/hw for 64-bit HAL libraries
Dan Willemsen [Sun, 16 Feb 2014 18:07:15 +0000 (10:07 -0800)]
Use /(vendor|system)/lib64/hw for 64-bit HAL libraries

Change-Id: Ib905e079b1e88977fb3408671301904c58f35d3c

10 years agoam f77bd7d0: Merge "Try using goldfish_pipe as the device name"
David Turner [Fri, 14 Feb 2014 17:27:21 +0000 (17:27 +0000)]
am f77bd7d0: Merge "Try using goldfish_pipe as the device name"

* commit 'f77bd7d005e27364e233c92ac7f6c06a18d1f128':
  Try using goldfish_pipe as the device name

10 years agoMerge "Try using goldfish_pipe as the device name"
David Turner [Fri, 14 Feb 2014 16:34:25 +0000 (16:34 +0000)]
Merge "Try using goldfish_pipe as the device name"

10 years agoam f4c46752: Merge "AArch64: Calculate private_handle_t\'s numInts"
Greg Hackmann [Thu, 13 Feb 2014 20:46:21 +0000 (20:46 +0000)]
am f4c46752: Merge "AArch64: Calculate private_handle_t\'s numInts"

* commit 'f4c46752df57be558773a056d6545877ef65c844':
  AArch64: Calculate private_handle_t's numInts

10 years agoMerge "AArch64: Calculate private_handle_t's numInts"
Greg Hackmann [Thu, 13 Feb 2014 20:41:17 +0000 (20:41 +0000)]
Merge "AArch64: Calculate private_handle_t's numInts"

10 years agoam 907b20aa: Initial version of the MCU HAL
Simon Wilson [Mon, 10 Feb 2014 20:38:51 +0000 (20:38 +0000)]
am 907b20aa: Initial version of the MCU HAL

* commit '907b20aa7475a91a148bb655b0d80cecabb130f6':
  Initial version of the MCU HAL

10 years agoInitial version of the MCU HAL
Simon Wilson [Fri, 7 Feb 2014 02:42:17 +0000 (18:42 -0800)]
Initial version of the MCU HAL

Change-Id: Ic88da7e825b67ed64cde4eed3055022daabe9830

10 years agoAArch64: Calculate private_handle_t's numInts
Ashok Bhat [Thu, 6 Feb 2014 14:11:08 +0000 (14:11 +0000)]
AArch64: Calculate private_handle_t's numInts

A constant sNumInts with a value of 6 was being assigned to the numInts
attribute in the private_handle_t constructor, and was also used in the
validate method. That constant value is appropriate for 32-bit systems
but is not appropriate for a 64-bit system where uintptr_t used for
base attribute will be 64-bit.

sNumInts is now changed to a static inline function that calculates
numInts.

Change-Id: I482ddb5915c9ff55fb2e2a87887a0ec2dc2299ed
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
10 years agoam 037335eb: Merge "gralloc: fix warnings"
Colin Cross [Thu, 6 Feb 2014 03:03:12 +0000 (03:03 +0000)]
am 037335eb: Merge "gralloc: fix warnings"

* commit '037335ebe826289445fd2ba14e95ff41d57ad928':
  gralloc: fix warnings

10 years agoMerge "gralloc: fix warnings"
Colin Cross [Thu, 6 Feb 2014 02:25:32 +0000 (02:25 +0000)]
Merge "gralloc: fix warnings"

10 years agogralloc: fix warnings
Colin Cross [Thu, 6 Feb 2014 02:21:09 +0000 (18:21 -0800)]
gralloc: fix warnings

Fix LP64 pointer casting warnings, unused parameters, and
turn off missing initializer warnings.

Change-Id: Idb70f4534282fed64ae81cb1e154d3f5b93091b0

10 years agoFix PAN control callback definition to match what bluedroid is doing.
Sharvil Nanavati [Sat, 1 Feb 2014 21:31:39 +0000 (13:31 -0800)]
Fix PAN control callback definition to match what bluedroid is doing.

There's a discrepancy in the order of arguments between the interface
and the implementation. bluedroid swaps the |error| and |local_role|
arguments when calling back so this change redefines the interface
for consistency.

http://b/12853951

Change-Id: I0ccfc6d6d2002d647d484ab7f53744863b569502

10 years agoTry using goldfish_pipe as the device name
Octavian Purdila [Wed, 6 Nov 2013 17:38:31 +0000 (19:38 +0200)]
Try using goldfish_pipe as the device name

The upstream goldfish_pipe driver uses goldfish_pipe as a name instead
of qemu_pipe. Try using this name if the old name (qemu_pipe) fails.

For: ABIT-15
Change-Id: I8c6178faf27b1cdb31cc4343cf1af396e929f7e4
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: Jun Tian <jun.j.tian@intel.com>
10 years agoam 3da0d0f4: am 662e97ee: am aea8c156: Merge "hardware/libhardware: convert LOCAL_MOD...
Colin Cross [Tue, 28 Jan 2014 01:03:07 +0000 (01:03 +0000)]
am 3da0d0f4: am 662e97ee: am aea8c156: Merge "hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH"

* commit '3da0d0f4c7a02cbb510d65def4e87eb31c97948b':
  hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH

10 years agoam 662e97ee: am aea8c156: Merge "hardware/libhardware: convert LOCAL_MODULE_PATH...
Colin Cross [Tue, 28 Jan 2014 00:58:41 +0000 (00:58 +0000)]
am 662e97ee: am aea8c156: Merge "hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH"

* commit '662e97eedbb36374e61dab50a7acb4b2bae29883':
  hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH

10 years agoam aea8c156: Merge "hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_R...
Colin Cross [Tue, 28 Jan 2014 00:51:42 +0000 (00:51 +0000)]
am aea8c156: Merge "hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH"

* commit 'aea8c156649c16347514741eb084858cdb458b75':
  hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH

10 years agoMerge "hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH"
Colin Cross [Tue, 28 Jan 2014 00:42:39 +0000 (00:42 +0000)]
Merge "hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH"

10 years agohardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH
Colin Cross [Sat, 25 Jan 2014 05:00:32 +0000 (21:00 -0800)]
hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH

LOCAL_MODULE_PATH doesn't work for multiarch builds, replace it
with LOCAL_MODULE_RELATIVE_PATH.

Change-Id: I4e4ceec61d026bbe74ba604554c06104bde42e5e

10 years agoresolved conflicts for merge of 017649d6 to klp-modular-dev
David 'Digit' Turner [Thu, 23 Jan 2014 22:34:45 +0000 (23:34 +0100)]
resolved conflicts for merge of 017649d6 to klp-modular-dev

Conflicts:
modules/Android.mk

Change-Id: I6b84d2320be98b6af1f0cab729a917cf84cd9524

10 years agoam c2f6dc45: am fa3d243b: Merge "Vibra: Adapt AOSP (default) vibrator HAL into a...
David Turner [Thu, 23 Jan 2014 20:29:23 +0000 (20:29 +0000)]
am c2f6dc45: am fa3d243b: Merge "Vibra: Adapt AOSP (default) vibrator HAL into a hardware module."

* commit 'c2f6dc45643bd2b6251362ca4bc814d6601358d2':
  Vibra: Adapt AOSP (default) vibrator HAL into a hardware module.

10 years agoam fa3d243b: Merge "Vibra: Adapt AOSP (default) vibrator HAL into a hardware module."
David Turner [Thu, 23 Jan 2014 20:20:28 +0000 (12:20 -0800)]
am fa3d243b: Merge "Vibra: Adapt AOSP (default) vibrator HAL into a hardware module."

* commit 'fa3d243b4690f2cc21d259e52178abf969cafc09':
  Vibra: Adapt AOSP (default) vibrator HAL into a hardware module.

10 years agoMerge "Vibra: Adapt AOSP (default) vibrator HAL into a hardware module."
David Turner [Thu, 23 Jan 2014 20:13:02 +0000 (20:13 +0000)]
Merge "Vibra: Adapt AOSP (default) vibrator HAL into a hardware module."

10 years agoMerge "BLE peripheral mode (1/4): change HAL to support service data and service...
Matthew Xie [Tue, 14 Jan 2014 20:42:38 +0000 (20:42 +0000)]
Merge "BLE peripheral mode (1/4): change HAL to support service data and service uuids." into klp-modular-dev

10 years agoam 260b0f50: am 2428eaa3: am a97c6fec: Merge "hardware: fix check for ro.hardware...
Colin Cross [Tue, 14 Jan 2014 08:03:28 +0000 (08:03 +0000)]
am 260b0f50: am 2428eaa3: am a97c6fec: Merge "hardware: fix check for ro.hardware.<class> property"

* commit '260b0f50e97794d5663de55664e3ec554e216dc3':
  hardware: fix check for ro.hardware.<class> property

10 years agoam 2428eaa3: am a97c6fec: Merge "hardware: fix check for ro.hardware.<class> property"
Colin Cross [Tue, 14 Jan 2014 07:59:52 +0000 (07:59 +0000)]
am 2428eaa3: am a97c6fec: Merge "hardware: fix check for ro.hardware.<class> property"

* commit '2428eaa319bfd0481f49e364c4f242300f4ed291':
  hardware: fix check for ro.hardware.<class> property

10 years agoam a97c6fec: Merge "hardware: fix check for ro.hardware.<class> property"
Colin Cross [Tue, 14 Jan 2014 07:56:52 +0000 (23:56 -0800)]
am a97c6fec: Merge "hardware: fix check for ro.hardware.<class> property"

* commit 'a97c6fecdbe576b732a2ca00fbf4dcb82f079c8f':
  hardware: fix check for ro.hardware.<class> property

10 years agoMerge "hardware: fix check for ro.hardware.<class> property"
Colin Cross [Tue, 14 Jan 2014 07:52:15 +0000 (07:52 +0000)]
Merge "hardware: fix check for ro.hardware.<class> property"

10 years agohardware: fix check for ro.hardware.<class> property
Colin Cross [Tue, 14 Jan 2014 07:43:23 +0000 (23:43 -0800)]
hardware: fix check for ro.hardware.<class> property

Replace == with >, property_get returns the length of the
property if found.

Change-Id: I4b8fe8f8dba578112d21eee5dc64be4aa27f3bfb

10 years agoBLE peripheral mode (1/4): change HAL to support service data and service uuids.
Wei Wang [Wed, 6 Nov 2013 00:09:51 +0000 (16:09 -0800)]
BLE peripheral mode (1/4): change HAL to support service data and service uuids.

Change-Id: I19a3755a4ed16e1ae03368cecee97773c05c1770