Commit graph

761 commits

Author SHA1 Message Date
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
Greg Hackmann
fd9dc63027 Revert "gralloc: Add asynchronous lock/unlock API"
This reverts commit 2861789f4f.

Change-Id: I334b8ca9b9fdef510df514c18aabb6a593dfaa75
2014-05-09 21:36:14 +00:00
Greg Hackmann
62cff27d48 am 5a1ca138: am e79f167e: Merge "gralloc: Add asynchronous lock/unlock API"
* commit '5a1ca138be2e45284a3a5ad33977ee774a57a56d':
  gralloc: Add asynchronous lock/unlock API
2014-05-09 21:13:17 +00:00
Greg Hackmann
5a1ca138be am e79f167e: Merge "gralloc: Add asynchronous lock/unlock API"
* commit 'e79f167e4a997b92d2da8e14a8a78c557503b48a':
  gralloc: Add asynchronous lock/unlock API
2014-05-09 21:08:39 +00:00
Matthew Xie
4c847f2b79 Merge "LE: Add controller based advertising filter API (1/2)" 2014-05-07 05:47:54 +00:00
Matthew Xie
b8fd4eedca Merge "Add transport param to Connect APIs" 2014-05-07 05:47:38 +00:00
Matthew Xie
2f8787b8bc Merge "Bluetooth: Multi HF support" 2014-05-07 05:47:25 +00:00
Ruchi Kandoi
16437b90bc Merge "power: Adds a new power hint POWER_HINT_LOW_POWER" 2014-05-07 02:08:26 +00:00
Ruchi Kandoi
62f67558af power: Adds a new power hint POWER_HINT_LOW_POWER
Change-Id: Ib0adda9bce0719eb47d41dc7c77f4bd9576311a9
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2014-05-06 18:59:08 -07:00
Etienne Le Grand
ba12312fe1 Add SENSOR_TYPE_WAKE_GESTURE in the sensor hal.
Change-Id: Ia84dfe487bfdea227d5ae856f7e44b021dac1f19
2014-05-06 12:24:28 -07:00
Andre Eisenbach
709f23982a LE: Add controller based advertising filter API (1/2)
Change-Id: I6c3ed7d1d088d2ac48493a835912617f1f655a37
2014-05-06 01:31:23 -07:00
Ganesh Ganapathi Batta
f9f4d10c4a Add transport param to Connect APIs
Support for passing preferred transport for GATT connections as part of
Connect APIs

Change-Id: I83ba256574234c0a15a4bff48bcffa2e237c9393
2014-05-06 01:24:05 -07:00
Sunny Kapdi
6253b05364 Bluetooth: Multi HF support
This patch adds multi hf support in HAL
Adds bd_addr parameter for callbacks from stack.

Change-Id: I960bc127026d7e96dea79316e1f03b0b0915974a
2014-05-06 01:24:05 -07:00
Aravind Akella
d482efcd74 Merge "Define TILT sensor" 2014-05-05 22:47:52 +00:00
Aravind Akella
f895c6824f Define TILT sensor
Change-Id: Ic3c223488aa4a0d66b07ae3065e59f8e2fe69ceb
2014-05-05 15:45:07 -07:00
Francis Hart
2861789f4f 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
2014-05-02 19:46:58 +00:00
Sasha Levitskiy
0d1cd3fcc2 Hardware: Fingerprint: HAL adds removed notification, normalizes names.
Change-Id: Id0a8e120043c00bf351aa1c9d3f0c06c2e4af947
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2014-04-30 15:17:31 -07:00
Jinsuk Kim
005ff6021a am 85425cfe: am c2a0b248: Merge "Update HDMI-CEC HAL interface definition" into klp-modular-dev
* commit '85425cfe8937cc82722e6495b3eb4573db461eb7':
  Update HDMI-CEC HAL interface definition
2014-04-29 21:38:10 +00:00
Jinsuk Kim
85425cfe89 am c2a0b248: Merge "Update HDMI-CEC HAL interface definition" into klp-modular-dev
* commit 'c2a0b2484ab80351ad18fb0b8337a8150e656b93':
  Update HDMI-CEC HAL interface definition
2014-04-29 21:34:58 +00:00
Jinsuk Kim
c2a0b2484a Merge "Update HDMI-CEC HAL interface definition" into klp-modular-dev 2014-04-29 21:32:30 +00:00
Glenn Kasten
41583549f7 Merge "Add symbol AUDIO_PARAMETER_KEY_BT_SCO_WB" 2014-04-29 21:15:10 +00:00
Glenn Kasten
d930d92c97 Add symbol AUDIO_PARAMETER_KEY_BT_SCO_WB
Change-Id: Ib2cfef74a57467cb01b5e0c44af335f53791e348
2014-04-29 13:35:57 -07:00
Bill Yi
08e9b2a43d Merge commit 'f404dc42d6677a1aee88d1ce996a7e8e4afe55bb' into HEAD 2014-04-29 11:34:21 -07:00
Aravind Akella
855dd917cf Merge "Activity Recognition HAL." 2014-04-29 17:26:01 +00:00
Aravind Akella
462eae34ce Activity Recognition HAL.
Change-Id: I6fa175376464a4498fc9ed71dc33199be4754599
2014-04-28 18:27:49 -07:00
Zhijun He
44a8915187 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
2014-04-28 11:33:23 -07:00
Sasha Levitskiy
cc14f23c97 Hardware: Fingerprint: Fix structure name.
Change-Id: I7a2593837148ad80df970d89950f396c7704e71b
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2014-04-24 09:52:47 -07:00
Aravind Akella
4fa0f418a3 Merge "Define new wake_up sensors in sensors.h" 2014-04-24 00:41:18 +00:00
Aravind Akella
6242f32a22 Define new wake_up sensors in sensors.h
i) Define WAKE_UP sensors.
     ii) Deprecate flags DRY_RUN and WAKE_UPON_FIFO_FULL.
    iii) Define maxDelay and isWakeUpSensor flag in sensor_t.

