OSDN Git Service
Paul McLean [Wed, 25 Jun 2014 17:42:07 +0000 (10:42 -0700)]
Multi-format USB Audio suport
Change-Id: I2815e1dc38d39a3d88fb0affd52b1b9f50a73b92
Eric Laurent [Mon, 30 Jun 2014 14:45:24 +0000 (14:45 +0000)]
Merge "usb audio: fix capture channel conversion"
Hemant Gupta [Wed, 31 Jul 2013 13:44:02 +0000 (19:14 +0530)]
[1/2] Bluetooth: Security: Handle authentication rejected error status
Handle authentication rejected error status in failure scenario.
Change-Id: Ibd59d161ee5481ced2cb078a6ee6f4a6b045bcd4
Eric Laurent [Sat, 28 Jun 2014 01:39:21 +0000 (18:39 -0700)]
usb audio: fix capture channel conversion
Change-Id: Ibdff053bd6ecc4bf2bc8bb51384098911f52f6ef
Andre Eisenbach [Fri, 28 Mar 2014 21:53:33 +0000 (14:53 -0700)]
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
Andre Eisenbach [Fri, 20 Jun 2014 22:18:04 +0000 (22:18 +0000)]
Merge "LE: Add is_connected() function (1/3)"
Paul McLean [Thu, 19 Jun 2014 19:35:28 +0000 (12:35 -0700)]
Implement minimal buffer size for playback
This will enable low-latency playback in mixer/audioflinger.
Change-Id: I415aa1b92e3c6f945a48be7b626527f0b02a82d7
Andre Eisenbach [Wed, 18 Jun 2014 19:18:34 +0000 (12:18 -0700)]
LE: Add is_connected() function (1/3)
Change-Id: I1b94ab0c8b0ff2e1026a4f5bbe95dca25be3d104
Jim Miller [Tue, 17 Jun 2014 20:20:48 +0000 (20:20 +0000)]
Merge "Minor cleanup of HAL fingerprint API"
Eric Laurent [Tue, 17 Jun 2014 18:26:43 +0000 (18:26 +0000)]
Merge "usb audio: fix usb capture configuration"
Jim Miller [Tue, 17 Jun 2014 00:59:40 +0000 (17:59 -0700)]
Minor cleanup of HAL fingerprint API
Change-Id: I7a4b1caadfe499d2394c8645e45903759b672e8b
Eric Laurent [Wed, 11 Jun 2014 19:00:16 +0000 (12:00 -0700)]
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
Wonsik Kim [Mon, 16 Jun 2014 01:52:47 +0000 (01:52 +0000)]
Merge "tv_input: Add HDMI port ID"
Greg Hackmann [Fri, 13 Jun 2014 20:52:48 +0000 (13:52 -0700)]
update struct-offset.cpp test for camera API 2.3
Change-Id: I2f63f9f5e567099ea9d0005317f7a745c5a63ca6
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Wonsik Kim [Thu, 12 Jun 2014 05:52:39 +0000 (14:52 +0900)]
tv_input: Add HDMI port ID
Bug:
15570939
Change-Id: Id15ef9dbc79cd9c4f55be1eb114d66e08dfe923d
Ganesh Ganapathi Batta [Tue, 27 May 2014 23:03:11 +0000 (16:03 -0700)]
Add support for retrieving local LE features via get_adapter_properties
Change-Id: I337614aa96ec08f631667dc4a18b4e5c993a79b1
Nick Vaccaro [Wed, 11 Jun 2014 21:48:40 +0000 (21:48 +0000)]
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
Nick Vaccaro [Wed, 11 Jun 2014 19:53:01 +0000 (19:53 +0000)]
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
Nick Vaccaro [Wed, 11 Jun 2014 01:33:07 +0000 (18:33 -0700)]
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
Sasha Levitskiy [Wed, 11 Jun 2014 19:59:03 +0000 (19:59 +0000)]
Merge "HAL: Fingerprint: Incremental scan notification."
Sasha Levitskiy [Mon, 9 Jun 2014 20:19:52 +0000 (13:19 -0700)]
HAL: Fingerprint: Incremental scan notification.
Change-Id: If943fe6b46a8261ca936e07a36e11c10c7e6d63a
Signed-off-by: Sasha Levitskiy <sanek@google.com>
Stewart Miles [Wed, 11 Jun 2014 11:24:56 +0000 (11:24 +0000)]
am
10f1a806: Fixed submix buffering when input and output stream formats differ.
* commit '
10f1a806e6537835de7f71dbc05db1889436732e':
Fixed submix buffering when input and output stream formats differ.
Zhijun He [Fri, 13 Jun 2014 18:45:57 +0000 (18:45 +0000)]
Merge "hardware: camera_common: add module open legacy device API"
Zhijun He [Fri, 6 Jun 2014 22:42:17 +0000 (15:42 -0700)]
hardware: camera_common: add module open legacy device API
This adds the module API to open a camera device as lower HAL version legacy
device.
Change-Id: I6616aebc5ec0cef28f675e5dddb334dc6b5dfea9
Mike Lockwood [Sat, 7 Jun 2014 21:05:22 +0000 (14:05 -0700)]
Use separate HAL interfaces for A2DP source and sink roles.
Both use the same structs for APIs and callbacks, but now
source and sink mode can operate independently with separate
Bluetooth profile services in the framework.
An extra callback btav_audio_config_callback is used for reporting
audio configuration for A2DP sink role
Change-Id: I6e8172b66ff95e61721d1c35790609b7ae2be030
Mike Lockwood [Mon, 2 Jun 2014 23:20:51 +0000 (16:20 -0700)]
Move AVRCP controller support to a different HAL interface
This allows us to add a new BluetoothProfile subclass for
the AVRCP controller role independent of the existing AVRCP target support.
Change-Id: I504bbf58a88808d1a884266992ae0c635c62aca1
Hemant Gupta [Fri, 7 Feb 2014 11:03:16 +0000 (16:33 +0530)]
Add Support for AVRCP Controller Feature
- Provide support for AVRCP Controller CAT 1 and CAT 2
passthrough commands.
Change-Id: If437a3bbd1e97d22e5ceddf0d052dbaad1093257
Mike Lockwood [Fri, 13 Jun 2014 16:07:27 +0000 (16:07 +0000)]
Merge "Bluetooth: Add support for HFP Client role."
Hemant Gupta [Mon, 19 Aug 2013 12:32:54 +0000 (18:02 +0530)]
Bluetooth: Add support for HFP Client role.
Implementation changes in HAL for HFP Client role.
Include HFP Client Interface ID.
Change-Id: I1117c6a0c53e7e7059e46711f7a26639d2bbaee3
Aravind Akella [Fri, 13 Jun 2014 00:32:30 +0000 (00:32 +0000)]
Merge "Add sensor flags for reportingMode."
Aravind Akella [Wed, 4 Jun 2014 02:21:35 +0000 (19:21 -0700)]
Add sensor flags for reportingMode.
Change-Id: Ife456dd13264bafa7cd50d72b8818526030d7a3e
Sharvil Nanavati [Fri, 30 May 2014 23:43:38 +0000 (16:43 -0700)]
Add callouts for bluedroid to acquire wake locks and set wake alarms.
Since bluedroid is running outside of system_server, it does not have
the necessary Linux capabilities or filesystem permissions to access
/sys/power/wake_* and /dev/alarm (or any other wake alarm). This change
provides a mechanism by which bluedroid can call back up into Java code
and use the standard Android APIs to get wake locks / wake alarms.
Change-Id: I714fd394224d38da5ff0f82de5559599d522010b
Conflicts:
include/hardware/bluetooth.h
Sharvil Nanavati [Fri, 30 May 2014 23:43:38 +0000 (16:43 -0700)]
Add callouts for bluedroid to acquire wake locks and set wake alarms.
Since bluedroid is running outside of system_server, it does not have
the necessary Linux capabilities or filesystem permissions to access
/sys/power/wake_* and /dev/alarm (or any other wake alarm). This change
provides a mechanism by which bluedroid can call back up into Java code
and use the standard Android APIs to get wake locks / wake alarms.
Change-Id: I714fd394224d38da5ff0f82de5559599d522010b
Conflicts:
include/hardware/bluetooth.h
Prashant Malani [Thu, 12 Jun 2014 17:19:40 +0000 (17:19 +0000)]
Merge "hwcomposer: Add function pointer for setPowerMode() callback"
Prashant Malani [Mon, 26 May 2014 03:41:20 +0000 (20:41 -0700)]
hwcomposer: Add function pointer for setPowerMode() callback
The blank HWC call is being replaced by a setPowerMode() call.
This incorporates all of the blank functionality, but provides added
support for display low power modes, if they are available in hardware.
Currently there are three supported modes:
- HWC_POWER_MODE_OFF : Turn screen off.
- HWC_POWER_MODE_DOZE : Put screen in low power mode.
- HWC_POWER_MODE_NORMAL : Turn screen on, and exit low power mode (if
display was previously in low power mode).
Where applicable, the device driver is expected to retain and restore
the low power mode state of the display during entry and exit from
suspend, respectively.
Bug:
13472578
Change-Id: I743ea3a2cb58247d14d7c47158b09a5309cca710
Signed-off-by: Prashant Malani <pmalani@google.com>
Stewart Miles [Tue, 10 Jun 2014 03:54:37 +0000 (20:54 -0700)]
Fixed submix buffering when input and output stream formats differ.
When channel conversion is enabled and the pipe is opened with less channels
(e.g 1) than the output stream's channels (e.g 2) the input stream's buffer
size was calculated incorrectly which resulted in the input stream buffer size
being larger than the output stream buffer size in terms of time. This
changes the pipe size to take into the account maximum frame size so the
output stream buffer size will be greater or equal to the input stream buffer
size.
In addition, if the pipe is created when the input stream is opened and the
output stream is opened at a different sample rate (e.g input = 8KHz,
output = 48Khz) the pipe will incorrectly rate limit writes to the pipe
resulting in gaps of silence in the data read from the pipe by the input
stream.
Bug:
15291446
Change-Id: I01480edff7ef3a199f509866c1e95ecd4c437a92
destradaa [Thu, 5 Jun 2014 18:07:09 +0000 (11:07 -0700)]
IPv6 support for GPS HAL.
Change-Id: Ieb5aead647c10ed42e50bef9c4d7cd558fe7160b
Dan Stoza [Fri, 6 Jun 2014 17:23:17 +0000 (17:23 +0000)]
Merge "hwcomposer: Correct padding for 32/64-bit"
Eric Laurent [Thu, 5 Jun 2014 15:46:43 +0000 (15:46 +0000)]
Merge "sound trigger test/stub HAL - WIP"
Eric Laurent [Thu, 5 Jun 2014 01:09:46 +0000 (01:09 +0000)]
Merge "added sound trigger HAL."
Dan Stoza [Wed, 4 Jun 2014 22:21:22 +0000 (15:21 -0700)]
hwcomposer: Correct padding for 32/64-bit
The size of hwc_layer_1_t varies depending on whether we're building
for a 32- or 64-bit target. This change splits the padding into two
sections so that we can add more fields without changing the overall
size on either bitness.
Change-Id: Ib7c960a9feb0061586dc6398211d7d3dc012d573
Eric Laurent [Sat, 19 Apr 2014 00:54:10 +0000 (17:54 -0700)]
sound trigger test/stub HAL - WIP
Change-Id: Ie8120df144662b12bba41e2346bac3ce816f9838
Eric Laurent [Tue, 15 Apr 2014 17:54:24 +0000 (10:54 -0700)]
added sound trigger HAL.
Defined HAL for hardware voice and sound activity
activity detection (sound trigger).
Change-Id: I04f3c770c69a81245e8a15dd9e097e2c3f5ef069
Aravind Akella [Tue, 3 Jun 2014 17:21:37 +0000 (17:21 +0000)]
Merge "Replace integer constants with strings in Activity Recognition HAL."
Aravind Akella [Wed, 28 May 2014 00:19:52 +0000 (17:19 -0700)]
Replace integer constants with strings in Activity Recognition HAL.
Change-Id: I67d543869f5870f9e771c36c0fe1d58e7495ca57
Jinsuk Kim [Sat, 31 May 2014 21:21:09 +0000 (21:21 +0000)]
Merge "Header file for MHL HAL interface definition"
Jinsuk Kim [Fri, 23 May 2014 07:05:19 +0000 (16:05 +0900)]
Header file for MHL HAL interface definition
Added MHL(Mobile High-definition Link) HAL definition to provide
interface between the hardware driver and the HdmiControlService
which also talks to HDMI-CEC HAL. They are both based on HDMI signal
specification.
MHL version 2.0 and above is supported.
Change-Id: Idcdfa1a61abfbf63bf838f6efe8b037fb32764ee
Zhijun He [Fri, 30 May 2014 17:58:59 +0000 (17:58 +0000)]
Merge "Camera2: Build both 32 and 64 bit test binaries"
Zhijun He [Fri, 30 May 2014 17:02:59 +0000 (10:02 -0700)]
Camera2: Build both 32 and 64 bit test binaries
Change-Id: I6efd201a52bb546efa59ff0a5178a25a040654b4
Etienne Le Grand [Fri, 30 May 2014 02:42:58 +0000 (02:42 +0000)]
Merge "Rewording of tilt sensor"
Etienne Le Grand [Fri, 30 May 2014 02:35:48 +0000 (19:35 -0700)]
Rewording of tilt sensor
Change-Id: I7bb0e63c3e1e6850359d7e690bfeea9e8c8fbcbf
Wonsik Kim [Thu, 29 May 2014 09:43:35 +0000 (09:43 +0000)]
am
ced2c37d: (-s ours) DO NOT MERGE: Add audio info to tv_input
* commit '
ced2c37d0579d9182c6b44fd50419209613c8c0a':
DO NOT MERGE: Add audio info to tv_input
Wonsik Kim [Fri, 23 May 2014 08:22:04 +0000 (17:22 +0900)]
DO NOT MERGE: Add audio info to tv_input
Bug:
15177175
Change-Id: I5d3d710753065f108a5346237fbb9a1880f7c08d
(cherry picked from commit
8b5714fe2f3fbbab5bfc91db1a5c5018e6d4deab)
Wonsik Kim [Thu, 29 May 2014 02:26:05 +0000 (02:26 +0000)]
Merge "Add audio info to tv_input"
Zhijun He [Thu, 29 May 2014 00:42:27 +0000 (00:42 +0000)]
am
5f3b7da7: Merge "camera3: Update FULL/LIMITED operational modes" into lmp-preview-dev
* commit '
5f3b7da796c638591c27dfdf04f2c1cd85791d5b':
camera3: Update FULL/LIMITED operational modes
Eric Laurent [Thu, 29 May 2014 00:42:18 +0000 (00:42 +0000)]
am
060a115f: (-s ours) DO NOT MERGE - audio: audio HAL extension for routing and volume control
* commit '
060a115f44bb458a73e6540bcd890b5ab44bd7bc':
DO NOT MERGE - audio: audio HAL extension for routing and volume control
Eric Laurent [Thu, 29 May 2014 00:42:10 +0000 (00:42 +0000)]
am
a906a33d: (-s ours) DO NOT MERGE - audio HAL: add minimum supported version
* commit '
a906a33d3045019cbc1502c3e53686b06d6302d9':
DO NOT MERGE - audio HAL: add minimum supported version
Zhijun He [Wed, 28 May 2014 22:46:28 +0000 (22:46 +0000)]
Merge "camera3: Update FULL/LIMITED operational modes" into lmp-preview-dev
Etienne Le Grand [Wed, 28 May 2014 22:46:27 +0000 (22:46 +0000)]
Merge "Update starting gravity of tilt definition"
Etienne Le Grand [Wed, 28 May 2014 22:42:48 +0000 (15:42 -0700)]
Update starting gravity of tilt definition
Change-Id: I9be79fe264b8a751757a2b6840b7ff928679028d
Zhijun He [Tue, 27 May 2014 00:35:50 +0000 (17:35 -0700)]
camera3: Update FULL/LIMITED operational modes
Change-Id: I2a76361868a2ab3cc1dafb08905d5f5d53052a6d
Eric Laurent [Thu, 22 May 2014 21:02:38 +0000 (14:02 -0700)]
DO NOT MERGE - audio: audio HAL extension for routing and volume control
Added audio HAL functions to control audio routing and audio gain.
Audio HALs above version 3.0 must implement these functions.
These functions will be used by the framework instead of
out_set_parameters("routing"=XXX) for device selection on an output
or input stream.
They will also allow direct connection of input devices to output devices
as well as gain control on devices or streams.
The gain or routing capabilities are exposed in audio_polciy.conf file.
Change-Id: Ic293fd41d492e38e86bdc35e3ad93aa5deb0b48f
Eric Laurent [Thu, 22 May 2014 20:45:55 +0000 (13:45 -0700)]
DO NOT MERGE - audio HAL: add minimum supported version
Add a definition for the minimum audio HAL version supported
by the audio framework.
Change-Id: Id7df440cc9fcc23b27b61c81bacb569599a20c13
Mike Lockwood [Wed, 28 May 2014 18:09:54 +0000 (11:09 -0700)]
audio: add AUDIO_PARAMETER_A2DP_SOURCE_ADDRESS parameter name
Change-Id: I6eedc25ed16be82a7a875d13774f31a47f0f9443
Etienne Le Grand [Tue, 27 May 2014 18:14:50 +0000 (18:14 +0000)]
am
ec9236ef: am
ef2c616c: Merge "Update definition of the heart rate monitor to include confidence" into klp-modular-dev
* commit '
ec9236ef18e13b40a1b28aa05b4d5f483cc6ab74':
Update definition of the heart rate monitor to include confidence
Etienne Le Grand [Tue, 27 May 2014 18:10:16 +0000 (18:10 +0000)]
am
ef2c616c: Merge "Update definition of the heart rate monitor to include confidence" into klp-modular-dev
* commit '
ef2c616c4e45eaa1e621aa69bffb7438b1c64755':
Update definition of the heart rate monitor to include confidence
Etienne Le Grand [Tue, 27 May 2014 18:03:06 +0000 (18:03 +0000)]
Merge "Update definition of the heart rate monitor to include confidence" into klp-modular-dev
Matthew Xie [Sat, 24 May 2014 00:07:19 +0000 (17:07 -0700)]
Revert "bt: add interface function to provide wakelock access"
This reverts commit
19f3696f852d6787076b70a7d31f5684ad2aa93f.
Dmitry Grinberg [Fri, 23 May 2014 21:38:38 +0000 (21:38 +0000)]
am
b752c08d: am
19f3696f: bt: add interface function to provide wakelock access
* commit '
b752c08d1366155783894accf75fd65548b101ff':
bt: add interface function to provide wakelock access
Dmitry Grinberg [Fri, 23 May 2014 21:35:42 +0000 (21:35 +0000)]
am
19f3696f: bt: add interface function to provide wakelock access
* commit '
19f3696f852d6787076b70a7d31f5684ad2aa93f':
bt: add interface function to provide wakelock access
Etienne Le Grand [Fri, 16 May 2014 18:08:28 +0000 (11:08 -0700)]
Update definition of the heart rate monitor to include confidence
Change-Id: I88a8cddf647f77588a283c16d37f3f99ecda3115
Wonsik Kim [Fri, 23 May 2014 08:22:04 +0000 (17:22 +0900)]
Add audio info to tv_input
Bug:
15177175
Change-Id: I5d3d710753065f108a5346237fbb9a1880f7c08d
Zhijun He [Fri, 23 May 2014 04:00:26 +0000 (04:00 +0000)]
am
f1ee67e1: camera3: Update the HAL spec for raw cropping behavior
* commit '
f1ee67e1ea6d55e4621bbd418c15fdc1aac32a84':
camera3: Update the HAL spec for raw cropping behavior
Dmitry Grinberg [Wed, 21 May 2014 22:59:27 +0000 (15:59 -0700)]
bt: add interface function to provide wakelock access
Change-Id: I7ea173aee49ae7fdfe81a24a9b3666efc1c29ed4
Eric Laurent [Thu, 22 May 2014 21:02:38 +0000 (14:02 -0700)]
audio: audio HAL extension for routing and volume control
Added audio HAL functions to control audio routing and audio gain.
Audio HALs above version 3.0 must implement these functions.
These functions will be used by the framework instead of
out_set_parameters("routing"=XXX) for device selection on an output
or input stream.
They will also allow direct connection of input devices to output devices
as well as gain control on devices or streams.
The gain or routing capabilities are exposed in audio_polciy.conf file.
Change-Id: Ic293fd41d492e38e86bdc35e3ad93aa5deb0b48f
Zhijun He [Wed, 21 May 2014 18:18:51 +0000 (11:18 -0700)]
camera3: Update the HAL spec for raw cropping behavior
Bug:
15168075
Change-Id: I035fc833cb122a7caa4cf47a1d5be574d4727345
Eric Laurent [Thu, 22 May 2014 20:45:55 +0000 (13:45 -0700)]
audio HAL: add minimum supported version
Add a definition for the minimum audio HAL version supported
by the audio framework.
Change-Id: Id7df440cc9fcc23b27b61c81bacb569599a20c13
Elliott Hughes [Thu, 22 May 2014 18:12:12 +0000 (11:12 -0700)]
Switch libhardware to POSIX dprintf.
Bug:
15022164
Change-Id: Ie4c93318c2e7a947a57e16b220a6abceec59e6aa
Stewart Miles [Tue, 20 May 2014 19:55:00 +0000 (19:55 +0000)]
Merge "Added basic resampling of submix data on read from the input stream."
Wei Wang [Tue, 20 May 2014 06:30:05 +0000 (06:30 +0000)]
Revert "Revert "LE Multi ADV feature""
This reverts commit
cbeca51023839d0ef4315cfced4b2d68618f5f0e.
Change-Id: I3f2130217ffd616099a017db2f26d3d112f2c1ea
Jinsuk Kim [Tue, 20 May 2014 04:57:28 +0000 (04:57 +0000)]
Merge "Update HDMI-CEC HAL interface for TV"
Wei Wang [Tue, 20 May 2014 04:52:22 +0000 (04:52 +0000)]
Revert "LE Multi ADV feature"
This reverts commit
2d17c28b4f820d6edd11aecdbd172cd65e934c2f.
Change-Id: I3abe730817a5b1714b0403f387a3ed416ded63f3
Satya Calloji [Thu, 1 May 2014 03:09:22 +0000 (20:09 -0700)]
LE Multi ADV feature
Header changes for LE Multi ADV feature
Change-Id: I24a18a2f30ab1618875d3ac9ca1e9f5e5064f62d
Stewart Miles [Thu, 1 May 2014 16:03:27 +0000 (09:03 -0700)]
Added basic resampling of submix data on read from the input stream.
As described in If592270a17e08c5852b00b730bb9c5166c746ad2 the audio mixer
doesn't work correctly when sending data to an output device that supports
a sample rate that is more than 2x different to the source data rate.
This modifies the remote submix module to resample data from the pipe
when it's read from the input stream.
Bug:
11273000
Change-Id: I9c4b3710bcebf3a2df045965dfdafdd9855b0b25
Stewart Miles [Tue, 20 May 2014 01:09:54 +0000 (01:09 +0000)]
Merge "Add optional logging of input and output streams to the submix HAL."
Jinsuk Kim [Wed, 14 May 2014 02:01:00 +0000 (11:01 +0900)]
Update HDMI-CEC HAL interface for TV
Added a few more API:
- is_connected
- get_port_info
- set_option
- set_audio_return_channel
Also added another event type (tx_status) that reports the status
of transmission. The status is reported in asynchronous fashion
since the send operation can take longer due to bus conflict.
Change-Id: I75decb8451a23f8a8eda0895d58f22c45227c0b3
Sasha Levitskiy [Mon, 19 May 2014 19:47:51 +0000 (19:47 +0000)]
Merge "Libhardware: HAL: Fingerprint: Add template collection progress hint; remove match confidence."
Aravind Akella [Mon, 19 May 2014 19:04:49 +0000 (19:04 +0000)]
Merge "Activity Recognition HAL."
Aravind Akella [Wed, 7 May 2014 19:01:43 +0000 (12:01 -0700)]
Activity Recognition HAL.
Add separate methods for enabling/disabling activities and rename activity constants.
Change-Id: I5986f6cf6ceb12a88f3d881ac5ccb6b9b50a2e58
Stewart Miles [Thu, 1 May 2014 16:03:27 +0000 (09:03 -0700)]
Add optional logging of input and output streams to the submix HAL.
In order to aid debugging of issues with streaming data in the submix HAL
this change introduces a compile time option to log the input and output
streams to files for offline inspection.
Bug:
11273000
Change-Id: Ib2d929d7ba66f63b719e6996df9016f73c9080aa
Stewart Miles [Thu, 1 May 2014 16:03:27 +0000 (09:03 -0700)]
Implemented mono->stereo, stereo->mono channel conversion in submix HAL.
The AudioFlinger service currently will only open stereo streams from
mono AudioTracks since all mixing is performed in stereo and then sent
to the HAL stream. In order to allow a process to record a mono stream
from the submix HAL, this change implements channel conversion in
the submix HAL so that it's possible to open the output stream in stereo
and the input stream in mono.
Bug:
11273000
Change-Id: I840ce0be3cf7e5bc8a4c6de63a70d5408d60b716
Sasha Levitskiy [Wed, 7 May 2014 16:07:11 +0000 (09:07 -0700)]
Libhardware: HAL: Fingerprint: Add template collection progress hint; remove match confidence.
Change-Id: I62ce57054b7e0cfda8aa260176e504113677d993
Signed-off-by: Sasha Levitskiy <sanek@google.com>
Stewart Miles [Thu, 1 May 2014 16:03:27 +0000 (09:03 -0700)]
Modified submix HAL to drop data to the output stream if the pipe could block.
Since it's possible to open an output stream on the submix HAL before the input
stream is open, writes to the output stream that fill the shared pipe result in
indefinitely blocking the thread writing to the stream. This change modifies
the behavior of writes to a submix output stream such that if a write would
result in blocking the thread and an input isn't open, the pipe is flushed
of the appropriate amount of data such that the write will not block.
Bug:
11273000
Change-Id: Ic81c50e4b44b777273191a1bc8cdf52181c3d2a0
Stewart Miles [Fri, 16 May 2014 22:34:03 +0000 (22:34 +0000)]
Merge "Modify submix HAL to allow either input or output streams create the pipe."
Stewart Miles [Thu, 1 May 2014 16:03:27 +0000 (09:03 -0700)]
Modify submix HAL to allow either input or output streams create the pipe.
This change is primarily being made as a short term solution to allow an input
audio stream received over the network to be fed into an audio input stream (e.g
the MIC stream) when a physical audio input device isn't present.
This makes both the input and output streams owners of the pipe so that
creation order no longer matters. In addition, it works around a memory leak
caused by applications that never close input streams.
Bug:
11273000
Change-Id: I5a3fb0b6f2148c113b2f3050b72ff2a8979a3e6d
Jungshik Jang [Fri, 16 May 2014 07:31:27 +0000 (16:31 +0900)]
Add ARC commands
ARC, Audio Return Channel is newly introduced in HDMI CEC 1.4.
Here is a list of new command
<Initiate ARC>
<Report ARC Initiated>
<Report ARC Terminated>
<Request ARC Initiation>
<Request ARC Termination>
<Terminate ARC>
Along with it replaced <Get OSD Name> with <Give OSD Name>
which is renamed in CEC 1.4.
Change-Id: I6a03b30cf90a8f6dca54831355be05682a6df96c
Nick Vaccaro [Thu, 15 May 2014 21:48:57 +0000 (21:48 +0000)]
am
f8cbc9e6: am
ad70dc48: add /system/vendor/lib as valid search path for sensor HALs
* commit '
f8cbc9e65cd67da20167a88daaa9e99bf32de8b9':
add /system/vendor/lib as valid search path for sensor HALs
Nick Vaccaro [Thu, 15 May 2014 21:45:47 +0000 (21:45 +0000)]
am
ad70dc48: add /system/vendor/lib as valid search path for sensor HALs
* commit '
ad70dc482f044b1ef03ef1aa74b6e2c5a446d32b':
add /system/vendor/lib as valid search path for sensor HALs
Nick Vaccaro [Thu, 15 May 2014 21:14:43 +0000 (14:14 -0700)]
add /system/vendor/lib as valid search path for sensor HALs
MultiHal will now accept sensor HALs listed in the hals.conf file that
reside in either /system/lib/hw or /system/vendor/lib.
Bug:
14994424
Change-Id: I13f17352b97c36b97cfbcee8c9b6a0d2e1ed6dc3
Prerepa Viswanadham [Fri, 9 May 2014 23:09:52 +0000 (16:09 -0700)]
LE: Add API to set scan interval and window (1/4)
Delete client_if from scan api's
Change-Id: If24cb134ae7204de69c8c89664ce34f9d59da76a