OSDN Git Service

android-x86/hardware-libhardware.git
12 years agostruct effect_descriptor_s const correctness
Glenn Kasten [Mon, 20 Feb 2012 20:08:57 +0000 (12:08 -0800)]
struct effect_descriptor_s const correctness

Also struct audio_stream in audio_stream_frame_size

Change-Id: Ie0de708e38a1850c186a8b4eb5f491adc44b3275

12 years agoam afc55fd4: (-s ours) Extend the audio HAL interface to support get/set master mute...
John Grossman [Thu, 19 Jul 2012 07:39:16 +0000 (00:39 -0700)]
am afc55fd4: (-s ours) Extend the audio HAL interface to support get/set master mute: DO NOT MERGE

* commit 'afc55fd404d7d86f0affc9080ccb42aad8745d3a':
  Extend the audio HAL interface to support get/set master mute: DO NOT MERGE

12 years agoExtend the audio HAL interface to support get/set master mute: DO NOT MERGE
John Grossman [Tue, 17 Jul 2012 18:54:04 +0000 (11:54 -0700)]
Extend the audio HAL interface to support get/set master mute: DO NOT MERGE

Extend the audio HAL interface to allow HALs to optionally support HW
level master mute.  This follows the same pattern as master volume and
is part of the fix for bug 6828363.  Because of the divergences
between ICS and master, this change will need to be merged by hand.

Signed-off-by: John Grossman <johngro@google.com>
Change-Id: Ica6f5e37e13d13dde60463966f41f271ffa104fd

12 years agoMerge "Add camera gralloc usage flags."
Eino-Ville Talvala [Tue, 17 Jul 2012 21:11:14 +0000 (14:11 -0700)]
Merge "Add camera gralloc usage flags."

12 years agoMerge changes I9622e8a0,I7b942e10,I3abd86e9,I27656f52,I662c7595,Ida4ef37e,Ic501281b...
Matthew Xie [Tue, 17 Jul 2012 04:33:30 +0000 (21:33 -0700)]
Merge changes I9622e8a0,I7b942e10,I3abd86e9,I27656f52,I662c7595,Ida4ef37e,Ic501281b,Ic2b1c5c1,I2caace57,Id6fc8f89,Id067423b,Iddd90ccc,I7fe01250,Iad7bf631,Ieaa5b37b,I68ef3117,I017ec2b0

* changes:
  add 0xff to the end of an enum
  Adding authentication failure reason specific status codes to bt_status_t structure
  Add support for CMEE
  Added ACL connected/disconnected events/callbacks to the Bluetooth HAL
  Enabled audio state changed JNI callback in A2DP HAL
  added pan profile
  Added API to get remote services of device
  Added comment for mutli accept listen
  added new btif_hl (HDP profile) module
  Changed the arguements for set report and send data api Signed-off-by: Priti Aghera <paghera@broadcom.com>
  new bt socket interface
  Added dedicated HAL callback notifying framework on audio datapath events
  Added new state BT_BOND_STATE_BONDING.
  Align the service status codes with spec. Add a new state for slc connection notification
  PTS fixes: Re-define the call state values to match CLCC
  Merged the Passkey request callback and the passkey reply APIs into the SSP API and callback respectively
  1.) Dynamic enable/disable of profiles using the respective profile init/cleanup APIs

12 years agoMerge changes Ia96504db,I4c456390,Id04160d4
Matthew Xie [Tue, 17 Jul 2012 04:33:29 +0000 (21:33 -0700)]
Merge changes Ia96504db,I4c456390,Id04160d4

* changes:
  Initial Bluedroid stack commit
  Add typedefs and defines to obfuscate the word hardware.
  Initial commit of Bluetooth Abstraction Layer Hdr.

12 years agoAdd camera gralloc usage flags.
Eino-Ville Talvala [Mon, 16 Jul 2012 21:50:50 +0000 (14:50 -0700)]
Add camera gralloc usage flags.

GRALLOC_USAGE_HW_CAMERA_WRITE is for camera outputs in the new camera HAL.

GRALLOC_USAGE_HW_CAMERA_READ is for sending previously captured camera
data back into the camera pipeline for further processing. For
example, for converting a raw sensor image into YUV or JPEG data.

Bug: 6243944
Change-Id: If9011ec320a1a804f3337704243ed7fc410fec91

