OSDN Git Service

android-x86/hardware-libhardware_legacy.git
11 years agoam 3cdfddf1: audio policy: improve support for direct outputs
Eric Laurent [Tue, 5 Jun 2012 16:34:09 +0000 (09:34 -0700)]
am 3cdfddf1: audio policy: improve support for direct outputs

* commit '3cdfddf1b27bcb5408ca3a04fcdf206447ba07ba':
  audio policy: improve support for direct outputs

11 years agoaudio policy: improve support for direct outputs
Eric Laurent [Tue, 1 May 2012 01:28:24 +0000 (18:28 -0700)]
audio policy: improve support for direct outputs

Add the capability to query supported parameters for
direct outputs after a device is connected. This allows
to dynamically update the output profile for devices like
HDMI where the capabilities depend on the connected sink.

Also added very verbose log mode for volume and mute.

Change-Id: I1d4ba8e7dbc3e1af883582857ce93240441e551c

11 years agoam 46604553: Ensure global effects are on the correct output
Marco Nelissen [Sat, 2 Jun 2012 02:00:32 +0000 (19:00 -0700)]
am 46604553: Ensure global effects are on the correct output

* commit '4660455366d2ee64cb65f0ecd6f7ddeb1c17bac6':
  Ensure global effects are on the correct output

12 years agoEnsure global effects are on the correct output
Marco Nelissen [Thu, 31 May 2012 17:50:29 +0000 (10:50 -0700)]
Ensure global effects are on the correct output

Global effects such as the visualizer would sometimes not be on the
right output, for example when switching from a2dp to wired headset
or back, when there are both regular and deep buffer outputs available.
We now check which of the available outputs the global effect should
be on when more than one is available.
b/6528772

Change-Id: Ie268e32ef41e7888da67c24730dc93750a2cf579

12 years agoReconcile with jb-release
The Android Open Source Project [Tue, 29 May 2012 16:41:03 +0000 (09:41 -0700)]
Reconcile with jb-release

