Commit graph

570 commits

Author SHA1 Message Date
John Grossman
47bf3d7ea5 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>
2012-08-07 15:59:07 -07:00
Jesse Hall
f9d6cd7dee Add multi-display and flip fence to HWC
Change-Id: I3b0446050648e2b386ffb32976c9943b6fd9793d
2012-08-07 12:26:59 -07:00
Eino-Ville Talvala
5d64b230dc Camera2: Test logging changes
Change-Id: Idcde83d46da438726c5186cbcf8109a22aef997f
2012-07-31 14:11:02 -07:00
Jesse Hall
85ab59a147 Revert "Add multi-display and flip fence to HWC"
This reverts commit 1d51b2b9fc713da6de18117bc19508ecdfde4f23

Change-Id: I1ae46d8cae1cb3064800cd24df56347b05eb6059
2012-07-31 12:16:24 -07:00
Jesse Hall
65bed1f947 Add multi-display and flip fence to HWC
Change-Id: I31b4fc293220bc51169971df93347dd35fdc30ef
2012-07-30 16:52:21 -07:00
Ed Heyl
d294b9ffa1 Merge remote-tracking branch 'goog/jb-dev-mako' into jb-mr1-dev 2012-07-26 13:47:35 -07:00
Glenn Kasten
d72e517056 Merge "Add comment" 2012-07-25 15:46:14 -07:00
Glenn Kasten
e57a2d2ec6 Add comment
Change-Id: Idc2890ebc10c0e6a116bc7c8872cd379e1cf3e25
2012-07-25 14:57:16 -07:00
Glenn Kasten
48915acb39 struct effect_descriptor_s const correctness
Also struct audio_stream in audio_stream_frame_size

Change-Id: Ie0de708e38a1850c186a8b4eb5f491adc44b3275
2012-07-24 07:53:14 -07:00
John Grossman
dbe4228e2d 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
2012-07-19 00:39:16 -07:00
John Grossman
afc55fd404 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
2012-07-17 17:44:31 -07:00
Eino-Ville Talvala
d2e7c834c7 Merge "Add camera gralloc usage flags." 2012-07-17 14:11:14 -07:00
Matthew Xie
2c58abbc7d 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
2012-07-16 21:33:30 -07:00
Matthew Xie
e95adfe92b 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.
2012-07-16 21:33:29 -07:00
Eino-Ville Talvala
7797d75b12 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
2012-07-16 14:50:50 -07:00
Matthew Xie
56f8e4a4ed add 0xff to the end of an enum
Change-Id: I9622e8a06ae075b67c4091874986625d52115261
2012-07-14 00:51:47 -07:00
Ganesh Ganapathi Batta
1ec955ae78 Adding authentication failure reason specific status codes to bt_status_t structure
Change-Id: I7b942e101201ea54e623e91e1e19433b2d7fe1ba
2012-07-14 00:51:47 -07:00
Sreenidhi T
011b370b04 Add support for CMEE
Change-Id: I3abd86e937da7607d7ccac5476f0f2e5779967b6
2012-07-14 00:51:47 -07:00
Kausik Sinnaswamy
fdbfd394c3 Added ACL connected/disconnected events/callbacks to the Bluetooth HAL
Change-Id: I27656f52b5d7d742cac974805ca56d8a9a104ce8
2012-07-14 00:51:47 -07:00
Kausik Sinnaswamy
b4b5ebff67 Enabled audio state changed JNI callback in A2DP HAL
Change-Id: I662c75953400353923eb20e5faa32407805a8224
2012-07-14 00:51:47 -07:00
zzy
9c7908f247 added pan profile 2012-07-14 00:51:47 -07:00
fredc
0dce19b7d5 Added API to get remote services of device
Change-Id: Ic501281b911f53d5c22340a27f67ea8f7415ddf4
2012-07-14 00:51:47 -07:00
Andre Eisenbach
36ca63e3bb Initial Bluedroid stack commit
Change-Id: Ia96504db5c993fa07bc70a8164d93c1696b25d12
2012-07-14 00:51:46 -07:00
zzy
0c2dcdf9a0 Added comment for mutli accept listen 2012-07-14 00:51:46 -07:00
Jaikumar Ganesh
43878c1d57 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
2012-07-14 00:51:46 -07:00
Sen-Der Huang
f33cdd00fb added new btif_hl (HDP profile) module
Change-Id: I2caace570e5c8e9c211bf50b803180afb25703fd
2012-07-14 00:51:46 -07:00
Jaikumar Ganesh
865ba8eeb7 Initial commit of Bluetooth Abstraction Layer Hdr.
Change-Id: Id04160d47a93e6b6ff3beb8c4287302393b62963
2012-07-14 00:51:46 -07:00
Priti Aghera
4caf42394e Changed the arguements for set report and send data api
Signed-off-by: Priti Aghera <paghera@broadcom.com>

