Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-libhardware_legacy: List of commits

hardware/libhardware_legacy


RSS
Rev. Time Author
1d378ad jb-x86 2013-07-25 17:43:53 Chih-Wei Huang

add powerbtnd to simulate long press of power button.

On x86 PC, power button usually generates key press and release events
simultaneously. However, the android framework expects a long press
of power button to invoke the power off dialog. The daemon simulates a
long press of power button,

On poweroff.doubleclick=0, one click to power button invokes poweroff
dialog directly.

On poweroff.doubleclick=1, one click to power button suspends the system,
while double click in one second invokes poweroff dialog.

A target needs to add excluded-input-devices.xml to exclude
'Power Button' from processing by EventHub.

375eaba 2013-07-25 17:43:51 Chih-Wei Huang

wifi: auto-detect the module name and path

7c02ea4 2013-07-25 17:43:49 Chih-Wei Huang

wifi: do not hardcode module name and path

The patch allows the module name and path to be obtained by the properties
wlan.modname and wlan.modpath.

cb93edf 2013-07-16 13:04:24 Eric Laurent

audio policy: apply default device volume

Make sure that we apply default device volume to
active outputs in case no specific volume for selected
device is received afterward.

Bug: 9760269.
Change-Id: I216de40396e1075e77493c97e8b192cd3a31d546

6670743 2013-05-18 06:11:27 Eric Laurent

audio policy: fix device selection in startInput()

Check again input device selection when capture starts in case
conditions have changed since the input stream was opened.

This is related to but does not fix issue 8761558. It makes the
selection of BT SCO device consistent.

Bug: 8761558
Change-Id: I386b638e9c3238711e16fb848449af561624359e

a776ffd 2013-04-13 07:47:39 Irfan Sheriff

Rewrite an invalid config file

We saw a case of config file being corrupted. Add a mechanism to
recover from this when wifi is toggled off and on.

Bug: 8569820
Change-Id: If2baceb065838d2adb5cde61772d25a05455fc90

e5d72df 2013-04-10 13:57:48 Ying Wang

Add liblog

Bug: 8580410
Change-Id: Ib86983540b34e8c9083979fdd21a17715ec53f80

5a950c9 2013-04-05 06:18:40 Eric Laurent

audio policy: reuse direct output when possible

Modified getOutput() logic to not systematically
open a new direct output when a profile matches a request.
This causes a problem when transitioning between two
multichannel tracks as the audio HAL will most of the times
only support one direct output stream open at a time.

Instead, reuse an open output if all the parameters match
or force close the output before reopening it.

Also modify releaseOuput():
- close a direct output only if no client is using it anymore
- call closeOutput() instead of removing the output from
the open output list: this factors in code executed when closing an
output stream.

Bug 8388941

Change-Id: Ic3d3beb21063622ddf57a5b932f93d56f2986f54

80f5b04 2013-03-26 08:58:39 Eric Laurent

audio policy: fix music glitch when starting call

When answering a call in silent mode, music playing over A2DP
was not immediately muted by current audio policy manager logic.

The fix consists in muting media strategy on all output streams
immediately when entering in call.

Also add methods to AudioOutputDescriptor to report
recent global, per strategy and per stream activity.

Bug 8315512

Change-Id: I4a90eb05db50e4f22374d02b1e647e8662f6bec6

58d6b9e 2013-03-12 05:44:29 Jean-Baptiste Queru

am 10f06dc0: am 0b904fda: am 93bb0058: am 4bcc1fdb: (-s ours) am b25a2fcf: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '10f06dc0787c20d9ffab07e59654322b9348c056':

10f06dc 2013-03-12 05:13:35 Jean-Baptiste Queru

am 0b904fda: am 93bb0058: am 4bcc1fdb: (-s ours) am b25a2fcf: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '0b904fdaa636372e9173f1fb4a5dae5c382aabb8':

0b904fd 2013-03-12 05:00:42 Jean-Baptiste Queru

am 93bb0058: am 4bcc1fdb: (-s ours) am b25a2fcf: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '93bb0058bd3e5c0703797289f88a033789249766':

93bb005 2013-03-12 04:42:00 Jean-Baptiste Queru

am 4bcc1fdb: (-s ours) am b25a2fcf: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '4bcc1fdb8ef242e6f8fe55181e16c18c5cd220ad':

4bcc1fd 2013-03-12 04:27:41 Jean-Baptiste Queru

am b25a2fcf: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit 'b25a2fcfae02ff802b81978ec82f0da8d2735d77':

b25a2fc 2013-03-12 04:20:16 Jean-Baptiste Queru

Reconcile with jb-mr1-release - do not merge

9641bd3 2013-03-06 01:53:53 Eric Laurent

audio policy: fix in call capture device

