OSDN Git Service

android-x86/hardware-libhardware.git
9 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 agoDon't pass up bad sensor event packets to Sensor Services
Nick Vaccaro [Wed, 11 Jun 2014 01:33:07 +0000 (18:33 -0700)]
Don't pass up bad sensor event packets to Sensor Services

If an event packet is read containing an unknown sensor handle,
don't pass it on to Sensor Services. Drop it on the floor instead
as it's causing Sensor Services to crash.

Moved read of queue size in sensors_poll_context_t::poll() to post
queue mutex grab for safety.

Bug: 15285345
Change-Id: I2ebc0f8591a1ae60f09bf9599b8321c5a3dfae69

10 years agoMerge "Update definition of the heart rate monitor to include confidence" into klp...
Etienne Le Grand [Tue, 27 May 2014 18:03:06 +0000 (18:03 +0000)]
Merge "Update definition of the heart rate monitor to include confidence" into klp-modular-dev

10 years agoUpdate definition of the heart rate monitor to include confidence
Etienne Le Grand [Fri, 16 May 2014 18:08:28 +0000 (11:08 -0700)]
Update definition of the heart rate monitor to include confidence

Change-Id: I88a8cddf647f77588a283c16d37f3f99ecda3115

10 years agobt: add interface function to provide wakelock access
Dmitry Grinberg [Wed, 21 May 2014 22:59:27 +0000 (15:59 -0700)]
bt: add interface function to provide wakelock access

Change-Id: I7ea173aee49ae7fdfe81a24a9b3666efc1c29ed4

10 years agoadd /system/vendor/lib as valid search path for sensor HALs
Nick Vaccaro [Thu, 15 May 2014 21:14:43 +0000 (14:14 -0700)]
add /system/vendor/lib as valid search path for sensor HALs

MultiHal will now accept sensor HALs listed in the hals.conf file that
reside in either /system/lib/hw or /system/vendor/lib.

Bug: 14994424
Change-Id: I13f17352b97c36b97cfbcee8c9b6a0d2e1ed6dc3

10 years agoChange MultiHal API version to 1.1
Nick Vaccaro [Tue, 6 May 2014 00:23:21 +0000 (17:23 -0700)]
Change MultiHal API version to 1.1

Bug: 14451762

Change-Id: Id16fa71ae7382689ce141a92eb974b208e20327b

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

10 years agoVibra: Adapt AOSP (default) vibrator HAL into a hardware module.
Vincent Becker [Fri, 10 Aug 2012 12:40:49 +0000 (14:40 +0200)]
Vibra: Adapt AOSP (default) vibrator HAL into a hardware module.

Android's implementation of vibrator needs to be done inside a
hardware module, so that it can make a vendor implementation possible.

Hw module's name becomes vibrator.default.so.

This change is related to other changes in:
 - frameworks/base
 - hardware/libhardware_legacy
 - device/generic/goldfish
 - platform/build

Change-Id: I844279f5535289f079d412fdc44c5cb3c9c1130c
Author: Vincent Becker <vincentx.becker@intel.com>
Signed-off-by: Vincent Becker <vincentx.becker@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Signed-off-by: David Wagner <david.wagner@intel.com>
Author-tracking-BZ: 49760 94611

10 years agoam 728c78a4: am 7c2a4681: am e0c252ae: Merge "hardware: add ro.hardware.<class> to...
Colin Cross [Thu, 2 Jan 2014 21:31:52 +0000 (21:31 +0000)]
am 728c78a4: am 7c2a4681: am e0c252ae: Merge "hardware: add ro.hardware.<class> to HAL loading properites list"

* commit '728c78a4d189c3677b6bc061b8602c28330a5464':
  hardware: add ro.hardware.<class> to HAL loading properites list

10 years agoam 7c2a4681: am e0c252ae: Merge "hardware: add ro.hardware.<class> to HAL loading...
Colin Cross [Thu, 2 Jan 2014 21:28:41 +0000 (21:28 +0000)]
am 7c2a4681: am e0c252ae: Merge "hardware: add ro.hardware.<class> to HAL loading properites list"

* commit '7c2a468127bbfb48f7cb239c992edfa48fd54cd2':
  hardware: add ro.hardware.<class> to HAL loading properites list

10 years agoam e0c252ae: Merge "hardware: add ro.hardware.<class> to HAL loading properites list"
Colin Cross [Thu, 2 Jan 2014 21:26:21 +0000 (13:26 -0800)]
am e0c252ae: Merge "hardware: add ro.hardware.<class> to HAL loading properites list"

