summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add more specific consumer names for common buffer queue endpoints." ↵Eino-Ville Talvala2015-06-111-0/+11
|\ | | | | | | into mnc-dev
| * Add more specific consumer names for common buffer queue endpoints.Eino-Ville Talvala2015-06-091-0/+11
| | | | | | | | Change-Id: I744bdcba6e60e5efd8865f725b09a9f791d76160
* | Add bucket that unknown state playback falls intoHyungtae Tim Kim2015-06-112-3/+16
| | | | | | | | | | | | | | | | | | | | MediaPlayerStressTest some media files are missing on the results as they were reported neither completed nor erroneous. This case will fall into a new category named unknown playback state so that we could track them in media dashboard. Bug: 21755950 Change-Id: Iefcc3e375c63d952a7d9edb418208209d87b9e08
* | media: allow feature-can-swap-width-height to be optional.Lajos Molnar2015-06-101-1/+1
| | | | | | | | | | | | | | We have enabled this only optionally in media_codecs.xml Bug: 21568607 Change-Id: I11a12883afc051ba8c479255acc59388fb9a6722
* | Merge "TIF: Support localized input label for hardware input" into mnc-devDongwon Kang2015-06-111-24/+85
|\ \
| * | TIF: Support localized input label for hardware inputDongwon Kang2015-06-101-24/+85
| | | | | | | | | | | | | | | Bug: 20803624 Change-Id: Iade3b2a11a6d946e2d1b1e5c12f2cad60abdcf6d
* | | Merge "Fix MediaBrowser.getItem() API inconsistencies." into mnc-devJeff Brown2015-06-112-38/+48
|\ \ \
| * | | Fix MediaBrowser.getItem() API inconsistencies.Jeff Brown2015-06-102-38/+48
| | | | | | | | | | | | | | | | | | | | Bug: 21668207 Change-Id: Idc8d3a079f66cc7bc4fa1016f84cddb26fe7f0f8
* | | | Merge "Fix format string mismatch. Clang build fix." into mnc-devDan Albert2015-06-111-1/+2
|\ \ \ \ | |_|/ / |/| | |
| * | | Fix format string mismatch. Clang build fix.Dan Albert2015-06-101-1/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | The gralloc usage flags are an enum, which is backed by an implementation defined type. Both gcc and clang are making this a long long. All the values are hard coded to fit within 8 hex characters though, so just make the cast. Change-Id: I4a9778a24c2cbf7fb663371d208e30c4921e170d
* | | SoundPool monitors AppOps for OP_PLAY_AUDIOJean-Michel Trivi2015-06-102-4/+38
|/ / | | | | | | | | | | | | | | | | | | | | Fix performance regression in SoundPool by not checking SoundPool can play audio everytime it's about to play. Instead check for permission in constructor and register a listener for changes on OP_PLAY_AUDIO. Bug 20018833 Change-Id: I4e7a633d23b98653a149681d18a387cd560efe4d
* | Merge "media: hook up OnFrameRenderedListener events to framework events" ↵Lajos Molnar2015-06-103-36/+76
|\ \ | | | | | | | | | into mnc-dev
| * | media: hook up OnFrameRenderedListener events to framework eventsLajos Molnar2015-06-083-36/+76
| | | | | | | | | | | | | | | Bug: 20503131 Change-Id: Ife6d4862d14daf5b9659307af57417bd3532e8fe
* | | Merge "MIDI docs: use getPorts()" into mnc-devPhil Burk2015-06-091-22/+41
|\ \ \
| * | | MIDI docs: use getPorts()Phil Burk2015-06-031-22/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge "ExifInterface: Add a few tag fields." into mnc-devEino-Ville Talvala2015-06-091-0/+10
|\ \ \ \
| * | | | ExifInterface: Add a few tag fields.Eino-Ville Talvala2015-06-081-0/+10
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Since these are being CTS tested, they should be public. Bug: 21568414 Change-Id: I3f9f6e5da240b2ac0b2b88b5d25ec3c8c4704b8d
* | | | Merge "Adding default handler to (re)Routing callbacks where no handler is ↵Paul McLean2015-06-092-2/+4
|\ \ \ \ | | | | | | | | | | | | | | | provided." into mnc-dev
| * | | | Adding default handler to (re)Routing callbacks where no handler is provided.Paul McLean2015-06-092-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21669441 Change-Id: I6481652c8703bca6a7e8356614177fd071e71c0e
* | | | | Merge "Use only strong references to AudioEffect" into mnc-devEric Laurent2015-06-092-124/+139
|\ \ \ \ \
| * | | | | Use only strong references to AudioEffectEric Laurent2015-06-082-124/+139
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify AudioEffect and Visualizer JNI to use strong references to native AudioEffect object. Bug: 21629892. Change-Id: I4c2dea0b2e16d807d6dc5d6b09e02e4652d48873
* | | | | Merge "TIF: Generate hardware input id in language-neutral fashion" into mnc-devJinsuk Kim2015-06-091-4/+5
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | TIF: Generate hardware input id in language-neutral fashionJinsuk Kim2015-06-091-4/+5
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For certain RtoL languages, digit used as a part of input id (like HW0) is also localized, hence language change results in the duplicated inputs for an identical hardware. This CL changes the way the id is built to language-neutral fashion, and keeps the digit used in the id in Arabic. Bug: 21523750 Change-Id: I8f95e0209eeee16ceb543e574ef9ed572e4d031f
* | | | Merge "MidiManager: proxy all requests to open devices through MidiService" ↵Mike Lockwood2015-06-0810-108/+140
|\ \ \ \ | |_|/ / |/| | | | | | | into mnc-dev
| * | | MidiManager: proxy all requests to open devices through MidiServiceMike Lockwood2015-06-0410-108/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | TIF: Replace explicit types with <>Jae Seo2015-06-055-24/+21
| | | | | | | | | | | | | | | | | | | | | | | | Also removed unnecessary boxing/unboxing Change-Id: I97ef6b7f369cac97a133180773be96463f2a813d
* | | | TIF: Convert fields to local variablesJae Seo2015-06-051-4/+2
| | | | | | | | | | | | | | | | Change-Id: Ide6c5ad36229410f30f7929c6dd511945d48aa6f
* | | | Merge "TIF: Add more explanation for notifyChannelRetuned" into mnc-devJae Seo2015-06-051-3/+6
|\ \ \ \
| * | | | TIF: Add more explanation for notifyChannelRetunedJae Seo2015-06-051-3/+6
| | |/ / | |/| | | | | | | | | | | | | | Bug: 21277081 Change-Id: Ia4de27bc0ecdf49bcad83cfcd396e8d55dc8343a
* | | | TIF: Remove unused importsJae Seo2015-06-051-4/+0
|/ / / | | | | | | | | | Change-Id: I1419a8e44d82fa009ccd6170d9048c3e24f51a2b
* | | Merge "TIF: Add sanitization code for the current position" into mnc-devDongwon Kang2015-06-051-0/+10
|\ \ \
| * | | TIF: Add sanitization code for the current positionDongwon Kang2015-06-041-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | + More documentation on the currnet position Bug: 21573422 Change-Id: I51d184d03a61270d3ea36b36f880f1f052a99cd1
* | | | Merge "Ringtone: keep a reference until playback completion." into mnc-devEric Laurent2015-06-041-2/+38
|\ \ \ \
| * | | | Ringtone: keep a reference until playback completion.Eric Laurent2015-06-041-2/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keep a reference on active Ringtones to avoid garbage collection before playback is complete. Bug: 11366759. Change-Id: Icb04da427c20e0b4657e9e8b13b3ecab98e5a333
* | | | | Merge "Prevent poorly-extended ParcelableSpans from writing to parcels" into ↵Alan Viverette2015-06-041-23/+7
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | mnc-dev
| * | | | Prevent poorly-extended ParcelableSpans from writing to parcelsAlan Viverette2015-06-021-23/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Camera2: add high speed video APIsZhijun He2015-06-031-10/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Interface only. Bug: 21442271 Change-Id: If81caa0f2dc9f7802af564abcd9541aff3e30901
* | | | Merge "Fix bug in MediaCrypto.setMediaDrmSession" into mnc-devJeff Tinker2015-06-031-10/+12
|\ \ \ \
| * | | | Fix bug in MediaCrypto.setMediaDrmSessionJeff Tinker2015-06-011-10/+12
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | MediaCryptoException was being thrown unexpectedly bug: 21565802 Change-Id: I44768cac1e85a01c8d775b8432d11711ae978b0d
* | | | Merge "media Utils: remove parse integer logspam" into mnc-devRobert Shih2015-06-031-0/+3
|\ \ \ \
| * | | | media Utils: remove parse integer logspamRobert Shih2015-06-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21569707 Change-Id: I808ce760f55cf6aad8376bc7ca3b3c5a88cb6b01
* | | | | Merge "Use config.xml parameters instead of System properties." into mnc-devArunesh Mishra2015-06-031-15/+6
|\ \ \ \ \
| * | | | | Use config.xml parameters instead of System properties.Arunesh Mishra2015-06-021-15/+6
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For 'near-ultrasound' support (mic/speaker). Refer b/21072209 for details. Bug: 21072209 Change-Id: Id7131cd38288d74af8102487b2c6b03048b4ae3b
* | | | | Fix calls to Rect.intersect(Rect)Doris Liu2015-06-021-1/+3
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "MediaPlayer: trigger onError instead of exception on stale native ↵Robert Shih2015-06-012-32/+18
|\ \ \ \ | | | | | | | | | | | | | | | notifications" into mnc-dev
| * | | | MediaPlayer: trigger onError instead of exception on stale native notificationsRobert Shih2015-06-012-32/+18
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change also reverted commit 2c838fbd87ad5685c0008b419ea02421159b9b70, "MediaPlayer: add mPreparing to weed out unwanted prepared messages". Bug: 21266735 Change-Id: I392342519420bee2fde1fe1915c51d24101ca27d
* | | | Merge "Update ExifInterface.getDateTime to support subseconds" into mnc-devMarco Nelissen2015-05-291-3/+22
|\ \ \ \
| * | | | Update ExifInterface.getDateTime to support subsecondsMarco Nelissen2015-05-291-3/+22
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Also document that it returns local time. Bug: 20638367 Change-Id: I6a1c35925e0555bcdcb079be0ca5b19a279a05a6
* | | | Merge "Clarify AudioFormat sample rate and encoding documentation" into mnc-devAndy Hung2015-05-291-4/+85
|\ \ \ \
| * | | | Clarify AudioFormat sample rate and encoding documentationAndy Hung2015-05-291-4/+85
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21476142 Change-Id: I74fa3fcced5cc197a4cee6a7c10f3ed4690b0af1