OSDN Git Service
Chien-Yu Chen [Wed, 25 Feb 2015 22:50:13 +0000 (14:50 -0800)]
camera_common: change torch status callback API
Update the torch status callback API so that HAL must invoke
the torch status callback whenever the torch status changes
including changes by set_torch_mode().
The problem of the previous approach was camera service needed
to invoke the callback after calling set_torch_mode() and two
sources of the torch status changes (HAL and camera service)
caused a race condition.
Add STATUS_ON and remove STATUS_AVAILABLE which isn't useful
because STATUS_OFF means torch is off and available. STATUS_ON
means torch is on and available.
Bug:
2682206
Change-Id: Ide5d289c5f485404a3ba46e6cb359fa8a52da0bb
Chien-Yu Chen [Wed, 11 Feb 2015 19:31:12 +0000 (11:31 -0800)]
camera_common: add -EUSERS to set_torch_mode
To match the public API, seperate camera device in use and other
resources in use errors.
Bug:
2682206
Change-Id: Ie0451931f0c84fc65f3f6294a9f44bec10627afe
Zhijun He [Sat, 17 Jan 2015 00:44:40 +0000 (16:44 -0800)]
camera3: update reprocessing spec
Also bump the HAL version to 3.3 for reprocessing spec update
Change-Id: I37eda90970eace23c42ba9106d4db1587df8d1b4
Chien-Yu Chen [Thu, 29 Jan 2015 23:12:47 +0000 (15:12 -0800)]
camera_common: add TORCH_MODE_STATUS_OFF
Add TORCH_MODE_STATUS_OFF for the case when HAL has to turn off the
torch mode that was turned on by a previous set_torch_mode() call
in order to turn on the torch mode for the current set_torch_mode()
call.
Bug:
2682206
Change-Id: Ia2f717ffaca8c4346ec5fcdf73895160f700f067
Ruben Brunk [Fri, 16 Jan 2015 22:29:21 +0000 (14:29 -0800)]
camera HAL: Update camera_info with simultaneous access information.
- Add necessary metadata to the camera_info structure to allow
the camera service to determine which devices can be safely
opened and used simultaneously without attempting to open
camera devices.
Change-Id: I4250b4c7e1296ebf4cab07355d6d3be01f17ba1e
Zhijun He [Mon, 12 Jan 2015 22:45:33 +0000 (14:45 -0800)]
camera: update HAL module API for external camera
Update camera module API 2.4 for usb camera support.
Change-Id: Id8329e31ad0622bdc06c60e87e97c742a9719b3b
Chien-Yu Chen [Thu, 8 Jan 2015 19:06:38 +0000 (11:06 -0800)]
camera_common: add torch mode APIs for flashlight
Add torch mode APIs to support flashlight without opening any
camera devices.
Bug:
2682206
Change-Id: Ida46bb878962caf305f3e97051b15e0465fe8c02
Lajos Molnar [Wed, 4 Feb 2015 07:18:02 +0000 (07:18 +0000)]
Merge "gralloc: clarify lock_ycbcr in light of multimedia codec usage" into lmp-mr1-dev
Haynes Mathew George [Thu, 25 Sep 2014 02:10:12 +0000 (19:10 -0700)]
audio: Add audio parameter key for device connect
Add audio parameter key for device connect.
Bug:
17785277
Bug:
19214836
Change-Id: Icd81702634e0bd83645d89c2d65e2b303fc11f8c
(cherry picked from commit
55c07c3418a3bc19a72c4935d8ed57a57074c49a)
Lajos Molnar [Fri, 30 Jan 2015 19:01:47 +0000 (11:01 -0800)]
gralloc: clarify lock_ycbcr in light of multimedia codec usage
Bug:
19179927
Change-Id: I53886f8d1a3a998b958f031b04ddd4cbf19aad2c
Zhijun He [Thu, 29 Jan 2015 22:44:37 +0000 (14:44 -0800)]
camera3: update ZSL spec
INPUT stream is not used by framework-implemented ZSL (HAL3.2), the sample
use case description is incorrect.
Bug:
19197776
Change-Id: I247ad8755b2197c2a62cc109c151749b42a4bd49
Jinsuk Kim [Sun, 18 Jan 2015 22:20:09 +0000 (07:20 +0900)]
CEC: Add a new flag for set_option
Added a flag to pass system language information to HAL so that it can
respond to <Get Menu Language> in standby mode.
Bug:
19054079
Change-Id: Iada00307202f5c9429944184b62b6456b624125a
Pavan Chikkala [Fri, 9 Jan 2015 20:21:13 +0000 (12:21 -0800)]
usb audio: Fix incorrect bytes returned for recording
In a recording session , the number of bytes read is
not updated when pcm_read() fails. This results in
silence/invalid data being added during a device switch
from USB headset to handset.
Fix is to reset the number of bytes read if pcm_read()
returns an error indicating removal of USB headset.
Bug:
18611518
Change-Id: I10d578c3cf1037c90a891e63be2bd1c2b7e6126b
soon1.choi [Thu, 18 Dec 2014 07:03:43 +0000 (16:03 +0900)]
DO NOT MERGE - fix: memory leak
free momory for str_parms to prevent memory leak.
cherry-pcik from aosp
c357157e28dc0ffd069b80aeba9bf8b9eed72c9a
Bug:
18798194.
Change-Id: I7df5567d665554dbd4646c881f0f48b0c568c5fe
Jinsuk Kim [Wed, 17 Dec 2014 07:22:54 +0000 (16:22 +0900)]
CEC: Add a parameter port ID to set_audio_return_channel
This CL addresses the cases where TV has more than one ARC-supported
HDMI ports.
Bug:
18781204
Change-Id: I4eaeb755caf2552b826a7322d19ee671407ee43f
Haynes Mathew George [Wed, 3 Dec 2014 22:51:49 +0000 (14:51 -0800)]
usbaudio: reset profile on device disconnect
Reset ALSA device profile on disconnect event. Entries like
supported sample rates, channel counts, formats will be repopulated
on next connect.
CRs-Fixed: 765434
Change-Id: I27d3b7fd7ff22646996f58c53de08547b1a1fb6a
Bug:
18606219
Jean-Michel Trivi [Wed, 10 Dec 2014 04:20:15 +0000 (20:20 -0800)]
Reroute submix HAL: fix race condition on output state
When reading from a pipe, the output may have been previously
closed, therefore the output state should only be read if it
is still available.
This fixes a race condition observed between in_read() (which
accesses the output stream) and adev_close_output_stream()
(which sets the output reference to NULL).
No issue with out_write() which checks the input reference.
Bug
16009464
Change-Id: I979bc12c8fe91fad9b6f6c9e0be107c1bacae360
Andre Eisenbach [Wed, 26 Nov 2014 20:56:23 +0000 (12:56 -0800)]
Add server-side callback for change in MTU (1/4)
When a client requests to update the LE transport MTU, the server
currently does not get notified and can therefor not properly size
notifications appropriate to the current MTU.
Bug:
18388114
Change-Id: I136f32cba48da3302e13fb9a9ec81b8e01712138
Jean-Michel Trivi [Fri, 14 Nov 2014 17:05:20 +0000 (09:05 -0800)]
Support multiple pipes for rerouting
The implementation for "remote submix" supported only one pipe
to capture the output of a mix.
This CL adds support for multiple pipes to support capturing
multiple audio routes.
The structure for the r_submix audio device holds an array
of route configurations (route_config), each referencing
the input and output of the pipe dedicated to this route.
Each route is associated to a unique address. Standby
status is maintained per stream.
Bug
16009464
Change-Id: Ie164c4ad2a6d8138f825484e7faf29a974ccf82e
Dan Stoza [Fri, 7 Nov 2014 19:44:33 +0000 (19:44 +0000)]
Merge "Add a BufferItem parameter to onFrameAvailable" into lmp-mr1-dev
Yin-Chia Yeh [Fri, 7 Nov 2014 18:23:00 +0000 (18:23 +0000)]
Merge "Camera2/3 HAL test: cleanup deprecated keys" into lmp-mr1-dev
Daniel Estrada Alva [Thu, 6 Nov 2014 21:52:43 +0000 (21:52 +0000)]
Merge "Fix typo and add more detailed comments on what we expect from GPS HAL. b/
16727892" into lmp-mr1-dev
Yin-Chia Yeh [Fri, 31 Oct 2014 22:10:11 +0000 (15:10 -0700)]
Camera2/3 HAL test: cleanup deprecated keys
Bug:
16877860
Change-Id: I1eddec02cefa39692f63cc54cc40b75f449516a7
Dan Stoza [Tue, 4 Nov 2014 19:39:35 +0000 (11:39 -0800)]
Add a BufferItem parameter to onFrameAvailable
Passes the BufferItem for the queued buffer to the onFrameAvailable
callback so the consumer can track the BufferQueue's contents.
Bug:
18111837
Change-Id: If9d07229c9b586c668e5f99074e9b63b0468feb0
Ruchi Kandoi [Fri, 31 Oct 2014 23:31:09 +0000 (23:31 +0000)]
Merge "power: Adds setFeature functionality for the power module" into lmp-mr1-dev
Tsuwei Chen [Thu, 23 Oct 2014 19:49:12 +0000 (12:49 -0700)]
Fix typo and add more detailed comments on what we expect from GPS HAL.
b/
16727892
Change-Id: I73d3ea3e743846b9e579c78b80d7a393319c09f1
Ruchi Kandoi [Wed, 29 Oct 2014 17:43:38 +0000 (10:43 -0700)]
power: Adds setFeature functionality for the power module
Adds the setFeature callback which could be used to enable/disable
power as well as performance specific features.
POWER_FEATURE_DOUBLE_TAP_WAKE is added which uses the setFeature
callback to enable/disable the double-tap feature.
Bug:
16875464
Change-Id: I5ed9b5be8fddedf9861eedd962def421d9fac5bf
Wonsik Kim [Thu, 23 Oct 2014 06:55:30 +0000 (06:55 +0000)]
Merge "tv_input: more documentation to events" into lmp-mr1-dev
Wonsik Kim [Mon, 20 Oct 2014 07:15:15 +0000 (16:15 +0900)]
tv_input: more documentation to events
Bug:
18047715
Change-Id: I63fd594d3380f92fce3224a258060ca2bf37e79b
Eric Laurent [Sat, 18 Oct 2014 01:17:51 +0000 (18:17 -0700)]
audio: new parameter key for HW A/V sync ID allocation
The HW A/V sync ID is retrieved from the HAL by calling
global get_parameters() with key AUDIO_PARAMETER_HW_AV_SYNC.
After the output stream is opened, the HW A/V sync ID is communicated
by stream set_parameters() with key AUDIO_PARAMETER_STREAM_HW_AV_SYNC.
Bug:
17112525.
Change-Id: Id1e3a3aa1e88d15461a609b381ca8c1902735a29
Jean-Michel Trivi [Thu, 16 Oct 2014 05:52:39 +0000 (05:52 +0000)]
am
5ff76cb5: am
793a854e: Fix remote submix crash on null sink
* commit '
5ff76cb59a892a856fa2476bd5bf7c41537b78e1':
Fix remote submix crash on null sink
Jean-Michel Trivi [Wed, 15 Oct 2014 23:41:09 +0000 (23:41 +0000)]
am
793a854e: Fix remote submix crash on null sink
* commit '
793a854e4547fa43632907a987684cadc93eb5e2':
Fix remote submix crash on null sink
Jean-Michel Trivi [Tue, 14 Oct 2014 22:31:51 +0000 (15:31 -0700)]
Fix remote submix crash on null sink
The "remote submix" HAL uses a MonoPipe instance to "pipe" audio
from the sink of this virtual device HAL to its source.
The life-cycle of this pipe is:
- creation when either the input or output stream is open
- destruction when both input and output are closed.
Changes are:
Fix test for pipe destruction: destroy pipe when both
input and output streams are NULL.
Count how many read errors went into the logs and cap them
so as not to spam the logs when the pipe is not properly
set up. Less 'I' logs, 'D' logs instead.
When opening input stream, check for non-null sink before
checking if it's shutdown.
Bug
16653334
Bug
17111907
Change-Id: I634b4192b00f9b74a5109f42242423e9c8cb4c7c
Nick Vaccaro [Sat, 11 Oct 2014 02:49:27 +0000 (02:49 +0000)]
am
e914d696: Report multihal is SENSORS_DEVICE_API_VERSION_1_3 compliant
* commit '
e914d696a95a799bbcca221238a1874f995871ca':
Report multihal is SENSORS_DEVICE_API_VERSION_1_3 compliant
Nick Vaccaro [Fri, 10 Oct 2014 20:32:38 +0000 (13:32 -0700)]
Report multihal is SENSORS_DEVICE_API_VERSION_1_3 compliant
Ignore calls to any HALs that are not 1_0 or 1_3 compliant.
Fix an unused parameter compiler warning.
Bug:
17645248
Change-Id: Ia50f7512dfe35f37973440bba84e1b1b177a7bd3
Paul McLean [Tue, 23 Sep 2014 23:08:11 +0000 (23:08 +0000)]
Merge "Support MONO and STERO USB inputs. Allow "dynamic" flag in audio_policy.conf." into lmp-mr1-dev
Jungshik Jang [Thu, 18 Sep 2014 08:06:14 +0000 (17:06 +0900)]
Remove MHL hal definition.
Bug:
17479050
Change-Id: I7e238e09e253d46a552b775b0483215f8f1ae512
Paul McLean [Mon, 15 Sep 2014 19:32:23 +0000 (12:32 -0700)]
Support MONO and STERO USB inputs. Allow "dynamic" flag in audio_policy.conf.
Bug
17526569
Change-Id: I64b00fd338eb937303b41608728a18341ee78820
Eric Laurent [Sun, 14 Sep 2014 19:18:18 +0000 (12:18 -0700)]
usb audio: implement microphone mute.
Bug:
17321604.
Change-Id: I8e3daf2636dfd5f85d990c0093c52c908064afac
Eino-Ville Talvala [Tue, 9 Sep 2014 23:42:27 +0000 (16:42 -0700)]
Camera HALs: Promote device HAL v3.2
And deprecate older HALs.
Bug:
17445920
Change-Id: I37a5e53fda3c93080e37ec848f84c702a2c9120b
Aravind Akella [Thu, 4 Sep 2014 22:36:31 +0000 (15:36 -0700)]
sensors.h documentation change.
i) on-change sensors should set maxDelay.
ii) Drivers should hold a wake_lock till poll() is called
the next time when delivering events from wake-up sensors.
Change-Id: I4b137843d5c857f04601618548306a710fbfbe5c
Tsuwei Chen [Tue, 2 Sep 2014 17:01:22 +0000 (17:01 +0000)]
Merge "Creates interface to dynamically configure GPS. Bug:
17110478 Change-Id: I2a053d02e3c198d519d6306809f81ff601169151" into lmp-dev
Tsuwei Chen [Tue, 26 Aug 2014 23:34:19 +0000 (16:34 -0700)]
Creates interface to dynamically configure GPS.
Bug:
17110478
Change-Id: I2a053d02e3c198d519d6306809f81ff601169151
Griff Hazen [Fri, 29 Aug 2014 00:02:50 +0000 (17:02 -0700)]
Merge commit '
38014a7c' into lmp-dev
Conflicts:
include/hardware/sensors.h
Change-Id: I21517f717761af7f52c003d535e86059ebb75f05
Vinod Krishnan [Thu, 28 Aug 2014 23:08:37 +0000 (23:08 +0000)]
am
74279e3c: Adding information about the first activation
* commit '
74279e3c23bd62c70d53098be91db85df5a68ece':
Adding information about the first activation
Vinod Krishnan [Thu, 28 Aug 2014 22:25:13 +0000 (15:25 -0700)]
Adding information about the first activation
Change-Id: If5759749c5e6a88dcaf5ab600c9086b056c3908a
Paul McLean [Thu, 28 Aug 2014 20:44:42 +0000 (20:44 +0000)]
Merge "Fix problem with dropouts with multiple USB audio streams." into lmp-dev
Paul McLean [Mon, 25 Aug 2014 15:04:02 +0000 (08:04 -0700)]
Fixing non-playback on USB devices with support for MONO playback.
Bug
17136854
Change-Id: Ia0136fa8f9b4789d538b2dccb3f6071ae5062010
Paul McLean [Wed, 20 Aug 2014 23:50:25 +0000 (16:50 -0700)]
Fix problem with dropouts with multiple USB audio streams.
Bug
17136569
Change-Id: I94bdbe037533a3fd77f249fdd42f4d828d3bf87f
Aravind Akella [Fri, 22 Aug 2014 17:54:50 +0000 (17:54 +0000)]
Merge "Sensor HAL documentation fix." into lmp-dev
Aravind Akella [Thu, 21 Aug 2014 23:31:14 +0000 (16:31 -0700)]
Sensor HAL documentation fix.
Change-Id: Ibc3f643a22163f734ba0ca912f011decf55d9bfa
Glenn Kasten [Thu, 21 Aug 2014 15:35:20 +0000 (15:35 +0000)]
Merge "Quick hack fix for USB accessory audio support" into lmp-dev
Mike Lockwood [Thu, 14 Aug 2014 16:34:54 +0000 (09:34 -0700)]
Quick hack fix for USB accessory audio support
tinyalsa fails to retrieve the correct value for the period count
from the f_audio_source driver and tries to use zero instead.
This wasn't a problem before because the usb audio HAL used hard coded values
that were compatible with the driver.
Bug:
16799652
Change-Id: I6f5b907a0699c58b071e9f419ed8e053a7d9dc77
Etienne Le Grand [Tue, 19 Aug 2014 21:30:19 +0000 (14:30 -0700)]
Some parameter renaming and comment update in sensors.h
bug:
16818625
Change-Id: Ifcda8cd4e80a7377a6b5b138b9c7a5a2275af153
Paul McLean [Wed, 13 Aug 2014 22:32:34 +0000 (15:32 -0700)]
Fix problem with reloading config of new capture devices
with same card/device numbers.
Bug:
17012657
Change-Id: I7cb50aedc538d8c648e7f66c8e153cf47ce12577
Paul McLean [Tue, 12 Aug 2014 20:57:10 +0000 (13:57 -0700)]
Fix problem with reloading config of new devices with same card/device numbers.
Bug
16981885
Change-Id: I65c6c418ee0d0f42c87379b614f64302d27f8e77
Zhijun He [Mon, 11 Aug 2014 17:33:51 +0000 (17:33 +0000)]
Merge "Camera2/3 HAL test: Update tet according createStream change" into lmp-dev
Jungshik Jang [Mon, 11 Aug 2014 07:08:43 +0000 (16:08 +0900)]
Fix typo in mhl hal.
Bug:
16215362
Change-Id: Ic9d5a127007867ea72b2fa4040b917a2eef3fc39
Zhijun He [Mon, 11 Aug 2014 04:24:49 +0000 (21:24 -0700)]
Camera2/3 HAL test: Update tet according createStream change
Bug:
14327010
Change-Id: I45d2ab4859ee0cc9273e579254f0569108c748f1
Andre Eisenbach [Fri, 8 Aug 2014 02:29:28 +0000 (02:29 +0000)]
Merge "LE: Add limited advertising duration capability (1/3)" into lmp-dev
Zhijun He [Thu, 7 Aug 2014 23:25:41 +0000 (16:25 -0700)]
Camera2/3 Test: cleanup the test
1. Fix the HAL version check
2. Disable some test temporarily as the deprecated tags were used.
Bug:
16855498
Change-Id: I9f9dc285a1085b471d03c5a900cc44dd2a7480c3
Andre Eisenbach [Thu, 7 Aug 2014 22:18:34 +0000 (15:18 -0700)]
LE: Add limited advertising duration capability (1/3)
Change-Id: I14006aa96758c285a1d88aef12df11cf28598028
Jinsuk Kim [Wed, 6 Aug 2014 21:40:12 +0000 (21:40 +0000)]
Merge "CEC: Update mhl header" into lmp-dev
Eric Laurent [Wed, 6 Aug 2014 21:19:29 +0000 (21:19 +0000)]
Merge "usb audio: fix set_parameters read/write concurrency" into lmp-dev
Eric Laurent [Tue, 5 Aug 2014 03:29:17 +0000 (20:29 -0700)]
usb audio: fix set_parameters read/write concurrency
Do not read the ALSA PCM device configuration when playback
or capture is active.
Do not force ALSA profile update if card and device passed
to out/in_set_parameters() do not change.
Hold the main HAL lock when closing or opening the
ALSA PCM device.
Bug:
15520724.
Change-Id: I2b6087ed46ce7433de0b6dd8b24ec10de2e55d21
Jinsuk Kim [Wed, 6 Aug 2014 06:43:18 +0000 (15:43 +0900)]
CEC: Update mhl header
Agreement with MHL consortium mandates that the open source implementation
should mention only RAP/RCP/Scratchpad command and their related constant
definitions.
Also added a new event definition that provides with the capability info
of the connected device.
Change-Id: I0875e96672720bf2f182ee1d8b4c32437faac930
Eric Laurent [Fri, 1 Aug 2014 21:42:44 +0000 (14:42 -0700)]
audio HAL: add parameter to get audio HW sync source
Bug:
16132368.
Change-Id: Id76ce254b73ea11316cc684399de8d9c520c9b9b
Eric Laurent [Tue, 5 Aug 2014 19:53:48 +0000 (19:53 +0000)]
Merge "sound_trigger HAL update" into lmp-dev
destradaa [Tue, 5 Aug 2014 17:01:10 +0000 (17:01 +0000)]
Merge "Add HAL capabilities for GPS Measurements and Navigation Messages." into lmp-dev
destradaa [Thu, 31 Jul 2014 23:34:09 +0000 (16:34 -0700)]
Add HAL capabilities for GPS Measurements and Navigation Messages.
Change-Id: I2ed41f2c048cfe82a539b3a4e955305787731a95
Andre Eisenbach [Tue, 5 Aug 2014 00:22:29 +0000 (17:22 -0700)]
Add transport parameter to createBond() function (1/4)
Change-Id: I8373ace899444c138907aaecc0f067188b0a7d90
Eric Laurent [Wed, 30 Jul 2014 15:58:39 +0000 (08:58 -0700)]
sound_trigger HAL update
Bug:
12378680.
Change-Id: I556cd316cbff3b8d88331319ca0ad65a09aae0f9
Aravind Akella [Thu, 31 Jul 2014 16:46:03 +0000 (16:46 +0000)]
Merge "Remove WAKE_UP_* sensor constants and stringTypes." into lmp-dev
Prerepa Viswanadham [Wed, 30 Jul 2014 22:10:39 +0000 (15:10 -0700)]
Incorrect data type. bt_local_le_features_t of wrong size
b/
16653133
Change-Id: Icd7a3de6161669f4c54c6042bf80314e72f5f0ff
Aravind Akella [Tue, 29 Jul 2014 01:01:37 +0000 (18:01 -0700)]
Remove WAKE_UP_* sensor constants and stringTypes.
Change-Id: Iabe4bb064d88d9fcecc1a31e609cb8b77ebdd5ad
Eric Laurent [Fri, 25 Jul 2014 17:10:11 +0000 (12:10 -0500)]
Add parameter key and values for hearing aid compatibility mode
Change-Id: Ibdbe102bd49dbf228af5d4327b1868849c9d754e
Andy Hung [Tue, 29 Jul 2014 23:50:46 +0000 (23:50 +0000)]
Merge "Pass multichannel capability to AudioPolicyManager" into lmp-dev
Andy Hung [Mon, 28 Jul 2014 23:19:47 +0000 (16:19 -0700)]
Pass multichannel capability to AudioPolicyManager
Change-Id: Ifcfe5e9e0c01ccb0e9af25e0c718ea5f04181ae4
Andy Hung [Tue, 22 Jul 2014 04:16:45 +0000 (21:16 -0700)]
Add multichannel USB handshaking with AudioFlinger
The number of channels can be "forced" using k_force_channels.
If the channel count proposed by AudioFlinger is not permitted
by the device, it is emulated.
Change-Id: Ib20e680c8f95adb84616a4fe52977f659cf4d6ca
Andy Hung [Tue, 29 Jul 2014 16:09:13 +0000 (16:09 +0000)]
Merge "Add multichannel USB handshaking with AudioFlinger" into lmp-dev
Jeff Brown [Sat, 26 Jul 2014 21:58:23 +0000 (14:58 -0700)]
Delete mcu HAL.
This HAL was intended to support doze mode but it is currently
unused and it's best for it to stay that way.
Bug:
16516536
Change-Id: I4f442e27d68f18ff322afd4c1debd2f392687e80
Eric Laurent [Mon, 28 Jul 2014 20:56:34 +0000 (20:56 +0000)]
Merge "audio HAL: add parameters to open stream" into lmp-dev
Eric Laurent [Sun, 27 Jul 2014 23:14:57 +0000 (16:14 -0700)]
audio HAL: add parameters to open stream
Pass device address (and audio source for inputs) to
open_output_stream() and open_input_stream() audio HAL functions.
Bug:
14815883.
Change-Id: I5535677db3f3027917a31a7ed5c0a4c6bc013639
Jinsuk Kim [Mon, 28 Jul 2014 07:51:32 +0000 (07:51 +0000)]
Revert "Update comment for send message."
This reverts commit
0e956a7cd2dee76b762320c141960ffdb64d24eb.
The decision was to revert to the old behavior where retransmission
will be handled by HAL for efficiency.
Change-Id: If165b60c0408ea1015b83806f6bf21e18b15bc7f
Paul McLean [Fri, 25 Jul 2014 20:44:06 +0000 (20:44 +0000)]
Merge "Refactor USB HAL (audio_hw.c)" into lmp-dev
Paul McLean [Wed, 16 Jul 2014 16:48:34 +0000 (09:48 -0700)]
Refactor USB HAL (audio_hw.c)
Refactoring alsa device attributes to alsa_device_profile.h/.c
Refactoring alsa device state to alsa_device_proxy.h/.c
Refactoring format functions into format.h/.c
Refactoring logging functions into logging.h/.c
Sundry (and extensive) code cleanup
Reworked locking on out_write() and in_read() to allow
simultaneous input/output
Bug:
15986827,
15856702,
12833166
Change-Id: I82c8d0ef252b2f95ee23f263dc175f4c883bfd64
Martijn Coenen [Fri, 25 Jul 2014 18:58:23 +0000 (18:58 +0000)]
Merge "Add HAL module ID for BCM2079x." into lmp-dev
Martijn Coenen [Fri, 25 Jul 2014 01:00:42 +0000 (18:00 -0700)]
Add HAL module ID for BCM2079x.
Bug:
16542494
Change-Id: Ia03f981d134e0f4f2de909f8ab158b28931a1dc0
Eino-Ville Talvala [Fri, 25 Jul 2014 18:32:15 +0000 (18:32 +0000)]
Merge "Camera: Define error codes for remaining camera_module methods." into lmp-dev
Eino-Ville Talvala [Thu, 24 Jul 2014 23:44:56 +0000 (16:44 -0700)]
Camera: Define error codes for remaining camera_module methods.
Not previously documented, though already assumed to be this.
Bug:
16514157
Change-Id: I9334fdf672c9772014681a5c346a6f20b51d8213
Greg Hackmann [Thu, 24 Jul 2014 20:27:07 +0000 (13:27 -0700)]
update struct-offset.cpp test for hwc 1.4
Change-Id: I882a1741ad473492d4acc58918a54d944ac382c3
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Greg Hackmann [Thu, 24 Jul 2014 19:05:40 +0000 (19:05 +0000)]
Merge "gralloc: add GRALLOC_USAGE_CURSOR flag" into lmp-dev
Riley Andrews [Mon, 30 Jun 2014 22:55:55 +0000 (15:55 -0700)]
Add interface for doing asynchonous cursor layer updates to hwcomposer
Change-Id: If2ab523b400cfb586c8e1fed98f2ebe3538c0419
Greg Hackmann [Wed, 9 Jul 2014 20:58:44 +0000 (13:58 -0700)]
gralloc: add GRALLOC_USAGE_CURSOR flag
On many devices, hardware cursors have stricter layout constraints than
other overlays. GRALLOC_USAGE_CURSOR indicates a buffer may be used as
a cursor; byte order and padding should be chosen accordingly.
GRALLOC_USAGE_CURSOR must not cause allocation failure. If the requested
properties (dimensions, format, other usage flags, etc.) aren't compatible with
the device's cursor hardware, the implementation must allocate the buffer
anyway, acting as if GRALLOC_USAGE_CURSOR were not specified.
Change-Id: I7d66e8d7c953421d996c5def3257d408f91962f4
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Satya Calloji [Thu, 3 Jul 2014 17:59:16 +0000 (10:59 -0700)]
LE energy info feature
Header changes for energy info feature
Change-Id: Ic341ad9089b444960c36beff726fa9ddb5c901a2
destradaa [Wed, 23 Jul 2014 23:24:14 +0000 (23:24 +0000)]
Merge "Fix typo in sensor type using an already defined constant." into lmp-dev
destradaa [Tue, 22 Jul 2014 01:13:42 +0000 (18:13 -0700)]
Add uncertainty for GPS received tow field.
b/
16463499
Change-Id: Ib8ddd092f3da8295345524846e3ea0bcce59ccc2
destradaa [Mon, 21 Jul 2014 22:12:21 +0000 (15:12 -0700)]
Fix typo in sensor type using an already defined constant.
Change-Id: I209d9191456dc6c1ef2eb695c9a8348a18504a8d
destradaa [Mon, 21 Jul 2014 18:17:42 +0000 (18:17 +0000)]
Merge "Update GPS measurement HAL definition." into lmp-dev
Wonsik Kim [Sat, 19 Jul 2014 07:01:57 +0000 (16:01 +0900)]
Reorder hardware types & remove verbose comments
Reorder hardware types so that older types comes first roughly. This
would make it more natural to add newer hardware types as they come.
In addition, remove verbose comments where the meaning is obvious from
the name.
Change-Id: I275e9e608c8c2392e3f7ec2c5d81743059f2d36b