Commit graph

1815 commits

Author SHA1 Message Date
Wonsik Kim
357ce00a5b Merge "tv_input: more documentation to events" into lmp-mr1-dev 2014-10-23 06:55:32 +00:00
Wonsik Kim
fbb4412b1c tv_input: more documentation to events
Bug: 18047715
Change-Id: I63fd594d3380f92fce3224a258060ca2bf37e79b
2014-10-23 14:11:19 +09:00
Eric Laurent
bc19a3de77 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
2014-10-20 09:58:04 -07:00
Jean-Michel Trivi
4b6c515509 am 5ff76cb5: am 793a854e: Fix remote submix crash on null sink
* commit '5ff76cb59a892a856fa2476bd5bf7c41537b78e1':
  Fix remote submix crash on null sink
2014-10-16 05:52:39 +00:00
Jean-Michel Trivi
5ff76cb59a am 793a854e: Fix remote submix crash on null sink
* commit '793a854e4547fa43632907a987684cadc93eb5e2':
  Fix remote submix crash on null sink
2014-10-15 23:41:09 +00:00
Jean-Michel Trivi
793a854e45 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
2014-10-15 15:16:10 -07:00
Nick Vaccaro
6b82558129 am e914d696: Report multihal is SENSORS_DEVICE_API_VERSION_1_3 compliant
* commit 'e914d696a95a799bbcca221238a1874f995871ca':
  Report multihal is SENSORS_DEVICE_API_VERSION_1_3 compliant
2014-10-11 02:49:27 +00:00
Nick Vaccaro
e914d696a9 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
2014-10-10 16:02:26 -07:00
Paul McLean
69edc52bcb Merge "Support MONO and STERO USB inputs. Allow "dynamic" flag in audio_policy.conf." into lmp-mr1-dev 2014-09-23 23:08:11 +00:00
Jungshik Jang
1707637ed4 Remove MHL hal definition.
Bug: 17479050
Change-Id: I7e238e09e253d46a552b775b0483215f8f1ae512
2014-09-18 17:06:14 +09:00
Paul McLean
2cfd81bae0 Support MONO and STERO USB inputs. Allow "dynamic" flag in audio_policy.conf.
Bug 17526569

Change-Id: I64b00fd338eb937303b41608728a18341ee78820
2014-09-17 08:38:57 -07:00
Eric Laurent
253def9fa0 usb audio: implement microphone mute.
Bug: 17321604.
Change-Id: I8e3daf2636dfd5f85d990c0093c52c908064afac
2014-09-14 12:32:28 -07:00
Eino-Ville Talvala
b545983975 Camera HALs: Promote device HAL v3.2
And deprecate older HALs.

Bug: 17445920
Change-Id: I37a5e53fda3c93080e37ec848f84c702a2c9120b
2014-09-10 11:13:16 -07:00
Aravind Akella
110d2f2713 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
2014-09-05 14:50:07 -07:00
Tsuwei Chen
02516c78f3 Merge "Creates interface to dynamically configure GPS. Bug: 17110478 Change-Id: I2a053d02e3c198d519d6306809f81ff601169151" into lmp-dev 2014-09-02 17:01:23 +00:00
Tsuwei Chen
167d31f528 Creates interface to dynamically configure GPS.
Bug: 17110478
Change-Id: I2a053d02e3c198d519d6306809f81ff601169151
2014-08-30 00:16:14 +00:00
Griff Hazen
f0f67e6af9 Merge commit '38014a7c' into lmp-dev
Conflicts:
	include/hardware/sensors.h

Change-Id: I21517f717761af7f52c003d535e86059ebb75f05
2014-08-28 17:02:50 -07:00
Vinod Krishnan
38014a7c81 am 74279e3c: Adding information about the first activation
* commit '74279e3c23bd62c70d53098be91db85df5a68ece':
  Adding information about the first activation
2014-08-28 23:08:37 +00:00
Vinod Krishnan
74279e3c23 Adding information about the first activation
Change-Id: If5759749c5e6a88dcaf5ab600c9086b056c3908a
2014-08-28 15:25:13 -07:00
Paul McLean
0f519a9e5e Merge "Fix problem with dropouts with multiple USB audio streams." into lmp-dev 2014-08-28 20:44:42 +00:00
Paul McLean
c48cdc8ec0 Fixing non-playback on USB devices with support for MONO playback.
Bug 17136854

Change-Id: Ia0136fa8f9b4789d538b2dccb3f6071ae5062010
2014-08-28 09:16:39 -07:00
Paul McLean
2c6196f20c Fix problem with dropouts with multiple USB audio streams.
Bug 17136569

