OSDN Git Service

android-x86/hardware-libhardware.git
9 years agoTechnical debt paydown
Paul McLean [Mon, 15 Dec 2014 16:24:50 +0000 (08:24 -0800)]
Technical debt paydown

Removed unused function.
Removed unused data table.
Cleaned up TAG strings.

Change-Id: I4c5dbd72f7363dd0a7a60eb2498e122adda43211

9 years agoam 5c8b899d: am 2cbdfa9c: usbaudio: reset profile on device disconnect
Haynes Mathew George [Fri, 12 Dec 2014 20:21:30 +0000 (20:21 +0000)]
am 5c8b899d: am 2cbdfa9c: usbaudio: reset profile on device disconnect

* commit '5c8b899d7c80f012599b984143cb31334ee61372':
  usbaudio: reset profile on device disconnect

9 years agoam 2cbdfa9c: usbaudio: reset profile on device disconnect
Haynes Mathew George [Fri, 12 Dec 2014 14:39:15 +0000 (14:39 +0000)]
am 2cbdfa9c: usbaudio: reset profile on device disconnect

* commit '2cbdfa9c991fc63f52f48831e5509fcc2889db77':
  usbaudio: reset profile on device disconnect

9 years agousbaudio: reset profile on device disconnect
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

9 years agoam de148628: am 257fde6e: Reroute submix HAL: fix race condition on output state
Jean-Michel Trivi [Wed, 10 Dec 2014 22:42:18 +0000 (22:42 +0000)]
am de148628: am 257fde6e: Reroute submix HAL: fix race condition on output state

* commit 'de148628b9850492fad26c801d0eb663d14400cb':
  Reroute submix HAL: fix race condition on output state

9 years agoam 257fde6e: Reroute submix HAL: fix race condition on output state
Jean-Michel Trivi [Wed, 10 Dec 2014 22:36:20 +0000 (22:36 +0000)]
am 257fde6e: Reroute submix HAL: fix race condition on output state

* commit '257fde6eb533b890776c8c45be8b61c48ab04945':
  Reroute submix HAL: fix race condition on output state

9 years agoReroute submix HAL: fix race condition on output state
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

9 years agoam c5f5daff: am 719b8423: Merge "Remove ARCH_X86."
Elliott Hughes [Fri, 5 Dec 2014 18:25:18 +0000 (18:25 +0000)]
am c5f5daff: am 719b8423: Merge "Remove ARCH_X86."

* commit 'c5f5daffb520017f2d6d99d245866b448723c876':
  Remove ARCH_X86.

9 years agoam 719b8423: Merge "Remove ARCH_X86."
Elliott Hughes [Fri, 5 Dec 2014 18:01:52 +0000 (18:01 +0000)]
am 719b8423: Merge "Remove ARCH_X86."

* commit '719b8423102e469b5a537321f02011415b376dbe':
  Remove ARCH_X86.

9 years agoMerge "Remove ARCH_X86."
Elliott Hughes [Fri, 5 Dec 2014 17:47:28 +0000 (17:47 +0000)]
Merge "Remove ARCH_X86."

9 years agoRemove ARCH_X86.
Elliott Hughes [Fri, 5 Dec 2014 00:20:52 +0000 (16:20 -0800)]
Remove ARCH_X86.

Should have been __GLIBC__, but the code is dead anyway.

Change-Id: I773f296a9c31949fa631cad863b841584c71f0ef

9 years agoam c18a034e: am 47c0fcd0: Merge "initialization of defined variables"
Kenny Root [Fri, 5 Dec 2014 00:16:02 +0000 (00:16 +0000)]
am c18a034e: am 47c0fcd0: Merge "initialization of defined variables"

* commit 'c18a034e1654f3c6dfbb73212630465c33f0a07e':
  initialization of defined variables

9 years agoam 47c0fcd0: Merge "initialization of defined variables"
Kenny Root [Thu, 4 Dec 2014 23:37:34 +0000 (23:37 +0000)]
am 47c0fcd0: Merge "initialization of defined variables"

* commit '47c0fcd0841764a50d05e1fa4831f3002258ae22':
  initialization of defined variables