Bug: 13251067
Change-Id: Ic474d90d05459b06e93094856423f6645b4bf58e
2014-04-23 16:09:24 -07:00
Sasha Levitskiy
3b9ee8d82f Hardware: Fingerprint: Fix the remove() argument, typos.
Change-Id: I99e8e2f24f0264c2217d67a75fe437756596053c
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2014-04-23 10:05:57 -07:00
Sasha Levitskiy
7308284e4e Hardware: Fingerprint: Move the HAL to an async model, add some vendor requested functionality.
Change-Id: Ib99e3edb99579ac4495918eb57d1022d75dccb57
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2014-04-22 10:50:50 -07:00
Kenny Root
2131c7c599 am cb3a62ea: Merge "keymaster: add flags indicating feature support"
* commit 'cb3a62ea2f9a08dbe83ff68685f6361a5d015345':
  keymaster: add flags indicating feature support
2014-04-18 21:15:30 +00:00
Kenny Root
fea9aa6eb8 keymaster: add flags indicating feature support
For wrapping the disk encryption secret, we add a flag that indicates it
can be done without having to start some storage daemon which the
trusted OS will query to get data needed to load up the keys. This
usually means that the "key blob" we store is actually just the RSA key
encrypted with the device's KEK and not a reference to an encrypted
filesystem stored on /data

Also to allow other providers to upgrade to V3 of the header, we add
flags to show whether the keymaster supports different key types. This
allows keymaster HALs to support the whole device encryption secret
wrapping without needing to implement DSA and EC key handling. The V2
header made support implicit.

(cherry picked from commit 8a3849e26f)

Change-Id: I49be8403faf9f4c3888c84848b3009b44ab6d183
2014-04-18 14:03:35 -07:00
Kenny Root
cb3a62ea2f Merge "keymaster: add flags indicating feature support" 2014-04-18 18:50:01 +00:00
Ariel Gertzenstein
40208a8b2b 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
2014-04-16 14:53:45 -04:00
Jinsuk Kim
f02ed91f7a 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
2014-04-13 06:49:32 +09:00
Aravind Akella
7b36316c33 Merge "Add heart rate monitor, stringType and requiredPermissions to sensors.h" 2014-04-11 20:31:53 +00:00
Aravind Akella
7e02753740 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
2014-04-11 19:34:53 +00:00
Aravind Akella
d5b3c73d80 Merge "DO NOT MERGE Add heart rate monitor, stringType and requiredPermissions to sensors.h" into klp-modular-dev 2014-04-11 19:32:14 +00:00
Aravind Akella
477fbd5c7d Add heart rate monitor, stringType and requiredPermissions to sensors.h
Merged and resolved conflicts with Ic66b792c8229867fa5ff760cdde3d7c6f3360296

Conflicts:
	include/hardware/sensors.h

Change-Id: I47b7e5f16b50fd5272590f6daba4a9d6833b3afb
2014-04-10 16:57:42 -07:00
Wonsik Kim
dce529a148 tv_input: add buffer producer profile
Change-Id: Id86e282a06d6353f05d47a2f198bde0534d9dcf2
2014-04-09 21:30:04 +09:00
Aravind Akella
b20f1a3eaf DO NOT MERGE Add heart rate monitor, stringType and requiredPermissions to sensors.h
This reverts commit d27d819897.

Change-Id: Ic66b792c8229867fa5ff760cdde3d7c6f3360296
2014-04-08 18:55:50 +00:00
Sasha Levitskiy
a747c069c6 Hardware: Fingerprint: Introducing Fingerprint HAL
Change-Id: I4e55c42841c3b6a1327a16bdf6d1d4bb3847c7f3
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2014-04-07 18:14:34 +00:00
Etienne Le Grand
e6bee25064 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"
2014-04-05 09:05:55 +00:00
Etienne Le Grand
71a5054313 Merge "Revert "Add heart rate monitor, stringType and requiredPermissions to sensors.h"" into klp-modular-dev 2014-04-05 05:01:34 +00:00
Etienne Le Grand
d27d819897 Revert "Add heart rate monitor, stringType and requiredPermissions to sensors.h"
This reverts commit 0b8ec4f71f.

Change-Id: I99051b6941cad570aef45ff568d1777f881fc33b
2014-04-05 05:01:27 +00:00
Etienne Le Grand
5bd1cb79bb Revert "Fix Merge conflict (Add heart rate monitor ...to sensors.h)"
This reverts commit c6854530e1.

Change-Id: Idc821b6645be6bfd9878cfc777010a123f013f0a
2014-04-05 04:48:21 +00:00
JP Abgrall
c6854530e1 Fix Merge conflict (Add heart rate monitor ...to sensors.h)
Change-Id: I376e4dbb13d64f4987d4a8be82afddb625eefa54

Conflicts:
	include/hardware/sensors.h
2014-04-04 20:51:05 -07:00
Etienne Le Grand
66fad0e3e7 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
2014-04-05 01:48:40 +00:00
Etienne Le Grand
61c78d9804 Merge "Add heart rate monitor, stringType and requiredPermissions to sensors.h" into klp-modular-dev 2014-04-05 01:44:19 +00:00
Etienne Le Grand
0b8ec4f71f Add heart rate monitor, stringType and requiredPermissions to sensors.h
Change-Id: I376e4dbb13d64f4987d4a8be82afddb625eefa54
2014-04-03 12:50:11 -07:00
Zhihai Xu
876a50f74a am ec580a3f: am 925855b5: Merge "LE: Add API to configure MTU for a given connection (1/4)" into klp-modular-dev
* commit 'ec580a3fd3cc9bc73099111b6afe7234e96b8a95':
  LE: Add API to configure MTU for a given connection (1/4)
