Commit Graph

5309 Commits

Author SHA1 Message Date
Hyundo Moon
686bcc524a Merge "MediaBrowser: Supplement JavaDoc of MediaItem.getMediaId()" 2016-08-03 02:49:25 +00:00
Hyundo Moon
1574838142 MediaBrowser: Supplement JavaDoc of MediaItem.getMediaId()
This CL adds link to MediaMetadata.METADATA_KEY_MEDIA_ID
into the JavaDoc of MediaItem.getMediaId() to help developers
easily find what the MediaId is.

Bug: 28790407
Change-Id: Icdcc98ffe59e1480df9ac85fe22b710ecd9d14de
2016-08-03 10:53:45 +09:00
Sungsoo Lim
ba11085635 MediaSession: Add methods for setting shuffle and repeat modes
Bug: 27317954
Change-Id: Ie83b25f40dd84e5b521a186077f23d343314201a
2016-08-02 16:09:54 +09:00
Jin Park
b3108a0757 ExifInterface: Add support for multiple RAW test files
ARW, CR2, NEF, NRW, SRW have slight modifications to the data
structures described in TIFF Specifications. This CL handles these
modifications.

Bug: 29409358
Change-Id: I10c6b17a25d237b71d311705dfd80f7be783cd1d
2016-08-01 23:13:43 +09:00
TreeHugger Robot
b966d62443 Merge "Specify primary mime type for each format code." 2016-07-27 01:54:37 +00:00
Jean-Michel Trivi
dcd6cf68e4 Change AudioRecordingConfiguration constructor parameter order am: 74eb6f62f8
am: 5145713e75

Change-Id: I38a6a836b536e3f191d2a8845d142204d3a92fc6
2016-07-27 01:33:13 +00:00
Jin Seok Park
e457868e27 Merge "ExifInterface: Add PEF, RW2 files parse support" 2016-07-27 01:29:45 +00:00
Jean-Michel Trivi
5145713e75 Change AudioRecordingConfiguration constructor parameter order
am: 74eb6f62f8

Change-Id: Ief48fc6b7b7f04d00ca11858b8b248cb449b2aab
2016-07-27 01:17:29 +00:00
Jean-Michel Trivi
74eb6f62f8 Change AudioRecordingConfiguration constructor parameter order
Switch the device and client AudioFormat parameters in the
  AudioRecordingConfiguration constructor, so it's the same
  order as the rest of the code involved in sending a callback
  when the recording configuration changes.

Bug 30282058

Change-Id: Iea417f02dcb644e3d4dacbc0e44ea4b2eac28840
2016-07-26 14:00:44 -07:00
Marco Nelissen
e116bcf72a Merge \\\\"Fix memory leak in MediaScannerConnection\\\\" am: e40ab18590 am: 0d5bcda101 am: fd743b4d56
am: c737306bf9

Change-Id: I6ac82941cb1d5facab286d3ece9966908f6996a9
2016-07-26 16:03:52 +00:00
xiaoli.xb.zuo
c737306bf9 Merge \\\"Fix memory leak in MediaScannerConnection\\\" am: e40ab18590 am: 0d5bcda101
am: fd743b4d56

Change-Id: I9a8ef3f3ae06b5054f426e7936c5aa9548a9dfcd
2016-07-26 15:55:13 +00:00
Marco Nelissen
fd743b4d56 Merge \\"Fix memory leak in MediaScannerConnection\\" am: e40ab18590
am: 0d5bcda101

Change-Id: I5714252c0373db0fc85bf65df7b52c983fbc6171
2016-07-26 15:48:05 +00:00
xiaoli.xb.zuo
0d5bcda101 Merge \"Fix memory leak in MediaScannerConnection\"
am: e40ab18590

Change-Id: I894584a5d193624acc78c20a6207b54b20b61563
2016-07-26 15:43:55 +00:00
Hangyu Kuang
b9779c7c26 media: Add hidden api to set video encoding profile and level. am: f70ad43f13
am: 2725d89822

Change-Id: I3c702fc0ce1b1ac78b894f665d5811c1c65c62b4
2016-07-26 15:15:27 +00:00
Jin Park
9ff5cefd4e ExifInterface: Add PEF, RW2 files parse support
PEF, RW2 files have unique ways of storing their data. This CL adds code
that checks whether a file is one of these formats and parses the data
according to specifications.

Bug: 29409358
Change-Id: I6c368b4865414062f9f535bf180d7d7bf6984a7d
2016-07-26 18:27:22 +09:00
Hangyu Kuang
2725d89822 media: Add hidden api to set video encoding profile and level.
am: f70ad43f13