Change-Id: I94bdbe037533a3fd77f249fdd42f4d828d3bf87f
2014-08-28 07:59:03 -07:00
Aravind Akella
6edd4d605f Merge "Sensor HAL documentation fix." into lmp-dev 2014-08-22 17:54:51 +00:00
Aravind Akella
a7f2cda848 Sensor HAL documentation fix.
Change-Id: Ibc3f643a22163f734ba0ca912f011decf55d9bfa
2014-08-21 16:31:14 -07:00
Glenn Kasten
8f40bc5599 Merge "Quick hack fix for USB accessory audio support" into lmp-dev 2014-08-21 15:35:20 +00:00
Mike Lockwood
7de76b2d4d 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
2014-08-21 14:51:29 +00:00
Etienne Le Grand
772d85ad35 Some parameter renaming and comment update in sensors.h
bug: 16818625
Change-Id: Ifcda8cd4e80a7377a6b5b138b9c7a5a2275af153
2014-08-19 17:29:10 -07:00
Paul McLean
93d4e0db0e Fix problem with reloading config of new capture devices
with same card/device numbers.

Bug: 17012657
Change-Id: I7cb50aedc538d8c648e7f66c8e153cf47ce12577
2014-08-13 23:08:41 +00:00
Paul McLean
af5187efbd Fix problem with reloading config of new devices with same card/device numbers.
Bug 16981885

Change-Id: I65c6c418ee0d0f42c87379b614f64302d27f8e77
2014-08-12 13:57:10 -07:00
Zhijun He
9605e80e18 Merge "Camera2/3 HAL test: Update tet according createStream change" into lmp-dev 2014-08-11 17:09:03 +00:00
Jungshik Jang
8af5daea50 Fix typo in mhl hal.
Bug: 16215362
Change-Id: Ic9d5a127007867ea72b2fa4040b917a2eef3fc39
2014-08-11 16:18:57 +09:00
Zhijun He
1c3e65731a Camera2/3 HAL test: Update tet according createStream change
Bug: 14327010
Change-Id: I45d2ab4859ee0cc9273e579254f0569108c748f1
2014-08-10 21:24:49 -07:00
Andre Eisenbach
005b123e41 Merge "LE: Add limited advertising duration capability (1/3)" into lmp-dev 2014-08-06 23:49:20 +00:00
Zhijun He
b5ac45ff29 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
2014-08-07 16:26:52 -07:00
Andre Eisenbach
4789ed595a LE: Add limited advertising duration capability (1/3)
Change-Id: I14006aa96758c285a1d88aef12df11cf28598028
2014-08-07 15:18:34 -07:00
Jinsuk Kim
bf882b4cd7 Merge "CEC: Update mhl header" into lmp-dev 2014-08-05 00:07:36 +00:00
Eric Laurent
44b2719dcf Merge "usb audio: fix set_parameters read/write concurrency" into lmp-dev 2014-08-06 17:19:40 +00:00
Eric Laurent
05333d458d 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
2014-08-06 14:18:26 -07:00
Jinsuk Kim
caeb4f61d2 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
2014-08-06 16:10:43 +09:00
Eric Laurent
4ea9b95684 audio HAL: add parameter to get audio HW sync source
Bug: 16132368.
Change-Id: Id76ce254b73ea11316cc684399de8d9c520c9b9b
2014-08-05 15:02:46 -07:00
Eric Laurent
ba3c1a972e Merge "sound_trigger HAL update" into lmp-dev 2014-08-05 00:34:22 +00:00
destradaa
6ca86fbe16 Merge "Add HAL capabilities for GPS Measurements and Navigation Messages." into lmp-dev 2014-08-04 23:37:12 +00:00
destradaa
69d5ea5dac Add HAL capabilities for GPS Measurements and Navigation Messages.
Change-Id: I2ed41f2c048cfe82a539b3a4e955305787731a95
2014-08-04 18:07:46 -07:00
Andre Eisenbach
01206e579c Add transport parameter to createBond() function (1/4)
Change-Id: I8373ace899444c138907aaecc0f067188b0a7d90
2014-08-04 17:22:29 -07:00
Eric Laurent
83cd830918 sound_trigger HAL update
Bug: 12378680.

Change-Id: I556cd316cbff3b8d88331319ca0ad65a09aae0f9
2014-07-31 11:16:16 -07:00
Aravind Akella
fa9a4a3c68 Merge "Remove WAKE_UP_* sensor constants and stringTypes." into lmp-dev 2014-07-29 21:36:00 +00:00
Prerepa Viswanadham
378de1a9e0 Incorrect data type. bt_local_le_features_t of wrong size
b/16653133

Change-Id: Icd7a3de6161669f4c54c6042bf80314e72f5f0ff
2014-07-30 23:41:29 +00:00
Aravind Akella
9057e128b0 Remove WAKE_UP_* sensor constants and stringTypes.
Change-Id: Iabe4bb064d88d9fcecc1a31e609cb8b77ebdd5ad
2014-07-30 16:27:36 -07:00
Eric Laurent
d1a1b1c4df Add parameter key and values for hearing aid compatibility mode
Change-Id: Ibdbe102bd49dbf228af5d4327b1868849c9d754e
2014-07-30 09:49:04 -07:00
Andy Hung
2352f41f9d Merge "Pass multichannel capability to AudioPolicyManager" into lmp-dev 2014-07-29 21:36:00 +00:00