Commit graph

651 commits

Author SHA1 Message Date
Sasha Levitskiy
ba45e05a6a HAL: Fingerprint: Incremental scan notification.
Change-Id: If943fe6b46a8261ca936e07a36e11c10c7e6d63a
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2014-06-11 10:17:25 -07:00
Dan Stoza
cbdd561911 Merge "hwcomposer: Correct padding for 32/64-bit" 2014-06-06 17:23:17 +00:00
Eric Laurent
7bb04adc53 Merge "added sound trigger HAL." 2014-06-05 01:09:46 +00:00
Dan Stoza
91699a82eb hwcomposer: Correct padding for 32/64-bit
The size of hwc_layer_1_t varies depending on whether we're building
for a 32- or 64-bit target. This change splits the padding into two
sections so that we can add more fields without changing the overall
size on either bitness.

Change-Id: Ib7c960a9feb0061586dc6398211d7d3dc012d573
2014-06-04 16:10:46 -07:00
Eric Laurent
46bbe8a782 added sound trigger HAL.
Defined HAL for hardware voice and sound activity
activity detection (sound trigger).

Change-Id: I04f3c770c69a81245e8a15dd9e097e2c3f5ef069
2014-06-04 14:34:06 -07:00
Aravind Akella
80efde7c11 Merge "Replace integer constants with strings in Activity Recognition HAL." 2014-06-03 17:21:37 +00:00
Aravind Akella
871b748733 Replace integer constants with strings in Activity Recognition HAL.
Change-Id: I67d543869f5870f9e771c36c0fe1d58e7495ca57
2014-06-03 01:37:50 +00:00
Etienne Le Grand
2ec41a17b2 Merge "Rewording of tilt sensor" 2014-05-30 02:42:58 +00:00
Etienne Le Grand
426f14df08 Rewording of tilt sensor
Change-Id: I7bb0e63c3e1e6850359d7e690bfeea9e8c8fbcbf
2014-05-29 19:35:48 -07:00
Wonsik Kim
2fb5dc4813 Merge "Add audio info to tv_input" 2014-05-29 02:26:06 +00:00
Zhijun He
7b4c58e8f0 am 5f3b7da7: Merge "camera3: Update FULL/LIMITED operational modes" into lmp-preview-dev
* commit '5f3b7da796c638591c27dfdf04f2c1cd85791d5b':
  camera3: Update FULL/LIMITED operational modes
2014-05-29 00:42:27 +00:00
Zhijun He
5f3b7da796 Merge "camera3: Update FULL/LIMITED operational modes" into lmp-preview-dev 2014-05-28 22:46:28 +00:00
Etienne Le Grand
6b007d084d Merge "Update starting gravity of tilt definition" 2014-05-28 22:46:27 +00:00
Etienne Le Grand
53017efa7b Update starting gravity of tilt definition
Change-Id: I9be79fe264b8a751757a2b6840b7ff928679028d
2014-05-28 15:42:48 -07:00
Zhijun He
1ab5c5e037 camera3: Update FULL/LIMITED operational modes
Change-Id: I2a76361868a2ab3cc1dafb08905d5f5d53052a6d
2014-05-28 15:25:42 -07:00
Eric Laurent
060a115f44 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
2014-05-28 14:03:59 -07:00
Eric Laurent
a906a33d30 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
2014-05-28 14:03:22 -07:00
Mike Lockwood
2d4d96574e audio: add AUDIO_PARAMETER_A2DP_SOURCE_ADDRESS parameter name
Change-Id: I6eedc25ed16be82a7a875d13774f31a47f0f9443
2014-05-28 11:09:54 -07:00
Etienne Le Grand
7b7b4cb433 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
2014-05-27 18:14:50 +00:00
Etienne Le Grand
ec9236ef18 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
2014-05-27 18:10:16 +00:00
Etienne Le Grand
ef2c616c4e Merge "Update definition of the heart rate monitor to include confidence" into klp-modular-dev 2014-05-27 18:03:06 +00:00
Matthew Xie
d34c7d3d1a Revert "bt: add interface function to provide wakelock access"
This reverts commit 19f3696f85.
2014-05-23 17:07:19 -07:00
Dmitry Grinberg
fb8326e77e am b752c08d: am 19f3696f: bt: add interface function to provide wakelock access
* commit 'b752c08d1366155783894accf75fd65548b101ff':
  bt: add interface function to provide wakelock access
2014-05-23 21:38:38 +00:00
Dmitry Grinberg
b752c08d13 am 19f3696f: bt: add interface function to provide wakelock access
* commit '19f3696f852d6787076b70a7d31f5684ad2aa93f':
  bt: add interface function to provide wakelock access
2014-05-23 21:35:42 +00:00
Etienne Le Grand
7b36158da7 Update definition of the heart rate monitor to include confidence
Change-Id: I88a8cddf647f77588a283c16d37f3f99ecda3115
2014-05-23 13:07:08 -07:00
Wonsik Kim
8b5714fe2f Add audio info to tv_input
Bug: 15177175
Change-Id: I5d3d710753065f108a5346237fbb9a1880f7c08d
2014-05-23 17:22:04 +09:00
Zhijun He
0677eae8d8 am f1ee67e1: camera3: Update the HAL spec for raw cropping behavior
* commit 'f1ee67e1ea6d55e4621bbd418c15fdc1aac32a84':
  camera3: Update the HAL spec for raw cropping behavior
