OSDN Git Service

android-x86/hardware-libhardware.git
10 years agoam 060a115f: (-s ours) DO NOT MERGE - audio: audio HAL extension for routing and...
Eric Laurent [Thu, 29 May 2014 00:42:18 +0000 (00:42 +0000)]
am 060a115f: (-s ours) DO NOT MERGE - audio: audio HAL extension for routing and volume control

* commit '060a115f44bb458a73e6540bcd890b5ab44bd7bc':
  DO NOT MERGE - audio: audio HAL extension for routing and volume control

10 years agoam a906a33d: (-s ours) DO NOT MERGE - audio HAL: add minimum supported version
Eric Laurent [Thu, 29 May 2014 00:42:10 +0000 (00:42 +0000)]
am a906a33d: (-s ours) DO NOT MERGE - audio HAL: add minimum supported version

* commit 'a906a33d3045019cbc1502c3e53686b06d6302d9':
  DO NOT MERGE - audio HAL: add minimum supported version

10 years agoMerge "Update starting gravity of tilt definition"
Etienne Le Grand [Wed, 28 May 2014 22:46:27 +0000 (22:46 +0000)]
Merge "Update starting gravity of tilt definition"

10 years agoUpdate starting gravity of tilt definition
Etienne Le Grand [Wed, 28 May 2014 22:42:48 +0000 (15:42 -0700)]
Update starting gravity of tilt definition

Change-Id: I9be79fe264b8a751757a2b6840b7ff928679028d

10 years agoDO NOT MERGE - audio: audio HAL extension for routing and volume control
Eric Laurent [Thu, 22 May 2014 21:02:38 +0000 (14:02 -0700)]
DO NOT MERGE - audio: audio HAL extension for routing and volume control

Added audio HAL functions to control audio routing and audio gain.
Audio HALs above version 3.0 must implement these functions.
These functions will be used by the framework instead of
out_set_parameters("routing"=XXX) for device selection on an output
or input stream.
They will also allow direct connection of input devices to output devices
as well as gain control on devices or streams.

The gain or routing capabilities are exposed in audio_polciy.conf file.

Change-Id: Ic293fd41d492e38e86bdc35e3ad93aa5deb0b48f

10 years agoDO NOT MERGE - audio HAL: add minimum supported version
Eric Laurent [Thu, 22 May 2014 20:45:55 +0000 (13:45 -0700)]
DO NOT MERGE - audio HAL: add minimum supported version

Add a definition for the minimum audio HAL version supported
by the audio framework.

Change-Id: Id7df440cc9fcc23b27b61c81bacb569599a20c13

10 years agoaudio: add AUDIO_PARAMETER_A2DP_SOURCE_ADDRESS parameter name
Mike Lockwood [Wed, 28 May 2014 18:09:54 +0000 (11:09 -0700)]
audio: add AUDIO_PARAMETER_A2DP_SOURCE_ADDRESS parameter name

Change-Id: I6eedc25ed16be82a7a875d13774f31a47f0f9443

10 years agoam ec9236ef: am ef2c616c: Merge "Update definition of the heart rate monitor to inclu...
Etienne Le Grand [Tue, 27 May 2014 18:14:50 +0000 (18:14 +0000)]
am ec9236ef: am ef2c616c: Merge "Update definition of the heart rate monitor to include confidence" into klp-modular-dev

* commit 'ec9236ef18e13b40a1b28aa05b4d5f483cc6ab74':
  Update definition of the heart rate monitor to include confidence

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

* commit 'ef2c616c4e45eaa1e621aa69bffb7438b1c64755':
  Update definition of the heart rate monitor to include confidence

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 agoRevert "bt: add interface function to provide wakelock access"
Matthew Xie [Sat, 24 May 2014 00:07:19 +0000 (17:07 -0700)]
Revert "bt: add interface function to provide wakelock access"

This reverts commit 19f3696f852d6787076b70a7d31f5684ad2aa93f.

10 years agoam b752c08d: am 19f3696f: bt: add interface function to provide wakelock access
Dmitry Grinberg [Fri, 23 May 2014 21:38:38 +0000 (21:38 +0000)]
am b752c08d: am 19f3696f: bt: add interface function to provide wakelock access

* commit 'b752c08d1366155783894accf75fd65548b101ff':
  bt: add interface function to provide wakelock access

10 years agoam 19f3696f: bt: add interface function to provide wakelock access
Dmitry Grinberg [Fri, 23 May 2014 21:35:42 +0000 (21:35 +0000)]
am 19f3696f: bt: add interface function to provide wakelock access

