Commit graph

1973 commits

Author SHA1 Message Date
Andre Eisenbach
34a93da9ba am 285fed09: Add server-side callback for change in MTU (1/4)
* commit '285fed09639f66923529289d71cc633ad738c96c':
  Add server-side callback for change in MTU (1/4)
2014-12-02 08:14:05 +00:00
Dan Albert
63f5d7ecb9 am df44fe72: am 32fb8b2d: Merge "Fix C++11 build."
* commit 'df44fe72a6a9d163bb23a0808cf74241006600b0':
  Fix C++11 build.
2014-11-28 06:09:05 +00:00
Dan Albert
df44fe72a6 am 32fb8b2d: Merge "Fix C++11 build."
* commit '32fb8b2d9f8399a745a26dddc031cc16867ada2d':
  Fix C++11 build.
2014-11-28 06:05:03 +00:00
Dan Albert
32fb8b2d9f Merge "Fix C++11 build." 2014-11-28 05:54:36 +00:00
Dan Albert
9a8c57a346 Fix C++11 build.
Not sure how this slipped past my checkbuild...

Change-Id: Id238887a2a47ced387a6128a772fad3e468096be
2014-11-27 21:39:46 -08:00
Andre Eisenbach
285fed0963 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
2014-11-26 12:56:23 -08:00
Dan Albert
ecae851d4b am 9d018618: am 58afe329: Merge "Use an older C++ standard."
* commit '9d018618c4a467ed19ce96c04d6fe13fd125fcba':
  Use an older C++ standard.
2014-11-20 23:05:06 +00:00
Dan Albert
9d018618c4 am 58afe329: Merge "Use an older C++ standard."
* commit '58afe329533dc60618186f414d945829706ed772':
  Use an older C++ standard.
2014-11-20 23:00:38 +00:00
Dan Albert
58afe32953 Merge "Use an older C++ standard." 2014-11-20 21:14:30 +00:00
Dan Albert
e51237cda5 Use an older C++ standard.
Bug: 18466763
Change-Id: Ibea0eb2617f13bacca0a662fe4ca88fc8a168cd7
2014-11-20 21:14:12 +00:00
Jean-Michel Trivi
ce21c911de am 59134344: am b73bc860: Support multiple pipes for rerouting
* commit '591343449a2bfd7ec33bfcbc27e55e1c1c71c5a7':
  Support multiple pipes for rerouting
2014-11-19 19:36:28 +00:00
Jean-Michel Trivi
591343449a am b73bc860: Support multiple pipes for rerouting
* commit 'b73bc86089b8a65da88776bafcf48529431150b8':
  Support multiple pipes for rerouting
2014-11-19 19:32:18 +00:00
Jean-Michel Trivi
b73bc86089 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
2014-11-17 17:04:45 -08:00
Dan Albert
4091c6f4d6 am be9083bd: am 40d48e17: Merge "Stop using stlport."
* commit 'be9083bd65a9dc2f91bb1e512e15ead120f508c3':
  Stop using stlport.
2014-11-17 23:07:38 +00:00
Dan Albert
be9083bd65 am 40d48e17: Merge "Stop using stlport."
* commit '40d48e177f243c6093a45301db122a0475cc1124':
  Stop using stlport.
2014-11-17 22:58:58 +00:00
Dan Albert
40d48e177f Merge "Stop using stlport." 2014-11-17 22:27:35 +00:00
Dan Albert
6d604b127e Stop using stlport.
Bug: 15193147
Change-Id: I5d53338f239ba18a2b007b345ba050d1560220b4
2014-11-17 14:21:50 -08:00
Dan Stoza
9cd669e92c am 1497e7e7: am e0e834e3: Merge "Add a BufferItem parameter to onFrameAvailable" into lmp-mr1-dev
* commit '1497e7e76784c01043cf328177de076c70db6e86':
  Add a BufferItem parameter to onFrameAvailable
2014-11-07 20:09:39 +00:00
Dan Stoza
1497e7e767 am e0e834e3: Merge "Add a BufferItem parameter to onFrameAvailable" into lmp-mr1-dev
* commit 'e0e834e3fe5561bf87aac7f88faaed39f0937a64':
  Add a BufferItem parameter to onFrameAvailable
2014-11-07 20:03:42 +00:00
Dan Stoza
e0e834e3fe Merge "Add a BufferItem parameter to onFrameAvailable" into lmp-mr1-dev 2014-11-07 19:44:33 +00:00
Yin-Chia Yeh
ef490c6254 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
2014-11-07 18:41:42 +00:00
Yin-Chia Yeh
3d31e157d0 am 8d3acf6e: Merge "Camera2/3 HAL test: cleanup deprecated keys" into lmp-mr1-dev
* commit '8d3acf6e6e58c392fcdc4913e49c6b1ded8117c8':
  Camera2/3 HAL test: cleanup deprecated keys