12 years agoadd 0xff to the end of an enum
Matthew Xie [Fri, 22 Jun 2012 00:35:06 +0000 (17:35 -0700)]
add 0xff to the end of an enum

Change-Id: I9622e8a06ae075b67c4091874986625d52115261

12 years agoAdding authentication failure reason specific status codes to bt_status_t structure
Ganesh Ganapathi Batta [Fri, 27 Apr 2012 21:04:28 +0000 (14:04 -0700)]
Adding authentication failure reason specific status codes to bt_status_t structure

Change-Id: I7b942e101201ea54e623e91e1e19433b2d7fe1ba

12 years agoAdd support for CMEE
Sreenidhi T [Fri, 27 Apr 2012 14:16:59 +0000 (07:16 -0700)]
Add support for CMEE

Change-Id: I3abd86e937da7607d7ccac5476f0f2e5779967b6

12 years agoAdded ACL connected/disconnected events/callbacks to the Bluetooth HAL
Kausik Sinnaswamy [Wed, 4 Apr 2012 04:59:47 +0000 (10:29 +0530)]
Added ACL connected/disconnected events/callbacks to the Bluetooth HAL

Change-Id: I27656f52b5d7d742cac974805ca56d8a9a104ce8

12 years agoEnabled audio state changed JNI callback in A2DP HAL
Kausik Sinnaswamy [Thu, 19 Apr 2012 18:58:21 +0000 (00:28 +0530)]
Enabled audio state changed JNI callback in A2DP HAL

Change-Id: I662c75953400353923eb20e5faa32407805a8224

12 years agoadded pan profile
zzy [Sun, 15 Apr 2012 00:38:15 +0000 (17:38 -0700)]
added pan profile

12 years agoAdded API to get remote services of device
fredc [Fri, 6 Apr 2012 09:05:46 +0000 (02:05 -0700)]
Added API to get remote services of device

Change-Id: Ic501281b911f53d5c22340a27f67ea8f7415ddf4

12 years agoInitial Bluedroid stack commit
Andre Eisenbach [Wed, 22 Feb 2012 05:36:06 +0000 (21:36 -0800)]
Initial Bluedroid stack commit

Change-Id: Ia96504db5c993fa07bc70a8164d93c1696b25d12

12 years agoAdded comment for mutli accept listen
zzy [Wed, 4 Apr 2012 02:55:23 +0000 (19:55 -0700)]
Added comment for mutli accept listen

12 years agoAdd typedefs and defines to obfuscate the word hardware.
Jaikumar Ganesh [Fri, 3 Feb 2012 18:53:28 +0000 (10:53 -0800)]
Add typedefs and defines to obfuscate the word hardware.

When the stack code is available, the word hardware
will be removed and these typedefs removed.

Hardware is a confusing word because the stack
is hardware indepedent. Its currently in the hardware
directory for convenience. Later on, we might move
the header files to a different location.

Change-Id: I4c456390d6003b7d02184bb6bcb2dd3b01c53485

12 years agoadded new btif_hl (HDP profile) module
Sen-Der Huang [Thu, 22 Mar 2012 22:37:25 +0000 (15:37 -0700)]
added new btif_hl (HDP profile) module

Change-Id: I2caace570e5c8e9c211bf50b803180afb25703fd

12 years agoInitial commit of Bluetooth Abstraction Layer Hdr.
Jaikumar Ganesh [Fri, 17 Feb 2012 00:44:05 +0000 (16:44 -0800)]
Initial commit of Bluetooth Abstraction Layer Hdr.

Change-Id: Id04160d47a93e6b6ff3beb8c4287302393b62963

12 years agoChanged the arguements for set report and send data api
Priti Aghera [Thu, 22 Mar 2012 18:47:20 +0000 (11:47 -0700)]
Changed the arguements for set report and send data api
Signed-off-by: Priti Aghera <paghera@broadcom.com>
Change-Id: Id6fc8f89bca06b6e996531154d7a5a841aec6d43

12 years agonew bt socket interface
zzy [Tue, 27 Mar 2012 05:08:53 +0000 (22:08 -0700)]
new bt socket interface

12 years agoAdded dedicated HAL callback notifying framework on audio datapath
Mattias Agren [Mon, 26 Mar 2012 15:26:24 +0000 (08:26 -0700)]
Added dedicated HAL callback notifying framework on audio datapath
events

Change-Id: Iddd90ccc8e362660dc4468a1a69424d51b33d27c