Change-Id: Ib51f8d004df9740327110e2dfd9a3be26cee5800

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Tue, 29 May 2012 15:58:27 +0000 (08:58 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoam 1afd84f6: audio policy: allow disabling A2DP for media.
Eric Laurent [Thu, 24 May 2012 18:42:55 +0000 (11:42 -0700)]
am 1afd84f6: audio policy: allow disabling A2DP for media.

* commit '1afd84f62291d20414cbf58c7af01462a8fdca60':
  audio policy: allow disabling A2DP for media.

12 years agoReconcile with jb-release
The Android Open Source Project [Tue, 22 May 2012 20:06:36 +0000 (13:06 -0700)]
Reconcile with jb-release

Change-Id: Idddf82739bdf873cc163171dd5469f017f7d07a6

12 years agoaudio policy: allow disabling A2DP for media.
Eric Laurent [Mon, 21 May 2012 15:50:50 +0000 (08:50 -0700)]
audio policy: allow disabling A2DP for media.

Added FORCE_NO_BT_A2DP forced use to allow applications to
override default policy to use A2DP whenever connected.

Bug 6485897.

Change-Id: I784271c062294fbe1aff7884965075b40c68dc24

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Sun, 20 May 2012 14:39:47 +0000 (07:39 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoam 01e6272f: audio policy: fix in call volume problem.
Eric Laurent [Fri, 18 May 2012 02:09:21 +0000 (19:09 -0700)]
am 01e6272f: audio policy: fix in call volume problem.

* commit '01e6272f0a3a7d1d53e826012377ff9269b03b06':
  audio policy: fix in call volume problem.

12 years agoReconcile with jb-release nakasi-factoryrom-release
The Android Open Source Project [Wed, 16 May 2012 15:40:49 +0000 (08:40 -0700)]
Reconcile with jb-release nakasi-factoryrom-release

Change-Id: I4d5083c87b3e9fc0bc5168dca5328db64ee5b936

12 years agoaudio policy: fix in call volume problem.
Eric Laurent [Wed, 16 May 2012 02:16:30 +0000 (19:16 -0700)]
audio policy: fix in call volume problem.

When switching audio path, it is sometimes required
to temporarily mute certain streams to avoid glitches.
The unmute command is sent with a delay but the volume applied
when unmuting is computed according to the state at the time of mute.
If the device selection changes after the delayed unmute is programmed
the new volume will not correspond to the new device.

setStreamMute() now accepts a device selection as input parameter which is
used instead of current device for volume computation.

Bug 6497819.

Change-Id: I355ebf9e1afe814fa5c2723bda9c40e58f921b46

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Mon, 14 May 2012 14:03:47 +0000 (07:03 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoDelete unused function.
Jeff Brown [Sat, 12 May 2012 00:40:45 +0000 (17:40 -0700)]
Delete unused function.

set_last_user_activity_timeout() is no longer used or useful.
It opens a sysfs node that no longer exists that used to
be published by a daemon that is no longer even compiled
and that is about to be deleted.  It used to be called
by the power manager with a huge value whose purpose was
essentially to disable the timeout feature altogether.

Long live dead code!

Bug: 6435382
Change-Id: If8f97a66f4e963a11e1c6b67ad97b41b2613043e

12 years agoReduce system stream volume.
Eric Laurent [Thu, 10 May 2012 17:12:19 +0000 (10:12 -0700)]
Reduce system stream volume.

Reduce system stream volume by 6dB as
UI sounds are now perceived as being too loud.

Issue 6448481.

Change-Id: I0237eb94245014724dfdf55253049340e2162af8

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Mon, 30 Apr 2012 14:03:22 +0000 (07:03 -0700)]
merge in jb-release history after reset to jb-dev

12 years agosystem and UI sounds volume policy
Eric Laurent [Wed, 25 Apr 2012 22:47:56 +0000 (15:47 -0700)]
system and UI sounds volume policy

Added specific volume curves for AUDIO_STREAM_SYSTEM,
AUDIO_STREAM_ENFORCED_AUDIBLE and AUDIO_STREAM_DTMF.
Volume for these streams tracks AUDIO_STREAM_RING on phones
and AUDIO_STREAM_MUSIC on tablets but is contrained in the range
-24dB to -6dB on speaker and -24dB to -12dB on headset.

STRATEGY_ENFORCED_AUDIBLE routing policy is now the same as
STRATEGY_MEDIA in countries where not enforced.

Change-Id: If58d96559bfe2bbff4cd94c631d5933bd940778e

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Wed, 25 Apr 2012 14:48:27 +0000 (07:48 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoaudio_policy: set some reasonable defaults if audio_policy.conf is not found
Dima Zavin [Tue, 24 Apr 2012 07:21:59 +0000 (00:21 -0700)]
audio_policy: set some reasonable defaults if audio_policy.conf is not found

Change-Id: I25f7407c34b3032d4e77a27a4ac47b648098d9b0
Signed-off-by: Dima Zavin <dima@android.com>
12 years agomerge in jb-release history after reset to master
The Android Automerger [Tue, 24 Apr 2012 14:03:27 +0000 (07:03 -0700)]
merge in jb-release history after reset to master

12 years agoaudio_policy: look for config file in /vendor first
Dima Zavin [Mon, 23 Apr 2012 23:51:00 +0000 (16:51 -0700)]
audio_policy: look for config file in /vendor first

Change-Id: If10308f688437e1682e4104120772cfce16e9d89
Signed-off-by: Dima Zavin <dima@android.com>
12 years agoaudio policy: volume burst when switching device
Eric Laurent [Sun, 22 Apr 2012 20:57:53 +0000 (13:57 -0700)]
audio policy: volume burst when switching device

The addition of the per device volume feature has introduced
a problem where a volume burst can be heard in the headphones
just after insertion if the speaker volume is much higher than the
headphones volume.

Added a temporary mute of the output when switching device to force
volume ramp to 0 and back up to new volume.

Issue 5984108.

Change-Id: I5c9ffbbcadd12d25c78cc2614d351346b8186c55

12 years agomerge in jb-release history after reset to master
The Android Automerger [Mon, 23 Apr 2012 14:04:26 +0000 (07:04 -0700)]
merge in jb-release history after reset to master

12 years agoaudio policy: add support for deep audio buffers
Eric Laurent [Sat, 14 Apr 2012 01:48:06 +0000 (18:48 -0700)]
audio policy: add support for deep audio buffers

Added definitions for parsing deep buffer flags in output profiles.

Make sure that sound start is delayed enough to allow
duck/mute effect to apply before starting a notification on an output
with lower latency.

Change-Id: I1578e245da19d1a0f9ec62a2ea6dddaf82ea282b

12 years agomerge in jb-release history after reset to master
The Android Automerger [Thu, 19 Apr 2012 14:03:25 +0000 (07:03 -0700)]
merge in jb-release history after reset to master

12 years agorename audio policy flags
Eric Laurent [Wed, 18 Apr 2012 16:28:52 +0000 (09:28 -0700)]
rename audio policy flags

Change-Id: Ic42eba3432671f651c9703a07fe7b429a8ec0dff

12 years agomerge in jb-release history after reset to master
The Android Automerger [Wed, 18 Apr 2012 14:03:37 +0000 (07:03 -0700)]
merge in jb-release history after reset to master

12 years agoaudio: update to new audio HAL device API.
Eric Laurent [Sat, 14 Apr 2012 01:49:20 +0000 (18:49 -0700)]
audio: update to new audio HAL device API.

Change-Id: I27c5e1e1041f62530884ec5d929e7d82f091912a

12 years agomerge in jb-release history after reset to master
The Android Automerger [Tue, 10 Apr 2012 14:04:22 +0000 (07:04 -0700)]
merge in jb-release history after reset to master

12 years agomerge in jb-release history after reset to master
The Android Automerger [Mon, 9 Apr 2012 14:04:36 +0000 (07:04 -0700)]
merge in jb-release history after reset to master

12 years agoaudio policy: added rules for USB audio devices
Eric Laurent [Fri, 6 Apr 2012 16:07:07 +0000 (09:07 -0700)]
audio policy: added rules for USB audio devices

Change-Id: If712b0c7fcf281d66d34614529f3433e56e058fb

12 years agoAllow non-direct output of any channel mask
Jean-Michel Trivi [Thu, 5 Apr 2012 18:44:49 +0000 (11:44 -0700)]
Allow non-direct output of any channel mask

Because of the downmix capability of the mixer, do not prevent
 a non-direct output to be retrieved based on channel mask.

Change-Id: I911f95f4055c2134298c233d14f2f5d586091fd4

12 years agomerge in jb-release history after reset to master
The Android Automerger [Thu, 5 Apr 2012 14:04:16 +0000 (07:04 -0700)]
merge in jb-release history after reset to master

12 years agomerge in jb-release history after reset to master
The Android Automerger [Wed, 4 Apr 2012 14:04:42 +0000 (07:04 -0700)]
merge in jb-release history after reset to master

12 years agoaudio policy: load audio hw modules
Eric Laurent [Wed, 28 Mar 2012 18:27:13 +0000 (11:27 -0700)]
audio policy: load audio hw modules

Audio hw modules are now loaded according to configuration
data read from audio_policy.conf. They are not loaded anymore
from a hardcoded list in AudiFlinger.

Output and input streams are opened on the hw module by which
they are exposed.

Also removed obsolete "acoustics" flags for input streams.

Change-Id: I8dc658cc83890d3ac7d5e36c372a03732aa5b0c4

12 years agoaudio policy: use configuration file
Eric Laurent [Tue, 20 Mar 2012 20:44:51 +0000 (13:44 -0700)]
audio policy: use configuration file

The audio policy manager implementation now reads a configuration file at
boot time that contains descriptors for available audio hardware
modules and for each module the profiles of available inputs and outputs streams.

The configuration file path on the target is: /system/etc/audio_policy.conf.
A default configuration file is given that defines a basic configuration
with one primary audio hw module capable of playback and capture.
Each platform or device should have its own audio_policy.conf file.

Also removed default value of fromCache argument of getDeviceForStrategy()
and getNewDevice() methods.

Change-Id: I0c773d2331508bbc787f89b123dd6a7b8c10d459

12 years agomerge in jb-release history after reset to master
The Android Automerger [Tue, 3 Apr 2012 10:32:27 +0000 (03:32 -0700)]
merge in jb-release history after reset to master

12 years agoOnly duplicate notifications when no media is playing
Jean-Michel Trivi [Thu, 15 Mar 2012 16:33:34 +0000 (09:33 -0700)]
Only duplicate notifications when no media is playing

Map the NOTIFICATION stream type to a new strategy,
 named STRATEGY_NOTIFICATION_RESPECTFUL, which differs
 from STRATEGY_NOTIFICATION in that, when media is
 playing, the notifications will use the same output
 as the MEDIA strategy. This will results in the
 notifications not being duplicated on the speaker
 when a headset is in use for media playback.

Change-Id: I032be0e2d383c69b5b6c912d7174753f5572c4b4

12 years agomerge in jb-release history after reset to master
The Android Automerger [Mon, 26 Mar 2012 14:04:56 +0000 (07:04 -0700)]
merge in jb-release history after reset to master

12 years agoMerge remote-tracking branch 'goog/ics-aah-exp'
Mike Lockwood [Thu, 22 Mar 2012 00:44:34 +0000 (17:44 -0700)]
Merge remote-tracking branch 'goog/ics-aah-exp'

empty merge -s ours

Change-Id: I11a8a28ffccb4d28f2bbed4d55919443cae24e9f

12 years agoMerge commit '5b71e6f'
Mike Lockwood [Thu, 22 Mar 2012 00:43:54 +0000 (17:43 -0700)]
Merge commit '5b71e6f'

Add an implementation of get_next_write_timestamp.

Change-Id: Ie8e19307bafdb057d06bf3c536380c5740f830a6

12 years agoMerge commit '617c80a'
Mike Lockwood [Thu, 22 Mar 2012 00:42:25 +0000 (17:42 -0700)]
Merge commit '617c80a'

Add a bridge implementation of get_master_volume.

Conflicts:
audio/audio_hw_hal.cpp

Change-Id: Icff9d8dce05d1d811fca815cc39cb38a1df293f9

12 years agomerge in jb-release history after reset to master
The Android Automerger [Wed, 21 Mar 2012 14:03:45 +0000 (07:03 -0700)]
merge in jb-release history after reset to master

12 years agoRemove obsolete references to libmedia
Glenn Kasten [Tue, 20 Mar 2012 00:31:15 +0000 (17:31 -0700)]
Remove obsolete references to libmedia

Change-Id: I65c10c2c6248a439d8ba6b3e9d540072fb25039f

12 years agomerge in jb-release history after reset to master
The Android Automerger [Mon, 19 Mar 2012 14:03:48 +0000 (07:03 -0700)]
merge in jb-release history after reset to master

12 years agoMerge "Add libmedia_native"
Glenn Kasten [Fri, 16 Mar 2012 17:36:22 +0000 (10:36 -0700)]
Merge "Add libmedia_native"

12 years agoAdd support for EINTR to wifi.c
Kenny Root [Thu, 15 Mar 2012 20:10:19 +0000 (13:10 -0700)]
Add support for EINTR to wifi.c

Some system calls can be interrupted. wifi.c in particular was getting
into error conditions during bugreport because it doesn't handle EINTR
at all.

Change-Id: I7bec432a0b3dca7dcc5c03c5e9f5e9ed73fa3c4b

12 years agoAdd libmedia_native
Glenn Kasten [Thu, 15 Mar 2012 16:45:04 +0000 (09:45 -0700)]
Add libmedia_native

Change-Id: I1d66327828a5adb06911de1f72076bc0295255c1

12 years agomerge in jb-release history after reset to master
The Android Automerger [Mon, 12 Mar 2012 14:03:51 +0000 (07:03 -0700)]
merge in jb-release history after reset to master

12 years agoaudio policy: use audio_devices_t when appropriate
Eric Laurent [Thu, 8 Mar 2012 21:39:13 +0000 (13:39 -0800)]
audio policy: use audio_devices_t when appropriate

Change-Id: I0b4e2ff705fce96b40fdda28b1bc4b514438bec6

12 years agoaudio policy: spaced comments in header file
Eric Laurent [Thu, 8 Mar 2012 03:19:29 +0000 (19:19 -0800)]
audio policy: spaced comments in header file

Change-Id: Ie72dcb9e33afb217bb7e37081500a7fc53d7a047

12 years agoaudio policy: use common string for A2DP address
Eric Laurent [Thu, 8 Mar 2012 03:04:55 +0000 (19:04 -0800)]
audio policy: use common string for A2DP address

Use definition from audio.h for A2DP sink address parameter.

Change-Id: I2d7905b8e3dd71fab2efc68ae16682e09c3f872e

12 years agoaudio policy manager: more generic A2DP impl.
Eric Laurent [Fri, 17 Feb 2012 18:55:44 +0000 (10:55 -0800)]
audio policy manager: more generic A2DP impl.

This change makes support for A2DP related audio policy more generic:
-removed WITH_A2DP compilation switch
-use output profile descriptors listing the parameters
(sampling rate, format...) devices and attributes (low power, tunneling...)
for each available output.
All the behavior specific to A2DP is derived from the A2DP output profile
descriptor.
- removed obsolete a2dpUsedForSonification() method.

This is a first step towards a more generic support for different audio
hardware modules (USB, HDMI) and output streams supporting different
combinations of parameters (sampling rate, format...) and attributes
(low power, tunneling...).
Ultimately, the hw modules and output descriptors will loaded from a
configuration file.

Change-Id: Ife3e49e1afbcb72613bfc8ce38919bb087ca85ea

12 years agomerge in jb-release history after reset to master
The Android Automerger [Mon, 20 Feb 2012 15:02:44 +0000 (07:02 -0800)]
merge in jb-release history after reset to master

12 years agolibhardware_legacy: Remove set_screen_state
Todd Poynor [Sat, 11 Feb 2012 08:44:22 +0000 (00:44 -0800)]
libhardware_legacy: Remove set_screen_state

The early-suspend/late-resume interface to /sys/power/state
is being moved to the default/legacy Power HAL.

The emulator interface is being moved to the emulator
Power HAL.

Change-Id: I66a1e611e6d907f20335f047001745f818dfc846
Signed-off-by: Todd Poynor <toddpoynor@google.com>
12 years agoFix volume not restored when exiting silent mode
Eric Laurent [Thu, 16 Feb 2012 02:40:31 +0000 (18:40 -0800)]
Fix volume not restored when exiting silent mode

The change for volume per device introduced a problem where if a headset
is plugged in while in silent mode, the sound will not be restored
at the first press on volume up key but only at the second press.

This is because when exiting silent mode, AudioService reapplies the
last known volume for all devices in any order and the last volume
applied prevails, even if it is for a device other than currently selected
by audio policy manager.

The fix consists in applying a new volume only if the device indicated
matches currently selected device on an output.

Change-Id: I778b90a9ec5a8b4a15e0333bd045f2dd327f388c

12 years agomerge in jb-release history after reset to master
The Android Automerger [Wed, 15 Feb 2012 15:02:21 +0000 (07:02 -0800)]
merge in jb-release history after reset to master

12 years agoMerge "Fixes for concurrency support"
Irfan Sheriff [Tue, 14 Feb 2012 23:37:17 +0000 (15:37 -0800)]
Merge "Fixes for concurrency support"

12 years agomerge in jb-release history after reset to master
The Android Automerger [Mon, 6 Feb 2012 15:02:15 +0000 (07:02 -0800)]
merge in jb-release history after reset to master

12 years agoMerge "Use audio_in_acoustics_t consistently"
Glenn Kasten [Fri, 3 Feb 2012 16:31:19 +0000 (08:31 -0800)]
Merge "Use audio_in_acoustics_t consistently"

12 years agoam 7490f9bf: am b4ff7281: Reconcile with ics-mr1-release
The Android Open Source Project [Wed, 1 Feb 2012 18:10:28 +0000 (10:10 -0800)]
am 7490f9bf: am b4ff7281: Reconcile with ics-mr1-release

* commit '7490f9bf37a1bfcad8e6c868d878dd56fd4c09ca':

12 years agoam b4ff7281: Reconcile with ics-mr1-release
The Android Open Source Project [Wed, 1 Feb 2012 18:01:31 +0000 (10:01 -0800)]
am b4ff7281: Reconcile with ics-mr1-release

* commit 'b4ff728122f67ae9bf0f5afe4ff65b3ba3068b59':

12 years agoReconcile with ics-mr1-release
The Android Open Source Project [Wed, 1 Feb 2012 16:50:23 +0000 (08:50 -0800)]
Reconcile with ics-mr1-release

Change-Id: Ibf33a69673d9acafb9199d331fc88a7d80dbeb20

12 years agomerge in jb-release history after reset to master
The Android Automerger [Mon, 30 Jan 2012 15:02:15 +0000 (07:02 -0800)]
merge in jb-release history after reset to master

12 years agoUse audio_in_acoustics_t consistently
Glenn Kasten [Fri, 27 Jan 2012 21:03:05 +0000 (13:03 -0800)]
Use audio_in_acoustics_t consistently

Change-Id: I9875afdf21937c88a5decc9d94e89fddffc3519e

12 years agoUse audio_source_t consistently
Glenn Kasten [Fri, 27 Jan 2012 00:46:31 +0000 (16:46 -0800)]
Use audio_source_t consistently

Change-Id: I11de4e92254e128643d8f158c74dcfee97e51005

12 years agomerge in ics-release history after reset to master
The Android Automerger [Mon, 23 Jan 2012 15:00:46 +0000 (07:00 -0800)]
merge in ics-release history after reset to master

12 years agoFixes for concurrency support
Irfan Sheriff [Wed, 11 Jan 2012 00:24:51 +0000 (16:24 -0800)]
Fixes for concurrency support

Change-Id: Ia7251dc86184fff710234c70a8ad54a6b245809a

12 years agoMerge "Use audio_format_t consistently"
Glenn Kasten [Fri, 20 Jan 2012 22:50:30 +0000 (14:50 -0800)]
Merge "Use audio_format_t consistently"

12 years agoMerge "Audio policy HAL set_ringer_mode is deprecated"
Glenn Kasten [Fri, 20 Jan 2012 18:07:13 +0000 (10:07 -0800)]
Merge "Audio policy HAL set_ringer_mode is deprecated"

12 years agoFix typos
Glenn Kasten [Thu, 19 Jan 2012 00:27:02 +0000 (16:27 -0800)]
Fix typos

Change-Id: Ie0acd07861604e66f571e0c1f43cfdccf12ea691

12 years agoAudio policy HAL set_ringer_mode is deprecated
Glenn Kasten [Wed, 18 Jan 2012 23:24:50 +0000 (15:24 -0800)]
Audio policy HAL set_ringer_mode is deprecated

Change-Id: I66ef40ed381151ba61debe20edaa53bece0cc139

12 years agomerge in ics-release history after reset to master
The Android Automerger [Wed, 18 Jan 2012 15:00:27 +0000 (07:00 -0800)]
merge in ics-release history after reset to master

12 years agoMerge "audio policy manager: stream volume per device"
Eric Laurent [Wed, 18 Jan 2012 01:34:58 +0000 (17:34 -0800)]
Merge "audio policy manager: stream volume per device"

12 years agoaudio policy manager: stream volume per device
Eric Laurent [Thu, 15 Dec 2011 02:18:36 +0000 (18:18 -0800)]
audio policy manager: stream volume per device

Improve volume management by keeping track of volume for each type
of device independently.

AudioPolicyManagerBase now keeps track of stream volumes for each device
and apply volume according to current device selection.
Methods to set and get stream volume now specify the device class.
A value for "default" device is always present for each stream and is used
if a device is selected and no specific volume was ever set for this device.

Change-Id: I06d8f43aa151a09014f7e47e81304c73ff82e9f8

12 years agoMerge "Use audio_mode_t consistently"
Glenn Kasten [Tue, 17 Jan 2012 19:33:14 +0000 (11:33 -0800)]
Merge "Use audio_mode_t consistently"

12 years agoUse audio_stream_type_t consistently
Glenn Kasten [Thu, 12 Jan 2012 19:12:59 +0000 (11:12 -0800)]
Use audio_stream_type_t consistently

Change-Id: Ibeb4071cedb930c76dd62222b29844733bdc1548

12 years agoUse audio_format_t consistently
Glenn Kasten [Thu, 12 Jan 2012 23:01:42 +0000 (15:01 -0800)]
Use audio_format_t consistently

Was int

Change-Id: I8cc1beaa8006fb0a135cf1135955155090c8e87e

12 years agomerge in ics-release history after reset to master
The Android Automerger [Thu, 12 Jan 2012 22:13:23 +0000 (14:13 -0800)]
merge in ics-release history after reset to master

12 years agoUse audio_mode_t consistently
Glenn Kasten [Mon, 9 Jan 2012 18:41:59 +0000 (10:41 -0800)]
Use audio_mode_t consistently

Change-Id: I62e23b81e3a411a0d9f012b363373d938827a2e4

12 years agoFix monitor socket poll
Irfan Sheriff [Thu, 12 Jan 2012 00:48:39 +0000 (16:48 -0800)]
Fix monitor socket poll

Bug: 5534039

Change-Id: I28c41f896347963b0ded8415d1a51ff95cbf4b2d

12 years agomerge in ics-release history after reset to master
The Android Automerger [Tue, 10 Jan 2012 15:00:29 +0000 (07:00 -0800)]
merge in ics-release history after reset to master

12 years agomerge in ics-release history after reset to master
The Android Automerger [Mon, 9 Jan 2012 15:00:40 +0000 (07:00 -0800)]
merge in ics-release history after reset to master

12 years agoRename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
Steve Block [Sun, 8 Jan 2012 10:18:02 +0000 (10:18 +0000)]
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Idfcd2f2269080d92a621dc432c65f7cf244588af

12 years agoRename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE
Steve Block [Thu, 5 Jan 2012 23:27:53 +0000 (23:27 +0000)]
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: I86e4ce26d8fba68584d0a7fc17111b53c56d2932

12 years agomerge in ics-release history after reset to master
The Android Automerger [Thu, 5 Jan 2012 15:00:13 +0000 (07:00 -0800)]
merge in ics-release history after reset to master

12 years agoRename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE
Steve Block [Wed, 4 Jan 2012 20:07:20 +0000 (20:07 +0000)]
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/156801

Bug: 5449033
Change-Id: I21aea046270c8700d349a4181c559d1b05333a1b

12 years agoRename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
Steve Block [Tue, 20 Dec 2011 16:25:34 +0000 (16:25 +0000)]
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/156016

Bug: 5449033
Change-Id: I9dfdc3f00a5f4f5b6ef4c75280ce2594ab018577

12 years agomerge in ics-release history after reset to master
The Android Automerger [Mon, 2 Jan 2012 15:00:14 +0000 (07:00 -0800)]
merge in ics-release history after reset to master

12 years agoAdd support for p2p socket communication
Irfan Sheriff [Tue, 27 Dec 2011 21:50:07 +0000 (13:50 -0800)]
Add support for p2p socket communication

Right now, everything goes over the primary interface socket connection.
Add support for a seperate connection over the p2p interface.

Change-Id: I09118f88cfaa201b2d62d27add410cfd441d4454

12 years agomerge in ics-release history after reset to master
The Android Automerger [Mon, 12 Dec 2011 15:00:33 +0000 (07:00 -0800)]
merge in ics-release history after reset to master

12 years agoam af9565aa: Reconcile with ics-mr1-release
The Android Open Source Project [Fri, 9 Dec 2011 22:58:00 +0000 (14:58 -0800)]
am af9565aa: Reconcile with ics-mr1-release

* commit 'af9565aa8be0136463ec549d9d3abdd906d2c390':

12 years agoaudio policy manager: remove ringer mode dump
Eric Laurent [Thu, 8 Dec 2011 19:42:52 +0000 (11:42 -0800)]
audio policy manager: remove ringer mode dump

The ringer mode is at the moment not passed down from AudioService to
AudioPolicyManager as it is currently not used in any routig decision.

So the value store in audio policy manager is wrong and the dump is miss leading.

Change-Id: I3c21c168393470fd64c1b73e3c511576a9acdd7e

12 years agoReconcile with ics-mr1-release
The Android Open Source Project [Thu, 8 Dec 2011 18:22:08 +0000 (10:22 -0800)]
Reconcile with ics-mr1-release

Change-Id: Ifb9dad264079f0a566dd978dd56414fbaf59b9e0

12 years agoReconcile with ics-mr1-release
The Android Open Source Project [Fri, 4 Nov 2011 15:31:25 +0000 (08:31 -0700)]
Reconcile with ics-mr1-release

Change-Id: I2b1dcb119df18200eebaef2f888df7aaaa150b34

12 years agomerge in ics-release history after reset to master
The Android Automerger [Thu, 3 Nov 2011 13:59:16 +0000 (06:59 -0700)]
merge in ics-release history after reset to master

12 years agoam c16ac09f: Force camera shutter sound to speaker in Japan.
Eric Laurent [Wed, 2 Nov 2011 17:31:48 +0000 (17:31 +0000)]
am c16ac09f: Force camera shutter sound to speaker in Japan.

* commit 'c16ac09f510437e8340be691720177a490ae78f0':
  Force camera shutter sound to speaker in Japan.

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Wed, 2 Nov 2011 13:46:14 +0000 (06:46 -0700)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoam c16ac09f: Force camera shutter sound to speaker in Japan.
Eric Laurent [Tue, 1 Nov 2011 22:44:20 +0000 (22:44 +0000)]
am c16ac09f: Force camera shutter sound to speaker in Japan.

* commit 'c16ac09f510437e8340be691720177a490ae78f0':
  Force camera shutter sound to speaker in Japan.