* commit 'e0c252ae43490cc324b89f6d7cbaa33af8ff341d':
  hardware: add ro.hardware.<class> to HAL loading properites list

10 years agoMerge "hardware: add ro.hardware.<class> to HAL loading properites list"
Colin Cross [Thu, 2 Jan 2014 21:21:35 +0000 (21:21 +0000)]
Merge "hardware: add ro.hardware.<class> to HAL loading properites list"

10 years agohardware: add ro.hardware.<class> to HAL loading properites list
Colin Cross [Thu, 26 Dec 2013 21:47:56 +0000 (13:47 -0800)]
hardware: add ro.hardware.<class> to HAL loading properites list

Try to load a HAL determined by ro.hardware.<class> first before
falling back to hardware, board, platform, arch, and default.
This is intended to be used to support multiple hardware variants
from the same source.  For example, a single build that supports
two gps chips, gps001 and gpsb, could use /factory/factory.prop
to set ro.hardware.gps=gps001 or ro.hardware.gps=gpsb, which would
load gps.gps001.so or gps.gpsb.so.  Two separate builds from the
same source could use PRODUCT_PROPERTY_OVERRIDES to set the
properties.

Change-Id: I1ac46c21ceb27ceb5165e8c44e9373e9c5d4e34e

10 years agoam 024c1534: Camera: HAL3: device test fixture and a test.
Sasha Levitskiy [Thu, 12 Dec 2013 23:25:26 +0000 (23:25 +0000)]
am 024c1534: Camera: HAL3: device test fixture and a test.

* commit '024c15346b00c2ac7d6b53e78422570bbc4245c7':
  Camera: HAL3: device test fixture and a test.

10 years agoCamera: HAL3: device test fixture and a test.
Sasha Levitskiy [Thu, 12 Dec 2013 22:08:55 +0000 (14:08 -0800)]
Camera: HAL3: device test fixture and a test.

Change-Id: Ifaec4be35e8f4fb80c8e71e24499fbcd40fddb6e
Signed-off-by: Sasha Levitskiy <sanek@google.com>
10 years agoam 4a7b2171: Camera HAL3: first few unit tests.
Sasha Levitskiy [Thu, 12 Dec 2013 03:10:43 +0000 (03:10 +0000)]
am 4a7b2171: Camera HAL3: first few unit tests.

* commit '4a7b2171f00ba37e301105e8ea1f61dddaa4db3d':
  Camera HAL3: first few unit tests.

10 years agoCamera HAL3: first few unit tests.
Sasha Levitskiy [Tue, 10 Dec 2013 17:37:58 +0000 (09:37 -0800)]
Camera HAL3: first few unit tests.

Change-Id: I413dc447faadd4fd90986bc924722b2826e19382
Signed-off-by: Sasha Levitskiy <sanek@google.com>
10 years agoDO NOT MERGE: Sensor multi HAL
Mike Lockwood [Thu, 17 Oct 2013 15:05:00 +0000 (08:05 -0700)]
DO NOT MERGE: Sensor multi HAL

Squashed commit of:

Move sensors multi HAL to libhardware

Added a SensorEventQueue, a circular buffer meant for reading with one thread
and polling a subhal with another. The writing thread gets access to pointers
in the internal buffer. This design avoids a memcpy on write when the multihal
fetches subhal events using poll().

Unit-tests include multithreaded reading and writing lots of events, in
random-sized chunks.

This is not used by the multihal yet. That will be a different CL.

MultiHal multithreaded polling

Tests SensorEventQueue I/O when the queue is full.
Reduced debug logging in multihal.

deactivated multihal logspam, made warnings warnings, left critical startup info

Removed unneeded linux/input.h includes, to fix Mac SDK build

Change-Id: I1e35508949df98a1acef7a4a2d012eea87b4a5eb

10 years agoDO NOT MERGE reset to goog/klp-volantis-dev
Qiwen Zhao [Mon, 9 Dec 2013 22:19:06 +0000 (14:19 -0800)]
DO NOT MERGE reset to goog/klp-volantis-dev

10 years agosnap to klp-dev-plus-aosp 19b13b9 with history
Qiwen Zhao [Fri, 6 Dec 2013 21:30:37 +0000 (13:30 -0800)]
snap to klp-dev-plus-aosp 19b13b9 with history