12 years agoAdded new state BT_BOND_STATE_BONDING.
Ravi Nagarajan [Fri, 9 Mar 2012 03:49:20 +0000 (09:19 +0530)]
Added new state BT_BOND_STATE_BONDING.

Change-Id: I7fe012503e9f666bc045f1b622e0d0d391836613

12 years agoAlign the service status codes with spec. Add a new state for slc connection notification
Ravi Nagarajan [Thu, 8 Mar 2012 21:02:33 +0000 (02:32 +0530)]
Align the service status codes with spec. Add a new state for slc connection notification

Change-Id: Iad7bf6310f0f596df431d094ef39ff0391dcd08f

12 years agoPTS fixes: Re-define the call state values to match CLCC
Ravi Nagarajan [Thu, 8 Mar 2012 18:30:50 +0000 (00:00 +0530)]
PTS fixes: Re-define the call state values to match CLCC

Change-Id: Ieaa5b37ba82771c3072419996354e403cf12a99e

12 years agoMerged the Passkey request callback and the passkey reply APIs into the
Kausik Sinnaswamy [Tue, 6 Mar 2012 20:55:42 +0000 (12:55 -0800)]
Merged the Passkey request callback and the passkey reply APIs into the
SSP API and callback respectively

Change-Id: I68ef31176ad0ca6274a046f511b6c2d6a01e587f

12 years ago1.) Dynamic enable/disable of profiles using the respective profile
Kausik Sinnaswamy [Tue, 6 Mar 2012 13:42:00 +0000 (19:12 +0530)]
1.) Dynamic enable/disable of profiles using the respective profile
init/cleanup APIs

Change-Id: I017ec2b060ec71ee6937e360e5f024b03a9685c8

12 years agohwcomposer: add a new blank operation
Colin Cross [Fri, 13 Jul 2012 00:54:59 +0000 (17:54 -0700)]
hwcomposer: add a new blank operation

Add a new blank operation to be called by surfaceflinger when the screen
turns on or off.  Also rev the API version to 1.1 for the new field.

Change-Id: I266fb33f66184538e34cfc319f63cf809dcb2f18

12 years agoUse audio_channel_mask_t consistently
Glenn Kasten [Tue, 19 Jun 2012 19:16:04 +0000 (12:16 -0700)]
Use audio_channel_mask_t consistently

Change-Id: Ib832c0b707b1e0b82adf4ab3d4d18a2dc459d240

12 years agoUpdate ANativeWindow clients for sync
Jamie Gennis [Wed, 13 Jun 2012 23:36:01 +0000 (16:36 -0700)]
Update ANativeWindow clients for sync

This change updates uses of ANativeWindow to use the new ANW functions that
accept and return Sync HAL fence file descriptors.

Change-Id: I8ea699ba0a9b5c4b4316f9428cbd565976899991

12 years agoIntroduce HWC_DEVICE_API_VERSION_1_0
Jesse Hall [Wed, 6 Jun 2012 06:41:37 +0000 (23:41 -0700)]
Introduce HWC_DEVICE_API_VERSION_1_0

The new version adds an acquire and release fence to each layer,
providing explicit producer->hwc and hwc->producer synchronization.

Change-Id: Ibd6e3c7b3515c012c767246e6d6514274fdef01d

12 years agoMerge "Camera2: Add JPEG capture test."
Eino-Ville Talvala [Thu, 14 Jun 2012 15:38:13 +0000 (08:38 -0700)]
Merge "Camera2: Add JPEG capture test."

12 years agoCamera2: Add JPEG capture test.
Eino-Ville Talvala [Tue, 22 May 2012 17:41:20 +0000 (10:41 -0700)]
Camera2: Add JPEG capture test.

Bug: 6243944
Change-Id: Ifdf16f34b13df1e5bfe501eb7e6083862c71240a

12 years agoam 8405fe5a: am 1fbbb08d: Merge "remove seemed useless gralloc_open() call in fb_devi...
Jean-Baptiste Queru [Tue, 12 Jun 2012 22:18:23 +0000 (15:18 -0700)]
am 8405fe5a: am 1fbbb08d: Merge "remove seemed useless gralloc_open() call in fb_device_open()"

* commit '8405fe5a5203af18f39fd47b35606f0b32cd956c':
  remove seemed useless gralloc_open() call in fb_device_open()