2014-03-31 21:32:05 +00:00
Zhihai Xu
ec580a3fd3 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)
2014-03-31 21:25:03 +00:00
Zhihai Xu
925855b5de Merge "LE: Add API to configure MTU for a given connection (1/4)" into klp-modular-dev 2014-03-31 21:21:17 +00:00
Ruben Brunk
aab88308f7 Merge "hal3: Update documentation regarding hardware block operating modes." 2014-03-31 17:10:25 +00:00
Jinsuk Kim
19c91b63ed am b9254286: am 3bc29d3e: Merge "Added message_abort and operand enums" into klp-modular-dev
* commit 'b9254286c980c6cd2bb3817d87f4695a96feefcc':
  Added message_abort and operand enums
2014-03-31 01:50:58 +00:00
Jinsuk Kim
b9254286c9 am 3bc29d3e: Merge "Added message_abort and operand enums" into klp-modular-dev
* commit '3bc29d3e0a08bee19a43a61ce77b1b86a1cda436':
  Added message_abort and operand enums
2014-03-31 01:44:52 +00:00
Andy Hung
7a0ff2abdd Merge "Add audio_alsaops.h" 2014-03-28 16:50:03 +00:00
Ruben Brunk
2d96c743e6 hal3: Update documentation regarding hardware block operating modes.
Change-Id: I27987a75cb80c67f7e9ae71c116a26963b25eccb
2014-03-27 17:56:17 -07:00
Andy Hung
d4752ab1b3 Add audio_alsaops.h
Used for tinyalsa related functions common to the audio hardware
layer.

Change-Id: Iae69caaa713b65bfeb6bdc1eeec5b31771f10edb
Signed-off-by: Andy Hung <hunga@google.com>
2014-03-27 15:14:32 -07:00
Andre Eisenbach
8a4b61a909 LE: Add API to configure MTU for a given connection (1/4)
bug:13571470
Change-Id: Ia473998b714c3968c75565adeef20fef5656abb4
2014-03-25 17:32:57 -07:00
Jinsuk Kim
efbdb25d1b 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
2014-03-24 13:43:47 +09:00
Wonsik Kim
0b78afb191 Initial commit of TV input HAL
HAL for physical TV input such as HDMI-in. The main purpose is to
provide sideband video stream source handle to feed SurfaceFlinger and
audio related information to feed AudioManager (TBD).

Change-Id: I8eeddcd6c63f6f8c0b1e7a87e9a6856baa9ceddd
2014-03-21 14:49:58 +09:00
Jesse Hall
200970e53d Merge "Add HWC 1.4 with support for sideband video layers" 2014-03-11 19:02:32 +00:00
Jesse Hall
8c79c08578 Add HWC 1.4 with support for sideband video layers
Change-Id: Ie40668a8667e26f1d570a2f756f1178d0dcbbf5c
2014-03-11 12:02:11 -07:00
Matthew Xie
faf51acb85 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.
2014-03-11 18:52:02 +00:00
Jinsuk Kim
fdb746bc07 am cf39fcfc: am 98add895: Add \'get_logical_address\' in HDMI-CEC HAL interface
* commit 'cf39fcfc4b4ce944b840a7cc1df2244709b96093':
  Add 'get_logical_address' in HDMI-CEC HAL interface
2014-03-11 02:57:14 +00:00
Jinsuk Kim
cf39fcfc4b am 98add895: Add \'get_logical_address\' in HDMI-CEC HAL interface
* commit '98add8956b1a346425df40d2f70a9ca33500f01c':
  Add 'get_logical_address' in HDMI-CEC HAL interface
2014-03-11 02:53:20 +00:00
Jinsuk Kim
98add8956b 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
2014-03-11 02:50:03 +00:00
Jinsuk Kim
f166369ebf am 18fd3c6e: am 355e5d68: Merge "[HDMI-CEC] Modify the signature of register_event_callback" into klp-modular-dev
* commit '18fd3c6e9db8f10c15e54b345ec8031c3d259b16':
  [HDMI-CEC] Modify the signature of register_event_callback
2014-03-11 01:59:47 +00:00
Jinsuk Kim
18fd3c6e9d 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
2014-03-11 01:46:34 +00:00
Jinsuk Kim
355e5d6802 Merge "[HDMI-CEC] Modify the signature of register_event_callback" into klp-modular-dev 2014-03-11 01:44:19 +00:00
Matthew Xie
ceaedebf53 am b0a325a7: am 5d082f18: Merge "Fix PAN control callback definition to match what bluedroid is doing."
* commit 'b0a325a77c126f0ad94ea7ac92eebc23e3956fdf':
  Fix PAN control callback definition to match what bluedroid is doing.