2014-05-23 04:00:26 +00:00
Dmitry Grinberg
19f3696f85 bt: add interface function to provide wakelock access
Change-Id: I7ea173aee49ae7fdfe81a24a9b3666efc1c29ed4
2014-05-22 19:26:25 -07:00
Eric Laurent
73b8a7414a 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
2014-05-22 18:24:02 -07:00
Zhijun He
f1ee67e1ea camera3: Update the HAL spec for raw cropping behavior
Bug: 15168075

Change-Id: I035fc833cb122a7caa4cf47a1d5be574d4727345
2014-05-22 17:48:51 -07:00
Eric Laurent
447cae749c audio HAL: add minimum supported version
Add a definition for the minimum audio HAL version supported
by the audio framework.

Change-Id: Id7df440cc9fcc23b27b61c81bacb569599a20c13
2014-05-22 14:33:55 -07:00
Wei Wang
6c2e2d3b57 Revert "Revert "LE Multi ADV feature""
This reverts commit cbeca51023.

Change-Id: I3f2130217ffd616099a017db2f26d3d112f2c1ea
2014-05-19 23:49:45 -07:00
Jinsuk Kim
c4178a66a4 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
2014-05-20 07:56:36 +09:00
Sasha Levitskiy
fed61d2703 Merge "Libhardware: HAL: Fingerprint: Add template collection progress hint; remove match confidence." 2014-05-19 19:47:52 +00:00
Aravind Akella
6480d8ddbf Merge "Activity Recognition HAL." 2014-05-19 19:04:49 +00:00
Aravind Akella
153c40ce8b Activity Recognition HAL.
Add separate methods for enabling/disabling activities and rename activity constants.

Change-Id: I5986f6cf6ceb12a88f3d881ac5ccb6b9b50a2e58
2014-05-19 11:13:28 -07:00
Sasha Levitskiy
969466c75b Libhardware: HAL: Fingerprint: Add template collection progress hint; remove match confidence.
Change-Id: I62ce57054b7e0cfda8aa260176e504113677d993
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2014-05-16 15:48:25 -07:00
Jungshik Jang
5bf671610a 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
2014-05-16 16:31:27 +09:00
Prerepa Viswanadham
45edab9af5 LE: Add API to set scan interval and window (1/4)
Delete client_if from scan api's
Change-Id: If24cb134ae7204de69c8c89664ce34f9d59da76a
2014-05-15 17:36:51 +00:00
Stewart Miles
b253bcc44a 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
2014-05-12 15:05:24 -07:00
Jinsuk Kim
3f08cd678e Merge "Described restrictions for common HAL object methods." 2014-05-12 21:39:30 +00:00
Stewart Miles
84d35492b1 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
2014-05-12 12:35:37 -07:00
Greg Hackmann
42a7557fe2 am 7c05b1d8: am 6f91ded5: am c63ec07b: Merge "gralloc: Add asynchronous lock/unlock API"
* commit '7c05b1d8f9e01ac4b169533b502e1b9a35f4aeb9':
  gralloc: Add asynchronous lock/unlock API
2014-05-12 18:18:46 +00:00
Greg Hackmann
7c05b1d8f9 am 6f91ded5: am c63ec07b: Merge "gralloc: Add asynchronous lock/unlock API"
* commit '6f91ded57bf133fbf572cde2f5623bb8289f7eaa':
  gralloc: Add asynchronous lock/unlock API
2014-05-12 18:12:33 +00:00
Greg Hackmann
6f91ded57b am c63ec07b: Merge "gralloc: Add asynchronous lock/unlock API"
* commit 'c63ec07b3ca11de8e0321a0875119427bb0bad86':
  gralloc: Add asynchronous lock/unlock API
2014-05-12 18:08:12 +00:00
Francis Hart
2e49f9acbb 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
2014-05-12 09:13:35 -07:00
Greg Hackmann
5d237c6430 am b283598b: am 06c19bd0: am 2d91d000: Merge "Revert "gralloc: Add asynchronous lock/unlock API""
* commit 'b283598bad4ce833b4f19f9526b9f4dc75d9d245':
  Revert "gralloc: Add asynchronous lock/unlock API"
2014-05-09 22:00:04 +00:00
Greg Hackmann
131c35004e am 62cff27d: am 5a1ca138: am e79f167e: Merge "gralloc: Add asynchronous lock/unlock API"
* commit '62cff27d48eada351ea952e5b960ab2f2c15b1d3':
  gralloc: Add asynchronous lock/unlock API
2014-05-09 21:54:48 +00:00
Greg Hackmann
b283598bad am 06c19bd0: am 2d91d000: Merge "Revert "gralloc: Add asynchronous lock/unlock API""
* commit '06c19bd047d63adcf99094f6f0dd17b58150bba6':
  Revert "gralloc: Add asynchronous lock/unlock API"
2014-05-09 21:51:51 +00:00
Greg Hackmann
06c19bd047 am 2d91d000: Merge "Revert "gralloc: Add asynchronous lock/unlock API""
* commit '2d91d000bce3db23ac51888d109c9f29272ea96a':
  Revert "gralloc: Add asynchronous lock/unlock API"
2014-05-09 21:46:45 +00:00