12 years agoam 1fbbb08d: Merge "remove seemed useless gralloc_open() call in fb_device_open()"
Jean-Baptiste Queru [Tue, 12 Jun 2012 22:16:18 +0000 (15:16 -0700)]
am 1fbbb08d: Merge "remove seemed useless gralloc_open() call in fb_device_open()"

* commit '1fbbb08ddda4321ccdb05345658044c1f0235997':
  remove seemed useless gralloc_open() call in fb_device_open()

12 years agoMerge "remove seemed useless gralloc_open() call in fb_device_open()"
Jean-Baptiste Queru [Tue, 12 Jun 2012 20:57:02 +0000 (13:57 -0700)]
Merge "remove seemed useless gralloc_open() call in fb_device_open()"

12 years agoam 8350f364: Reconcile with jb-release
The Android Open Source Project [Mon, 11 Jun 2012 16:25:45 +0000 (09:25 -0700)]
am 8350f364: Reconcile with jb-release

* commit '8350f364f7fad55286c2dcb0e1e985e139646355':
  Add screen state parameter

12 years agoReconcile with jb-release
The Android Open Source Project [Mon, 11 Jun 2012 16:22:36 +0000 (09:22 -0700)]
Reconcile with jb-release

Change-Id: I75e5174aabe8e3fd3c1963045c2db6f7db9fc08d

12 years agoAdd screen state parameter
Glenn Kasten [Fri, 8 Jun 2012 17:49:34 +0000 (10:49 -0700)]
Add screen state parameter

Change-Id: Iead23e0d91dac34d40e9e55f525916b73c31bcb5

12 years agoam 34afb68c: Add screen state parameter
Glenn Kasten [Fri, 8 Jun 2012 17:57:52 +0000 (10:57 -0700)]
am 34afb68c: Add screen state parameter

* commit '34afb68c0cd1de315f0250f6a95b9dba234133ae':
  Add screen state parameter

12 years agoAdd screen state parameter
Glenn Kasten [Fri, 8 Jun 2012 17:49:34 +0000 (10:49 -0700)]
Add screen state parameter

Change-Id: Iead23e0d91dac34d40e9e55f525916b73c31bcb5

12 years agoam 41eeb4fe: audio HAL: add definitions for capabilities query
Eric Laurent [Tue, 5 Jun 2012 16:55:29 +0000 (09:55 -0700)]
am 41eeb4fe: audio HAL: add definitions for capabilities query

* commit '41eeb4fe9f0a043dc207111893dbea26827217a6':
  audio HAL: add definitions for capabilities query

12 years agoaudio HAL: add definitions for capabilities query
Eric Laurent [Fri, 18 May 2012 01:54:49 +0000 (18:54 -0700)]
audio HAL: add definitions for capabilities query

Added definitions for querying supported channel masks, sampling rates and
format with out_get_parameters().

Change-Id: Icb28fcef504c7e0a0b2daeb1bc7e704d20d3b738

12 years agoCamera2: Update test code for metadata changes
Eino-Ville Talvala [Mon, 21 May 2012 00:25:53 +0000 (17:25 -0700)]
Camera2: Update test code for metadata changes

- New resolution handling
- Don't do long exposures in tests

Bug: 6243944
Change-Id: Ia8362a50c8c4a2230d892e571b31e513c67ab84d

12 years agoI am a HAL of constant structure.
Eino-Ville Talvala [Fri, 18 May 2012 00:54:56 +0000 (17:54 -0700)]
I am a HAL of constant structure.

Bug: 6243944
Change-Id: I126313f75f5f7165d3ca96f52054866c4fb6bee0

12 years agoMerge "Camera2: Add test for construct_default_request."
Eino-Ville Talvala [Wed, 16 May 2012 18:55:29 +0000 (11:55 -0700)]
Merge "Camera2: Add test for construct_default_request."

12 years agoMerge "Camera2: Match updated camera_metadata methods."
Eino-Ville Talvala [Wed, 16 May 2012 17:59:13 +0000 (10:59 -0700)]
Merge "Camera2: Match updated camera_metadata methods."

12 years agoam e291f71e: split hwcomposer.h
Mathias Agopian [Tue, 15 May 2012 18:43:04 +0000 (11:43 -0700)]
am e291f71e: split hwcomposer.h

* commit 'e291f71e0a25ac9bb39fb754c599b710ab8f59d5':
  split hwcomposer.h

