Chong Zhang
1e6be7285d
MediaPlayer: pause media time when buffering
...
bug: 20500732
Change-Id: Ife7f75f5cc587af56451c85ea8adbdc380f38348
2015-05-07 22:43:27 +00:00
Mike Lockwood
fd5637fcce
MidiManager: Improve output of "dumpsys midi"
...
- Include each device's port status from MidiDeviceStatus
- MidiDeviceInfo.toString() now outputs all the names and values in the properties Bundle
Change-Id: Ic9329153e4ae4d5619e274d27a420943473377e5
2015-05-07 13:02:01 -07:00
Jeff Brown
c05c1aeedf
Revert "Initial draft of new MediaRouter APIs."
...
This reverts commit 1a937b04e63539cb1fab1bde601031d415c7156f.
Bug: 20641986
Change-Id: I035d945d1561e5fc7c914aa9362635f763c83cfd
2015-05-06 16:02:21 -07:00
Zhijun He
7c3997d96a
ImageReader: Image getFormat should return the Image buffer format
...
Also return buffer size correctly.
Bug: 19527410
Change-Id: I9a912afc61d577571c1b2a7f6df21da40838e925
2015-05-06 12:14:36 -07:00
Eric Laurent
b65cd17b05
Merge "Implement audio routing callbacks" into mnc-dev
2015-05-06 17:51:53 +00:00
Jeff Tinker
26d955fd02
Merge "Clarify wording of MediaCrypto exception "ERROR_NO_KEY"" into mnc-dev
2015-05-06 17:22:35 +00:00
Eric Laurent
4bcdba8484
Implement audio routing callbacks
...
Implement JNI for AudioTrack and AudioRecord routing
callbacks:
- Added files core/jni/android_media_DeviceCallback.cpp/.h
for JNI callback implementation used by both AudioTrack
and AudioRecord.
- Made AudioManager AudioPort and AudioPatch methods static
in order to call them without context.
Also added IO handle information to AudioMixPort.
Change-Id: Icee182aa68310d4b12fd1469f48e78110889acf1
2015-05-06 17:03:50 +00:00
Jae Seo
936c040ec4
TIF: Make all the parameters for UNRATED null
...
UNRATED is equivalent to Java null in its meaning and usage, thus it is
not appropriate to use non-trivial strings such as "com.android.tv" and
"UNRATED" to create this constant. Replaced them with the string "null",
which is commonly used in other parts of Android and also modified the
documentation to clarify its usage.
Bug: 19102311
Change-Id: I28ac8da3584eb2cc6dfd7284e2b88873fd4e9d13
2015-05-05 15:48:06 -07:00
Jeff Tinker
fc48bf78a2
Clarify wording of MediaCrypto exception "ERROR_NO_KEY"
...
related-to-bug: 20857014
Change-Id: I13204528ec44cda76a721f4d9f6021c1435921ac
2015-05-05 15:04:01 -07:00
Harish Mahendrakar
34265cd94f
media: Added MPEG2 profile/levels and tests
...
Bug: 20852831
Change-Id: I172f2f08c30d12bf684f32a52db64823cc286d35
2015-05-05 11:05:22 -07:00
Prerepa Viswanadham
d1808401ca
Merge changes from topic 'mwd-merge-050415' into mnc-dev
...
* changes:
Merge commit 'b6f59f4' into master_merge
Merge commit 'f6db0ce' into master_merge
Merge commit '17455a3' into master_merge
Merge commit 'b4d5b32' into master_merge
Merge commit 'a1a2fa7' into master_merge
Merge commit '8dfdb98' into master_merge
Merge commit 'eba66c3' into master_merge
2015-05-05 01:06:38 +00:00
Robert Shih
5eac1da3bb
Merge "MediaPlayer: setSubtitleAnchor on a HandlerThread" into mnc-dev
2015-05-04 23:50:07 +00:00
Robert Shih
98b6842e30
MediaPlayer: setSubtitleAnchor on a HandlerThread
...
This ensures that we wouldn't run into the error `Can't create handler
inside thread that has not called Looper.prepare` no matter on which
thread we attempt to set the SubtitleController internally.
Bug: 20821869
Change-Id: Ie53d60b58f5382428e7b7a01deccfa516b61b25f
2015-05-04 16:38:30 -07:00
Wei Jia
d80d6f6b05
MediaSync: clean up configureAudioTrack and configureSurface.
...
Bug: 19666434
Change-Id: I8b112843d430c0730a879abc9aa25f143bdcf09d
2015-05-04 15:59:20 -07:00
Svetoslav
fbf0ecabac
Add camera app op - framework
...
Change-Id: I17736a8abe2c6775e990b88fb3eab963f47167d0
2015-05-02 16:23:19 -07:00
Lajos Molnar
4971de2a2e
Merge "media: hook up MediaCodec.setSurface" into mnc-dev
2015-05-02 02:23:11 +00:00
Chong Zhang
0335916173
MediaRecorder: implement persistent input surface APIs
...
Bug: 19127604
Bug: 19489395
Change-Id: Ic8e151b97ea6b85fc65f724d3e68e1cb6b500866
2015-05-02 02:20:20 +00:00
Chong Zhang
8034d60f6e
MediaCodec: implement persistent input surface APIs
...
Bug: 19127604
Bug: 19489395
Change-Id: If0d723c9ecd6fe81d9df210bd2fd026b8603ea4a
2015-05-01 18:30:09 -07:00
Lajos Molnar
5e02ba977e
media: hook up MediaCodec.setSurface
...
Bug: 11990461
Change-Id: Id2dc952594c21c6be68e4ffd039c7f74006a2374
2015-05-01 17:39:37 -07:00
Robert Shih
043b26ba9a
am 4816ebe8: am e8a8440d: am f1207122: Merge "MediaPlayer: provide mime type for all track types" into mnc-dev
...
* commit '4816ebe8c2f312bca44d95abdfec0dba137c4fd4':
MediaPlayer: provide mime type for all track types
2015-05-01 01:35:13 +00:00
Lajos Molnar
f0afeb2373
am 0486d03d: am 607dab36: am 05ebffe6: media: Hook up MediaPlayer and MediaSync to new settings
...
* commit '0486d03dc0c843f31852afc2812c934f10aeb21e':
media: Hook up MediaPlayer and MediaSync to new settings
2015-05-01 01:34:53 +00:00
Robert Shih
4816ebe8c2
am e8a8440d: am f1207122: Merge "MediaPlayer: provide mime type for all track types" into mnc-dev
...
* commit 'e8a8440d70222750ad9b8563cbc80ca5c563b9c1':
MediaPlayer: provide mime type for all track types
2015-05-01 00:57:33 +00:00
Robert Shih
f12071222f
Merge "MediaPlayer: provide mime type for all track types" into mnc-dev
2015-05-01 00:31:24 +00:00
Lajos Molnar
0486d03dc0
am 607dab36: am 05ebffe6: media: Hook up MediaPlayer and MediaSync to new settings
...
* commit '607dab369580d8510f42b1a796ee623eaf4b2adf':
media: Hook up MediaPlayer and MediaSync to new settings
2015-05-01 00:28:36 +00:00
Lajos Molnar
05ebffe6bf
media: Hook up MediaPlayer and MediaSync to new settings
...
Bug: 19666434
Change-Id: Ib815a80a991d4be9ce179514ac517c54f98234fd
2015-04-30 16:49:36 -07:00
Robert Shih
29767a8c34
MediaPlayer: provide mime type for all track types
...
Bug: 20729923
Change-Id: Id05ca0616a72f66abe6a541417baef491c49a417
2015-04-30 16:34:57 -07:00
Glenn Kasten
cc2f85a406
am f7de1bc8: am 2757fed2: Merge "Clarifying which receiver method to call." into mnc-dev
...
* commit 'f7de1bc8f11aeb133bc916f020c6c6bb5eb859bf':
Clarifying which receiver method to call.
2015-04-30 20:53:46 +00:00
Glenn Kasten
2757fed2d6
Merge "Clarifying which receiver method to call." into mnc-dev
2015-04-30 20:28:00 +00:00
Peter Brinkmann
d8f6363a5d
Clarifying which receiver method to call.
...
Change-Id: Iaf89e1ff27e257fd25c54e189e8fcd1b10e8edfc
2015-04-30 12:43:02 -07:00
Peter Brinkmann
ffe0498abb
Merge "Clarifying which receiver method to call."
2015-04-30 18:58:29 +00:00
Peter Brinkmann
0abae734f0
Clarifying which receiver method to call.
...
Change-Id: Iaf89e1ff27e257fd25c54e189e8fcd1b10e8edfc
2015-04-30 14:46:07 -04:00
Jean-Michel Trivi
e36846cbf1
am c8efc449: am 3d42d238: am f764d219: Merge "AudioService receives callback for dynamic policy mix state changes" into mnc-dev
...
* commit 'c8efc4490df6fb58bf333540cf746c68070345f5':
AudioService receives callback for dynamic policy mix state changes
2015-04-30 17:26:29 +00:00
Jean-Michel Trivi
c8efc4490d
am 3d42d238: am f764d219: Merge "AudioService receives callback for dynamic policy mix state changes" into mnc-dev
...
* commit '3d42d2380f5af53ce299610e27f40a8d88930c89':
AudioService receives callback for dynamic policy mix state changes
2015-04-30 17:14:30 +00:00
Jean-Michel Trivi
f764d219f0
Merge "AudioService receives callback for dynamic policy mix state changes" into mnc-dev
2015-04-30 16:43:19 +00:00
Jean-Michel Trivi
5a56109d1f
AudioService receives callback for dynamic policy mix state changes
...
AudioService registers a callback for dynamic policies from
AudioSystem.
AudioSystem keeps track of a single callback for dynamic policies.
Bug 20226914
Change-Id: I48899d20d1dbb47bb680e733a3bc9fd064b60f07
2015-04-29 17:56:19 -07:00
Andy Hung
6344c67e2b
am edcf5e1e: am f17dd0b4: am 1afdbe3b: Merge "Pass PlaybackSettings as class object for AudioTrack JNI" into mnc-dev
...
* commit 'edcf5e1e05b7c258665476a75af8440b12050ace':
Pass PlaybackSettings as class object for AudioTrack JNI
2015-04-30 00:27:27 +00:00
Andy Hung
edcf5e1e05
am f17dd0b4: am 1afdbe3b: Merge "Pass PlaybackSettings as class object for AudioTrack JNI" into mnc-dev
...
* commit 'f17dd0b48c894fda00b1d2068ef54b05221b1d7a':
Pass PlaybackSettings as class object for AudioTrack JNI
2015-04-30 00:16:16 +00:00
Andy Hung
1afdbe3b77
Merge "Pass PlaybackSettings as class object for AudioTrack JNI" into mnc-dev
2015-04-29 23:50:46 +00:00
Mike Lockwood
4e17165287
am 62b4cbce: am bcec6a49: am e1d00395: Merge "MidiDeviceInfo: Add version string property" into mnc-dev
...
* commit '62b4cbceb33dc657cfaee2971ad6bc3d1aab3fbb':
MidiDeviceInfo: Add version string property
2015-04-29 21:26:01 +00:00
Mike Lockwood
62b4cbceb3
am bcec6a49: am e1d00395: Merge "MidiDeviceInfo: Add version string property" into mnc-dev
...
* commit 'bcec6a4980366f10182c8dc09ec1eff6f78d7043':
MidiDeviceInfo: Add version string property
2015-04-29 21:15:25 +00:00
Andy Hung
fe48e0dfb9
Pass PlaybackSettings as class object for AudioTrack JNI
...
Change-Id: Ic7fb5f84ed1fc4cc2286e5c207fee5298a64a5a4
2015-04-29 14:09:18 -07:00
Mike Lockwood
e1d003958d
Merge "MidiDeviceInfo: Add version string property" into mnc-dev
2015-04-29 20:50:35 +00:00
Mike Lockwood
02868b1625
MidiDeviceInfo: Add version string property
...
For USB devices, this is populated with the USB device version string.
Change-Id: Ia9286d5f41783e4e960a9c724bf6b85b6599fe12
2015-04-29 13:44:34 -07:00
Svet Ganov
8baf2b6663
am 0dbaba6c: am 5e47c802: am 56867804: Merge "Respect the record audio app op - framework" into mnc-dev
...
* commit '0dbaba6c3a7ae0a45e2305a21b0ef5decbde59a4':
Respect the record audio app op - framework
2015-04-29 20:09:09 +00:00
Svet Ganov
0dbaba6c3a
am 5e47c802: am 56867804: Merge "Respect the record audio app op - framework" into mnc-dev
...
* commit '5e47c802ef1ac9437b012bc70701ffaf048cb399':
Respect the record audio app op - framework
2015-04-29 19:55:31 +00:00
Svet Ganov
5686780404
Merge "Respect the record audio app op - framework" into mnc-dev
2015-04-29 19:34:06 +00:00
John Spurlock
d1a32bada1
am 23e46a4e: am 2d67b288: am 8dbcda1b: Merge "Volume: Simple dialog footer, DND in quick settings." into mnc-dev
...
* commit '23e46a4e8d9405e24169a0bb38ff6dc5b8d99ff2':
Volume: Simple dialog footer, DND in quick settings.
2015-04-29 14:36:23 +00:00
John Spurlock
23e46a4e8d
am 2d67b288: am 8dbcda1b: Merge "Volume: Simple dialog footer, DND in quick settings." into mnc-dev
...
* commit '2d67b2887c0a279aa182646f0e23b176783a1aca':
Volume: Simple dialog footer, DND in quick settings.
2015-04-29 14:27:19 +00:00
John Spurlock
8dbcda1b33
Merge "Volume: Simple dialog footer, DND in quick settings." into mnc-dev
2015-04-29 14:02:52 +00:00
John Spurlock
d9c75dba75
Volume: Simple dialog footer, DND in quick settings.
...
- Show DND tile by default, this is now the only
place to manage DND modes / end conditions.
- Remove super footer from volume dialog, replace with
a simplified version that displays the current mode
and allows ending DND.
- Remove obsolete text-only footer from codebase.
- Migrate remaining volume items into main resource files.
- Rename "No interruptions" to "Total silence".
- Add new user information banner for "Total silence"
- Crude media filtering for Total Silence.
(deeper muting changes will be done as a followup)
- Disable volume dialog sliders completely if muted due
to zen.
- Cleanup ZenModePanel: assume embedded mode, remove
expandable subhead
- Remember "favorite" DND mode inside the DND config panel.
- AudioService: consult ringer-mode-delegate before voluming
down into silent.
- Add new hour options to time-based exit conditions.
- Volume dialog visual updates to move closer to final visuals.
- Unify ringer=silent with DND.
Bug: 19260237
Change-Id: I05d7e001eca3b5125418ec3bc4087d0cb8866717
2015-04-29 09:58:38 -04:00