* commit '19f3696f852d6787076b70a7d31f5684ad2aa93f':
  bt: add interface function to provide wakelock access

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 agoam f1ee67e1: camera3: Update the HAL spec for raw cropping behavior
Zhijun He [Fri, 23 May 2014 04:00:26 +0000 (04:00 +0000)]
am f1ee67e1: camera3: Update the HAL spec for raw cropping behavior

* commit 'f1ee67e1ea6d55e4621bbd418c15fdc1aac32a84':
  camera3: Update the HAL spec for raw cropping behavior

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 agoaudio: audio HAL extension for routing and volume control
Eric Laurent [Thu, 22 May 2014 21:02:38 +0000 (14:02 -0700)]
audio: audio HAL extension for routing and volume control

Added audio HAL functions to control audio routing and audio gain.
Audio HALs above version 3.0 must implement these functions.
These functions will be used by the framework instead of
out_set_parameters("routing"=XXX) for device selection on an output
or input stream.
They will also allow direct connection of input devices to output devices
as well as gain control on devices or streams.

The gain or routing capabilities are exposed in audio_polciy.conf file.

Change-Id: Ic293fd41d492e38e86bdc35e3ad93aa5deb0b48f

10 years agocamera3: Update the HAL spec for raw cropping behavior
Zhijun He [Wed, 21 May 2014 18:18:51 +0000 (11:18 -0700)]
camera3: Update the HAL spec for raw cropping behavior

Bug: 15168075

Change-Id: I035fc833cb122a7caa4cf47a1d5be574d4727345

10 years agoaudio HAL: add minimum supported version
Eric Laurent [Thu, 22 May 2014 20:45:55 +0000 (13:45 -0700)]
audio HAL: add minimum supported version

Add a definition for the minimum audio HAL version supported
by the audio framework.

Change-Id: Id7df440cc9fcc23b27b61c81bacb569599a20c13

10 years agoSwitch libhardware to POSIX dprintf.
Elliott Hughes [Thu, 22 May 2014 18:12:12 +0000 (11:12 -0700)]
Switch libhardware to POSIX dprintf.

Bug: 15022164
Change-Id: Ie4c93318c2e7a947a57e16b220a6abceec59e6aa

10 years agoMerge "Added basic resampling of submix data on read from the input stream."
Stewart Miles [Tue, 20 May 2014 19:55:00 +0000 (19:55 +0000)]
Merge "Added basic resampling of submix data on read from the input stream."

10 years agoRevert "Revert "LE Multi ADV feature""
Wei Wang [Tue, 20 May 2014 06:30:05 +0000 (06:30 +0000)]
Revert "Revert "LE Multi ADV feature""

This reverts commit cbeca51023839d0ef4315cfced4b2d68618f5f0e.

Change-Id: I3f2130217ffd616099a017db2f26d3d112f2c1ea

10 years agoMerge "Update HDMI-CEC HAL interface for TV"
Jinsuk Kim [Tue, 20 May 2014 04:57:28 +0000 (04:57 +0000)]
Merge "Update HDMI-CEC HAL interface for TV"

10 years agoRevert "LE Multi ADV feature"
Wei Wang [Tue, 20 May 2014 04:52:22 +0000 (04:52 +0000)]
Revert "LE Multi ADV feature"

This reverts commit 2d17c28b4f820d6edd11aecdbd172cd65e934c2f.

Change-Id: I3abe730817a5b1714b0403f387a3ed416ded63f3

10 years agoLE Multi ADV feature
Satya Calloji [Thu, 1 May 2014 03:09:22 +0000 (20:09 -0700)]
LE Multi ADV feature

Header changes for LE Multi ADV feature

Change-Id: I24a18a2f30ab1618875d3ac9ca1e9f5e5064f62d

10 years agoAdded basic resampling of submix data on read from the input stream.
Stewart Miles [Thu, 1 May 2014 16:03:27 +0000 (09:03 -0700)]
Added basic resampling of submix data on read from the input stream.

As described in If592270a17e08c5852b00b730bb9c5166c746ad2 the audio mixer
doesn't work correctly when sending data to an output device that supports
a sample rate that is more than 2x different to the source data rate.

This modifies the remote submix module to resample data from the pipe
when it's read from the input stream.

Bug: 11273000
Change-Id: I9c4b3710bcebf3a2df045965dfdafdd9855b0b25

10 years agoMerge "Add optional logging of input and output streams to the submix HAL."
Stewart Miles [Tue, 20 May 2014 01:09:54 +0000 (01:09 +0000)]
Merge "Add optional logging of input and output streams to the submix HAL."