10 years agoam 20ebefd9: Merge commit \'eed5dceb4a0bc02f50f236ab191d30c49c58f610\' into HEAD
The Android Open Source Project [Fri, 6 Dec 2013 01:25:49 +0000 (17:25 -0800)]
am 20ebefd9: Merge commit \'eed5dceb4a0bc02f50f236ab191d30c49c58f610\' into HEAD

* commit '20ebefd966eed9da545ab645199c2f93ca93af20':

10 years agoMerge commit 'eed5dceb4a0bc02f50f236ab191d30c49c58f610' into HEAD
The Android Open Source Project [Thu, 5 Dec 2013 20:38:20 +0000 (12:38 -0800)]
Merge commit 'eed5dceb4a0bc02f50f236ab191d30c49c58f610' into HEAD

10 years agoDO NOT MERGE: Sensor multi HAL
Mike Lockwood [Thu, 17 Oct 2013 15:05:00 +0000 (08:05 -0700)]
DO NOT MERGE: Sensor multi HAL

Squashed commit of:

Move sensors multi HAL to libhardware

Added a SensorEventQueue, a circular buffer meant for reading with one thread
and polling a subhal with another. The writing thread gets access to pointers
in the internal buffer. This design avoids a memcpy on write when the multihal
fetches subhal events using poll().

Unit-tests include multithreaded reading and writing lots of events, in
random-sized chunks.

This is not used by the multihal yet. That will be a different CL.

MultiHal multithreaded polling

Tests SensorEventQueue I/O when the queue is full.
Reduced debug logging in multihal.

deactivated multihal logspam, made warnings warnings, left critical startup info

Removed unneeded linux/input.h includes, to fix Mac SDK build

10 years agoam 047510b1: Merge "gralloc: delete unused mutex declaration"
Rom Lemarchand [Tue, 26 Nov 2013 18:37:58 +0000 (10:37 -0800)]
am 047510b1: Merge "gralloc: delete unused mutex declaration"

* commit '047510b132e33c26607b4b93e806884aa4d13f19':
  gralloc: delete unused mutex declaration

10 years agoMerge "gralloc: delete unused mutex declaration"
Rom Lemarchand [Tue, 26 Nov 2013 18:30:33 +0000 (18:30 +0000)]
Merge "gralloc: delete unused mutex declaration"

10 years agogralloc: delete unused mutex declaration
Rom Lemarchand [Tue, 26 Nov 2013 18:01:25 +0000 (10:01 -0800)]
gralloc: delete unused mutex declaration

Change-Id: Ibc7e70887b61f7dd885c86d412387636d3a6a867

10 years agoam bae5cf92: Merge commit \'c9940a2bfe94dbe2ef3bfe5e8692bf4e3cea5ba0\' into HEAD
The Android Open Source Project [Sat, 23 Nov 2013 01:41:01 +0000 (17:41 -0800)]
am bae5cf92: Merge commit \'c9940a2bfe94dbe2ef3bfe5e8692bf4e3cea5ba0\' into HEAD

* commit 'bae5cf92cfa9e2867af91057265df7f029f7865e':

10 years agoMerge commit 'c9940a2bfe94dbe2ef3bfe5e8692bf4e3cea5ba0' into HEAD
The Android Open Source Project [Fri, 22 Nov 2013 18:35:26 +0000 (10:35 -0800)]
Merge commit 'c9940a2bfe94dbe2ef3bfe5e8692bf4e3cea5ba0' into HEAD

10 years agoam 7ccf148f: Update HWC documentation for virtual displays
Jesse Hall [Thu, 14 Nov 2013 01:04:25 +0000 (17:04 -0800)]
am 7ccf148f: Update HWC documentation for virtual displays

* commit '7ccf148f5066ceb1a161f0d7a7d66f75c6e8d420':
  Update HWC documentation for virtual displays

10 years agoUpdate HWC documentation for virtual displays
Jesse Hall [Wed, 13 Nov 2013 22:48:15 +0000 (14:48 -0800)]
Update HWC documentation for virtual displays

Bug: 8316155
Change-Id: I56598551b07082bfff90df160b103a4158e8c8c9

10 years agoam af822c43: Merge "gralloc: do not use GNU old-style field designators"
Nick Kralevich [Thu, 7 Nov 2013 03:40:57 +0000 (19:40 -0800)]
am af822c43: Merge "gralloc: do not use GNU old-style field designators"

* commit 'af822c43cf144a991db49d8c25068d054265ae37':
  gralloc: do not use GNU old-style field designators