12 years agoMerge "Substantial cleanup of camera2 HAL, and some initial unit tests"
Eino-Ville Talvala [Tue, 15 May 2012 01:03:27 +0000 (18:03 -0700)]
Merge "Substantial cleanup of camera2 HAL, and some initial unit tests"

12 years agoMerge "Add RAW_SENSOR to gralloc sample"
Eino-Ville Talvala [Mon, 14 May 2012 22:57:29 +0000 (15:57 -0700)]
Merge "Add RAW_SENSOR to gralloc sample"

12 years agoCamera2: Add test for construct_default_request.
Eino-Ville Talvala [Mon, 14 May 2012 22:25:27 +0000 (15:25 -0700)]
Camera2: Add test for construct_default_request.

Bug: 6243944
Change-Id: I59b03d7ebece2a4b7672b265bd9f960b3faea621

12 years agoCamera2: Match updated camera_metadata methods.
Eino-Ville Talvala [Fri, 11 May 2012 23:18:42 +0000 (16:18 -0700)]
Camera2: Match updated camera_metadata methods.

Bug: 6243944

Change-Id: Ib691ef513b4811ca1290f0a9a4e3c1ce1e3f0945

12 years agosplit hwcomposer.h
Mathias Agopian [Mon, 14 May 2012 05:49:06 +0000 (22:49 -0700)]
split hwcomposer.h

hwcomposer_defs.h now contains enums, which are essentially names.
This won't change when we rev the h/w composer API (new ones will be added instead).

we do this to avoid having to abstract all these constants in higher
level APIs; instead hwcomposer_defs.h can be included without exposing
the hwcomposer's data structures (which are a lot more fragile wrt.
backward compatibility)

Change-Id: Ifb514f64de02a599fdd2d31c188327209ccb0ffc

12 years agoam a3e36414: remove triggering suspend from power hal
Colin Cross [Wed, 9 May 2012 08:54:29 +0000 (01:54 -0700)]
am a3e36414: remove triggering suspend from power hal

* commit 'a3e364144cc258bbe94e7eb0a216e317a9e7e38d':
  remove triggering suspend from power hal

12 years agoSubstantial cleanup of camera2 HAL, and some initial unit tests
Eino-Ville Talvala [Mon, 23 Apr 2012 16:29:38 +0000 (09:29 -0700)]
Substantial cleanup of camera2 HAL, and some initial unit tests

- Clean up const/struct usage in HAL
- Add user pointer to notify callback
- Revamp allocate_stream, now it picks its own ID.
- Much simpler stream interface
- Merged request/reprocess input queues
- Frame queue interface no longer a mirror of request queue
- Added triggers/notifications
- Added default request creation
- Lots of comments

Unit tests added:

- Lots of utility code to speed up test writing
- Basic open/close
- Capturing 1 raw buffer (request input, frame output, buffer output)
- Capturing a burst of 10 raw buffers

Bug: 6243944
Change-Id: I490bd5df81079a44c43d87b02c9a7f7ca251f531

12 years agoAdd RAW_SENSOR to gralloc sample
Eino-Ville Talvala [Fri, 13 Apr 2012 17:08:47 +0000 (10:08 -0700)]
Add RAW_SENSOR to gralloc sample

Change-Id: I0621bd70896385c3d522d283a1be714f5f29df3b

12 years agoremove triggering suspend from power hal
Colin Cross [Fri, 4 May 2012 00:31:41 +0000 (17:31 -0700)]
remove triggering suspend from power hal

PowerManagerService will trigger suspend after calling into the
power hal, remove it from here.

Change-Id: I98cc096413bd5c9e39a28b2bfc376d3d30544193

12 years agoam bcdb4cd3: hardware: Power HAL: Add POWER_HINT_INTERACTION
Todd Poynor [Fri, 4 May 2012 01:53:26 +0000 (18:53 -0700)]
am bcdb4cd3: hardware: Power HAL: Add POWER_HINT_INTERACTION

* commit 'bcdb4cd34b9c2a4a3ccebf0048137892e5586fe8':
  hardware: Power HAL: Add POWER_HINT_INTERACTION

12 years agohardware: Power HAL: Add POWER_HINT_INTERACTION
Todd Poynor [Thu, 3 May 2012 21:49:02 +0000 (14:49 -0700)]
hardware: Power HAL: Add POWER_HINT_INTERACTION

Change-Id: I9b2c29eadc60e2bea2f01b3925ad6a8539ec2655