10 years agoUpdate HDMI-CEC HAL interface for TV
Jinsuk Kim [Wed, 14 May 2014 02:01:00 +0000 (11:01 +0900)]
Update HDMI-CEC HAL interface for TV

Added a few more API:
 - is_connected
 - get_port_info
 - set_option
 - set_audio_return_channel

Also added another event type (tx_status) that reports the status
of transmission. The status is reported in asynchronous fashion
since the send operation can take longer due to bus conflict.

Change-Id: I75decb8451a23f8a8eda0895d58f22c45227c0b3

10 years agoMerge "Libhardware: HAL: Fingerprint: Add template collection progress hint; remove...
Sasha Levitskiy [Mon, 19 May 2014 19:47:51 +0000 (19:47 +0000)]
Merge "Libhardware: HAL: Fingerprint: Add template collection progress hint; remove match confidence."

10 years agoMerge "Activity Recognition HAL."
Aravind Akella [Mon, 19 May 2014 19:04:49 +0000 (19:04 +0000)]
Merge "Activity Recognition HAL."

10 years agoActivity Recognition HAL.
Aravind Akella [Wed, 7 May 2014 19:01:43 +0000 (12:01 -0700)]
Activity Recognition HAL.

Add separate methods for enabling/disabling activities and rename activity constants.

Change-Id: I5986f6cf6ceb12a88f3d881ac5ccb6b9b50a2e58

10 years agoAdd optional logging of input and output streams to the submix HAL.
Stewart Miles [Thu, 1 May 2014 16:03:27 +0000 (09:03 -0700)]
Add optional logging of input and output streams to the submix HAL.

In order to aid debugging of issues with streaming data in the submix HAL
this change introduces a compile time option to log the input and output
streams to files for offline inspection.

Bug: 11273000
Change-Id: Ib2d929d7ba66f63b719e6996df9016f73c9080aa

10 years agoImplemented mono->stereo, stereo->mono channel conversion in submix HAL.
Stewart Miles [Thu, 1 May 2014 16:03:27 +0000 (09:03 -0700)]
Implemented mono->stereo, stereo->mono channel conversion in submix HAL.

The AudioFlinger service currently will only open stereo streams from
mono AudioTracks since all mixing is performed in stereo and then sent
to the HAL stream.  In order to allow a process to record a mono stream
from the submix HAL, this change implements channel conversion in
the submix HAL so that it's possible to open the output stream in stereo
and the input stream in mono.

Bug: 11273000
Change-Id: I840ce0be3cf7e5bc8a4c6de63a70d5408d60b716

10 years agoLibhardware: HAL: Fingerprint: Add template collection progress hint; remove match...
Sasha Levitskiy [Wed, 7 May 2014 16:07:11 +0000 (09:07 -0700)]
Libhardware: HAL: Fingerprint: Add template collection progress hint; remove match confidence.

Change-Id: I62ce57054b7e0cfda8aa260176e504113677d993
Signed-off-by: Sasha Levitskiy <sanek@google.com>
10 years agoModified submix HAL to drop data to the output stream if the pipe could block.
Stewart Miles [Thu, 1 May 2014 16:03:27 +0000 (09:03 -0700)]
Modified submix HAL to drop data to the output stream if the pipe could block.

Since it's possible to open an output stream on the submix HAL before the input
stream is open, writes to the output stream that fill the shared pipe result in
indefinitely blocking the thread writing to the stream.  This change modifies
the behavior of writes to a submix output stream such that if a write would
result in blocking the thread and an input isn't open, the pipe is flushed
of the appropriate amount of data such that the write will not block.

Bug: 11273000
Change-Id: Ic81c50e4b44b777273191a1bc8cdf52181c3d2a0

10 years agoMerge "Modify submix HAL to allow either input or output streams create the pipe."
Stewart Miles [Fri, 16 May 2014 22:34:03 +0000 (22:34 +0000)]
Merge "Modify submix HAL to allow either input or output streams create the pipe."

10 years agoModify submix HAL to allow either input or output streams create the pipe.
Stewart Miles [Thu, 1 May 2014 16:03:27 +0000 (09:03 -0700)]
Modify submix HAL to allow either input or output streams create the pipe.

This change is primarily being made as a short term solution to allow an input
audio stream received over the network to be fed into an audio input stream (e.g
the MIC stream) when a physical audio input device isn't present.

This makes both the input and output streams owners of the pipe so that
creation order no longer matters.  In addition, it works around a memory leak
caused by applications that never close input streams.

Bug: 11273000
Change-Id: I5a3fb0b6f2148c113b2f3050b72ff2a8979a3e6d

