Paul McLean
f62d75ebc6
Added enumeration of legitimate sample rates for input and output.
...
Added device_profile to enable refactoring of query methods.
Refactored query methods (in_get_parameters/out_getParameters)
in terms of device_get_parameters.
Freeing ALSA parameter structures (pcm_params_free)
Eliminated unnecessay input & output card/device (to support
other changes).
Change-Id: I771cf4681a628f87ca6d6ee3f85f76ae4d7f1504
2014-07-14 15:18:56 -07:00
Jinsuk Kim
299664d8e8
Merge "Use the term port_id for HDMI port index across definitions"
2014-07-10 21:52:20 +00:00
destradaa
9f7c3734df
Update GPS HAL to accept raw data.
...
Change-Id: Id487c2f9eb4bc95d89dc0fba1332f666ae332ee0
2014-07-09 10:55:30 -07:00
Jinsuk Kim
ca6fa79703
Use the term port_id for HDMI port index across definitions
...
Renamed various terms like, port, port_num to port_id, and
added a description that the id starts from 1.
Change-Id: I9229edff7fd75dd15e672e309369e237ca339238
2014-07-09 17:17:24 +09:00
Zhijun He
aba57fb4e5
Merge "camera3: fix some spec issue related with input/bidrectional stream"
2014-07-08 21:53:37 +00:00
Zhijun He
52a188993a
camera3: fix some spec issue related with input/bidrectional stream
...
Bug: 13934977
Change-Id: Ibccb80e69ac9da153de6378f1e3b0f00527ce4c9
2014-07-08 13:59:41 -07:00
Eric Laurent
30f3e6d348
sound trigger: update HAL
...
New start_recognition() prototype with recognition
configuration structure specifying:
- List of keyphrases to listen to.
- Recognition mode for each keyphrase
- List of users and min confidence levels for each users
New recognition event format with confidence level and user ID
for each user.
Bug: 12378680.
Change-Id: I95e998c735321ceb5c27f477d894b574a6eca860
2014-07-07 10:15:45 -07:00
Eric Laurent
c51e49259a
Merge "audio: different frame size calculation for input and output"
2014-07-06 02:28:07 +00:00
David Turner
5933cb296d
am 611a3b71
: am 3e618a6a
: Merge "gralloc: let target configure page flipping ioctl"
...
* commit '611a3b71431293a123a11af99ff731ab30067632':
gralloc: let target configure page flipping ioctl
2014-07-04 13:34:54 +00:00
David Turner
611a3b7143
am 3e618a6a
: Merge "gralloc: let target configure page flipping ioctl"
...
* commit '3e618a6aa10c783d1536f20edfc3347939cfa18e':
gralloc: let target configure page flipping ioctl
2014-07-04 13:30:22 +00:00
David Turner
3e618a6aa1
Merge "gralloc: let target configure page flipping ioctl"
2014-07-04 08:02:36 +00:00
Eric Laurent
c5ae6a0304
audio: different frame size calculation for input and output
...
Bug: 15000850.
Change-Id: I7813e99a0b7ce613cc3b7d7c95be0525cb2d6c81
2014-07-03 16:51:09 -07:00
Brian Carlstrom
e1d83cda96
am 18cf130c
: Fix my-dir issue
...
* commit '18cf130c439982d1eafa7ef5f598ef7f4b945821':
Fix my-dir issue
2014-07-02 23:13:30 +00:00
Jinsuk Kim
c9455d96b9
Merge "Remove tx_status event in CEC HAL"
2014-07-02 20:35:42 +00:00
Jinsuk Kim
ada8314004
Remove tx_status event in CEC HAL
...
Removes tx_status event type which turns out not in actual use.
This changes makes send_message() work in sychrnonous fashion
when called by HdmiControlService. HdmiControlService has io thread
dedicated to interact with HAL, hence no need to introduce
another async flow for HAL.
Change-Id: I8ae21b1149cd36bfd0f9da215c4f23b30f0c8d30
2014-07-03 09:37:10 +09:00
Paul McLean
99e35eba21
Merge "Multi-format USB audio input"
2014-07-02 18:22:50 +00:00
Paul McLean
6b1c0fef80
Multi-format USB audio input
...
Change-Id: I716a9f79dcfea35eacd0aeeda530e3e3c7eb4d32
2014-07-07 09:37:42 -07:00
Brian Carlstrom
18cf130c43
Fix my-dir issue
...
(cherry picked from commit 52f493189b02c44c6dc329c86da3176ac9c22ad3)
Change-Id: I3dcca1fc0fb9d58f0d2f3867f8ab89f87a983cc1
2014-07-02 09:38:41 -07:00
Eric Laurent
3afdf5e7db
Merge "audio: fixed channel count determination from channel mask"
2014-07-02 05:06:31 +00:00
Eric Laurent
dd45fd3aed
audio: fixed channel count determination from channel mask
...
Do not use popcount() to derive channel count from channel mask.
Bug: 15000850.
Change-Id: I4d803dc3e1cb680baa0022e539e6f9eab3ffef1a
2014-07-01 20:32:28 -07:00
Hemant Gupta
053cccfe14
Bluetooth: Support MAP Client role on Bluedroid.
...
Implementation of MAP Client (MCE) role on
Bluedroid stack. Include MAP Client Interface ID.
Change-Id: Icdf11b7f09a161e35aa3aa68b9b5fa315e18fd65
2014-07-01 10:36:44 -07:00
Matthew Xie
549e6be33d
Merge "Add WBS support on Bluedroid (4/6)"
2014-06-30 22:27:39 +00:00
Brian Carlstrom
8e3009721e
Fix my-dir issue
...
Change-Id: I9c93a273328ac0c6e96f27870b890a16d18479a5
2014-06-30 15:15:45 -07:00
Wei Wang
2aaa55dddc
Merge "LE Onfound and Onlost feature"
2014-06-27 16:52:20 +00:00
Satya Calloji
3154babbb6
LE Onfound and Onlost feature
...
Header changes for on found/onlost feature
Change-Id: I72d49a1b6560c2c913a3b7016b7504eef9962258
2014-06-30 10:43:31 -07:00
Satya Calloji
a28f92a7f5
LE ADV Filter changes
...
Header changes for ADV filter feature
Change-Id: Ib568f422c4171ed8a3bb42d9e75af5250edf98b6
2014-06-30 10:43:31 -07:00
Satya Calloji
20a1a05996
LE Batch scan feature
...
Header changes for LE Batch scan feature
Change-Id: I32a51331d7a3a8eedf8577a66a8bdf90732f32db
2014-06-30 10:43:31 -07:00
Eric Laurent
c6c588eeca
Merge "usb audio: fix capture channel conversion"
2014-06-30 14:43:31 +00:00
Hemant Gupta
4d8645547d
[1/2] Bluetooth: Security: Handle authentication rejected error status
...
Handle authentication rejected error status in failure scenario.
Change-Id: Ibd59d161ee5481ced2cb078a6ee6f4a6b045bcd4
2014-06-29 11:53:55 -07:00
Eric Laurent
fbc02dc16e
usb audio: fix capture channel conversion
...
Change-Id: Ibdff053bd6ecc4bf2bc8bb51384098911f52f6ef
2014-06-27 18:39:21 -07:00
Wei Wang
9e3839477d
Merge "LE ADV Filter changes"
2014-06-27 16:52:20 +00:00
Wei Wang
137ea140ed
Merge "LE Batch scan feature"
2014-06-30 17:43:33 +00:00
Paul McLean
e32cbc1fdd
Multi-format USB Audio suport
...
Change-Id: I2815e1dc38d39a3d88fb0affd52b1b9f50a73b92
2014-06-30 10:48:06 -07:00
Andre Eisenbach
9ef3c72ef3
LE: Add notification sent and congestion callbacks (1/4)
...
This change introduces two new callbacks for applications to better
handle LE notification flow control and transport congestion. The
notification callback is invoked when the remote platform confirms an
indication or when a local notification has been passed to the
controller. No new notifications should be sent until a callback is
received.
Congestion callbacks are triggered when a GATT operation cannot be sent
to the local Bluetooth controller. Repeatedly calling
writeCharacteristic() for example will eventually trigger a congestion
callback. Applications cannot send additional data until a further
callback is received, indicating that the congestion has cleared up.
Change-Id: I613cbf968770921f853a407888bb8308849039f3
2014-06-25 14:00:30 -07:00
Mudumba Ananth
3c4db4c560
Add WBS support on Bluedroid (4/6)
...
Bug 13764086
Change-Id: I7938758d39aaa1218c38956be41d8402f84c2f49
2014-06-23 23:27:34 -07:00
Andre Eisenbach
fb5fd093db
Merge "LE: Add is_connected() function (1/3)"
2014-06-20 20:43:34 +00:00
Paul McLean
33a6b171ba
Implement minimal buffer size for playback
...
This will enable low-latency playback in mixer/audioflinger.
Change-Id: I415aa1b92e3c6f945a48be7b626527f0b02a82d7
2014-06-20 10:55:11 -07:00
Andre Eisenbach
0d553bc12f
LE: Add is_connected() function (1/3)
...
Change-Id: I1b94ab0c8b0ff2e1026a4f5bbe95dca25be3d104
2014-06-19 11:32:12 -07:00
Jim Miller
8c655490d0
Merge "Minor cleanup of HAL fingerprint API"
2014-06-17 03:47:19 +00:00
Eric Laurent
685fadac73
Merge "usb audio: fix usb capture configuration"
2014-06-17 05:00:50 +00:00
Jim Miller
953524b2bd
Minor cleanup of HAL fingerprint API
...
Change-Id: I7a4b1caadfe499d2394c8645e45903759b672e8b
2014-06-16 21:06:13 -07:00
Nick Vaccaro
aa13433c89
am c384b186
: Don\'t pass up bad sensor event packets to Sensor Services
...
* commit 'c384b1863768d424116c1bcc7f26f5764c35c330':
Don't pass up bad sensor event packets to Sensor Services
2014-06-11 19:53:01 +00:00
Eric Laurent
7661a48402
usb audio: fix usb capture configuration
...
Capture configuration was using cached_output_hardware_config
instead of cached_input_hardware_config.
Also enable mono capture by rejecting first attempt to open
an input stream in mono with -EINVAL error: AudioFlinger will reopen in
stereo and do the channel conversion.
Change-Id: Ibdf53be4aa88d47091745bc71daa1dec002535f8
2014-06-11 12:00:16 -07:00
Nick Vaccaro
c384b18637
Don't pass up bad sensor event packets to Sensor Services
...
If an event packet is read containing an unknown sensor handle,
don't pass it on to Sensor Services. Drop it on the floor instead
as it's causing Sensor Services to crash.
Moved read of queue size in sensors_poll_context_t::poll() to post
queue mutex grab for safety.
Bug: 15285345
Change-Id: I2ebc0f8591a1ae60f09bf9599b8321c5a3dfae69
2014-06-11 10:42:07 -07:00
Wonsik Kim
ace6d32dd7
Merge "tv_input: Add HDMI port ID"
2014-06-10 22:29:12 +00:00
Greg Hackmann
16c19a2c4a
update struct-offset.cpp test for camera API 2.3
...
Change-Id: I2f63f9f5e567099ea9d0005317f7a745c5a63ca6
Signed-off-by: Greg Hackmann <ghackmann@google.com>
2014-06-13 13:52:48 -07:00
Wonsik Kim
45849fb74e
tv_input: Add HDMI port ID
...
Bug: 15570939
Change-Id: Id15ef9dbc79cd9c4f55be1eb114d66e08dfe923d
2014-06-13 11:47:08 +09:00
Ganesh Ganapathi Batta
460343a1b5
Add support for retrieving local LE features via get_adapter_properties
...
Change-Id: I337614aa96ec08f631667dc4a18b4e5c993a79b1
2014-06-12 01:34:38 +00:00
Nick Vaccaro
8264af903a
am aa13433c
: am c384b186
: Don\'t pass up bad sensor event packets to Sensor Services
...
* commit 'aa13433c89d720d4b707e2e14110688d8b733e35':
Don't pass up bad sensor event packets to Sensor Services
2014-06-11 21:48:40 +00:00
Sasha Levitskiy
da105cd382
Merge "HAL: Fingerprint: Incremental scan notification."
2014-06-10 22:12:51 +00:00