summaryrefslogtreecommitdiffstats
path: root/include/media/IMediaPlayer.h
Commit message (Collapse)AuthorAgeFilesLines
* New API on java's MediaPlayer to suspend/resume a session.Andreas Huber2010-02-121-0/+2
| | | | related-to-bug: 2231576
* Basic plumbing to retrieve metadata from the native player.Nicolas Catania2009-07-101-0/+17
| | | | | | | | | | | | | | | | | | | IMediaPlayer.h Added a getMetadata method that mirrors the on in MediaPlayer.java. MediaPlayer.java Added a native method to get the metadata from the native player. Parse the parcel into a Metadata object. Metadata.java Added a stub to parse the Parcel returned by the native player into a set of metadata. android_media_MediaPlayer.cpp JNI call to forward the getMetadata call. MediaPlayerService.cpp MediaPlayerService::Client implements the new getMetadata method added in IMediaPlayer.h
* Implemented the metadata changed notification filters.Nicolas Catania2009-07-091-1/+6
| | | | | | | | | | | | | | | | | | IMediaPlayer: new setMetadataFilter method so set a filter (2 lists of allowed and blocked metadata type) serialized in a Parcel. MediaPlayer.java/android_media_MediaPlayer.cpp/mediaplayer.cpp new setMetadataFilter that passes the filter down to the MediaPlayerService's binder interface. MediaPlayerService.cpp The Client inner class holds the allowed and blocked metadata types. These are in 2 vectors that get populated in the setMetadataFilter. A new shourldDropMetadata method returns true if a type of metadata should be dropped according to the filters. The notify method in run the metadata update notifications thru the filter and possibly drop them.
* Direct api to the native media player.Nicolas Catania2009-06-241-1/+9
| | | | | | | | | | | | | | | | | | | | | MediaPlayer.java has 3 new methods: * newRequest creates a Parcel that can be used to send data to the native player using invoke. * invoke issues synchronous calls to the native player using opaque parcels for the request and reply. IMediaPlayer.h has 1 new abstract method: * invoke The Midi and Vorbis players have a stub for these. So far only PV makes use of that new feature. To avoid any copy overhead, the JNI interface uses Parcel as a java object (no serialization/copy happens at the JNI layer). The remote interface token is inserted when the Parcel is constructed in java. That way the parcel is already routable when it reaches IMediaPlayer.cpp (proxy). No extra copy is needed there.
* move libbinder's header files under includes/binderMathias Agopian2009-05-201-2/+2
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+64
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-64/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-1/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+65