10 years agoAdd ARC commands
Jungshik Jang [Fri, 16 May 2014 07:31:27 +0000 (16:31 +0900)]
Add ARC commands

ARC, Audio Return Channel is newly introduced in HDMI CEC 1.4.
Here is a list of new command
<Initiate ARC>
<Report ARC Initiated>
<Report ARC Terminated>
<Request ARC Initiation>
<Request ARC Termination>
<Terminate ARC>

Along with it replaced <Get OSD Name> with <Give OSD Name>
which is renamed in CEC 1.4.

Change-Id: I6a03b30cf90a8f6dca54831355be05682a6df96c

10 years agoam f8cbc9e6: am ad70dc48: add /system/vendor/lib as valid search path for sensor...
Nick Vaccaro [Thu, 15 May 2014 21:48:57 +0000 (21:48 +0000)]
am f8cbc9e6: am ad70dc48: add /system/vendor/lib as valid search path for sensor HALs

* commit 'f8cbc9e65cd67da20167a88daaa9e99bf32de8b9':
  add /system/vendor/lib as valid search path for sensor HALs

10 years agoam ad70dc48: add /system/vendor/lib as valid search path for sensor HALs
Nick Vaccaro [Thu, 15 May 2014 21:45:47 +0000 (21:45 +0000)]
am ad70dc48: add /system/vendor/lib as valid search path for sensor HALs

* commit 'ad70dc482f044b1ef03ef1aa74b6e2c5a446d32b':
  add /system/vendor/lib as valid search path for sensor HALs

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 agoLE: Add API to set scan interval and window (1/4)
Prerepa Viswanadham [Fri, 9 May 2014 23:09:52 +0000 (16:09 -0700)]
LE: Add API to set scan interval and window (1/4)

Delete client_if from scan api's
Change-Id: If24cb134ae7204de69c8c89664ce34f9d59da76a

10 years agoAllow submix module streams to use any NBAIO format.
Stewart Miles [Thu, 1 May 2014 16:03:27 +0000 (09:03 -0700)]
Allow submix module streams to use any NBAIO format.

This modifies the submix module to allow the internal buffer to be any NBAIO
format.  This is useful when sending audio of arbitrary formats between
processes.  AudioFlinger continues to enforce format restrictions as specified
by the device specific audio_policy.conf so the submix streams will have the
same restrictions as before.

Bug: 11273000
Change-Id: I2cd4ff383c5c75e491ab22bc1949c835f04e230f

10 years agoModified submix buffer size accessors to use the pipe configuration.
Stewart Miles [Thu, 1 May 2014 16:03:27 +0000 (09:03 -0700)]
Modified submix buffer size accessors to use the pipe configuration.

This change stores the period size (fraction of the pipe buffer size)
in the submix device's configuration which is then used to calculate
the input and output stream buffer size.

In addition, accessors for the input / output stream format have been
modified to use the pipe format in the device configuration rather than
returning hard coded values.

Bug: 11273000
Change-Id: I9c14f8d549f4b4a6d7f77a9aeab4edfa5ba6bd1a

10 years agoImplemented accessors for derived submix HAL objects.
Stewart Miles [Thu, 1 May 2014 16:03:27 +0000 (09:03 -0700)]
Implemented accessors for derived submix HAL objects.

This change cleans up casting from contained to container structures.
Such that if..

struct child {
  struct parent;
  int child_data;
};

is changed to...

struct child {
  int child_data;
  struct parent;
};

functions that cast from "parent" to "child" will continue to function
correctly.

Change-Id: I88d70930d4d4df2e291239e562971b07d8b92f94

10 years agoDescribed restrictions for common HAL object methods in nfc.h.
Stewart Miles [Mon, 12 May 2014 22:00:13 +0000 (15:00 -0700)]
Described restrictions for common HAL object methods in nfc.h.

Follow up from change Ibe4300275286ef275b2097534c84f1029d761d87
which extends comments to the nfc_nci_module_t and nfc_nci_device_t
structures.

Change-Id: I060bda450912ff3fc041027faa8f03c24e310870

10 years agoMerge "Described restrictions for common HAL object methods."
Jinsuk Kim [Mon, 12 May 2014 21:39:30 +0000 (21:39 +0000)]
Merge "Described restrictions for common HAL object methods."

10 years agoupdate struct-offset.cpp test for gralloc API 0.3
Greg Hackmann [Mon, 12 May 2014 20:48:30 +0000 (13:48 -0700)]
update struct-offset.cpp test for gralloc API 0.3