9 years agoMerge "initialization of defined variables"
Kenny Root [Thu, 4 Dec 2014 23:25:46 +0000 (23:25 +0000)]
Merge "initialization of defined variables"

9 years agoam 34a93da9: am 285fed09: Add server-side callback for change in MTU (1/4)
Andre Eisenbach [Tue, 2 Dec 2014 08:20:35 +0000 (08:20 +0000)]
am 34a93da9: am 285fed09: Add server-side callback for change in MTU (1/4)

* commit '34a93da9bab2e9a1a56a2b9d7ce664c172e2e041':
  Add server-side callback for change in MTU (1/4)

9 years agoam 285fed09: Add server-side callback for change in MTU (1/4)
Andre Eisenbach [Tue, 2 Dec 2014 08:14:05 +0000 (08:14 +0000)]
am 285fed09: Add server-side callback for change in MTU (1/4)

* commit '285fed09639f66923529289d71cc633ad738c96c':
  Add server-side callback for change in MTU (1/4)

9 years agoam df44fe72: am 32fb8b2d: Merge "Fix C++11 build."
Dan Albert [Fri, 28 Nov 2014 06:09:05 +0000 (06:09 +0000)]
am df44fe72: am 32fb8b2d: Merge "Fix C++11 build."

* commit 'df44fe72a6a9d163bb23a0808cf74241006600b0':
  Fix C++11 build.

9 years agoam 32fb8b2d: Merge "Fix C++11 build."
Dan Albert [Fri, 28 Nov 2014 06:05:03 +0000 (06:05 +0000)]
am 32fb8b2d: Merge "Fix C++11 build."

* commit '32fb8b2d9f8399a745a26dddc031cc16867ada2d':
  Fix C++11 build.

9 years agoMerge "Fix C++11 build."
Dan Albert [Fri, 28 Nov 2014 05:54:35 +0000 (05:54 +0000)]
Merge "Fix C++11 build."

9 years agoFix C++11 build.
Dan Albert [Fri, 28 Nov 2014 05:39:46 +0000 (21:39 -0800)]
Fix C++11 build.

Not sure how this slipped past my checkbuild...

Change-Id: Id238887a2a47ced387a6128a772fad3e468096be

9 years agoAdd server-side callback for change in MTU (1/4)
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

9 years agoam 9d018618: am 58afe329: Merge "Use an older C++ standard."
Dan Albert [Thu, 20 Nov 2014 23:05:06 +0000 (23:05 +0000)]
am 9d018618: am 58afe329: Merge "Use an older C++ standard."

* commit '9d018618c4a467ed19ce96c04d6fe13fd125fcba':
  Use an older C++ standard.

9 years agoam 58afe329: Merge "Use an older C++ standard."
Dan Albert [Thu, 20 Nov 2014 23:00:38 +0000 (23:00 +0000)]
am 58afe329: Merge "Use an older C++ standard."

* commit '58afe329533dc60618186f414d945829706ed772':
  Use an older C++ standard.

9 years agoMerge "Use an older C++ standard."
Dan Albert [Thu, 20 Nov 2014 21:14:29 +0000 (21:14 +0000)]
Merge "Use an older C++ standard."

9 years agoUse an older C++ standard.
Dan Albert [Thu, 20 Nov 2014 19:23:35 +0000 (11:23 -0800)]
Use an older C++ standard.

Bug: 18466763
Change-Id: Ibea0eb2617f13bacca0a662fe4ca88fc8a168cd7

9 years agoam 59134344: am b73bc860: Support multiple pipes for rerouting
Jean-Michel Trivi [Wed, 19 Nov 2014 19:36:28 +0000 (19:36 +0000)]
am 59134344: am b73bc860: Support multiple pipes for rerouting

* commit '591343449a2bfd7ec33bfcbc27e55e1c1c71c5a7':
  Support multiple pipes for rerouting

9 years agoam b73bc860: Support multiple pipes for rerouting
Jean-Michel Trivi [Wed, 19 Nov 2014 19:32:18 +0000 (19:32 +0000)]
am b73bc860: Support multiple pipes for rerouting

* commit 'b73bc86089b8a65da88776bafcf48529431150b8':
  Support multiple pipes for rerouting