2014-11-07 18:35:40 +00:00
Yin-Chia Yeh
8d3acf6e6e Merge "Camera2/3 HAL test: cleanup deprecated keys" into lmp-mr1-dev 2014-11-07 18:23:01 +00:00
Daniel Estrada Alva
5349e2a665 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
2014-11-07 03:52:15 +00:00
Daniel Estrada Alva
1bb4d46ccf 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
2014-11-07 00:09:08 +00:00
Daniel Estrada Alva
700d2c2cf5 Merge "Fix typo and add more detailed comments on what we expect from GPS HAL. b/16727892" into lmp-mr1-dev 2014-11-06 21:52:43 +00:00
Yin-Chia Yeh
8df990b3a2 Camera2/3 HAL test: cleanup deprecated keys
Bug:16877860
Change-Id: I1eddec02cefa39692f63cc54cc40b75f449516a7
2014-11-06 10:11:32 -08:00
Dan Stoza
32ef0cae63 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
2014-11-04 11:39:35 -08:00
Ruchi Kandoi
1a1734c869 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
2014-11-01 00:41:13 +00:00
Ruchi Kandoi
0da47779b0 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
2014-11-01 00:33:28 +00:00
Ruchi Kandoi
0e6a158eaf Merge "power: Adds setFeature functionality for the power module" into lmp-mr1-dev 2014-10-31 23:31:09 +00:00
Tsuwei Chen
a90cf193b9 Fix typo and add more detailed comments on what we expect from GPS HAL.
b/16727892

Change-Id: I73d3ea3e743846b9e579c78b80d7a393319c09f1
2014-10-31 13:43:07 -07:00
Ruchi Kandoi
d091713884 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
2014-10-31 10:58:30 -07:00
Jean-Michel Trivi
18af8de1bf am a7e50f68: am 5b592d7c: am 793a854e: Fix remote submix crash on null sink
* commit 'a7e50f68e9437b51ca843b8d5b6ebf60d225eb5f':
2014-10-27 04:34:09 +00:00
Dan Albert
696194bcb7 am 4ff0fb1f: am 98b8aaf3: am 9f497870: Merge "Don\'t manually link stlport."
* commit '4ff0fb1f4c5fae37de6aab8f2698bf5b01aa4d74':
2014-10-27 04:34:09 +00:00
Jean-Michel Trivi
a7e50f68e9 am 5b592d7c: am 793a854e: Fix remote submix crash on null sink
* commit '5b592d7cc2cf00529281cf98f56d02ea07387584':
2014-10-27 04:21:17 +00:00
Dan Albert
4ff0fb1f4c am 98b8aaf3: am 9f497870: Merge "Don\'t manually link stlport."
* commit '98b8aaf3de1d572cf309e55ef026941db94e52f3':
2014-10-27 04:21:16 +00:00
Wonsik Kim
3485dbecc6 am ac971ee5: am 357ce00a: Merge "tv_input: more documentation to events" into lmp-mr1-dev
* commit 'ac971ee50b3ba62a940b04ac8c894e8ab4c8227c':
  tv_input: more documentation to events
2014-10-23 19:42:45 +00:00
Wonsik Kim
ac971ee50b am 357ce00a: Merge "tv_input: more documentation to events" into lmp-mr1-dev
* commit '357ce00a5b710711066097dad5533131f447fcfb':
  tv_input: more documentation to events
2014-10-23 15:58:56 +00:00
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
e86165a9f9 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
2014-10-22 18:20:38 +00:00
Eric Laurent
70fc3d208c 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
2014-10-22 17:32:39 +00: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
3a6dc89b0f am e365edde: am 4b6c5155: am 5ff76cb5: am 793a854e: Fix remote submix crash on null sink
* commit 'e365eddee20f047d21c4ceedf11ce43c3628cd8e':
  Fix remote submix crash on null sink
2014-10-16 07:05:44 +00:00
Jean-Michel Trivi
e365eddee2 am 4b6c5155: am 5ff76cb5: am 793a854e: Fix remote submix crash on null sink
* commit '4b6c51550904123892656b3f2074b0bb1714ebe2':
  Fix remote submix crash on null sink
2014-10-16 07:00:16 +00: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
5b592d7cc2 am 793a854e: Fix remote submix crash on null sink
* commit '793a854e4547fa43632907a987684cadc93eb5e2':
  Fix remote submix crash on null sink
2014-10-15 23:58:44 +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