Change-Id: I6509ea0fda3a3d9b4aea83c5342a491993dc9c26
Signed-off-by: Greg Hackmann <ghackmann@google.com>
10 years agoMerge "Added a compile time option to enable / disable verbose submix logging."
Stewart Miles [Mon, 12 May 2014 19:44:21 +0000 (19:44 +0000)]
Merge "Added a compile time option to enable / disable verbose submix logging."

10 years agoDescribed restrictions for common HAL object methods.
Stewart Miles [Thu, 1 May 2014 16:03:27 +0000 (09:03 -0700)]
Described restrictions for common HAL object methods.

Inheritance of HAL object is performed by composing a child structure of a
single parent structure located at offset 0 followed by new data members
and function pointers in the child structure.

For example,

struct child {
  struct parent common;
  int a_data_member;
  void (*a_method)(struct child *c, int v);
};

HAL code assumes this layout when accessing child structures given a pointer
to a parent structure such that users write code like the following...

void child_method(struct *parent, int v) {
  struct child * c = (struct child*)parent;
  // do stuff with c
}

Code above will break if a member is added before "common" in "struct child".

This change adds comments that describe the restriction on the location of
parent HAL objects within a derived HAL object.  HAL objects that already
have comments that describe the required location of parent objects are not
modified.

Change-Id: Ibe4300275286ef275b2097534c84f1029d761d87

10 years agoAdded a compile time option to enable / disable verbose submix logging.
Stewart Miles [Thu, 1 May 2014 16:03:27 +0000 (09:03 -0700)]
Added a compile time option to enable / disable verbose submix logging.

Along with the following minor changes:
* Fixed all referenced variable compiler warnings.
* Ordered headers in alphabetical order.

Change-Id: I122ef67d25b78056a60b85baf897005293a9efa0

10 years agoam 7c05b1d8: am 6f91ded5: am c63ec07b: Merge "gralloc: Add asynchronous lock/unlock...
Greg Hackmann [Mon, 12 May 2014 18:18:46 +0000 (18:18 +0000)]
am 7c05b1d8: am 6f91ded5: am c63ec07b: Merge "gralloc: Add asynchronous lock/unlock API"

* commit '7c05b1d8f9e01ac4b169533b502e1b9a35f4aeb9':
  gralloc: Add asynchronous lock/unlock API

10 years agoam 6f91ded5: am c63ec07b: Merge "gralloc: Add asynchronous lock/unlock API"
Greg Hackmann [Mon, 12 May 2014 18:12:33 +0000 (18:12 +0000)]
am 6f91ded5: am c63ec07b: Merge "gralloc: Add asynchronous lock/unlock API"

* commit '6f91ded57bf133fbf572cde2f5623bb8289f7eaa':
  gralloc: Add asynchronous lock/unlock API

10 years agoam c63ec07b: Merge "gralloc: Add asynchronous lock/unlock API"
Greg Hackmann [Mon, 12 May 2014 18:08:12 +0000 (18:08 +0000)]
am c63ec07b: Merge "gralloc: Add asynchronous lock/unlock API"

* commit 'c63ec07b3ca11de8e0321a0875119427bb0bad86':
  gralloc: Add asynchronous lock/unlock API

10 years agoMerge "gralloc: Add asynchronous lock/unlock API"
Greg Hackmann [Mon, 12 May 2014 18:01:55 +0000 (18:01 +0000)]
Merge "gralloc: Add asynchronous lock/unlock API"

10 years agogralloc: Add asynchronous lock/unlock API
Francis Hart [Tue, 1 Apr 2014 08:10:32 +0000 (11:10 +0300)]
gralloc: Add asynchronous lock/unlock API

The existing API exposed to clients for software lock/unlock forces the gralloc
implementation to complete these operations synchronously. This change adds new
entry points for lock/unlock functionality that is suited for use with Android's
explicit synchronisation concept. This provides scope for the gralloc module
to internally optimise the work it must do for lock/unlock and to hide this cost
from the client.

Change-Id: If4b1bb5490ab2b20d796214a7da8a96427cfe52d

10 years agoam b283598b: am 06c19bd0: am 2d91d000: Merge "Revert "gralloc: Add asynchronous lock...
Greg Hackmann [Fri, 9 May 2014 22:00:04 +0000 (22:00 +0000)]
am b283598b: am 06c19bd0: am 2d91d000: Merge "Revert "gralloc: Add asynchronous lock/unlock API""

* commit 'b283598bad4ce833b4f19f9526b9f4dc75d9d245':
  Revert "gralloc: Add asynchronous lock/unlock API"