9 years agoSupport multiple pipes for rerouting
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

9 years agoam be9083bd: am 40d48e17: Merge "Stop using stlport."
Dan Albert [Mon, 17 Nov 2014 23:07:38 +0000 (23:07 +0000)]
am be9083bd: am 40d48e17: Merge "Stop using stlport."

* commit 'be9083bd65a9dc2f91bb1e512e15ead120f508c3':
  Stop using stlport.

9 years agoam 40d48e17: Merge "Stop using stlport."
Dan Albert [Mon, 17 Nov 2014 22:58:58 +0000 (22:58 +0000)]
am 40d48e17: Merge "Stop using stlport."

* commit '40d48e177f243c6093a45301db122a0475cc1124':
  Stop using stlport.

9 years agoMerge "Stop using stlport."
Dan Albert [Mon, 17 Nov 2014 22:27:34 +0000 (22:27 +0000)]
Merge "Stop using stlport."

9 years agoStop using stlport.
Dan Albert [Mon, 17 Nov 2014 22:21:50 +0000 (14:21 -0800)]
Stop using stlport.

Bug: 15193147
Change-Id: I5d53338f239ba18a2b007b345ba050d1560220b4

9 years agoam 1497e7e7: am e0e834e3: Merge "Add a BufferItem parameter to onFrameAvailable"...
Dan Stoza [Fri, 7 Nov 2014 20:09:39 +0000 (20:09 +0000)]
am 1497e7e7: am e0e834e3: Merge "Add a BufferItem parameter to onFrameAvailable" into lmp-mr1-dev

* commit '1497e7e76784c01043cf328177de076c70db6e86':
  Add a BufferItem parameter to onFrameAvailable

9 years agoam e0e834e3: Merge "Add a BufferItem parameter to onFrameAvailable" into lmp-mr1-dev
Dan Stoza [Fri, 7 Nov 2014 20:03:42 +0000 (20:03 +0000)]
am e0e834e3: Merge "Add a BufferItem parameter to onFrameAvailable" into lmp-mr1-dev

* commit 'e0e834e3fe5561bf87aac7f88faaed39f0937a64':
  Add a BufferItem parameter to onFrameAvailable

9 years agoMerge "Add a BufferItem parameter to onFrameAvailable" into lmp-mr1-dev
Dan Stoza [Fri, 7 Nov 2014 19:44:33 +0000 (19:44 +0000)]
Merge "Add a BufferItem parameter to onFrameAvailable" into lmp-mr1-dev

9 years agoam 3d31e157: am 8d3acf6e: Merge "Camera2/3 HAL test: cleanup deprecated keys" into...
Yin-Chia Yeh [Fri, 7 Nov 2014 18:41:42 +0000 (18:41 +0000)]
am 3d31e157: am 8d3acf6e: Merge "Camera2/3 HAL test: cleanup deprecated keys" into lmp-mr1-dev

* commit '3d31e157d0df55287aa53adabbaf6884fd12e911':
  Camera2/3 HAL test: cleanup deprecated keys

9 years agoam 8d3acf6e: Merge "Camera2/3 HAL test: cleanup deprecated keys" into lmp-mr1-dev
Yin-Chia Yeh [Fri, 7 Nov 2014 18:35:40 +0000 (18:35 +0000)]
am 8d3acf6e: Merge "Camera2/3 HAL test: cleanup deprecated keys" into lmp-mr1-dev

* commit '8d3acf6e6e58c392fcdc4913e49c6b1ded8117c8':
  Camera2/3 HAL test: cleanup deprecated keys

9 years agoMerge "Camera2/3 HAL test: cleanup deprecated keys" 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

9 years agoam 1bb4d46c: am 700d2c2c: Merge "Fix typo and add more detailed comments on what...
Daniel Estrada Alva [Fri, 7 Nov 2014 03:52:15 +0000 (03:52 +0000)]
am 1bb4d46c: am 700d2c2c: Merge "Fix typo and add more detailed comments on what we expect from GPS HAL. b/16727892" into lmp-mr1-dev

* commit '1bb4d46ccf8d36389acaf58321da4a35fc610afe':
  Fix typo and add more detailed comments on what we expect from GPS HAL. b/16727892