12 years agoam 6b7adef0: hwcomposer: clarify vsync timestamp meaning
Jamie Gennis [Mon, 30 Apr 2012 20:49:10 +0000 (13:49 -0700)]
am 6b7adef0: hwcomposer: clarify vsync timestamp meaning

* commit '6b7adef0ef38f568099eab38d6865f402c92235b':
  hwcomposer: clarify vsync timestamp meaning

12 years agohwcomposer: clarify vsync timestamp meaning
Jamie Gennis [Mon, 30 Apr 2012 19:57:11 +0000 (12:57 -0700)]
hwcomposer: clarify vsync timestamp meaning

This change clarifies the meaning of the HWC vsync timestamp to specify that
the timestamp must be relative to the system monotonic clock.

Change-Id: I4386ce90511fd5b8f8e988917da637d84d86f026

12 years agoam 5cb1de89: add version number to power HAL
Mathias Agopian [Fri, 27 Apr 2012 02:56:05 +0000 (19:56 -0700)]
am 5cb1de89: add version number to power HAL

* commit '5cb1de89a905dd13c858779d73721bbc36cd4be1':
  add version number to power HAL

12 years agoadd version number to power HAL
Mathias Agopian [Fri, 27 Apr 2012 02:49:40 +0000 (19:49 -0700)]
add version number to power HAL

Change-Id: I6acf4523b5878565035ea6c85bddd58f9b20ef1b

12 years agoam 2f143fba: (-s ours) hardware: libhardware: Power HAL add power hints -- DO NOT...
Todd Poynor [Thu, 26 Apr 2012 04:41:22 +0000 (21:41 -0700)]
am 2f143fba: (-s ours) hardware: libhardware: Power HAL add power hints -- DO NOT MERGE

* commit '2f143fba74f6be91fe8805ef8bbdffe5b8ece8b4':
  hardware: libhardware: Power HAL add power hints -- DO NOT MERGE

12 years agohardware: libhardware: Power HAL add power hints -- DO NOT MERGE
Todd Poynor [Tue, 24 Apr 2012 20:39:15 +0000 (13:39 -0700)]
hardware: libhardware: Power HAL add power hints -- DO NOT MERGE

Change-Id: I8ab0376e4f5d8ef09d5b1062cbfbb30c30c5bb96
Signed-off-by: Todd Poynor <toddpoynor@google.com>
12 years agohardware: libhardware: Power HAL add power hints
Todd Poynor [Tue, 24 Apr 2012 20:39:15 +0000 (13:39 -0700)]
hardware: libhardware: Power HAL add power hints

Change-Id: I8ab0376e4f5d8ef09d5b1062cbfbb30c30c5bb96
Signed-off-by: Todd Poynor <toddpoynor@google.com>
12 years agoMerge "Update USB audio HAL to use API"
Mike Lockwood [Tue, 24 Apr 2012 23:51:00 +0000 (16:51 -0700)]
Merge "Update USB audio HAL to use API"

12 years agoUpdate USB audio HAL to use API
Mike Lockwood [Tue, 24 Apr 2012 23:41:18 +0000 (16:41 -0700)]
Update USB audio HAL to use API

Also don't clear card and device when out_set_parameters is called
to set other parameters.

Change-Id: I4feda9f6a2e76cb45bbc8a8f8256bb1760302707
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agofix typo in documentation
Mathias Agopian [Tue, 24 Apr 2012 22:42:37 +0000 (15:42 -0700)]
fix typo in documentation

Change-Id: I2c55034c25edd466180cd9c5718c2ad568aeedff

12 years agorename audio policy output flags.
Eric Laurent [Wed, 18 Apr 2012 20:58:44 +0000 (13:58 -0700)]
rename audio policy output flags.

Change-Id: I965fa9bcba45f223f2f2cbc4adccfb5491414c8b

12 years agoaudio: updated audio HAL device API
Eric Laurent [Tue, 10 Apr 2012 23:56:32 +0000 (16:56 -0700)]
audio: updated audio HAL device API

Modified open output and input stream functions to add new
parameters needed by audio HAL. Also grouped parameters
in a config structure for clarity.

Change-Id: I60832d8e5b5e4a48f209a6d83f5ca9c044be61f1

12 years agoMerge "Revise camera HAL 2, and add unit test skeleton."
Eino-Ville Talvala [Tue, 17 Apr 2012 15:57:44 +0000 (08:57 -0700)]
Merge "Revise camera HAL 2, and add unit test skeleton."