10 years agoam 62cff27d: am 5a1ca138: am e79f167e: Merge "gralloc: Add asynchronous lock/unlock...
Greg Hackmann [Fri, 9 May 2014 21:54:48 +0000 (21:54 +0000)]
am 62cff27d: am 5a1ca138: am e79f167e: Merge "gralloc: Add asynchronous lock/unlock API"

* commit '62cff27d48eada351ea952e5b960ab2f2c15b1d3':
  gralloc: Add asynchronous lock/unlock API

10 years agoam 06c19bd0: am 2d91d000: Merge "Revert "gralloc: Add asynchronous lock/unlock API""
Greg Hackmann [Fri, 9 May 2014 21:51:51 +0000 (21:51 +0000)]
am 06c19bd0: am 2d91d000: Merge "Revert "gralloc: Add asynchronous lock/unlock API""

* commit '06c19bd047d63adcf99094f6f0dd17b58150bba6':
  Revert "gralloc: Add asynchronous lock/unlock API"

10 years agoam 2d91d000: Merge "Revert "gralloc: Add asynchronous lock/unlock API""
Greg Hackmann [Fri, 9 May 2014 21:46:45 +0000 (21:46 +0000)]
am 2d91d000: Merge "Revert "gralloc: Add asynchronous lock/unlock API""

* commit '2d91d000bce3db23ac51888d109c9f29272ea96a':
  Revert "gralloc: Add asynchronous lock/unlock API"

10 years agoMerge "Revert "gralloc: Add asynchronous lock/unlock API""
Greg Hackmann [Fri, 9 May 2014 21:39:10 +0000 (21:39 +0000)]
Merge "Revert "gralloc: Add asynchronous lock/unlock API""

10 years agoRevert "gralloc: Add asynchronous lock/unlock API"
Greg Hackmann [Fri, 9 May 2014 21:36:14 +0000 (21:36 +0000)]
Revert "gralloc: Add asynchronous lock/unlock API"

This reverts commit 2861789f4febe67e39de449488681edf3e98b6e2.

Change-Id: I334b8ca9b9fdef510df514c18aabb6a593dfaa75

10 years agoam 5a1ca138: am e79f167e: Merge "gralloc: Add asynchronous lock/unlock API"
Greg Hackmann [Fri, 9 May 2014 21:13:17 +0000 (21:13 +0000)]
am 5a1ca138: am e79f167e: Merge "gralloc: Add asynchronous lock/unlock API"

* commit '5a1ca138be2e45284a3a5ad33977ee774a57a56d':
  gralloc: Add asynchronous lock/unlock API

10 years agoam e79f167e: Merge "gralloc: Add asynchronous lock/unlock API"
Greg Hackmann [Fri, 9 May 2014 21:08:39 +0000 (21:08 +0000)]
am e79f167e: Merge "gralloc: Add asynchronous lock/unlock API"

* commit 'e79f167e4a997b92d2da8e14a8a78c557503b48a':
  gralloc: Add asynchronous lock/unlock API

10 years agoMerge "gralloc: Add asynchronous lock/unlock API"
Greg Hackmann [Fri, 9 May 2014 21:02:07 +0000 (21:02 +0000)]
Merge "gralloc: Add asynchronous lock/unlock API"

10 years agoMerge "LE: Add controller based advertising filter API (1/2)"
Matthew Xie [Wed, 7 May 2014 05:47:53 +0000 (05:47 +0000)]
Merge "LE: Add controller based advertising filter API (1/2)"

10 years agoMerge "Add transport param to Connect APIs"
Matthew Xie [Wed, 7 May 2014 05:47:38 +0000 (05:47 +0000)]
Merge "Add transport param to Connect APIs"

10 years agoMerge "Bluetooth: Multi HF support"
Matthew Xie [Wed, 7 May 2014 05:47:25 +0000 (05:47 +0000)]
Merge "Bluetooth: Multi HF support"

10 years agoMerge "power: Adds a new power hint POWER_HINT_LOW_POWER"
Ruchi Kandoi [Wed, 7 May 2014 02:08:26 +0000 (02:08 +0000)]
Merge "power: Adds a new power hint POWER_HINT_LOW_POWER"

10 years agopower: Adds a new power hint POWER_HINT_LOW_POWER
Ruchi Kandoi [Fri, 2 May 2014 20:52:51 +0000 (13:52 -0700)]
power: Adds a new power hint POWER_HINT_LOW_POWER

Change-Id: Ib0adda9bce0719eb47d41dc7c77f4bd9576311a9
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
10 years agoMerge "Add SENSOR_TYPE_WAKE_GESTURE in the sensor hal."
Etienne Le Grand [Wed, 7 May 2014 01:17:27 +0000 (01:17 +0000)]
Merge "Add SENSOR_TYPE_WAKE_GESTURE in the sensor hal."