9 years agoam 700d2c2c: Merge "Fix typo and add more detailed comments on what we expect from...
Daniel Estrada Alva [Fri, 7 Nov 2014 00:09:08 +0000 (00:09 +0000)]
am 700d2c2c: Merge "Fix typo and add more detailed comments on what we expect from GPS HAL. b/16727892" into lmp-mr1-dev

* commit '700d2c2cf512b1b2c167aa8a1841ea3ba5778279':
  Fix typo and add more detailed comments on what we expect from GPS HAL. b/16727892

9 years agoMerge "Fix typo and add more detailed comments on what we expect from GPS HAL. b...
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

9 years agoCamera2/3 HAL test: cleanup deprecated keys
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

9 years agoAdd a BufferItem parameter to onFrameAvailable
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

9 years agoam 0da47779: am 0e6a158e: Merge "power: Adds setFeature functionality for the power...
Ruchi Kandoi [Sat, 1 Nov 2014 00:41:13 +0000 (00:41 +0000)]
am 0da47779: am 0e6a158e: Merge "power: Adds setFeature functionality for the power module" into lmp-mr1-dev

* commit '0da47779b033266672fc511604df0bc02530ddb7':
  power: Adds setFeature functionality for the power module

9 years agoam 0e6a158e: Merge "power: Adds setFeature functionality for the power module" into...
Ruchi Kandoi [Sat, 1 Nov 2014 00:33:28 +0000 (00:33 +0000)]
am 0e6a158e: Merge "power: Adds setFeature functionality for the power module" into lmp-mr1-dev

* commit '0e6a158eaf1cb3309ea8737b268fb726324fa7fe':
  power: Adds setFeature functionality for the power module

9 years agoMerge "power: Adds setFeature functionality for the power module" into lmp-mr1-dev
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

9 years agoFix typo and add more detailed comments on what we expect from GPS HAL.
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

9 years agopower: Adds setFeature functionality for the power module
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

9 years agoam a7e50f68: am 5b592d7c: am 793a854e: Fix remote submix crash on null sink
Jean-Michel Trivi [Mon, 27 Oct 2014 04:34:09 +0000 (04:34 +0000)]
am a7e50f68: am 5b592d7c: am 793a854e: Fix remote submix crash on null sink

* commit 'a7e50f68e9437b51ca843b8d5b6ebf60d225eb5f':

9 years agoam 4ff0fb1f: am 98b8aaf3: am 9f497870: Merge "Don\'t manually link stlport."
Dan Albert [Mon, 27 Oct 2014 04:34:09 +0000 (04:34 +0000)]
am 4ff0fb1f: am 98b8aaf3: am 9f497870: Merge "Don\'t manually link stlport."

* commit '4ff0fb1f4c5fae37de6aab8f2698bf5b01aa4d74':

9 years agoam 5b592d7c: am 793a854e: Fix remote submix crash on null sink
Jean-Michel Trivi [Mon, 27 Oct 2014 04:21:17 +0000 (04:21 +0000)]
am 5b592d7c: am 793a854e: Fix remote submix crash on null sink

* commit '5b592d7cc2cf00529281cf98f56d02ea07387584':

9 years agoam 98b8aaf3: am 9f497870: Merge "Don\'t manually link stlport."
Dan Albert [Mon, 27 Oct 2014 04:21:16 +0000 (04:21 +0000)]
am 98b8aaf3: am 9f497870: Merge "Don\'t manually link stlport."

* commit '98b8aaf3de1d572cf309e55ef026941db94e52f3':

9 years agoam ac971ee5: am 357ce00a: Merge "tv_input: more documentation to events" into lmp...
Wonsik Kim [Thu, 23 Oct 2014 19:42:45 +0000 (19:42 +0000)]
am ac971ee5: am 357ce00a: Merge "tv_input: more documentation to events" into lmp-mr1-dev

* commit 'ac971ee50b3ba62a940b04ac8c894e8ab4c8227c':
  tv_input: more documentation to events

