OSDN Git Service

android-x86/hardware-libhardware.git
11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Sun, 9 Sep 2012 14:00:36 +0000 (07:00 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoMerge "audio: new audio devices enums" into jb-mr1-dev
Eric Laurent [Fri, 7 Sep 2012 21:52:27 +0000 (14:52 -0700)]
Merge "audio: new audio devices enums" into jb-mr1-dev

11 years agoAudio remote submix in hardware modules
Jean-Michel Trivi [Fri, 7 Sep 2012 18:25:59 +0000 (11:25 -0700)]
Audio remote submix in hardware modules

Change-Id: I878c6f36685eff48a3cd51acceec812b61994945

11 years agoaudio: new audio devices enums
Eric Laurent [Tue, 28 Aug 2012 21:30:35 +0000 (14:30 -0700)]
audio: new audio devices enums

Changed audio device API version to 2.0 because of
new enums for audio input and output devices.

Removed implementations of get_supported_devices() in
stub and usb audio modules.

Change-Id: I09345d38929d931e5015e36d18259f5a5f950298

11 years agoAdd audio module for remote submix
Jean-Michel Trivi [Thu, 16 Aug 2012 20:56:03 +0000 (13:56 -0700)]
Add audio module for remote submix

New definitions of audio devices for remote submix: one representing
  a sink for writing the audio buffers that won't be played directly
  locally, another representing the audio source that can be read from
  to obtain the audio mix.

New audio hardware module encapsulating the submix loop functionality.
  Create a Pipe to serve as non-blocking audio ring buffer between
  the output device (the sink) and the input device (the source).

Change-Id: I527f4721a69ced0430a99ebba3b4db7d419f2bb2

11 years agoMerge "audio effects: add audio source indication" into jb-mr1-dev
Eric Laurent [Fri, 7 Sep 2012 01:04:40 +0000 (18:04 -0700)]
Merge "audio effects: add audio source indication" into jb-mr1-dev

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Wed, 5 Sep 2012 13:34:04 +0000 (06:34 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoMerge "Revert "Revert "Add reprocess method, redefine gralloc ZSL usage flag""" into...
Eino-Ville Talvala [Tue, 4 Sep 2012 23:22:05 +0000 (16:22 -0700)]
Merge "Revert "Revert "Add reprocess method, redefine gralloc ZSL usage flag""" into jb-mr1-dev

11 years agoRevert "Revert "Add reprocess method, redefine gralloc ZSL usage flag""
Eino-Ville Talvala [Tue, 4 Sep 2012 21:21:07 +0000 (14:21 -0700)]
Revert "Revert "Add reprocess method, redefine gralloc ZSL usage flag""

Missing project ready to go.

This reverts commit 536148699beffcc4e6a2ced7c41fbbc3bcfa9886

Change-Id: I101343b443be6febe160685de6d72ddbf7e6aea5

11 years agoMerge "Make HWC_MODULE_API_VERSION fit in uint16_t again" into jb-mr1-dev
Jesse Hall [Tue, 4 Sep 2012 20:59:19 +0000 (13:59 -0700)]
Merge "Make HWC_MODULE_API_VERSION fit in uint16_t again" into jb-mr1-dev

11 years agoMerge "Revert "Add reprocess method, redefine gralloc ZSL usage flag"" into jb-mr1-dev
Eino-Ville Talvala [Tue, 4 Sep 2012 19:28:10 +0000 (12:28 -0700)]
Merge "Revert "Add reprocess method, redefine gralloc ZSL usage flag"" into jb-mr1-dev

11 years agoRevert "Add reprocess method, redefine gralloc ZSL usage flag"
Eino-Ville Talvala [Tue, 4 Sep 2012 19:27:14 +0000 (12:27 -0700)]
Revert "Add reprocess method, redefine gralloc ZSL usage flag"

More dependent projects than I realized

This reverts commit 7fa4a7e706cd8da0a4fd6722ff3b00b8088a01ae

Change-Id: I813ffde0f8d602fd6d75186bf82e93c7ffed9a9a

11 years agoMerge "Add reprocess method, redefine gralloc ZSL usage flag" into jb-mr1-dev
Eino-Ville Talvala [Tue, 4 Sep 2012 19:08:53 +0000 (12:08 -0700)]
Merge "Add reprocess method, redefine gralloc ZSL usage flag" into jb-mr1-dev

11 years agoMake HWC_MODULE_API_VERSION fit in uint16_t again
Jesse Hall [Tue, 4 Sep 2012 18:42:09 +0000 (11:42 -0700)]
Make HWC_MODULE_API_VERSION fit in uint16_t again

Change-Id: I4e32c3b7be9826cfac1e7226f7fd8894b6c97c1e

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Mon, 3 Sep 2012 13:34:13 +0000 (06:34 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoAdd reprocess method, redefine gralloc ZSL usage flag
Eino-Ville Talvala [Fri, 31 Aug 2012 06:55:53 +0000 (23:55 -0700)]
Add reprocess method, redefine gralloc ZSL usage flag

- Camera2: Add allocate_reprocess_stream_from_stream for ZSL usecases
- Gralloc: Make GRALLOC_USAGE_HW_CAMERA_ZSL be simply
  GRALLOC_USAGE_HW_CAMERA_READ | GRALLOC_USAGE_HW_CAMERA_WRITE
- Gralloc: Add GRALLOC_USAGE_HW_CAMERA_MASK

Change-Id: Icd8ac1f786e3adb6a422f27f03a5a4cb04a815cc

11 years agoaudio effects: add audio source indication
Eric Laurent [Sat, 1 Sep 2012 01:42:35 +0000 (18:42 -0700)]
audio effects: add audio source indication

Added a command to audio effect API to indicate the
audio source to audio pre processings.

Change-Id: Ia9d68bc095b8bc5d3cf847a406ec0a719a1c14ac

11 years agoMerge "Add new HWC 1.1 queries and hotplug callback" into jb-mr1-dev
Jesse Hall [Fri, 31 Aug 2012 19:56:57 +0000 (12:56 -0700)]
Merge "Add new HWC 1.1 queries and hotplug callback" into jb-mr1-dev

11 years agoAdd new HWC 1.1 queries and hotplug callback
Jesse Hall [Wed, 29 Aug 2012 17:37:37 +0000 (10:37 -0700)]
Add new HWC 1.1 queries and hotplug callback

Change-Id: I40164e60b33174e98a3843ec99f1680b1bb1c675

11 years agoMerge "Encode header version in api versions" into jb-mr1-dev
Jesse Hall [Thu, 30 Aug 2012 20:53:13 +0000 (13:53 -0700)]
Merge "Encode header version in api versions" into jb-mr1-dev

11 years agoEncode header version in api versions
Jesse Hall [Tue, 28 Aug 2012 22:23:58 +0000 (15:23 -0700)]
Encode header version in api versions

Change-Id: I0216bef3ba0cfaed2fe908f735e546d0734c0b13

11 years agoCamera2: Use HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED
Eino-Ville Talvala [Tue, 28 Aug 2012 21:01:26 +0000 (14:01 -0700)]
Camera2: Use HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED

Align camera2's management of platform-opaque formats with rest of
framework. Instead of using CAMERA2_PIXEL_FORMAT_OPAQUE, use
HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED as the format for both the
camera HAL and for gralloc, and depend on the gralloc usage flags to
let the gralloc module select the appropriate real format for specific
stream endpoints.

Add a new gralloc usage for ZSL mode, where the camera service will
hold a streaming circular buffer of opaque full-resolution images
during camera preview. Since this is an opaque format that needs to be
optimized for 30fps operation, need gralloc to be aware of this use
case.

Bug: 6243944
Change-Id: If7f2516649381ce9bcffe4e319b63cbc068f643f

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Tue, 28 Aug 2012 13:33:55 +0000 (06:33 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoCamera2: Make static_camera_characteristics const.
Eino-Ville Talvala [Fri, 24 Aug 2012 19:32:17 +0000 (12:32 -0700)]
Camera2: Make static_camera_characteristics const.

Disallow modification to static characteristics structure, and clarify
ownership and lifetime of the structure.

Also update test code accordingly.

Bug: 6243944
Change-Id: I6921d6889937212867efb99aa3881ab3ffc4f6f9

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Mon, 27 Aug 2012 13:34:14 +0000 (06:34 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoMerge "Revert "Camera2: Make static_camera_characteristics const."" into jb-mr1-dev
Eino-Ville Talvala [Sun, 26 Aug 2012 21:44:45 +0000 (14:44 -0700)]
Merge "Revert "Camera2: Make static_camera_characteristics const."" into jb-mr1-dev

11 years agoRevert "Camera2: Make static_camera_characteristics const."
Eino-Ville Talvala [Sun, 26 Aug 2012 21:44:38 +0000 (14:44 -0700)]
Revert "Camera2: Make static_camera_characteristics const."

Needs a third change that's not yet done with review.

This reverts commit c9ec8a656b59912f496880d3a63c0decd490f09d

Change-Id: Ic3e465e1308cbf107a250ec17b73a59a35e52f9f

11 years agoMerge "Camera2: Make static_camera_characteristics const." into jb-mr1-dev
Eino-Ville Talvala [Sun, 26 Aug 2012 21:15:54 +0000 (14:15 -0700)]
Merge "Camera2: Make static_camera_characteristics const." into jb-mr1-dev

11 years agoCamera2: Make static_camera_characteristics const.
Eino-Ville Talvala [Fri, 24 Aug 2012 19:32:17 +0000 (12:32 -0700)]
Camera2: Make static_camera_characteristics const.

Disallow modification to static characteristics structure, and clarify
ownership and lifetime of the structure.

Also update test code accordingly.

Bug: 6243944
Change-Id: Ib8de5e9d6580187b21a5ae9a28a3d24f1d083f7b

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Thu, 23 Aug 2012 13:33:52 +0000 (06:33 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoSimplify and clean up legacy decisions
Jesse Hall [Tue, 21 Aug 2012 19:06:28 +0000 (12:06 -0700)]
Simplify and clean up legacy decisions

During the HWC 0.x evolution, some fields were left optional or
organized strangely to avoid breaking backwards compatibility. Since
we're breaking it in the transition to HWC 1.0 anyway, we can clean
these up a little.

* The current callbacks are now registered immediately after the
  device is opened and guaranteed to be present, so the implementation
  can rely on them being present.

* The hwc_methods_t structure is gone, with its two methods folded
  into the main hwc_composer_device_1_t.

* All methods and callbacks are now required except dump(). New
  methods and callbacks we add in the future will still be optional
  for backwards compatibility.

Change-Id: I5d58774a5144016993c12df3dd6ad2a5d746bee9

11 years agoAdd NUM_DISPLAY_TYPES query and refine display list semantics
Jesse Hall [Wed, 22 Aug 2012 18:42:57 +0000 (11:42 -0700)]
Add NUM_DISPLAY_TYPES query and refine display list semantics

Change-Id: I740859bfa2b126edcdf06f7b2c8208770bc864f9

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Wed, 22 Aug 2012 13:33:52 +0000 (06:33 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoDefine HWC_DEVICE_API_VERSION_1_1
Jesse Hall [Tue, 21 Aug 2012 22:24:55 +0000 (15:24 -0700)]
Define HWC_DEVICE_API_VERSION_1_1

Change-Id: I925e010fb6367979de9b7657607ea5b444820a7e

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Tue, 21 Aug 2012 13:34:31 +0000 (06:34 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoMerge "HWC 1.1: add FRAMEBUFFER_TARGET layer type" into jb-mr1-dev
Jesse Hall [Mon, 20 Aug 2012 23:34:02 +0000 (16:34 -0700)]
Merge "HWC 1.1: add FRAMEBUFFER_TARGET layer type" into jb-mr1-dev

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Mon, 20 Aug 2012 13:34:58 +0000 (06:34 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoHWC 1.1: add FRAMEBUFFER_TARGET layer type
Jesse Hall [Thu, 16 Aug 2012 23:21:13 +0000 (16:21 -0700)]
HWC 1.1: add FRAMEBUFFER_TARGET layer type

Change-Id: I61965c343dceb4137bc439b49ea90ec13183b719

11 years agohwc: update blank documentation to specify that blank is synchronous
Colin Cross [Thu, 16 Aug 2012 21:45:06 +0000 (14:45 -0700)]
hwc: update blank documentation to specify that blank is synchronous

Change the documentation of the blank function in the hw composer to
specify that the screen state transition must be complete when the
function returns.

Change-Id: Ibd0a9cdef13991c36cabada5fc0e4f7bb8fa7af9

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Tue, 14 Aug 2012 14:07:26 +0000 (07:07 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoMerge "Enhanced bluetooth HAL with DUT mode APIs" into jb-mr1-dev
Matthew Xie [Tue, 14 Aug 2012 06:55:26 +0000 (23:55 -0700)]
Merge "Enhanced bluetooth HAL with DUT mode APIs" into jb-mr1-dev

11 years agoam 42a70b67: Merge "Enhance keymaster tests"
Kenny Root [Tue, 14 Aug 2012 00:31:00 +0000 (17:31 -0700)]
am 42a70b67: Merge "Enhance keymaster tests"

* commit '42a70b67abf0fce9c0f898c92a6e3c36e92773e9':
  Enhance keymaster tests

11 years agoMerge "Enhance keymaster tests"
Kenny Root [Mon, 13 Aug 2012 23:33:05 +0000 (16:33 -0700)]
Merge "Enhance keymaster tests"

11 years agoEnhance keymaster tests
Kenny Root [Thu, 9 Aug 2012 00:04:40 +0000 (17:04 -0700)]
Enhance keymaster tests

Check the key values of successful attempts.

For imported keys, the key values should match the
input values when they're returned.

For generated keys, the modulus size should be correct and the public
exponent should be correct.

(cherry-pick of 280dbc7e691304cccb2a32683d1a5a13cc188e41)

Bug: 6736252
Bug: http://code.google.com/p/android/issues/detail?id=34212
Change-Id: Ieaf922ec83e0b81feb08f6ac3977e4aabd09ce14

11 years agoMerge "Enhance keymaster tests" into jb-mr1-dev
Kenny Root [Mon, 13 Aug 2012 22:09:08 +0000 (15:09 -0700)]
Merge "Enhance keymaster tests" into jb-mr1-dev

11 years agoEnhanced bluetooth HAL with DUT mode APIs
Kausik Sinnaswamy [Thu, 9 Aug 2012 06:53:20 +0000 (12:23 +0530)]
Enhanced bluetooth HAL with DUT mode APIs

These APIs are needed to allow the bluetooth chip to be put into DUT
mode so that RF/BB BQB tests can be run

Change-Id: I0b01943256bb77ad7924bf67cabfc468662a2299

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Mon, 13 Aug 2012 15:09:27 +0000 (08:09 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoCamera2: Add ZSL pixel format, AF CANCEL trigger, lots of docs
Eino-Ville Talvala [Fri, 3 Aug 2012 17:56:57 +0000 (10:56 -0700)]
Camera2: Add ZSL pixel format, AF CANCEL trigger, lots of docs

- Add CAMERA2_HAL_PIXEL_FORMAT_ZSL
- Add CAMERA2_TRIGGER_CANCEL_AUTOFOCUS
- Add documentation to describe how AUTOFOCUS and CANCEL_AUTOFOCUS
  triggers interact with AF state, mode, and notifications.
- Other minor edits

Bug: 6243944
Change-Id: I679c40cfe08e62d3a5851839f748fe2292bbfae7

11 years agoEnhance keymaster tests
Kenny Root [Thu, 9 Aug 2012 00:04:40 +0000 (17:04 -0700)]
Enhance keymaster tests

Check the key values of successful attempts.

For imported keys, the key values should match the
input values when they're returned.

For generated keys, the modulus size should be correct and the public
exponent should be correct.

Bug: 6736252
Bug: http://code.google.com/p/android/issues/detail?id=34212
Change-Id: I37ed97d36ebfbe4301b43426129928bcb53c39f8

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Wed, 8 Aug 2012 13:47:28 +0000 (06:47 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoMerge "Simplify prepare and set semantics (comments only)" into jb-mr1-dev
Jamie Gennis [Tue, 7 Aug 2012 23:20:07 +0000 (16:20 -0700)]
Merge "Simplify prepare and set semantics (comments only)" into jb-mr1-dev

11 years agoSimplify prepare and set semantics (comments only)
Jesse Hall [Tue, 31 Jul 2012 22:18:32 +0000 (15:18 -0700)]
Simplify prepare and set semantics (comments only)

Documentation updated for semantic changes vs. HWC 0.x:

* Prepare won't be called with NULL pointers. This used to be used to
  disable hardware composition, though that wasn't documented. Now
  we'll call prepare with non-NULL pointers but the layer list will
  have zero layers.

* Set won't be called with NULL pointers. This used to cause the
  display to turn off; that is now done by calling the blank() method,
  which is no longer optional.

Change-Id: I9c69dc34f64e499a5ba5f8729836e7c216f8c733

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

(cherry picked from commit d245968b7ef0be5c776c9aefff3eca9e293d1b35)

> Extend the audio HAL interface to support get/set master mute
>
> Hand merge from ics-aah
>
> > 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
>
> Change-Id: I5e7aea6d7da0012dcc077281f9077fc04cfb9889
> Signed-off-by: John Grossman <johngro@google.com>

Change-Id: I2011cc5bc41ca7081ce255a4bfba65f36f899bc4
Signed-off-by: John Grossman <johngro@google.com>
11 years agoAdd multi-display and flip fence to HWC
Jesse Hall [Tue, 31 Jul 2012 21:29:00 +0000 (14:29 -0700)]
Add multi-display and flip fence to HWC

Change-Id: I3b0446050648e2b386ffb32976c9943b6fd9793d

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Mon, 6 Aug 2012 13:28:37 +0000 (06:28 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoCamera2: Test logging changes
Eino-Ville Talvala [Mon, 30 Jul 2012 17:12:40 +0000 (10:12 -0700)]
Camera2: Test logging changes

Change-Id: Idcde83d46da438726c5186cbcf8109a22aef997f

11 years agoRevert "Add multi-display and flip fence to HWC"
Jesse Hall [Tue, 31 Jul 2012 19:16:24 +0000 (12:16 -0700)]
Revert "Add multi-display and flip fence to HWC"

This reverts commit 1d51b2b9fc713da6de18117bc19508ecdfde4f23

Change-Id: I1ae46d8cae1cb3064800cd24df56347b05eb6059

11 years agoRevert "Add multi-display and flip fence to HWC"
Jesse Hall [Tue, 31 Jul 2012 19:16:24 +0000 (12:16 -0700)]
Revert "Add multi-display and flip fence to HWC"

This reverts commit 1d51b2b9fc713da6de18117bc19508ecdfde4f23

Change-Id: I1ae46d8cae1cb3064800cd24df56347b05eb6059

11 years agoAdd multi-display and flip fence to HWC
Jesse Hall [Wed, 25 Jul 2012 22:11:41 +0000 (15:11 -0700)]
Add multi-display and flip fence to HWC

Change-Id: I31b4fc293220bc51169971df93347dd35fdc30ef

11 years agoMerge remote-tracking branch 'goog/jb-dev-mako' into jb-mr1-dev
Ed Heyl [Thu, 26 Jul 2012 20:47:35 +0000 (13:47 -0700)]
Merge remote-tracking branch 'goog/jb-dev-mako' into jb-mr1-dev

11 years agoMerge "Add comment"
Glenn Kasten [Wed, 25 Jul 2012 22:46:13 +0000 (15:46 -0700)]
Merge "Add comment"

11 years agoAdd comment
Glenn Kasten [Fri, 22 Jun 2012 20:35:54 +0000 (13:35 -0700)]
Add comment

Change-Id: Idc2890ebc10c0e6a116bc7c8872cd379e1cf3e25

11 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

11 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

11 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

11 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."

11 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

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

11 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

11 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

11 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

11 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

11 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

11 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

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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 agohardware: Add field for number of framebuffers supported
Naseer Ahmed [Wed, 4 Jul 2012 04:17:23 +0000 (21:17 -0700)]
hardware: Add field for number of framebuffers supported

Change-Id: Iec29018a956d2c048ce077c48fd3995a4ca6f72a

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