12 years agousbaudio: add initial usbaudio default HAL
Simon Wilson [Fri, 6 Apr 2012 23:17:12 +0000 (16:17 -0700)]
usbaudio: add initial usbaudio default HAL

Change-Id: I6e93b2512883f3697683a74cadb9a29113966bc0

12 years agoRevise camera HAL 2, and add unit test skeleton.
Eino-Ville Talvala [Thu, 22 Mar 2012 20:11:05 +0000 (13:11 -0700)]
Revise camera HAL 2, and add unit test skeleton.

- Add missing method in stream_ops (set_buffers_geometry)

- Remove extra method in stream_ops (set_swap_interval)

- Document metadata queue protocol

- Change metadata queue methods to be set/get through function calls
  only, instead of a struct member in the HAL device ops.

- Change vendor extension tag query methods to be retrieved by a get
  call, instead of a struct member in the HAL device ops.

- Add basic gtest unit test skeleton, which currently just returns
  static info from all camera devices.

Change-Id: I94117097b0243023ad60638070cc7f0cefec18e6

12 years agoimprove hwc VSYNC documentation
Mathias Agopian [Wed, 11 Apr 2012 04:22:28 +0000 (21:22 -0700)]
improve hwc VSYNC documentation

Change-Id: I5820d8fa183701ebbc0a825cf27bd0004b47d62e

12 years agoaudio policy: load audio hw modules.
Eric Laurent [Wed, 28 Mar 2012 18:10:51 +0000 (11:10 -0700)]
audio policy: load audio hw modules.

Added methods to audio_policy_service_ops to load an audio hw module.

Added methods to open an output or input stream on a particualr module.

Change-Id: Ia0618053bec9978c1b7d2a5f6c02b78209557256

12 years agoMerge "add support for VSYNC events in h/w composer HAL"
Mathias Agopian [Wed, 4 Apr 2012 02:10:25 +0000 (19:10 -0700)]
Merge "add support for VSYNC events in h/w composer HAL"

12 years agoMerge "audio: added definitions for audio HAL modules"
Eric Laurent [Tue, 3 Apr 2012 23:46:46 +0000 (16:46 -0700)]
Merge "audio: added definitions for audio HAL modules"

12 years agoaudio: added definitions for audio HAL modules
Eric Laurent [Tue, 3 Apr 2012 19:07:02 +0000 (12:07 -0700)]
audio: added definitions for audio HAL modules

Change-Id: I16f8b42ab5de503d38086413b83e934ac9aa1f24

12 years agoadd support for VSYNC events in h/w composer HAL
Mathias Agopian [Sat, 24 Mar 2012 22:56:29 +0000 (15:56 -0700)]
add support for VSYNC events in h/w composer HAL

Change-Id: Ic19a41ae522a236f45957e50c792934d987b116a

12 years agoUpdate comments
Glenn Kasten [Fri, 10 Feb 2012 21:42:44 +0000 (13:42 -0800)]
Update comments

Change-Id: I123d9baeceda13608cc01eda6a19e13822258dc0

12 years agoMerge "hardware: add some guidance on providing version defines"
Dima Zavin [Fri, 30 Mar 2012 18:58:04 +0000 (11:58 -0700)]
Merge "hardware: add some guidance on providing version defines"

12 years agoMerge "Add specific version number constants to Camera HAL."
Eino-Ville Talvala [Tue, 27 Mar 2012 23:50:18 +0000 (16:50 -0700)]
Merge "Add specific version number constants to Camera HAL."

12 years agoAdd specific version number constants to Camera HAL.
Eino-Ville Talvala [Tue, 27 Mar 2012 23:15:25 +0000 (16:15 -0700)]
Add specific version number constants to Camera HAL.

These constants should be used by HAL implementations to indicate
which versions of the module and device APIs they support.

Change-Id: I4b6eae278481545694e6a1827833b5958c26720c

12 years agohardware: add some guidance on providing version defines
Dima Zavin [Tue, 27 Mar 2012 06:14:15 +0000 (23:14 -0700)]
hardware: add some guidance on providing version defines

Change-Id: I456cb209bc5d5eb739b6fd2e2f3e869caa363ff0
Signed-off-by: Dima Zavin <dima@android.com>
12 years agoMerge "Fixed an incorrect path for the include header file in a comment"
James Dong [Tue, 27 Mar 2012 00:47:50 +0000 (17:47 -0700)]
Merge "Fixed an incorrect path for the include header file in a comment"