9 years agoam 357ce00a: Merge "tv_input: more documentation to events" into lmp-mr1-dev
Wonsik Kim [Thu, 23 Oct 2014 15:58:56 +0000 (15:58 +0000)]
am 357ce00a: Merge "tv_input: more documentation to events" into lmp-mr1-dev

* commit '357ce00a5b710711066097dad5533131f447fcfb':
  tv_input: more documentation to events

9 years agoMerge "tv_input: more documentation to events" into lmp-mr1-dev
Wonsik Kim [Thu, 23 Oct 2014 06:55:30 +0000 (06:55 +0000)]
Merge "tv_input: more documentation to events" into lmp-mr1-dev

9 years agotv_input: more documentation to events
Wonsik Kim [Mon, 20 Oct 2014 07:15:15 +0000 (16:15 +0900)]
tv_input: more documentation to events

Bug: 18047715
Change-Id: I63fd594d3380f92fce3224a258060ca2bf37e79b

9 years agoam 70fc3d20: am bc19a3de: audio: new parameter key for HW A/V sync ID allocation
Eric Laurent [Wed, 22 Oct 2014 18:20:38 +0000 (18:20 +0000)]
am 70fc3d20: am bc19a3de: audio: new parameter key for HW A/V sync ID allocation

* commit '70fc3d208cd0afc2ce32ddc897154eeb6aef7480':
  audio: new parameter key for HW A/V sync ID allocation

9 years agoam bc19a3de: audio: new parameter key for HW A/V sync ID allocation
Eric Laurent [Wed, 22 Oct 2014 17:32:39 +0000 (17:32 +0000)]
am bc19a3de: audio: new parameter key for HW A/V sync ID allocation

* commit 'bc19a3de775b6a1e4a5576c6447927637fc3b5b5':
  audio: new parameter key for HW A/V sync ID allocation

9 years agoaudio: new parameter key for HW A/V sync ID allocation
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

9 years agoam e365edde: am 4b6c5155: am 5ff76cb5: am 793a854e: Fix remote submix crash on null...
Jean-Michel Trivi [Thu, 16 Oct 2014 07:05:44 +0000 (07:05 +0000)]
am e365edde: am 4b6c5155: am 5ff76cb5: am 793a854e: Fix remote submix crash on null sink

* commit 'e365eddee20f047d21c4ceedf11ce43c3628cd8e':
  Fix remote submix crash on null sink

9 years agoam 4b6c5155: am 5ff76cb5: am 793a854e: Fix remote submix crash on null sink
Jean-Michel Trivi [Thu, 16 Oct 2014 07:00:16 +0000 (07:00 +0000)]
am 4b6c5155: am 5ff76cb5: am 793a854e: Fix remote submix crash on null sink

* commit '4b6c51550904123892656b3f2074b0bb1714ebe2':
  Fix remote submix crash on null sink

9 years agoam 5ff76cb5: am 793a854e: Fix remote submix crash on null sink
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

9 years agoam 793a854e: Fix remote submix crash on null sink
Jean-Michel Trivi [Wed, 15 Oct 2014 23:58:44 +0000 (23:58 +0000)]
am 793a854e: Fix remote submix crash on null sink

* commit '793a854e4547fa43632907a987684cadc93eb5e2':
  Fix remote submix crash on null sink

9 years agoam 793a854e: 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

9 years agoFix 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

9 years agoam eec2349e: am 6b825581: am e914d696: Report multihal is SENSORS_DEVICE_API_VERSION_...
Nick Vaccaro [Sat, 11 Oct 2014 05:07:31 +0000 (05:07 +0000)]
am eec2349e: am 6b825581: am e914d696: Report multihal is SENSORS_DEVICE_API_VERSION_1_3 compliant

* commit 'eec2349eec4ebc4c8c47f23a2ccc9f7bf025992f':
  Report multihal is SENSORS_DEVICE_API_VERSION_1_3 compliant

9 years agoam 6b825581: am e914d696: Report multihal is SENSORS_DEVICE_API_VERSION_1_3 compliant
Nick Vaccaro [Sat, 11 Oct 2014 04:54:57 +0000 (04:54 +0000)]
am 6b825581: am e914d696: Report multihal is SENSORS_DEVICE_API_VERSION_1_3 compliant