Change-Id: I3bb9bf5884d791dd5d97fbda8117d1d4f3b1b40f
2016-07-25 23:45:35 +00:00
TreeHugger Robot
e7e1f0b788 Merge "media: Add hidden api to set video encoding profile and level." into nyc-mr1-dev 2016-07-25 23:40:00 +00:00
Hangyu Kuang
f70ad43f13 media: Add hidden api to set video encoding profile and level.
bug: 30284097
Change-Id: I898f9a05571098a0ca0f57fb5abf58567c16fdd1
2016-07-25 21:31:29 +00:00
Eino-Ville Talvala
4158f4a323 ImageReader: Add discardFreeBuffers method am: 2e2aaf6e04
am: bc20c106df

Change-Id: I215c711f13531821907cd442b2aca707f46bd87d
2016-07-22 22:07:18 +00:00
Eino-Ville Talvala
bc20c106df ImageReader: Add discardFreeBuffers method
am: 2e2aaf6e04

Change-Id: I142f1b011a045aa0f5af7c33eb76b059eb67e30d
2016-07-22 21:52:51 +00:00
Eino-Ville Talvala
2e2aaf6e04 ImageReader: Add discardFreeBuffers method
This method (currently @hide) discards all cached buffers for
the ImageReader, which can be useful to free up memory at the
cost of reallocationt time if more buffers are needed later.

It has no effect on acquired Images, filled Images waiting to be
acquired, or buffers being actively used by the source rendering to the
Surface.

Bug: 28695173
Change-Id: I427a8ba4ad73a267083f843dbf228bfc53a730d9
2016-07-21 17:04:19 -07:00
xiaoli.xb.zuo
3579b0e1a7 Fix memory leak in MediaScannerConnection
This patch adds releasing of MediaScannerConnection in ClientProxy
after disconnecting and releasing of ClientProxy and
IMediaScannerService in disconnection sequence in
MediaScannerConnection.

Bug: 30150344

Change-Id: I1e162e4c9a0b7a741ace20480bcf06f3151a93bf
2016-07-21 20:34:09 +09:00
Daichi Hirono
0398eb5c1b Specify primary mime type for each format code.
MediaFile#getMimeTypeForFormatCode returns mimetype for MTP format
code. However MTP format code is ambiguous and some format code can be
mapped to several mime types.  Before the fix, the method returns mime
type that is last registered to internal static map.

The CL explicitly specifies the primary mime type for each format code
to prevent from unintentionally changing mime type returned for a format
code.

FIX=30266194

Change-Id: I142ccb9719d439b0378121bcdcd4b804b1505952
2016-07-21 17:08:09 +09:00
Jin Park
1c1b2b18d3 ExifInterface: Add ORF file parse support
A ORF file has a unique way of storing its data. This CL adds code
that checks whether a file is a ORF file format and parses the data
according to specifications.

Bug: 29409358
Change-Id: I498408a9e02dfe567c2d427b037c30b06af74d7e
2016-07-21 13:49:01 +09:00
Jin Seok Park
f635d5b83a Merge "ExifInterface: Remove unnecessary logging of exceptions" 2016-07-21 02:43:48 +00:00
Jin Park
68bda838d0 ExifInterface: Remove unnecessary logging of exceptions
ExifInterface currently logs exceptions when it encounters invalid
markers and when the file format is unsupported by Piex Library.
This CL suppresses such logs with the DEBUG marker.

Bug: 30252745
Change-Id: Ia69183eaa5bf7ac2ff1dc95c0919b23b4a9f8c4e
2016-07-21 10:27:57 +09:00
Robert Shih
89cfd17196 Merge "MediaExtractor: Javadoc should mention INTERNET permission" 2016-07-21 00:53:13 +00:00
Robert Shih
a1c7483429 MediaExtractor: Javadoc should mention INTERNET permission
Bug: 10673034
Change-Id: Iea1196c76b09fa5b8f5b2d11a461eeb4c6578a1b
2016-07-20 17:46:11 -07:00
Bryan Mawhinney
a687bed569 Merge \\"Add .mov to MediaScanner video file types\\" into nyc-mr1-dev am: 881bc352ee
am: 642e50621a

Change-Id: I706bf8992bf8090b5c818418b14278a7bf9e3637
2016-07-20 19:18:16 +00:00
Bryan Mawhinney
642e50621a Merge \"Add .mov to MediaScanner video file types\" into nyc-mr1-dev
am: 881bc352ee

Change-Id: I323e40003c87b2b892b1cb0712507cabc7b1d1d5
2016-07-20 19:13:04 +00:00
Bryan Mawhinney
881bc352ee Merge "Add .mov to MediaScanner video file types" into nyc-mr1-dev 2016-07-20 18:58:30 +00:00
Mikhail Naganov
232ac757fb Merge "Protect MIDI framework against client blocks in MidiReceiver.onSend" 2016-07-19 22:50:06 +00:00
Chien-Yu Chen
01d65bebc7 Merge \\"ImageReader: Make close thread safe\\" into nyc-mr1-dev am: 2f8bf1f024
am: 8b29ace33b