10 years agoAdd SENSOR_TYPE_WAKE_GESTURE in the sensor hal.
Etienne Le Grand [Tue, 6 May 2014 01:20:42 +0000 (18:20 -0700)]
Add SENSOR_TYPE_WAKE_GESTURE in the sensor hal.

Change-Id: Ia84dfe487bfdea227d5ae856f7e44b021dac1f19

10 years agoam c7651350: am d34ed32e: Change MultiHal API version to 1.1
Nick Vaccaro [Tue, 6 May 2014 17:45:55 +0000 (17:45 +0000)]
am c7651350: am d34ed32e: Change MultiHal API version to 1.1

* commit 'c76513507b4a081e80ebf9a441d04005bf94418a':
  Change MultiHal API version to 1.1

10 years agoam d34ed32e: Change MultiHal API version to 1.1
Nick Vaccaro [Tue, 6 May 2014 17:42:28 +0000 (17:42 +0000)]
am d34ed32e: Change MultiHal API version to 1.1

* commit 'd34ed32e06045c5a55b4d25247a98fa64c233bfe':
  Change MultiHal API version to 1.1

10 years agoLE: Add controller based advertising filter API (1/2)
Andre Eisenbach [Tue, 17 Dec 2013 00:16:54 +0000 (16:16 -0800)]
LE: Add controller based advertising filter API (1/2)

Change-Id: I6c3ed7d1d088d2ac48493a835912617f1f655a37

10 years agoAdd transport param to Connect APIs
Ganesh Ganapathi Batta [Fri, 18 Apr 2014 17:02:49 +0000 (10:02 -0700)]
Add transport param to Connect APIs

Support for passing preferred transport for GATT connections as part of
Connect APIs

Change-Id: I83ba256574234c0a15a4bff48bcffa2e237c9393

10 years agoBluetooth: Multi HF support
Sunny Kapdi [Sat, 15 Mar 2014 01:21:58 +0000 (18:21 -0700)]
Bluetooth: Multi HF support

This patch adds multi hf support in HAL
Adds bd_addr parameter for callbacks from stack.

Change-Id: I960bc127026d7e96dea79316e1f03b0b0915974a

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 "Define TILT sensor"
Aravind Akella [Mon, 5 May 2014 22:47:52 +0000 (22:47 +0000)]
Merge "Define TILT sensor"

10 years agoDefine TILT sensor
Aravind Akella [Wed, 30 Apr 2014 18:46:09 +0000 (11:46 -0700)]
Define TILT sensor

Change-Id: Ic3c223488aa4a0d66b07ae3065e59f8e2fe69ceb

10 years agogralloc: Add asynchronous lock/unlock API
Francis Hart [Tue, 1 Apr 2014 08:10:32 +0000 (11:10 +0300)]
gralloc: Add asynchronous lock/unlock API

The existing API exposed to clients for software lock/unlock forces the gralloc
implementation to complete these operations synchronously. This change adds new
entry points for lock/unlock functionality that is suited for use with Android's
explicit synchronisation concept. This provides scope for the gralloc module
to internally optimise the work it must do for lock/unlock and to hide this cost
from the client.

Change-Id: I6c41f4a532b705fc76c7777b2f04ea293506b381

10 years agoHardware: Fingerprint: HAL adds removed notification, normalizes names.
Sasha Levitskiy [Wed, 30 Apr 2014 20:29:43 +0000 (13:29 -0700)]
Hardware: Fingerprint: HAL adds removed notification, normalizes names.

Change-Id: Id0a8e120043c00bf351aa1c9d3f0c06c2e4af947
Signed-off-by: Sasha Levitskiy <sanek@google.com>
10 years agoam 0512ec33: am 08e9b2a4: Merge commit \'f404dc42d6677a1aee88d1ce996a7e8e4afe55bb...
Bill Yi [Wed, 30 Apr 2014 12:50:20 +0000 (12:50 +0000)]
am 0512ec33: am 08e9b2a4: Merge commit \'f404dc42d6677a1aee88d1ce996a7e8e4afe55bb\' into HEAD

* commit '0512ec33ff825470297f8c633fc6a5ce35fde771':

10 years agoam 08e9b2a4: Merge commit \'f404dc42d6677a1aee88d1ce996a7e8e4afe55bb\' into HEAD
Bill Yi [Wed, 30 Apr 2014 00:59:02 +0000 (00:59 +0000)]
am 08e9b2a4: Merge commit \'f404dc42d6677a1aee88d1ce996a7e8e4afe55bb\' into HEAD