10 years agoMerge "gralloc: do not use GNU old-style field designators"
Nick Kralevich [Thu, 7 Nov 2013 03:34:27 +0000 (03:34 +0000)]
Merge "gralloc: do not use GNU old-style field designators"

10 years agogralloc: do not use GNU old-style field designators
synergy dev [Thu, 7 Nov 2013 01:27:44 +0000 (17:27 -0800)]
gralloc: do not use GNU old-style field designators

Avoiding the use of gnu extensions improves code portability

Change-Id: Icf8e3d4813bcddff40548bb5e65e615f8697b75c

10 years agoam b44ff650: Camera2 Test: Skip CameraModuleTest for HAL V1 devices
Zhijun He [Wed, 30 Oct 2013 01:37:02 +0000 (18:37 -0700)]
am b44ff650: Camera2 Test: Skip CameraModuleTest for HAL V1 devices

* commit 'b44ff6508bbcb8df751b5815dd4dfbd4cae252f7':
  Camera2 Test: Skip CameraModuleTest for HAL V1 devices

10 years agoCamera2 Test: Skip CameraModuleTest for HAL V1 devices
Zhijun He [Mon, 28 Oct 2013 22:52:56 +0000 (15:52 -0700)]
Camera2 Test: Skip CameraModuleTest for HAL V1 devices

Bug: 10971907
Change-Id: Ia3aa0e370d7eb5de6bb1fb7ff48a71ea5605fa17

10 years agoam b0c30322: hardware: look in /vendor for default.so
Colin Cross [Wed, 2 Oct 2013 05:21:16 +0000 (22:21 -0700)]
am b0c30322: hardware: look in /vendor for default.so

* commit 'b0c303229fcbc89a0afa8f170de64f2a7fee9d6c':
  hardware: look in /vendor for default.so

10 years agohardware: look in /vendor for default.so
Colin Cross [Mon, 30 Sep 2013 21:23:01 +0000 (14:23 -0700)]
hardware: look in /vendor for default.so

Some vendors have their own HAL modules, which may need their
default implementation stored in /vendor.

Change-Id: I5337a61875023404a85029bbc59b984056b3e441

10 years agoam 89cfe208: Merge "Camera3: Add PASSIVE_UNFOCUSED AF state and clean up INACTIVE...
Eino-Ville Talvala [Wed, 25 Sep 2013 19:29:27 +0000 (12:29 -0700)]
am 89cfe208: Merge "Camera3: Add PASSIVE_UNFOCUSED AF state and clean up INACTIVE" into klp-dev

* commit '89cfe20899d41e1c96efc20e3f203d3f1dba71cd':
  Camera3: Add PASSIVE_UNFOCUSED AF state and clean up INACTIVE

10 years agoMerge "Camera3: Add PASSIVE_UNFOCUSED AF state and clean up INACTIVE" into klp-dev
Eino-Ville Talvala [Wed, 25 Sep 2013 19:27:54 +0000 (19:27 +0000)]
Merge "Camera3: Add PASSIVE_UNFOCUSED AF state and clean up INACTIVE" into klp-dev

10 years agoam 3bf3b45f: Camera2 Test: skip some tests for limited hardware level
Zhijun He [Wed, 25 Sep 2013 02:29:53 +0000 (19:29 -0700)]
am 3bf3b45f: Camera2 Test: skip some tests for limited hardware level

* commit '3bf3b45f2d5eb43b74e1a46ff03ed3e2142b1b38':
  Camera2 Test: skip some tests for limited hardware level

10 years agoCamera2 Test: skip some tests for limited hardware level
Zhijun He [Thu, 19 Sep 2013 06:42:12 +0000 (23:42 -0700)]
Camera2 Test: skip some tests for limited hardware level

Bug: 10388724
Change-Id: Ifd13f72f1b7ff78cf50dc1c238f17c4b4e90d9b0

10 years agoCamera3: Add PASSIVE_UNFOCUSED AF state and clean up INACTIVE
Eino-Ville Talvala [Sat, 21 Sep 2013 00:24:50 +0000 (17:24 -0700)]
Camera3: Add PASSIVE_UNFOCUSED AF state and clean up INACTIVE

Needed to support the real case of continuous focus giving up on a
scene for a while (say, a blank wall), during which we shouldn't claim
the lens is in motion.

Also add new states for INACTIVE to clarify it as the starting state
after mode transitions or enabling AF/AE/AWB.