Change-Id: Id6fc8f89bca06b6e996531154d7a5a841aec6d43
2012-07-14 00:51:46 -07:00
zzy
f36a2d5ce8 new bt socket interface 2012-07-14 00:51:46 -07:00
Mattias Agren
a8dff3d91a Added dedicated HAL callback notifying framework on audio datapath
events

Change-Id: Iddd90ccc8e362660dc4468a1a69424d51b33d27c
2012-07-14 00:51:46 -07:00
Ravi Nagarajan
4abf034dfc Added new state BT_BOND_STATE_BONDING.
Change-Id: I7fe012503e9f666bc045f1b622e0d0d391836613
2012-07-14 00:51:46 -07:00
Ravi Nagarajan
4ba8bc7eb2 Align the service status codes with spec. Add a new state for slc connection notification
Change-Id: Iad7bf6310f0f596df431d094ef39ff0391dcd08f
2012-07-14 00:51:46 -07:00
Ravi Nagarajan
9f632b4d5a PTS fixes: Re-define the call state values to match CLCC
Change-Id: Ieaa5b37ba82771c3072419996354e403cf12a99e
2012-07-14 00:51:46 -07:00
Kausik Sinnaswamy
37e79dc3be Merged the Passkey request callback and the passkey reply APIs into the
SSP API and callback respectively

Change-Id: I68ef31176ad0ca6274a046f511b6c2d6a01e587f
2012-07-14 00:51:46 -07:00
Kausik Sinnaswamy
aade9d98a9 1.) Dynamic enable/disable of profiles using the respective profile
init/cleanup APIs

Change-Id: I017ec2b060ec71ee6937e360e5f024b03a9685c8
2012-07-14 00:51:46 -07:00
Colin Cross
38fccf483b 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
2012-07-13 15:49:04 -07:00
Naseer Ahmed
88ef190fcf hardware: Add field for number of framebuffers supported
Change-Id: Iec29018a956d2c048ce077c48fd3995a4ca6f72a
2012-07-09 22:09:13 -07:00
Glenn Kasten
a635449697 Use audio_channel_mask_t consistently
Change-Id: Ib832c0b707b1e0b82adf4ab3d4d18a2dc459d240
2012-06-25 10:45:43 -07:00
Jamie Gennis
bd85f47ae7 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
2012-06-18 15:53:25 -07:00
Jesse Hall
d479ad22a0 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
2012-06-18 15:53:25 -07:00
Eino-Ville Talvala
74d793867e Merge "Camera2: Add JPEG capture test." 2012-06-14 08:38:13 -07:00
Eino-Ville Talvala
fa7a91d3d2 Camera2: Add JPEG capture test.
Bug: 6243944
Change-Id: Ifdf16f34b13df1e5bfe501eb7e6083862c71240a
2012-06-13 12:02:00 -07:00
Jean-Baptiste Queru
186f8c5268 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()
2012-06-12 15:18:23 -07:00
Jean-Baptiste Queru
8405fe5a52 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()
2012-06-12 15:16:18 -07:00
Jean-Baptiste Queru
1fbbb08ddd Merge "remove seemed useless gralloc_open() call in fb_device_open()" 2012-06-12 13:57:03 -07:00
The Android Open Source Project
7b946d7860 am 8350f364: Reconcile with jb-release
* commit '8350f364f7fad55286c2dcb0e1e985e139646355':
  Add screen state parameter
2012-06-11 09:25:45 -07:00
The Android Open Source Project
8350f364f7 Reconcile with jb-release
Change-Id: I75e5174aabe8e3fd3c1963045c2db6f7db9fc08d
2012-06-11 09:22:36 -07:00
Glenn Kasten
55553fcb88 Add screen state parameter
Change-Id: Iead23e0d91dac34d40e9e55f525916b73c31bcb5
2012-06-08 11:40:51 -07:00
Glenn Kasten
90b429d56b am 34afb68c: Add screen state parameter
* commit '34afb68c0cd1de315f0250f6a95b9dba234133ae':
  Add screen state parameter
2012-06-08 10:57:52 -07:00
Glenn Kasten
34afb68c0c Add screen state parameter
Change-Id: Iead23e0d91dac34d40e9e55f525916b73c31bcb5
2012-06-08 10:49:34 -07:00