* commit '6b82558129eae20fef9ba053c55da3543388dc24':
  Report multihal is SENSORS_DEVICE_API_VERSION_1_3 compliant

9 years agoam e914d696: Report multihal is SENSORS_DEVICE_API_VERSION_1_3 compliant
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

9 years agoReport 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

9 years agoam 6266cb14: am 9f497870: Merge "Don\'t manually link stlport."
Dan Albert [Fri, 26 Sep 2014 19:57:58 +0000 (19:57 +0000)]
am 6266cb14: am 9f497870: Merge "Don\'t manually link stlport."

* commit '6266cb147f2c133000e784b67775599feaa43d9d':
  Don't manually link stlport.

9 years agoam 9f497870: Merge "Don\'t manually link stlport."
Dan Albert [Fri, 26 Sep 2014 19:53:02 +0000 (19:53 +0000)]
am 9f497870: Merge "Don\'t manually link stlport."

* commit '9f4978701783942e836aeab526727458e9cb1492':
  Don't manually link stlport.

9 years agoam 9f497870: Merge "Don\'t manually link stlport."
Dan Albert [Fri, 26 Sep 2014 19:53:02 +0000 (19:53 +0000)]
am 9f497870: Merge "Don\'t manually link stlport."

* commit '9f4978701783942e836aeab526727458e9cb1492':
  Don't manually link stlport.

9 years agoMerge "Don't manually link stlport."
Dan Albert [Fri, 26 Sep 2014 19:39:55 +0000 (19:39 +0000)]
Merge "Don't manually link stlport."

9 years agoDon't manually link stlport.
Dan Albert [Fri, 26 Sep 2014 17:55:44 +0000 (10:55 -0700)]
Don't manually link stlport.

Change-Id: Ib5a6e31b3a6dea39b45727a49356fa2838ea77bc

9 years agoam 67aaa866: Merge "Support MONO and STERO USB inputs. Allow "dynamic" flag in audio_...
Paul McLean [Wed, 24 Sep 2014 17:16:53 +0000 (17:16 +0000)]
am 67aaa866: Merge "Support MONO and STERO USB inputs. Allow "dynamic" flag in audio_policy.conf." into lmp-mr1-dev

* commit '67aaa86678148ee9fff39b829b6e229cc13c984b':
  Support MONO and STERO USB inputs. Allow "dynamic" flag in audio_policy.conf.

9 years agoMerge "Support MONO and STERO USB inputs. Allow "dynamic" flag in audio_policy.conf...
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

9 years agoam 4a97c3b3: Remove MHL hal definition.
Jungshik Jang [Fri, 19 Sep 2014 09:42:56 +0000 (09:42 +0000)]
am 4a97c3b3: Remove MHL hal definition.

* commit '4a97c3b307e3250bb5be002606ec14e14e89d5db':
  Remove MHL hal definition.

9 years agoRemove MHL hal definition.
Jungshik Jang [Thu, 18 Sep 2014 08:06:14 +0000 (17:06 +0900)]
Remove MHL hal definition.

Bug: 17479050
Change-Id: I7e238e09e253d46a552b775b0483215f8f1ae512

9 years agoSupport MONO and STERO USB inputs. Allow "dynamic" flag in audio_policy.conf.
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

9 years agoam 5d6ef7aa: usb audio: implement microphone mute.
Eric Laurent [Tue, 16 Sep 2014 08:35:36 +0000 (08:35 +0000)]
am 5d6ef7aa: usb audio: implement microphone mute.

* commit '5d6ef7aabe7f84802468315753ec16367750a9dd':
  usb audio: implement microphone mute.

9 years agousb audio: implement microphone mute.
Eric Laurent [Sun, 14 Sep 2014 19:18:18 +0000 (12:18 -0700)]
usb audio: implement microphone mute.

Bug: 17321604.
Change-Id: I8e3daf2636dfd5f85d990c0093c52c908064afac

9 years agoam 86368ffa: Camera HALs: Promote device HAL v3.2
Eino-Ville Talvala [Thu, 11 Sep 2014 17:22:39 +0000 (17:22 +0000)]
am 86368ffa: Camera HALs: Promote device HAL v3.2