Allow use of default capture device when
AUDIO_SOURCE_VOICE_UPLINK is specified and the platform
does not support AUDIO_DEVICE_IN_VOICE_CALL.

Change-Id: Ibbc314f60c91e5a0fa75d57878f2d2a96ef2d83b

f32e38e 2013-03-05 10:56:02 Eric Laurent

audio policy: fix music glitch with touch sounds

There is a brief music interruption when a touch sound
is played the first time after the headset insertion.

This is due to a bug in audio policy manager logic to prevent
volume bursts while changing device while music is playing.

The fix consists in muting music only on current output stream
when changing device, not all output streams.

Also prevent unecessary device change if the requested device
is not supported by the output stream profile.

Bug: 8301565
Change-Id: I00daab19bbdda10ca856a05fa32a1e333e1b9469

2c52037 2013-02-28 10:45:59 Dmitry Shmidt

wifi: Remove obsolete variables

Change-Id: I4759c26bf59f593650374ae4b205e8a1f83a8d68
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

bb0e0da 2013-02-12 06:42:48 Eric Laurent

Merge "audio policy: fix in call audio setup delay"

8bf56b1 2013-02-12 05:48:20 Eric Laurent

audio policy: fix in call audio setup delay

There is a delay inserted by audio policy manager before switching
device when entering in call mode to allow music playback to be muted
before the device actually switches.

This delay can be significant when high latency outputs (e.g. deep buffers) are
present and should not be applied if the output is not active.

Issue 7612431.

Change-Id: I04b666769033dbfdc861752b030d3f7bdffe9435

dc3bf1a 2013-02-12 03:23:13 Jean-Michel Trivi

Identify remote stream activity, used for notification routing

Add support for checking remote stream activity.

Don't route notifications like media when media active remotely.

Add remote stream activity query in audio policy HAL.

Bug 7485803

Change-Id: Ifb722c7f9ffbfbdc877fec5156bcfc09bec40651

60758e2 2013-01-23 10:07:33 Eric Laurent

audio policy: added front + back mic

Added definition to parse front + back mic from input descriptors
in audio_policy.conf file.

Change-Id: I9ebdeac664e12104589a52d15acbbfc4db787923

49637a2 2012-11-09 08:59:48 Eric Laurent

am 8d674a4b: (-s ours) am 85f8faa6: am a7c17deb: audio policy: notification delay - DO NOT MERGE

* commit '8d674a4b6f4300df90415889c2f57fe8b383e867':
audio policy: notification delay - DO NOT MERGE

d28170b 2012-11-09 08:59:47 Eric Laurent

am 2fbecbad: (-s ours) am 8d8ad2ec: am fe43d163: audio policy: fix volume problem - DO NOT MERGE

* commit '2fbecbad88f0c6298c35a5bc1bf87aa244059754':
audio policy: fix volume problem - DO NOT MERGE

5c3b448 2012-11-09 08:59:46 John Grossman

am 8254f4b2: (-s ours) am 503d13af: am da06cb61: audio policy: fix dynamic parameter - DO NOT MERGE

* commit '8254f4b244a1f5d65054831d2b0afe53c67c3898':
audio policy: fix dynamic parameter - DO NOT MERGE

c552703 2012-11-09 08:59:45 Jason Simmons

am 81e6a2e0: (-s ours) am 77514217: am e912bfd7: audio policy: direct output fix - DO NOT MERGE

* commit '81e6a2e099546f4580253d2b0262d43f2a4090aa':
audio policy: direct output fix - DO NOT MERGE

8d674a4 2012-11-09 08:48:01 Eric Laurent

am 85f8faa6: am a7c17deb: audio policy: notification delay - DO NOT MERGE

* commit '85f8faa65754011161f40b2047fa19a6128ba88c':
audio policy: notification delay - DO NOT MERGE

2fbecba 2012-11-09 08:48:00 Eric Laurent

am 8d8ad2ec: am fe43d163: audio policy: fix volume problem - DO NOT MERGE

* commit '8d8ad2ec94dfab5555dbac71c8d5fe8d1cde0cea':
audio policy: fix volume problem - DO NOT MERGE

8254f4b 2012-11-09 08:45:09 John Grossman

am 503d13af: am da06cb61: audio policy: fix dynamic parameter - DO NOT MERGE

* commit '503d13af915529f78312c6cd3fc951923c45f4f2':
audio policy: fix dynamic parameter - DO NOT MERGE

81e6a2e 2012-11-09 08:45:09 Jason Simmons

am 77514217: am e912bfd7: audio policy: direct output fix - DO NOT MERGE

* commit '77514217215c1b7872ece94dc9d3ceef62cdefbb':
audio policy: direct output fix - DO NOT MERGE

Show on old repository browser