12 years agoMerge "keymaster: add flags for keymaster features"
Kenny Root [Mon, 26 Mar 2012 23:42:39 +0000 (16:42 -0700)]
Merge "keymaster: add flags for keymaster features"

12 years agoFixed an incorrect path for the include header file in a comment
James Dong [Mon, 26 Mar 2012 23:22:35 +0000 (16:22 -0700)]
Fixed an incorrect path for the include header file in a comment

Change-Id: I9c6f76279b54c2de66a31f751afc9222c345eb47

12 years agokeymaster: add flags for keymaster features
Kenny Root [Mon, 26 Mar 2012 20:47:48 +0000 (13:47 -0700)]
keymaster: add flags for keymaster features

The first flag is something for the default implementation to use to
indicate that its keys are importable to hardware keymasters. This
allows easy migration from the default software implementation to
hardware implementations as they become available.

Change-Id: Ideb26a4b1ac91ca8c330a4fe4df323f028b2f855

12 years agoMerge "Add delete_all to keymaster API"
Kenny Root [Mon, 26 Mar 2012 21:54:22 +0000 (14:54 -0700)]
Merge "Add delete_all to keymaster API"

12 years agoAdd delete_all to keymaster API
Kenny Root [Fri, 23 Mar 2012 23:17:28 +0000 (16:17 -0700)]
Add delete_all to keymaster API

In order to aid keymasters erase their memory efficiently, introduce new
delete_all API to tell keymasters to forget everything. This will be
triggered when keystore itself is told to reset.

Change-Id: I730375f1f32cd1ea0bf1fa38d5b1bec2f81ba492

12 years agoimprove HWC versioning
Mathias Agopian [Sun, 25 Mar 2012 08:09:35 +0000 (01:09 -0700)]
improve HWC versioning

Change-Id: Ieb50629f23c0d2b7af12c5541a8278a0979d2ee4

12 years agoadd support for setting the background color
Mathias Agopian [Fri, 3 Feb 2012 23:54:11 +0000 (15:54 -0800)]
add support for setting the background color

this is a revision of the h/w composer API. This change
is binary backward compatible.

Change-Id: Id4cf43447594db9049f7e2c44ea08157ca725129

12 years agoUse frameworks/native copy of UniquePtr.h
Kenny Root [Thu, 22 Mar 2012 23:33:37 +0000 (16:33 -0700)]
Use frameworks/native copy of UniquePtr.h

Change-Id: Idfe46c057699b5f019f84e588bb8a9697e48236c

12 years agoFix camera2.h header.
Eino-Ville Talvala [Thu, 22 Mar 2012 20:09:56 +0000 (13:09 -0700)]
Fix camera2.h header.

Change-Id: Ibcc93279da2180743d7bbe2561f2bf10879ae08e

12 years agoMerge "Reorganize camera HAL, and add versioning support."
Eino-Ville Talvala [Thu, 22 Mar 2012 18:09:08 +0000 (11:09 -0700)]
Merge "Reorganize camera HAL, and add versioning support."

12 years agoMerge remote-tracking branch 'goog/ics-aah-exp'
Mike Lockwood [Thu, 22 Mar 2012 00:35:00 +0000 (17:35 -0700)]
Merge remote-tracking branch 'goog/ics-aah-exp'

empty -s ours merge

Change-Id: Idccc5a540d4d50ad529fe8d08a49fe55556dd9a8

12 years agoReorganize camera HAL, and add versioning support.
Eino-Ville Talvala [Thu, 22 Dec 2011 21:50:37 +0000 (13:50 -0800)]
Reorganize camera HAL, and add versioning support.

Includes a draft of camera device HAL 2.

Change-Id: I5f56a8c54a33d0ca039360185822a9c22436cab8

12 years agohardware: add hardware_device_api_version() macro
Dima Zavin [Wed, 21 Mar 2012 20:35:32 +0000 (13:35 -0700)]
hardware: add hardware_device_api_version() macro

Change-Id: I79c4d65f6bab227364d5f271df9bd7bc565857c2
Signed-off-by: Dima Zavin <dima@android.com>
12 years agoMerge "libhardware: add current HAL version and a module version macro"
Dima Zavin [Wed, 21 Mar 2012 17:44:43 +0000 (10:44 -0700)]
Merge "libhardware: add current HAL version and a module version macro"