Home | History | Annotate | Download | only in libmedia

Lines Matching refs:MediaPlayer

19 #define LOG_TAG "MediaPlayer"
34 #include <media/mediaplayer.h>
50 MediaPlayer::MediaPlayer()
72 MediaPlayer::~MediaPlayer()
84 void MediaPlayer::disconnect()
100 void MediaPlayer::clear_l()
108 status_t MediaPlayer::setListener(const sp<MediaPlayerListener>& listener)
117 status_t MediaPlayer::attachNewPlayer(const sp<IMediaPlayer>& player)
148 status_t MediaPlayer::setDataSource(
168 status_t MediaPlayer::setDataSource(int fd, int64_t offset, int64_t length)
184 status_t MediaPlayer::setDataSource(const sp<IDataSource> &source)
200 status_t MediaPlayer::invoke(const Parcel& request, Parcel *reply)
214 status_t MediaPlayer::setMetadataFilter(const Parcel& filter)
224 status_t MediaPlayer::getMetadata(bool update_only, bool apply_filter, Parcel *metadata)
234 status_t MediaPlayer::setVideoSurfaceTexture(
244 status_t MediaPlayer::prepareAsync_l()
263 status_t MediaPlayer::prepare()
288 status_t MediaPlayer::prepareAsync()
295 status_t MediaPlayer::start()
330 status_t MediaPlayer::stop()
349 status_t MediaPlayer::pause()
368 bool MediaPlayer::isPlaying()
388 status_t MediaPlayer::setPlaybackSettings(const AudioPlaybackRate& rate)
423 status_t MediaPlayer::getPlaybackSettings(AudioPlaybackRate* rate /* nonnull */)
430 status_t MediaPlayer::setSyncSettings(const AVSyncSettings& sync, float videoFpsHint)
439 status_t MediaPlayer::getSyncSettings(
447 status_t MediaPlayer::getVideoWidth(int *w)
456 status_t MediaPlayer::getVideoHeight(int *h)
465 status_t MediaPlayer::getCurrentPosition(int *msec)
480 status_t MediaPlayer::getDuration_l(int *msec)
505 status_t MediaPlayer::getDuration(int *msec)
511 status_t MediaPlayer::seekTo_l(int msec)
554 status_t MediaPlayer::seekTo(int msec)
564 status_t MediaPlayer::reset_l()
579 // new mediaplayer.
587 status_t MediaPlayer::doSetRetransmitEndpoint(const sp<IMediaPlayer>& player) {
601 status_t MediaPlayer::reset()
608 status_t MediaPlayer::setAudioStreamType(audio_stream_type_t type)
610 ALOGV("MediaPlayer::setAudioStreamType");
624 status_t MediaPlayer::getAudioStreamType(audio_stream_type_t *type)
632 status_t MediaPlayer::setLooping(int loop)
634 ALOGV("MediaPlayer::setLooping");
643 bool MediaPlayer::isLooping() {
653 status_t MediaPlayer::setVolume(float leftVolume, float rightVolume)
655 ALOGV("MediaPlayer::setVolume(%f, %f)", leftVolume, rightVolume);
665 status_t MediaPlayer::setAudioSessionId(audio_session_t sessionId)
667 ALOGV("MediaPlayer::setAudioSessionId(%d)", sessionId);
684 audio_session_t MediaPlayer::getAudioSessionId()
690 status_t MediaPlayer::setAuxEffectSendLevel(float level)
692 ALOGV("MediaPlayer::setAuxEffectSendLevel(%f)", level);
701 status_t MediaPlayer::attachAuxEffect(int effectId)
703 ALOGV("MediaPlayer::attachAuxEffect(%d)", effectId);
716 status_t MediaPlayer::checkStateForKeySet_l(int key)
734 status_t MediaPlayer::setParameter(int key, const Parcel& request)
736 ALOGV("MediaPlayer::setParameter(%d)", key);
761 status_t MediaPlayer::getParameter(int key, Parcel *reply)
763 ALOGV("MediaPlayer::getParameter(%d)", key);
772 status_t MediaPlayer::setRetransmitEndpoint(const char* addrString,
774 ALOGV("MediaPlayer::setRetransmitEndpoint(%s:%hu)",
800 void MediaPlayer::notify(int msg, int ext1, int ext2, const Parcel *obj)
821 ALOGV("notify(%d, %d, %d) callback on disconnected mediaplayer", msg, ext1, ext2);
916 void MediaPlayer::died()
922 status_t MediaPlayer::setNextMediaPlayer(const sp<MediaPlayer>& next) {