Change-Id: I94b195e2a7f43ed010ca3cebe933593c6960cfc6
2016-07-19 21:16:56 +00:00
Chien-Yu Chen
8b29ace33b Merge \"ImageReader: Make close thread safe\" into nyc-mr1-dev
am: 2f8bf1f024

Change-Id: I9954f6b7b7ab997391acbe3f16cbce36d9c5de3c
2016-07-19 21:12:07 +00:00
Bryan Mawhinney
c9cb80e9e6 Add .mov to MediaScanner video file types
Bug: 16162336
Change-Id: I34467c707494690a9e3e3890f295dd1f7df86c86
2016-07-19 16:01:55 +01:00
Chien-Yu Chen
ca979b9d89 ImageReader: Make close thread safe
Bug: 30191606
Change-Id: Ic5b53c416a7fe3ebcaad2ab78f2e9aef3b790c88
2016-07-18 17:14:27 -07:00
Robert Shih
6f5be322d2 MediaRecorder: fix OnInfo related documentation
The original documentation said MediaRecorder.OnInfoListener was called for
error cases.

Bug: 25424209
Change-Id: Ic8d2dee67b15a64604a959e7e6964436da92d6ba
2016-07-15 18:39:42 -07:00
Lajos Molnar
77e3a344b7 Merge \\"media: document new temporal layering schema values.\\" into nyc-mr1-dev am: 12f860f5a2
am: 878069382e

Change-Id: Iffd7f35b5c6e53ddcc4728a422839298b13503da
2016-07-15 05:59:39 +00:00
Lajos Molnar
98d9779533 Merge \\"media: clarify MediaFormat.KEY_I_FRAME_INTERVAL\\" into nyc-mr1-dev am: 991c240a88
am: 525d917ac9

Change-Id: I6c5088ec6b2b7810acf2c3e6835b205f80eded06
2016-07-15 05:59:32 +00:00
Lajos Molnar
878069382e Merge \"media: document new temporal layering schema values.\" into nyc-mr1-dev
am: 12f860f5a2

Change-Id: Ifb3c99ca6e4b2a9dcec6d58afacbcba474ea4d73
2016-07-15 05:53:37 +00:00
Lajos Molnar
525d917ac9 Merge \"media: clarify MediaFormat.KEY_I_FRAME_INTERVAL\" into nyc-mr1-dev
am: 991c240a88

Change-Id: Id1e1bfdb65b10f5e7b99a0e164afc05ca2518dbf
2016-07-15 05:53:28 +00:00
Lajos Molnar
12f860f5a2 Merge "media: document new temporal layering schema values." into nyc-mr1-dev 2016-07-15 05:44:04 +00:00
Lajos Molnar
be00432071 media: clarify MediaFormat.KEY_I_FRAME_INTERVAL
Bug: 30096321
Change-Id: I908b669caf5443fb272a2d274b7cbf7227913b3e
2016-07-15 05:15:24 +00:00
Lajos Molnar
2cfca129d6 media: document new temporal layering schema values.
Also fix doc as these are advertised on the output port.

Bug: 30150921
Bug: 27596987
Change-Id: Ia95876ade36bc82eea0e9795dea0268abbd1c1ef
2016-07-14 19:56:35 -07:00
Lajos Molnar
cbf82bd3ab Merge \\"media: clarify notes in MediaCodec doc\\" into nyc-mr1-dev am: 82d886434d
am: 1d356c895b

Change-Id: I086a5de8bb581d5d908dacee82e4d93403e73320
2016-07-15 00:39:10 +00:00
Lajos Molnar
1d356c895b Merge \"media: clarify notes in MediaCodec doc\" into nyc-mr1-dev
am: 82d886434d

Change-Id: Iacc43f3db9a41a0373227fc09f3590cf275ec34f
2016-07-15 00:35:12 +00:00
Lajos Molnar
82d886434d Merge "media: clarify notes in MediaCodec doc" into nyc-mr1-dev 2016-07-15 00:25:30 +00:00
Wei Jia
7a963e183d Merge \\"Fix disabling lockscreen for demo users.\\" into nyc-mr1-dev am: 407fd1ea62
am: 3b098778c6

Change-Id: I66a5393837e3ec0286be28f766a603da844ce6fc
2016-07-13 23:31:10 +00:00
Sudheer Shanka
3b098778c6 Merge \"Fix disabling lockscreen for demo users.\" into nyc-mr1-dev
am: 407fd1ea62

Change-Id: I5625a9ef9fd35ee0cbf6cad7651f7a39eee8f059
2016-07-13 23:15:03 +00:00
Wei Jia
407fd1ea62 Merge "MediaPlayer: fix typo for OnInfoListener." into nyc-mr1-dev 2016-07-13 22:05:00 +00:00