Bug: 10860639
Bug: 10446772

Change-Id: Ie4c1ac73e5a9eb6d1894d83dbded49a2767a8ffd

10 years agoam 60cbb526: Camera2 Test: Fix module and burst test issues
Zhijun He [Fri, 20 Sep 2013 04:01:20 +0000 (21:01 -0700)]
am 60cbb526: Camera2 Test: Fix module and burst test issues

* commit '60cbb52613d212236de49b4f22fe059585f8c1b2':
  Camera2 Test: Fix module and burst test issues

10 years agoCamera2 Test: Fix module and burst test issues
Zhijun He [Wed, 18 Sep 2013 16:44:19 +0000 (09:44 -0700)]
Camera2 Test: Fix module and burst test issues

Bug: 10388724
Change-Id: Idc404cf8a7a96c00941aa8f1880734a236cb3737

10 years agoam b3ac07c0: Camera2 Tests: fix some sanity checks
Zhijun He [Wed, 18 Sep 2013 01:29:35 +0000 (18:29 -0700)]
am b3ac07c0: Camera2 Tests: fix some sanity checks

* commit 'b3ac07c0028b0afe8f9b009e37af90ec9a697b44':
  Camera2 Tests: fix some sanity checks

10 years agoCamera2 Tests: fix some sanity checks
Zhijun He [Tue, 17 Sep 2013 23:51:06 +0000 (16:51 -0700)]
Camera2 Tests: fix some sanity checks

Remove the requirement of HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED and make and
fix some minor issues.

Bug: 10388724
Change-Id: I18f0ea60f87902d6c2bbaca53957a91953866c40

10 years agoam cd996be7: Merge "Initial interface for MemoryTrackerHAL" into klp-dev
Rom Lemarchand [Fri, 13 Sep 2013 20:20:43 +0000 (13:20 -0700)]
am cd996be7: Merge "Initial interface for MemoryTrackerHAL" into klp-dev

* commit 'cd996be7791b3f78e925532d5820da06d58cf635':
  Initial interface for MemoryTrackerHAL

10 years agoam 2a512b49: Merge "Camera2 Test: check the right result metadata" into klp-dev
Zhijun He [Fri, 13 Sep 2013 20:20:09 +0000 (13:20 -0700)]
am 2a512b49: Merge "Camera2 Test: check the right result metadata" into klp-dev

* commit '2a512b49e028b5714782ab69cba9662e01e25016':
  Camera2 Test: check the right result metadata

10 years agoMerge "Initial interface for MemoryTrackerHAL" into klp-dev
Rom Lemarchand [Fri, 13 Sep 2013 18:23:56 +0000 (18:23 +0000)]
Merge "Initial interface for MemoryTrackerHAL" into klp-dev

10 years agoMerge "Camera2 Test: check the right result metadata" into klp-dev
Zhijun He [Fri, 13 Sep 2013 14:31:07 +0000 (14:31 +0000)]
Merge "Camera2 Test: check the right result metadata" into klp-dev

10 years agoam d9d105a0: consumer_ir: add array length to get carrier freq
Alex Ray [Thu, 12 Sep 2013 16:12:47 +0000 (09:12 -0700)]
am d9d105a0: consumer_ir: add array length to get carrier freq

* commit 'd9d105a0ce6bbaa8d1d1cf70a255612a5dd33701':
  consumer_ir: add array length to get carrier freq

10 years agoCamera2 Test: check the right result metadata
Zhijun He [Sun, 8 Sep 2013 17:56:24 +0000 (10:56 -0700)]
Camera2 Test: check the right result metadata

We need check the right result metadata by looking for the right request id.

Bug: 10710768
Change-Id: I1e946f82e569fa6afc5067552c3f850ffffbf698

10 years agoconsumer_ir: add array length to get carrier freq
Alex Ray [Wed, 11 Sep 2013 23:20:07 +0000 (16:20 -0700)]
consumer_ir: add array length to get carrier freq

Change-Id: Iefb424db6f16ffefa40da56c765c9b7a24bea397

10 years agoam 1d640f05: Merge "Use canonical UniquePtr.h header"
Kenny Root [Wed, 11 Sep 2013 21:56:06 +0000 (14:56 -0700)]
am 1d640f05: Merge "Use canonical UniquePtr.h header"

* commit '1d640f05dcedfcaae63eeb90f3d89b16e95d0208':
  Use canonical UniquePtr.h header