* commit '86368ffadeb8d04a31a3593e6df733d825461609':
  Camera HALs: Promote device HAL v3.2

9 years agoCamera HALs: Promote device HAL v3.2
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

9 years agoam d00a0e0d: sensors.h documentation change.
Aravind Akella [Tue, 9 Sep 2014 00:00:03 +0000 (00:00 +0000)]
am d00a0e0d: sensors.h documentation change.

* commit 'd00a0e0d7b3caf17a06212b0e3da35f2307be8ab':
  sensors.h documentation change.

9 years agosensors.h documentation change.
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

9 years agoam 050143e8: Merge "Creates interface to dynamically configure GPS. Bug: 17110478...
Tsuwei Chen [Tue, 2 Sep 2014 17:57:18 +0000 (17:57 +0000)]
am 050143e8: Merge "Creates interface to dynamically configure GPS. Bug: 17110478 Change-Id: I2a053d02e3c198d519d6306809f81ff601169151" into lmp-dev

* commit '050143e85e1868b51f1af4d94d5363de84aee660':
  Creates interface to dynamically configure GPS. Bug: 17110478 Change-Id: I2a053d02e3c198d519d6306809f81ff601169151

9 years agoMerge "Creates interface to dynamically configure GPS. Bug: 17110478 Change-Id: I2a05...
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

9 years agoCreates interface to dynamically configure GPS.
Tsuwei Chen [Tue, 26 Aug 2014 23:34:19 +0000 (16:34 -0700)]
Creates interface to dynamically configure GPS.
Bug: 17110478
Change-Id: I2a053d02e3c198d519d6306809f81ff601169151

9 years agoam ac5f1db9: Merge commit \'38014a7c\' into lmp-dev
Griff Hazen [Fri, 29 Aug 2014 19:13:43 +0000 (19:13 +0000)]
am ac5f1db9: Merge commit \'38014a7c\' into lmp-dev

* commit 'ac5f1db9a1d40647d51bfbb94c4bfd01d35b9801':
  Adding information about the first activation

9 years agoMerge commit '38014a7c' into lmp-dev
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

9 years agoam 74279e3c: Adding information about the first activation
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

9 years agoAdding 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

9 years agoam 484a1e81: Merge "Fix problem with dropouts with multiple USB audio streams." into...
Paul McLean [Thu, 28 Aug 2014 21:21:29 +0000 (21:21 +0000)]
am 484a1e81: Merge "Fix problem with dropouts with multiple USB audio streams." into lmp-dev

* commit '484a1e8130b248843025a556c45f1c002e5d92d8':
  Fix problem with dropouts with multiple USB audio streams.

9 years agoMerge "Fix problem with dropouts with multiple USB audio streams." into lmp-dev
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

9 years agoam f1855aea: Fixing non-playback on USB devices with support for MONO playback.
Paul McLean [Thu, 28 Aug 2014 19:51:11 +0000 (19:51 +0000)]
am f1855aea: Fixing non-playback on USB devices with support for MONO playback.

* commit 'f1855aead6c6c6a50a02d1447090015a336e4e6c':
  Fixing non-playback on USB devices with support for MONO playback.

9 years agoFixing non-playback on USB devices with support for MONO playback.
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

9 years agoFix problem with dropouts with multiple USB audio streams.
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

9 years agoam 28867088: Merge "Sensor HAL documentation fix." into lmp-dev
Aravind Akella [Fri, 22 Aug 2014 18:25:55 +0000 (18:25 +0000)]
am 28867088: Merge "Sensor HAL documentation fix." into lmp-dev

* commit '288670882522bfb3f8188c1f1d9d693f017b4fc8':
  Sensor HAL documentation fix.

9 years agoMerge "Sensor HAL documentation fix." into lmp-dev
Aravind Akella [Fri, 22 Aug 2014 17:54:50 +0000 (17:54 +0000)]
Merge "Sensor HAL documentation fix." into lmp-dev

9 years agoSensor HAL documentation fix.
Aravind Akella [Thu, 21 Aug 2014 23:31:14 +0000 (16:31 -0700)]
Sensor HAL documentation fix.

Change-Id: Ibc3f643a22163f734ba0ca912f011decf55d9bfa