Eric Laurent
bd0e6c36d5
am e5a25a76: am ad58ca67: Merge "AudioService: handle stream mute by stream alias" into lmp-mr1-dev automerge: 50085fb
...
* commit 'e5a25a7689d3b2c8f6e0a047f6dd27f9d6c19ae4':
AudioService: handle stream mute by stream alias
2015-01-14 21:13:47 +00:00
Eric Laurent
e5a25a7689
am ad58ca67: Merge "AudioService: handle stream mute by stream alias" into lmp-mr1-dev
...
automerge: 50085fb
* commit '50085fbccfd08038ba5ec888621d960dbbe21405':
AudioService: handle stream mute by stream alias
2015-01-13 23:25:05 +00:00
Eric Laurent
4fb3b60215
AudioService: handle stream mute by stream alias
...
Handle stream mute/unmute requests at the stream
alias level (like is done volume changes) to be consistent.
E.g a request to mute/unmute a stream will affect all streams
sharing the same alias for volume management.
Bug: 18844550.
Change-Id: Ie2e463c58df0371589150f0ebb9b36c38b14e1be
2015-01-13 12:19:53 -08:00
Eric Laurent
cba9873ee2
Merge commit 'fe254b6e' into manualmerge
...
Change-Id: If26269b8356155a0cb4c364c971866ec3b7e4ca6
2015-01-13 11:54:38 -08:00
Eric Laurent
fe254b6ed2
am 695233fe: Merge "AudioService: send connection intent for HDMI ARC device" into lmp-mr1-dev
...
automerge: f672783
* commit 'f67278306b7f4c48f92113a8f1c1ace39c9b62e7':
AudioService: send connection intent for HDMI ARC device
2015-01-12 16:29:59 +00:00
Eric Laurent
695233fe83
Merge "AudioService: send connection intent for HDMI ARC device" into lmp-mr1-dev
2015-01-12 15:39:45 +00:00
Rachad
9eed8f9a5e
am 2a7991ee: am 6d3cff12: Merge "MediaCodec: Added E-AC3 mime type (@hide)." into lmp-mr1-dev automerge: b60bb35
...
* commit '2a7991ee2f331c242ff9f7b87058e64b50a616fd':
MediaCodec: Added E-AC3 mime type (@hide).
2015-01-10 01:37:29 +00:00
Rachad
2a7991ee2f
am 6d3cff12: Merge "MediaCodec: Added E-AC3 mime type (@hide)." into lmp-mr1-dev
...
automerge: b60bb35
* commit 'b60bb35650c7075bc66bf2b8f5c0fbe428092010':
MediaCodec: Added E-AC3 mime type (@hide).
2015-01-10 01:31:01 +00:00
Rachad
6d3cff1264
Merge "MediaCodec: Added E-AC3 mime type (@hide)." into lmp-mr1-dev
2015-01-10 01:23:35 +00:00
Paul McLean
96798efe99
Merge "Support for simultaneous USB Audio Devices connect/disconnect"
2015-01-09 23:12:37 +00:00
Eric Laurent
6fa4245589
AudioService: send connection intent for HDMI ARC device
...
Bug: 18921279.
Change-Id: I1e23b5aed7a2835feb0fea2a412f3622c01cbe55
2015-01-09 15:09:40 -08:00
Paul McLean
0a8f06922f
Support for simultaneous USB Audio Devices connect/disconnect
...
Attach/Detach logic
Decoupling card# and list index
Modern loop constructs
Consistent logging flags
Add class/type flags to device "address" string.
Factored UsbAudioDevice out of UsbAudioManager.
Bug: 18399845
Bug: 18717784
Change-Id: I6f185e1c24091d4c0d21eb7e922a1496748d32c3
2015-01-09 14:56:43 -08:00
RoboErik
effe42e253
Merge "Reload MediaBrowser children on each call to subscribe"
2015-01-08 19:54:34 +00:00
Haitao Feng
67f304e2ca
Use NULL instead of 0 when invoking CallStaticVoidMethod
...
static void CallStaticVoidMethod is variable argument function.
if pass 0 to the function like: CallStaticVoidMethod(......, 0),
0 will be treated as INT data type.but in the CallStaticVoidMethod
implement 0 will be treated as pointer data type.Pointer in 64bit
system occupied 8 bytes, but in 64bit system int occupied 4 bytes.
if call function like: CallStaticVoidMethod(......, 0),
only low 4 bytes will be assigned 0.Turned out it actually call
function like this: CallStaticVoidMethod(......, 0xXXXXXXXX00000000).
intent to pass NULL to function but passed non-NULL parameter to
the function.this will cause GCDaemon crash.
Bug: 18911458
Change-Id: I9d700d3790a80dbee6826f64baf9ef5d81ca390f
Reviewed-by: Liao, Bruce <bruce.liao@intel.com>
Signed-off-by: Yong Yao <yong.yao@intel.com>
2015-01-08 19:09:22 +00:00
Andy Hung
13fd0f400c
Merge "Use channelCountFromOutChannelMask in AudioTrack"
2015-01-08 00:11:58 +00:00
RoboErik
7554d099e7
Reload MediaBrowser children on each call to subscribe
...
Only one callback can be set on a given media id on MediaBrowser. When you
try to subscribe with a new callback it replaces the old callback, but it
wasn't resending the child data for the id. This causes calling subscribe
again also cause the data to be reloaded and sent to the app again.
bug:18683452
Change-Id: I2d30dbbbfe07cb9a720fb6d65664c1c4c58cb637
2015-01-07 10:14:04 -08:00
Andy Hung
8528ed43b4
Use channelCountFromOutChannelMask in AudioTrack
...
Change-Id: I3bac3f9bae0816f78db1dc410963274eb0439e10
2015-01-06 16:24:59 -08:00
Narayan Kamath
a6f7099343
am 031acc4b: am 3787decd: am 5137415e: Merge "Use NULL instead of 0 for pointer arguments of CallStaticVoidMethod."
...
* commit '031acc4b3920336e58c56abb99322cbeb9be9e5c':
Use NULL instead of 0 for pointer arguments of CallStaticVoidMethod.
2015-01-06 20:09:12 +00:00
Narayan Kamath
031acc4b39
am 3787decd: am 5137415e: Merge "Use NULL instead of 0 for pointer arguments of CallStaticVoidMethod."
...
* commit '3787decd8d41320ec9201405ec4cc893b2c99d78':
Use NULL instead of 0 for pointer arguments of CallStaticVoidMethod.
2015-01-06 10:16:34 +00:00
Narayan Kamath
5137415e39
Merge "Use NULL instead of 0 for pointer arguments of CallStaticVoidMethod."
2015-01-06 10:06:06 +00:00
Haitao Feng
8bd6a203ca
Use NULL instead of 0 for pointer arguments of CallStaticVoidMethod.
...
CallStaticVoidMethod is varargs function, and calling it with
a literal 0 like CallStaticVoidMethod(..., 0) will treat the
argument as a 4 byte int in both 32 and 64 bit processes.
This is incorrect for pointer arguments where NULL should be
used instead.
Reviewed-by: Liao, Bruce <bruce.liao@intel.com>
Signed-off-by: Yong Yao <yong.yao@intel.com>
Change-Id: I9d700d3790a80dbee6826f64baf9ef5d81ca390f
2015-01-06 09:57:13 +00:00
Narayan Kamath
c82be5f27f
am dd65a4f7: am ea4cdd44: Merge "Race-condition in SoundPool during release"
...
automerge: b7974bd
* commit 'b7974bd31d06d439cb75f8a3a0ad032fa689c729':
Race-condition in SoundPool during release
2015-01-05 18:10:33 +00:00
Narayan Kamath
b7974bd31d
am dd65a4f7: am ea4cdd44: Merge "Race-condition in SoundPool during release"
...
* commit 'dd65a4f735a311fe60c065449e394974807ff297':
Race-condition in SoundPool during release
2015-01-05 18:08:06 +00:00
Narayan Kamath
ea4cdd4454
Merge "Race-condition in SoundPool during release"
2015-01-05 17:57:27 +00:00
Glenn Kasten
cd4ac0a204
Merge "Fix build"
2014-12-29 19:08:48 +00:00
Glenn Kasten
41edd7cb86
Merge "Update API documentation for static AudioTrack"
2014-12-29 19:08:04 +00:00
Glenn Kasten
b5e5efbab8
Fix build
...
Change-Id: I1119c37ac317d0ce86c53a6c134c664d2f1c2cb3
2014-12-29 08:17:56 -08:00
John Spurlock
aa5adac6d2
am af84e073: Merge "Audio Policy: Clear calling identity for all paths setting ringer mode." into lmp-mr1-dev automerge: db41690
...
automerge: bbe3087
* commit 'bbe3087ec08b22bf3778e1ed77a0d6bfc13611a4':
Audio Policy: Clear calling identity for all paths setting ringer mode.
2014-12-28 05:57:49 +00:00
John Spurlock
bbe3087ec0
am af84e073: Merge "Audio Policy: Clear calling identity for all paths setting ringer mode." into lmp-mr1-dev
...
automerge: db41690
* commit 'db416907b831010cc2854292aa7de85fd8857a77':
Audio Policy: Clear calling identity for all paths setting ringer mode.
2014-12-28 05:42:43 +00:00
Jean-Michel Trivi
d3f58b0214
am 98ba8409: am 996af72b: Merge "AudioRecord: filter attributes" into lmp-mr1-dev
...
automerge: 6fa5d8d
* commit '6fa5d8dab0314e095af07f8e58c76a3af3de0c15':
AudioRecord: filter attributes
2014-12-26 20:33:40 +00:00
Jean-Michel Trivi
6fa5d8dab0
am 98ba8409: am 996af72b: Merge "AudioRecord: filter attributes" into lmp-mr1-dev
...
* commit '98ba8409876087f32114d889435b7f1bd7a73ffb':
AudioRecord: filter attributes
2014-12-26 20:30:04 +00:00
John Spurlock
af84e073bc
Merge "Audio Policy: Clear calling identity for all paths setting ringer mode." into lmp-mr1-dev
2014-12-24 01:16:14 +00:00
Glenn Kasten
ac322096d8
Update API documentation for static AudioTrack
...
Change-Id: Ie9e2c020680a5264eb0074f30f33eb1204c1a106
2014-12-23 16:52:50 -08:00
Rachad
6564f5be74
MediaCodec: Added E-AC3 mime type (@hide).
...
Bug: 17883772
Change-Id: I48b2ab64812d860bb1a01d0a14e10690b86c4519
2014-12-23 16:12:44 -08:00
John Spurlock
af88a19165
Audio Policy: Clear calling identity for all paths setting ringer mode.
...
For proper appops bookkeeping and zen setting changes.
Bug: 18832923
Change-Id: Ic029d3226458ca1a9229a0bc5726bedd5e117ad7
2014-12-23 16:14:44 -05:00
Jean-Michel Trivi
996af72b0c
Merge "AudioRecord: filter attributes" into lmp-mr1-dev
2014-12-22 18:55:40 +00:00
Jean-Michel Trivi
43bcd8fa74
AudioRecord: filter attributes
...
When creating an AudioRecord instance, filter the tags in the
AudioAttributes to remove tags that are handled at the Java
layer.
Bug: 18733215
Bug: 18736417
Change-Id: I16a3497742086deced4e8677bd6231290396c5f6
2014-12-22 18:15:32 +00:00
Eric Laurent
ddac2a7b31
am 05fce092: am 8d24fe23: Merge "AudioService: fix permission check." into lmp-mr1-dev
...
automerge: b418537
* commit 'b4185370d22457e8893ab5da07870e6d56910fbe':
AudioService: fix permission check.
2014-12-19 17:31:14 +00:00
Eric Laurent
b4185370d2
am 05fce092: am 8d24fe23: Merge "AudioService: fix permission check." into lmp-mr1-dev
...
* commit '05fce092aa2b6a7f4a8cf4b0f33f7c003eb228f3':
AudioService: fix permission check.
2014-12-19 17:28:03 +00:00
Eric Laurent
8d24fe235a
Merge "AudioService: fix permission check." into lmp-mr1-dev
2014-12-19 17:11:28 +00:00
Oliver Woodman
c2597f0e09
am 9aa5cb76: am 69fd01d3: Merge "MediaSessionLegacyHelper uses global Application context" into lmp-mr1-dev
...
automerge: 20e52c3
* commit '20e52c3453b2683cccfc4ac0841c9d6ef0796f88':
MediaSessionLegacyHelper uses global Application context
2014-12-19 11:49:15 +00:00
Oliver Woodman
20e52c3453
am 9aa5cb76: am 69fd01d3: Merge "MediaSessionLegacyHelper uses global Application context" into lmp-mr1-dev
...
* commit '9aa5cb76f3b0486afcd9b3ff445d8d082793f2b5':
MediaSessionLegacyHelper uses global Application context
2014-12-19 11:47:38 +00:00
Oliver Woodman
69fd01d3e6
Merge "MediaSessionLegacyHelper uses global Application context" into lmp-mr1-dev
2014-12-19 11:37:04 +00:00
Eric Laurent
38edfda9bd
AudioService: fix permission check.
...
Clear caller identity before calling TelecomManager.isInCall().
Bug: 18702149.
Change-Id: Ie057f3f261fc0a36dff51840cc8390408621d3bd
2014-12-18 17:40:43 -08:00
Jean-Michel Trivi
9b5257c9c9
MediaSessionLegacyHelper uses global Application context
...
MediaSessionLegacyHelper used a Context passed by an application
which can cause a leak of Activity instances. Use the global
Application context instead.
Also prevent crash if a null Context is supplied (method not
documented as requesting a non-null Context).
Bug 18767503
Change-Id: I8281047d0af233a323f3fc11ababedff848829ec
2014-12-18 16:42:59 -08:00
John Spurlock
01a8d29e27
am caba3603: am e7f301a0: Merge "Audio policy: Fix deprecated shouldVibrate api." into lmp-mr1-dev
...
automerge: 09ab7d0
* commit '09ab7d0663210f7b87c830b4560474a05564c37a':
Audio policy: Fix deprecated shouldVibrate api.
2014-12-17 20:27:39 +00:00
John Spurlock
09ab7d0663
am caba3603: am e7f301a0: Merge "Audio policy: Fix deprecated shouldVibrate api." into lmp-mr1-dev
...
* commit 'caba360367ea9900a48066f97f4b6e59877a9df6':
Audio policy: Fix deprecated shouldVibrate api.
2014-12-17 20:23:55 +00:00
John Spurlock
57627794b6
Audio policy: Fix deprecated shouldVibrate api.
...
And apply zen mode immediately to avoid race conditions
in tests.
Bug: 18702149
Change-Id: Iad156a29b9e6a5998e7c2dafa8b79a71447066f9
2014-12-17 12:34:00 -05:00
Nick Chalko
02ce449b70
Merge "Include documentation for a null surface in TvInputService.Session.onSetSurface."
2014-12-17 04:35:16 +00:00
Nick Chalko
922a6f3766
Include documentation for a null surface in TvInputService.Session.onSetSurface.
...
Bug: 18718144
Change-Id: I359a918da4ceeb01e44b38e6e82a501c0360e681
2014-12-16 18:58:14 -08:00