2014-03-10 09:20:43 +00:00
Matthew Xie
b0a325a77c 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.
2014-03-10 09:11:28 +00:00
Matthew Xie
5d082f1826 Merge "Fix PAN control callback definition to match what bluedroid is doing." 2014-03-10 07:54:28 +00:00
Wei Wang
590b308cef am 56910cf5: 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.
2014-03-08 06:24:48 +00:00
Jinsuk Kim
70ae777c9a [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
2014-03-08 06:15:49 +09:00
Mike J. Chen
d35b818e4f am a043baa9: am 57ac9a9e: Merge "Add handshake_callback to bt_hh" into klp-modular-dev
* commit 'a043baa9c8ad46abb8708136d653d2a5f8d96359':
  Add handshake_callback to bt_hh
2014-03-07 20:33:47 +00:00
Mike J. Chen
a043baa9c8 am 57ac9a9e: Merge "Add handshake_callback to bt_hh" into klp-modular-dev
* commit '57ac9a9e96fb50dba33b05e9ffac1c9f5a1ada8f':
  Add handshake_callback to bt_hh
2014-03-07 18:44:24 +00:00
Mike J. Chen
57ac9a9e96 Merge "Add handshake_callback to bt_hh" into klp-modular-dev 2014-03-07 18:40:57 +00:00
Wei Wang
e5d76f7896 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
2014-03-07 01:54:08 +00:00
Glenn Kasten
3f56a10cc3 Rename setStreamOutput to invalidateStream
And simplify by removing the unused I/O handle parameter 'output'.

Change-Id: Ie9c4df17a7378066312d4ed8790fda7a9125c95e
2014-02-28 11:55:58 -08:00
Mike J. Chen
753c442217 Add handshake_callback to bt_hh
Change-Id: I505b1e56ee10c955eedff2e4d142cb7caa6b9fb2
Signed-off-by: Mike J. Chen <mjchen@google.com>
2014-02-25 19:25:55 -08:00
Jinsuk Kim
e920fe632c am 055c209a: am 5f9a7907: Merge "Header file for HDMI-CEC HAL interface definition" into klp-modular-dev
* commit '055c209a15788ead2043e9fe162169df460d3a53':
  Header file for HDMI-CEC HAL interface definition
2014-02-21 13:54:29 +00:00
Jinsuk Kim
055c209a15 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
2014-02-21 01:30:35 +00:00
Jinsuk Kim
5f9a790784 Merge "Header file for HDMI-CEC HAL interface definition" into klp-modular-dev 2014-02-21 01:27:30 +00:00
Jinsuk Kim
62195dc9ac 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
2014-02-20 18:44:27 +09:00
David Turner
8ef59807d4 am b1d5760b: am f77bd7d0: Merge "Try using goldfish_pipe as the device name"
* commit 'b1d5760b08c0116f3e5cf33e21a4ff710cd3d7a4':
  Try using goldfish_pipe as the device name
2014-02-14 17:35:53 +00:00
David Turner
b1d5760b08 am f77bd7d0: Merge "Try using goldfish_pipe as the device name"
* commit 'f77bd7d005e27364e233c92ac7f6c06a18d1f128':
  Try using goldfish_pipe as the device name
2014-02-14 17:27:21 +00:00
Eino-Ville Talvala
d3dead483c Merge "camera3: Docs updates to line up with metadata changes" 2014-02-11 17:53:40 +00:00
Eino-Ville Talvala
c5bff0d955 camera3: Docs updates to line up with metadata changes
Change-Id: I3065c9f1d905a4e7d0bb6eef2b4556c81a0788fe
2014-02-10 16:43:26 -08:00
Zhijun He
06da1b3745 camera3: fix typo in camera open KPI
Change-Id: Ieefdc5a0f5159a3053e141075e71d268499746ed
2014-02-10 16:04:23 -08:00
Simon Wilson
bda5e3f226 am 7ad4534e: am 907b20aa: Initial version of the MCU HAL
* commit '7ad4534e1ee6ec9744392d23199049c16ed18159':
  Initial version of the MCU HAL
2014-02-10 20:44:38 +00:00
Simon Wilson
907b20aa74 Initial version of the MCU HAL
Change-Id: Ic88da7e825b67ed64cde4eed3055022daabe9830
2014-02-07 18:07:39 -08:00
Zhijun He
ceac9e3651 camera3: Add input buffer field in capture result
For HAL3.2 or above, the HAL must return the input buffer in capture result
rather than capture request.

Change-Id: I0108cda1cdf51556d7273b2c3cfbaf0e6ecd1d76
2014-02-07 14:47:25 -08:00
Zhijun He
bc35868a6f camera3: update BIDIRECTIONAL and INPUT stream specs
Also add the manual template to the version history.

Change-Id: I0a516ccbbd3600d69217502e19b267e2d3aa60e8
2014-02-04 17:05:56 -08:00
Zhijun He
06c72f6bd7 Merge "camera3: Update flush HAL API spec" 2014-02-04 01:04:16 +00:00
Zhijun He
2020ee299c camera3: Add camera close KPI
Change-Id: I265750ade49c63beedd3d9d0f2b8e7b3d19cc38f
2014-02-03 13:21:13 -08:00
Zhijun He
5a5fbf489e camera3: Update flush HAL API spec
Change-Id: I4e36dcc4445c2fae71fe4ce22a0f3b9a28abe1c0
2014-02-03 13:04:05 -08:00
Sharvil Nanavati
0932359d5b 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
2014-02-01 16:39:50 -08:00
Octavian Purdila
d3d041b7d1 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>
2014-01-29 18:03:04 +08:00
David 'Digit' Turner
8690233d7a am ae2e54fa: resolved conflicts for merge of 017649d6 to klp-modular-dev
* commit 'ae2e54faf71f4ff3d96216031c66d14dfbbceb5f':
  Vibra: Adapt AOSP (default) vibrator HAL into a hardware module.
2014-01-23 23:26:23 +00:00
David 'Digit' Turner
ae2e54faf7 resolved conflicts for merge of 017649d6 to klp-modular-dev
Conflicts:
	modules/Android.mk

Change-Id: I6b84d2320be98b6af1f0cab729a917cf84cd9524
2014-01-23 23:34:45 +01:00
Igor Murashkin
5df2f622b9 camera3: Add partial result processing in HAL3.2
Change-Id: I665cf1191a1c7510671b3c171b47c167530c1067
2014-01-17 18:26:59 -08:00
Igor Murashkin
78aa126e23 camera3: deprecate register_stream_buffers in hal 3.2
Change-Id: I7efabcba9b47846e831ffdf75ba1ea3c7e5ff629
2014-01-17 17:05:11 -08:00
Zhijun He
709e5878b8 camera3: wording fix for KPI
Change-Id: I4172fcdda3452eced663e332d509dea2594c1710
2014-01-17 15:25:21 -08:00
Zhijun He
2dde4685c2 Camera3: Add performance KPI requirement
Change-Id: I2133736b9e00b170200308982e591f311e1f04f7
2014-01-17 15:17:40 -08:00
Ruben Brunk
61cf9eb920 camera3: Update vendor tag spec for HAL 3.2.
- Deprecates vendor tag specification in camera3 device.
- Moves vendor tag ops declaration to camera metadata library and
  cleans up definitions.
- Updates the example HAL.

Change-Id: Ifb16bb0d4bbc896bc32d33dd150e7e174af57dad
2014-01-16 18:27:08 -08:00
Wei Wang
a16d11da60 BLE peripheral mode (1/4): change HAL to support service data and service uuids.
Change-Id: I19a3755a4ed16e1ae03368cecee97773c05c1770
2014-01-13 17:31:34 -08:00
Vincent Becker
022224fbf8 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
2014-01-13 15:07:41 +01:00
Wei Wang
75c6554744 Merge "BLE peripheral mode (1/4): change HAL to support service data and service uuids." 2013-12-20 19:37:33 +00:00
Clay Murphy
8db1fb408c Docs: Removing contents now on source.android.com
Bug: 10134622

Change-Id: Ief5a53f1b5e5eff9ade45763d895029428266980
2013-12-19 16:05:18 -08:00
Wei Wang
7a8778a4e6 BLE peripheral mode (1/4): change HAL to support service data and service uuids.
Change-Id: I19a3755a4ed16e1ae03368cecee97773c05c1770
2013-12-19 22:02:33 +00:00
Zhijun He
b0c939fb6b camera3: Add manual control template
Bug: 12134077
Change-Id: I0681f881f41dd3ab8acab400f84c2568a97e06bc
2013-12-13 15:56:33 -08:00
Rom Lemarchand
4c2aa4c223 HAL test: statically test the size of HAL structs
Ensure none of the HAL structs change size over time.
Issues might arise when making changes without taking the different
pointer sizes for specific architectures into account.

Change-Id: I63f00004a23f09b2f46df01e7c69296766a5d03f
2013-11-21 15:52:05 -08:00
Jesse Hall
8b6dff841c am eed5dceb: am 7ccf148f: Update HWC documentation for virtual displays
* commit 'eed5dceb4a0bc02f50f236ab191d30c49c58f610':
  Update HWC documentation for virtual displays
2013-11-13 18:48:17 -08:00
Jesse Hall
7ccf148f50 Update HWC documentation for virtual displays
Bug: 8316155
Change-Id: I56598551b07082bfff90df160b103a4158e8c8c9
2013-11-13 14:48:15 -08:00
destradaa
7ddd4d7a76 Fix typo in the Supl interface name
Change-Id: I37b928f2da4fc6b6947bba87269ac7ee09f8bbcc
2013-11-07 13:47:59 -08:00
Benoit Goby
e44be614c7 Add new HAL for programable NFC tags
Change-Id: Ia904cae0ac371650c96cef1d13ab811889620092
2013-10-25 19:23:01 -07:00
Kenny Root
8a3849e26f keymaster: add flags indicating feature support
For wrapping the disk encryption secret, we add a flag that indicates it
can be done without having to start some storage daemon which the
trusted OS will query to get data needed to load up the keys. This
usually means that the "key blob" we store is actually just the RSA key
encrypted with the device's KEK and not a reference to an encrypted
filesystem stored on /data

Also to allow other providers to upgrade to V3 of the header, we add
flags to show whether the keymaster supports different key types. This
allows keymaster HALs to support the whole device encryption secret
wrapping without needing to implement DSA and EC key handling. The V2
header made support implicit.

Change-Id: Ic5b13e2e84dd91e7a4ae443048ecc16cc805cb97
2013-10-25 11:22:29 -07:00
destradaa
a1f4c0a260 Update to GpsHal to allow injection/revocation of certificates for SUPL connections.
Change-Id: I1fd432566623c4cebfb5b53e5f696ad359d49e6f
2013-10-14 12:41:10 -07:00
Eino-Ville Talvala
1e7f09eec5 am 9c73c0a2: am 89cfe208: Merge "Camera3: Add PASSIVE_UNFOCUSED AF state and clean up INACTIVE" into klp-dev
* commit '9c73c0a2f2c39cc5e2e1f5d92eaf1fc4b61beb1d':
  Camera3: Add PASSIVE_UNFOCUSED AF state and clean up INACTIVE
2013-09-25 12:34:42 -07:00
Eino-Ville Talvala
4d45d30d4e 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
2013-09-20 18:02:06 -07:00
Rom Lemarchand
962aa46e60 am 0cd89c8c: am cd996be7: Merge "Initial interface for MemoryTrackerHAL" into klp-dev
* commit '0cd89c8c3619fcc3df3fd14ab74a80c14c34878b':
  Initial interface for MemoryTrackerHAL
2013-09-13 13:27:07 -07:00
Rom Lemarchand
cd996be779 Merge "Initial interface for MemoryTrackerHAL" into klp-dev 2013-09-13 18:23:56 +00:00
Alex Ray
c94ae1a6fe am d587c613: am d9d105a0: consumer_ir: add array length to get carrier freq
* commit 'd587c613c6cdabfac70a6a5e836499bc9d4f8309':
  consumer_ir: add array length to get carrier freq
2013-09-12 09:21:59 -07:00
Alex Ray
d9d105a0ce consumer_ir: add array length to get carrier freq
Change-Id: Iefb424db6f16ffefa40da56c765c9b7a24bea397
2013-09-11 17:51:19 -07:00
Alex Ray
1b13c38efa am ddc0748f: am c900b423: Merge "consumerir: make transmit array constant" into klp-dev
* commit 'ddc0748f30ed06b09759622df994d4952eb8df4b':
  consumerir: make transmit array constant
2013-09-11 17:23:39 -07:00
Glenn Kasten
e17899314b am 063c87f2: am 22b42bc5: Merge "Clarify return values of get_presentation_position" into klp-dev
* commit '063c87f2b96d6a2914dc57f7e7b9b4541de71dbc':
  Clarify return values of get_presentation_position
2013-09-11 17:23:10 -07:00
Alex Ray
c900b4230c Merge "consumerir: make transmit array constant" into klp-dev 2013-09-11 20:45:03 +00:00
Alex Ray
6670e24966 consumerir: make transmit array constant
Change-Id: I0409970d7bd8efe69a69ec038eea4ee3ff9cbfe0
2013-09-11 13:36:58 -07:00
Glenn Kasten
22b42bc528 Merge "Clarify return values of get_presentation_position" into klp-dev 2013-09-11 19:31:27 +00:00
Alex Ray
657aa6a048 am 1e3073bf: am fe46e6a9: libhardware: add Consumer IR HAL API
* commit '1e3073bf08962db3a7292e0a324084eb386b5521':
  libhardware: add Consumer IR HAL API
2013-09-10 12:58:32 -07:00
Kenny Root
36ab8ed76f keymaster: use new version fields in hw_module
The original version of this HAL used a field in keymaster_module to
represent the module's version number, but a later revision of the HAL
interface added a distinguisher between HAL module and device versions.
This is needed to support upgrade code in keystore.

(cherry picked from commit c124b23f94)

Bug: 10600582
Change-Id: Ia2b0cbeca5c507600228c39ec7a8402f819f8804
2013-09-10 18:14:49 +00:00
Glenn Kasten
22a06b752f Clarify return values of get_presentation_position
Change-Id: I495d7abd7e366849308c66bcaee99554dcd244aa
2013-09-10 09:23:48 -07:00
Alex Ray
fe46e6a906 libhardware: add Consumer IR HAL API
Change-Id: I68db7911784aa802b378a5e1dad62397da16b03b
2013-09-09 23:52:49 -07:00
Colin Cross
aa773500a4 Initial interface for MemoryTrackerHAL
Bug: 10294768
Change-Id: I65cb28c8f77f3dafe5b47b24479c647fa72fc65f
2013-09-09 13:54:33 -07:00
Alex Ray
506c869ee7 am 8e3c71de: am 51dbad3b: Merge "hardware: camera_common: add module vendor tag ops" into klp-dev
* commit '8e3c71ded215a95ee2e8e6cbbe9ac5a65ad528a1':
  hardware: camera_common: add module vendor tag ops
2013-09-09 10:38:04 -07:00
Alex Ray
51dbad3bfa Merge "hardware: camera_common: add module vendor tag ops" into klp-dev 2013-09-09 17:29:14 +00:00
Alex Ray
19b2ceafe4 hardware: camera_common: add module vendor tag ops
This updates the camera module API to have vendor-specific tag support.

Vendor-specific metadata tags could be contained in static camera
characteristics, so we need a method of accessing vendor tag information
from the module level (and not just with a device open).

Bug: 10612133
Change-Id: I28e8c769f8112ff4f745f3f1b5472e8a718f1356
2013-09-06 17:46:15 -07:00
Kenny Root
4223cc3cdf am 474cbcbb: am c124b23f: keymaster: use new version fields in hw_module
* commit '474cbcbb2ed5bebcd2c5f45cbba6a163e9265742':
  keymaster: use new version fields in hw_module
2013-09-05 00:32:39 -07:00
Kenny Root
c124b23f94 keymaster: use new version fields in hw_module
The original version of this HAL used a field in keymaster_module to
represent the module's version number, but a later revision of the HAL
interface added a distinguisher between HAL module and device versions.
This is needed to support upgrade code in keystore.

Bug: 10600582
Change-Id: Ied34cf382e2b7725e648faada00df2dee993e6c5
2013-09-04 22:17:56 -07:00
Kenny Root
2541a0a8f7 Add support for DSA and ECDSA key types
(cherry picked from commit 6e1683f5d5)

Bug: 10600582
Change-Id: I8e5b66baa70b37031198260853bb5355df75e23d
2013-09-03 00:52:48 -07:00
Kenny Root
886578b323 am a928d816: am bd5015e0: Merge "Add support for DSA and ECDSA key types"
* commit 'a928d816a4a7410cd18f114f6d0ad1837e07bdd2':
  Add support for DSA and ECDSA key types
2013-09-03 00:16:54 -07:00
Kenny Root
a928d816a4 am bd5015e0: Merge "Add support for DSA and ECDSA key types"
* commit 'bd5015e0f3b79d8b8e7f9b1926bbf76985ac8c61':
  Add support for DSA and ECDSA key types
2013-09-03 00:14:20 -07:00
Kenny Root
6e1683f5d5 Add support for DSA and ECDSA key types
Change-Id: I4b7d11c0915c716a0f1be65f5933f33a36e0fb4b
2013-09-03 00:09:18 -07:00
Glenn Kasten
1c06c82f19 am 5dae225d: Merge "get_presentation_position" into klp-dev
* commit '5dae225de7b5ccf965d1496bc4343828a250f788':
  get_presentation_position
2013-08-29 17:08:09 -07:00
Glenn Kasten
5dae225de7 Merge "get_presentation_position" into klp-dev 2013-08-30 00:02:57 +00:00
jpadmana
45e6939f7d am 935799d6: Addition of EFFECT_CMD_OFFLOAD for effects offload
* commit '935799d63f0d654f350a640001077616572a4b63':
  Addition of EFFECT_CMD_OFFLOAD for effects offload
2013-08-29 14:09:31 -07:00
Glenn Kasten
e25f9ed346 get_presentation_position
Change-Id: Iedc4df9018321d7273eaa862e913ad6d9a844618
2013-08-29 12:05:12 -07:00
jpadmana
935799d63f Addition of EFFECT_CMD_OFFLOAD for effects offload
Added EFFECT_CMD_OFFLOAD command to audio effect control
interface. It is used by the framework to indicate if
the playback thread the effect is attached to is offloaded
of not.

Added effect flag EFFECT_FLAG_OFFLOAD_SUPPORTED indicating if
the effect implementation supports offloading to a DSP.

Change-Id: I26553576657d3aa9cd0cdcd5785c813b02f48136
Signed-off-by: jpadmana <jayashree.r.padmanaban@intel.com>
Signed-off-by: Eric Laurent <elaurent@google.com>
2013-08-28 17:52:03 -07:00
Glenn Kasten
59caeb14a7 Merge "Fix file permissions" into klp-dev 2013-08-22 22:26:35 +00:00
destradaa
9c9c541c8a am 69e82d2d: Merge "Fix typo in FlpHal" into klp-dev
* commit '69e82d2df615b77ff868309b8f2c0323eadb42c5':
  Fix typo in FlpHal
2013-08-22 12:43:20 -07:00
destradaa
06b77aa4e1 Fix typo in FlpHal
Change-Id: I0a0598c4755052e071d793fbacf0aa25dfca6e5c
2013-08-21 12:41:19 -07:00
Glenn Kasten
08708c5e1f Fix file permissions
Change-Id: Iffc2941d98ee16796cf3d44dec1cfa376d9362bb
2013-08-20 12:49:27 -07:00
Mathias Agopian
0370e93286 am 5ba249e3: Merge "Define a range for device specific sensors" into klp-dev
* commit '5ba249e34a3840881a03e545ffba77cde5bf28ba':
  Define a range for device specific sensors
2013-08-19 16:06:51 -07:00
Mathias Agopian
5ba249e34a Merge "Define a range for device specific sensors" into klp-dev 2013-08-19 22:59:16 +00:00
Mathias Agopian
1599ec6755 Define a range for device specific sensors
Bug: 9551417
Change-Id: I5412d9c063743a0e99e8839a0758337c72a8725e
2013-08-19 14:41:12 -07:00
Matthew Xie
9386bdf0f7 am aaf337dc: Merge "Add support for AbsoluteVolume" into klp-dev
* commit 'aaf337dccb23f04ed4a59f2f371326c93cb5c96f':
  Add support for AbsoluteVolume
2013-08-18 12:50:59 -07:00
Matthew Xie
aaf337dccb Merge "Add support for AbsoluteVolume" into klp-dev 2013-08-18 19:46:01 +00:00
Jesse Hall
de14c82906 am fc0ff2a8: Add HWC_DISPLAY_VIRTUAL and adjust display count constants
* commit 'fc0ff2a8700eb11aef7a961b279d846c8a1c04c5':
  Add HWC_DISPLAY_VIRTUAL and adjust display count constants
2013-08-17 21:35:22 -07:00
Satya Calloji
fe9728dfa1 Add support for AbsoluteVolume
Add support for AbsoluteVolume in HAL

bug 9595622

Change-Id: Iaf08b81b61aa07ebaa83f4bd6cc9e82171947aa1

Conflicts:
	include/hardware/bt_rc.h
2013-08-16 12:32:55 -07:00
Jesse Hall
fc0ff2a870 Add HWC_DISPLAY_VIRTUAL and adjust display count constants
Both surfaceflinger and HWC implementations have been defining these
themselves, making future changes more difficult. Better to define
them centrally, where they can be updated easily.

Change-Id: I793158b858c84b2470b05f9ea77cc5a0c7e247f1
2013-08-16 11:13:36 -07:00
John Du
cd15c2cce2 am b9844811: Add support for ff/rew
* commit 'b98448119351df9ec7453e0ae92ea408b02294db':
  Add support for ff/rew
2013-08-15 14:58:18 -07:00
John Du
b984481193 Add support for ff/rew
Change-Id: I95d17aa4f54d58596085f8d67e63e277b280a242
(cherry picked from commit a068b57857a6f9f2db335dbb18f1be37e85937c6)
2013-08-15 18:48:47 +00:00
Andre Eisenbach
6481266b17 am 299e43c1: LE: Add peripheral role support (3/4)
* commit '299e43c186a9c8a6611d8c5f61d158436948afe5':
  LE: Add peripheral role support (3/4)
2013-08-14 08:16:02 -07:00
Andre Eisenbach
d1d76ba204 am 02223d16: LE: Add instance ID to descriptors (3/4)
* commit '02223d1602c1728b3c94f68059d1b2e76d35dbd3':
  LE: Add instance ID to descriptors (3/4)
2013-08-14 08:16:01 -07:00
Andre Eisenbach
299e43c186 LE: Add peripheral role support (3/4)
Initial stack support for the LE peripheral role.

Change-Id: Ie036432c90c405a331e2fceaf88bf97a46182176
2013-08-14 00:53:11 -07:00
Andre Eisenbach
02223d1602 LE: Add instance ID to descriptors (3/4)
If a remote devices offers multiple descriptors with the same UUID, the
instance ID is used to differentiate between them.

Change-Id: Ia5ab989f222a5cf1b7cb66966ad4f91f2b660708
2013-08-13 19:35:15 -07:00
Glenn Kasten
30c53abeea Merge "Fix typo and remove executable bit on source code files" 2013-08-12 17:07:30 +00:00
Mathias Agopian
af32a8d594 minor changes to sensor HAL interface
Change-Id: Idc415fd0a92482f4f4cd051b458a28d97f251f35
2013-08-06 20:33:38 -07:00
Mathias Agopian
16671c5519 improvements to the batch mode APIs
- also added a flush() method to drain the FIFO before
  the batch timeout has expired

Change-Id: I73cc450fae0a6acf73d8b5d73bcd7a225bfbfe35
2013-08-05 17:07:02 -07:00
Eino-Ville Talvala
9d51856d71 Camera: Add new 3.1 device version
- Add new definition to camera_common
- Update comment in camera3.h

Change-Id: I9d8c594cfdaff40c543e8f9017091b0c06bbf022
2013-07-30 15:03:50 -07:00
Glenn Kasten
6367c2ca3e Fix typo and remove executable bit on source code files
Change-Id: I0ac46bf80a4708d190c148f8b72bfcf4ea1168b1
2013-07-30 10:09:51 -07:00
Alex Ray
dbd278cd07 Merge "camera3: Add flush" 2013-07-26 20:47:51 +00:00
Alex Ray
dc1a7cbe8f Merge "camera3: Pass consumer information in configure_streams" 2013-07-26 20:42:04 +00:00
Zhihai Xu
e495baf7d7 Merge "Add debug menu to enable btsnoop" 2013-07-26 18:28:49 +00:00
Jason Sams
2242385281 Add usage bit for RenderScript.
Change-Id: I3ac3dc8e20e94ee885228febdc8eeb66278054cb
2013-07-16 12:51:13 -07:00
destradaa
d542a20074 Merge "Update FLP HAL definition for thread semantics." 2013-07-13 00:59:04 +00:00
destradaa
b89487944d Update FLP HAL definition for thread semantics.
Change-Id: I3dd1f5c72f0fa62a131b7ce166f3df631bb44394
2013-07-12 17:05:15 -07:00
Etienne Le Grand
00dcc21ea9 Merge "Clarify some comments in the sensor HAL" 2013-07-12 16:17:53 +00:00
Mathias Agopian
3b4732c9d5 bump HWC version to 1.3, add support for float crop rectangle
Change-Id: I8601ecc9f39052000b872805be1637ee73b0d3e1
2013-07-10 15:03:00 -07:00
Etienne Le Grand
f770b7a9b9 Clarify some comments in the sensor HAL
Step count can reset when android restarts
When calling activate() without calling setDelay() before, use a default rate
Uncalibrated magnetometer should not be low pass filtered
The accelerometer can be used for the geomagnetic rotation vector
When batching call retuns an error, it shouldn't change the state. In particular, it shouldn't change the rate.
batch(timeout=0) must always return success
Wake upon fifo full will never be specified when timeout=0
setDelay is not called when in batch mode

Change-Id: I8a437eeedbdc54e5f1f3e644a92e9f781d7add0d
2013-07-10 14:44:27 -07:00
Mathias Agopian
27e16688ec be more explicit about 64 bits values in sensor events
Change-Id: I61e4832ff2c721987c38897924b1b50b758384da
2013-07-08 15:30:54 -07:00
Richard Fitzgerald
f37f187bba Add defines and support for audio offload
- Add non-blocking write support, set_callback() function
- Add pause, resume, flush, drain functions to audio output stream
- Add audio parameter defines for compressed audio metadata
- Extend audio_config_t to include an audio_offload_info_t field
- Add is_offload_supported() function to test whether there is
    hardware decode support for a given compressed audio format
- Change audio_stream_frame_size() to handle offloaded streams.
    For an offloaded stream the size is always counted in bytes
    (frame size == 1) and the number of channels is irrelevant.

Change-Id: I5b82c3fdcfa1456502d0042888f166bf02d8d54b
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Eric Laurent <elaurent@google.com>
2013-06-27 17:16:24 -07:00
Iliyan Malchev
12dc899cb6 am 1b8e21aa: am 1a70c0fd: libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE
* commit '1b8e21aa2d4a48c3c0777929e723817995881f70':
  libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE
2013-06-25 19:02:03 -07:00
Iliyan Malchev
1a70c0fd39 libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE
Bug: 9581070
Change-Id: Ifb47ed0d4fc201732ca6593d41317ec356ead2ba
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-06-25 18:55:59 -07:00
Jaikumar Ganesh
e61cdea04b Merge "Changes to fused location hardware hal." 2013-06-26 01:28:35 +00:00
Mekala Natarajan
d3d8cd25e9 am a2ce3e82: am 501fc0f1: Power: Add multimedia hints
* commit 'a2ce3e82d5b3667683f3b413e9896fa30b2a9e11':
  Power: Add multimedia hints
2013-06-25 17:02:04 -07:00
Kevin Tang
d2c966fa2b Changes to fused location hardware hal.
1. Added some comments.
2. Added device context information.

Change-Id: I0db21778b60339c92b4951aee4facb1148020198
2013-06-25 14:27:46 -07:00
Alex Ray
5f2fd854b3 camera3: Add flush
Flush is used to quiesce a camera device as quickly as possible, which
can be used to deal with a pathological client (requests a frame
duration of hours then dying) as well as speed up stream configuration
changes when the outstanding requests data isn't required.

Change-Id: Ie822efae8c705bd64d63c0eab7e9c291ecb570ef
2013-06-24 14:01:00 -07:00