* commit '08e9b2a43d43a23067e577b5bd83a41964e70107':

10 years agoam 85425cfe: am c2a0b248: Merge "Update HDMI-CEC HAL interface definition" into klp...
Jinsuk Kim [Tue, 29 Apr 2014 21:38:10 +0000 (21:38 +0000)]
am 85425cfe: am c2a0b248: Merge "Update HDMI-CEC HAL interface definition" into klp-modular-dev

* commit '85425cfe8937cc82722e6495b3eb4573db461eb7':
  Update HDMI-CEC HAL interface definition

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 agoMerge "Add symbol AUDIO_PARAMETER_KEY_BT_SCO_WB"
Glenn Kasten [Tue, 29 Apr 2014 21:15:10 +0000 (21:15 +0000)]
Merge "Add symbol AUDIO_PARAMETER_KEY_BT_SCO_WB"

10 years agoAdd symbol AUDIO_PARAMETER_KEY_BT_SCO_WB
Glenn Kasten [Tue, 29 Apr 2014 20:35:57 +0000 (13:35 -0700)]
Add symbol AUDIO_PARAMETER_KEY_BT_SCO_WB

Change-Id: Ib2cfef74a57467cb01b5e0c44af335f53791e348

10 years agoMerge commit 'f404dc42d6677a1aee88d1ce996a7e8e4afe55bb' into HEAD
Bill Yi [Tue, 29 Apr 2014 18:34:21 +0000 (11:34 -0700)]
Merge commit 'f404dc42d6677a1aee88d1ce996a7e8e4afe55bb' into HEAD

10 years agoMerge "Activity Recognition HAL."
Aravind Akella [Tue, 29 Apr 2014 17:26:00 +0000 (17:26 +0000)]
Merge "Activity Recognition HAL."

10 years agoMerge "USB HAL: 64-bit compile issues"
Mark Salyzyn [Tue, 29 Apr 2014 15:34:40 +0000 (15:34 +0000)]
Merge "USB HAL: 64-bit compile issues"

10 years agoActivity Recognition HAL.
Aravind Akella [Sat, 15 Mar 2014 02:00:45 +0000 (19:00 -0700)]
Activity Recognition HAL.

Change-Id: I6fa175376464a4498fc9ed71dc33199be4754599

10 years agoMerge "camera3: Update camera3_jpeg_blob_t for max jpeg size change"
Zhijun He [Tue, 29 Apr 2014 01:12:45 +0000 (01:12 +0000)]
Merge "camera3: Update camera3_jpeg_blob_t for max jpeg size change"

10 years agoUSB HAL: 64-bit compile issues
Mark Salyzyn [Mon, 28 Apr 2014 19:30:44 +0000 (12:30 -0700)]
USB HAL: 64-bit compile issues

- size_t/ssize_t issues
- const warnings
- printf format (unsigned/signed and non-integer types)

Change-Id: I36d6b0d86e832b46eb0da076e99bf1f25bd697ff

10 years agoAdded support for 1-channel capture sources (like a microphone)
Paul McLean [Mon, 28 Apr 2014 20:03:18 +0000 (13:03 -0700)]
Added support for 1-channel capture sources (like a microphone)

Change-Id: Ie38b41ed8a63bf1b813379361665c883f08cbaae

10 years agocamera3: Update camera3_jpeg_blob_t for max jpeg size change
Zhijun He [Thu, 24 Apr 2014 21:34:53 +0000 (14:34 -0700)]
camera3: Update camera3_jpeg_blob_t for max jpeg size change

We no longer have a single max jpeg size for all resolution jpeg streams.

Bug: 14288983
Change-Id: I2c96d7c473901d7f419d0da9c2947fec095834a9

10 years agoMerge "USB HAL Capture Implementation"
Paul McLean [Fri, 25 Apr 2014 19:20:59 +0000 (19:20 +0000)]
Merge "USB HAL Capture Implementation"

10 years agoUSB HAL Capture Implementation
Paul McLean [Wed, 16 Apr 2014 22:44:20 +0000 (15:44 -0700)]
USB HAL Capture Implementation

Change-Id: Ic04f7e1b33b423e5169667700145b9cbdd9704a6

10 years agoHardware: Fingerprint: Fix structure name.
Sasha Levitskiy [Thu, 24 Apr 2014 16:52:47 +0000 (09:52 -0700)]
Hardware: Fingerprint: Fix structure name.

Change-Id: I7a2593837148ad80df970d89950f396c7704e71b
Signed-off-by: Sasha Levitskiy <sanek@google.com>