Mike Lockwood
383ce580b1
Merge "MidiManager: proxy all requests to open devices through MidiService" into mnc-dev
2015-06-08 19:37:36 +00:00
Lajos Molnar
d8578577b0
media: hook up OnFrameRenderedListener events to framework events
...
Bug: 20503131
Change-Id: Ife6d4862d14daf5b9659307af57417bd3532e8fe
2015-06-08 11:06:53 -07:00
Jae Seo
093d994965
TIF: Replace explicit types with <>
...
Also removed unnecessary boxing/unboxing
Change-Id: I97ef6b7f369cac97a133180773be96463f2a813d
2015-06-05 16:24:57 -07:00
Jae Seo
38b3257b7c
TIF: Convert fields to local variables
...
Change-Id: Ide6c5ad36229410f30f7929c6dd511945d48aa6f
2015-06-05 14:53:21 -07:00
Jae Seo
5f18527037
Merge "TIF: Add more explanation for notifyChannelRetuned" into mnc-dev
2015-06-05 18:05:33 +00:00
Jae Seo
36a8fd83b3
TIF: Remove unused imports
...
Change-Id: I1419a8e44d82fa009ccd6170d9048c3e24f51a2b
2015-06-05 10:51:52 -07:00
Jae Seo
4640d3d81a
TIF: Add more explanation for notifyChannelRetuned
...
Bug: 21277081
Change-Id: Ia4de27bc0ecdf49bcad83cfcd396e8d55dc8343a
2015-06-05 10:34:20 -07:00
Mike Lockwood
e0a6ca64fa
MidiManager: proxy all requests to open devices through MidiService
...
Previously when a MidiManager client opened a virtual or Bluetooth device,
the client bound directly to the virtual device's MidiDeviceService
or BluetoothMidiDevice's IMidiDeviceServer for the given BluetoothDevice.
Only USB devices were opened in MidiService.
Now opening any type of MIDI device is done via IMidiManager.openDevice() or
IMidiManager.openBluetoothDevice(). MidiService tracks all connnections between
clients and devices.
Services that implement virtual devices must now require android.permission.BIND_MIDI_DEVICE_SERVICE
so only MidiService can bind to these services.
Bug: 21044677
Change-Id: I7172f7b1e0cbfe4a2a87dff376c32dc9b41aa563
2015-06-04 19:16:23 -07:00
Dongwon Kang
9e7ac352eb
Merge "TIF: Add sanitization code for the current position" into mnc-dev
2015-06-05 00:27:02 +00:00
Dongwon Kang
bb3e2674b5
TIF: Add sanitization code for the current position
...
+ More documentation on the currnet position
Bug: 21573422
Change-Id: I51d184d03a61270d3ea36b36f880f1f052a99cd1
2015-06-04 17:25:59 -07:00
Eric Laurent
01b9c4cdb3
Merge "Ringtone: keep a reference until playback completion." into mnc-dev
2015-06-04 19:13:47 +00:00
Alan Viverette
5299968517
Merge "Prevent poorly-extended ParcelableSpans from writing to parcels" into mnc-dev
2015-06-04 16:55:57 +00:00
Eric Laurent
203b411dee
Ringtone: keep a reference until playback completion.
...
Keep a reference on active Ringtones to avoid garbage collection
before playback is complete.
Bug: 11366759.
Change-Id: Icb04da427c20e0b4657e9e8b13b3ecab98e5a333
2015-06-04 09:29:45 -07:00
Zhijun He
b1300e39c7
Camera2: add high speed video APIs
...
Interface only.
Bug: 21442271
Change-Id: If81caa0f2dc9f7802af564abcd9541aff3e30901
2015-06-03 17:50:22 -07:00
Phil Burk
7d2065ed4f
MIDI docs: use getPorts()
...
Also use boolean to control synth start and stop.
Add mention of feature declaration in Manifest.
Add virtual MIDI devices to bullet list.
Change-Id: I7b36e3ce69caf9d1d15d23f1a0836d525022ef9e
Signed-off-by: Phil Burk <philburk@google.com>
2015-06-03 14:36:34 -07:00
Jeff Tinker
4575acf1e7
Merge "Fix bug in MediaCrypto.setMediaDrmSession" into mnc-dev
2015-06-03 20:03:29 +00:00
Robert Shih
0c9fccf1ed
Merge "media Utils: remove parse integer logspam" into mnc-dev
2015-06-03 19:07:28 +00:00
Robert Shih
dcb5ab97f6
media Utils: remove parse integer logspam
...
Bug: 21569707
Change-Id: I808ce760f55cf6aad8376bc7ca3b3c5a88cb6b01
2015-06-03 10:51:28 -07:00
Arunesh Mishra
310fe5af67
Merge "Use config.xml parameters instead of System properties." into mnc-dev
2015-06-03 17:13:55 +00:00
Alan Viverette
a70d4a90a0
Prevent poorly-extended ParcelableSpans from writing to parcels
...
If a developer extends an existing ParcelableSpan and overwrites
writeToParcel, TextUtils will crash when attempting to unparcel
since the span type ID is not accurate. This CL makes a separate
framework-private method for writeToParcel to ensure that even if
a developer extends a ParcelableSpan class, they won't modify the
parceling or unparceling code that's tied to the span type ID.
Bug: 21274544
Change-Id: If4c3506a55999df7a3b6d87cb8d550235d7a02c6
2015-06-02 16:11:00 -07:00
Arunesh Mishra
6e4fb34e27
Use config.xml parameters instead of System properties.
...
For 'near-ultrasound' support (mic/speaker). Refer b/21072209
for details.
Bug: 21072209
Change-Id: Id7131cd38288d74af8102487b2c6b03048b4ae3b
2015-06-02 15:13:17 -07:00
Doris Liu
942bc58518
Fix calls to Rect.intersect(Rect)
...
This CL checks for the return value for Rect.intersect(Rect) for whether
there is actually an intersection before taking the calling rect as the
intersection. In the case of no intersection (Rect.intersect(Rect) returns
false), the calling rect would not have been changed, so here in this CL
it will be manually set empty.
Bug: 7368679
Change-Id: I7494c1a1649eca09e34412f0a59b795e8b3a82aa
2015-06-02 15:01:48 -07:00
Robert Shih
eb8a51f359
Merge "MediaPlayer: trigger onError instead of exception on stale native notifications" into mnc-dev
2015-06-01 21:56:35 +00:00
Jeff Tinker
025af8b0de
Fix bug in MediaCrypto.setMediaDrmSession
...
MediaCryptoException was being thrown unexpectedly
bug: 21565802
Change-Id: I44768cac1e85a01c8d775b8432d11711ae978b0d
2015-06-01 14:17:06 -07:00
Robert Shih
07830aa6ba
MediaPlayer: trigger onError instead of exception on stale native notifications
...
This change also reverted commit 2c838fbd87ad5685c0008b419ea02421159b9b70,
"MediaPlayer: add mPreparing to weed out unwanted prepared messages".
Bug: 21266735
Change-Id: I392342519420bee2fde1fe1915c51d24101ca27d
2015-06-01 13:50:00 -07:00
Marco Nelissen
2e2ac33e88
Merge "Update ExifInterface.getDateTime to support subseconds" into mnc-dev
2015-05-29 22:26:58 +00:00
Marco Nelissen
b2c890044e
Update ExifInterface.getDateTime to support subseconds
...
Also document that it returns local time.
Bug: 20638367
Change-Id: I6a1c35925e0555bcdcb079be0ca5b19a279a05a6
2015-05-29 14:49:03 -07:00
Andy Hung
51c1e3bd14
Merge "Clarify AudioFormat sample rate and encoding documentation" into mnc-dev
2015-05-29 17:51:53 +00:00
Andy Hung
04065187d9
Clarify AudioFormat sample rate and encoding documentation
...
Bug: 21476142
Change-Id: I74fa3fcced5cc197a4cee6a7c10f3ed4690b0af1
2015-05-29 10:17:40 -07:00
Sungsoo Lim
6dddc7d1a9
Merge "Send a message with data in MediaController.MessageHandler.post()" into mnc-dev
2015-05-29 01:37:00 +00:00
Glenn Kasten
ad43220384
Merge "Improve error handling for AudioTrack write with PTS" into mnc-dev
2015-05-29 00:12:54 +00:00
Glenn Kasten
626f0dc73b
Merge "Deprecations are warnings not errors" into mnc-dev
2015-05-28 22:51:17 +00:00
Glenn Kasten
85d99546a0
Deprecations are warnings not errors
...
Change-Id: Ib77f45fdc27ea53f1dd181f48c76810d03f8dcdb
2015-05-28 07:59:36 -07:00
Glenn Kasten
16144ac378
Merge "Add comments to indicate code review was done for bugs" into mnc-dev
2015-05-28 14:52:37 +00:00
Sungsoo Lim
060b4e1f17
Send a message with data in MediaController.MessageHandler.post()
...
Bug: 21478435
Change-Id: Ifd50b857c4503d39868540f6256c78f0cb510c83
2015-05-28 15:08:47 +09:00
Marco Nelissen
59ac0b14f2
Merge "Handle unknown duration in playMediaSamples test" into mnc-dev
2015-05-27 23:05:15 +00:00
Chong Zhang
ebdfefa496
Merge "MediaCodec: unhide mime type for EAC3" into mnc-dev
2015-05-27 21:17:12 +00:00
Chong Zhang
52c58bb699
MediaCodec: unhide mime type for EAC3
...
bug: 18723951
Change-Id: I8c77be6ede428e92b089b19b2bd627992466a591
2015-05-27 14:07:29 -07:00
Marco Nelissen
e796ff912e
Handle unknown duration in playMediaSamples test
...
Bug: 21391417
Change-Id: I85d8f5921e8423da078acfe3aff34a6fcef69e78
2015-05-27 12:33:03 -07:00
Glenn Kasten
68d5ebd1da
Improve error handling for AudioTrack write with PTS
...
Pick up some of the error handling from AudioTrack write ByteBuffer
Change-Id: I62f233c2026759dbe57d7e1f48d62babaa49e5b8
2015-05-27 09:21:00 -07:00
Lajos Molnar
466507eb1c
media: Update MediaCodec class description
...
Bug: 11990465
Bug: 11019199
Bug: 11990564
Bug: 10672559
Change-Id: I22533dec98fb878ca87876c9ebc0fe59f4bfe995
2015-05-26 19:50:43 +00:00
Jean-Michel Trivi
48d88128bd
Remove temporary javadoc for android.media.AudioFormat
...
Remove temporary text in javadoc for AudioFormat.
Start javadoc for encoding.
Change-Id: I3df5f868da50b8ba4b42a9f054d5cd472f68069d
2015-05-26 11:50:11 -07:00
Jean-Michel Trivi
ed77bc0987
Merge "More android.media.AudioFormat javadoc" into mnc-dev
2015-05-23 01:19:03 +00:00
Jean-Michel Trivi
4ed06d2e30
More android.media.AudioFormat javadoc
...
More doc about AudioFormat constants, use of the builder,
sample rate, channel masks (position vs index, examples)
Bug 20921159
Change-Id: Ie60c2f3558b8b6008c6d9fb646ad9f6de396859d
2015-05-22 18:10:06 -07:00
Chien-Yu Chen
9e07ffdbfb
Merge "ImageReader: Register estimated native allocation" into mnc-dev
2015-05-22 20:33:26 +00:00
Jeff Tinker
08cfe2a5fc
Doc update for MediaDrm's OnExpirationUpdate method
...
Based on EME spec clarification that expiration time
of 0 means unlimited.
bug: 21393975
Change-Id: I96e50fb4300724f52aad2ca39c8495ad1aa78222
2015-05-22 20:17:57 +00:00
Chien-Yu Chen
11c5d0dd01
ImageReader: Register estimated native allocation
...
Estimate the native allocation and register it so it can be
accounted for during GC.
Bug: 20299272
Change-Id: I43af3058b6fe9a41e5e7e119e390ed079402c4b8
2015-05-22 11:41:02 -07:00
Robert Shih
67ba691ad6
Merge "MediaPlayer: add mPreparing to weed out unwanted prepared messages" into mnc-dev
2015-05-22 16:02:06 +00:00
Robert Shih
410239b6bf
MediaPlayer: add mPreparing to weed out unwanted prepared messages
...
Bug: 21266735
Change-Id: Ie4fe76533c9b7f505c57ba63df7992f2490942cc
2015-05-21 16:43:10 -07:00
Jean-Michel Trivi
59845bef8e
Merge "Extra for ACTION_RINGTONE_PICKER for AudioAttributes flags" into mnc-dev
2015-05-21 16:24:02 +00:00