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)
421 status_t MediaPlayer::getPlaybackSettings(AudioPlaybackRate* rate /* nonnull */)
428 status_t MediaPlayer::setSyncSettings(const AVSyncSettings& sync, float videoFpsHint)
437 status_t MediaPlayer::getSyncSettings(
445 status_t MediaPlayer::getVideoWidth(int *w)
454 status_t MediaPlayer::getVideoHeight(int *h)
463 status_t MediaPlayer::getCurrentPosition(int *msec)
478 status_t MediaPlayer::getDuration_l(int *msec)
503 status_t MediaPlayer::getDuration(int *msec)
509 status_t MediaPlayer::seekTo_l(int msec)
552 status_t MediaPlayer
562 status_t MediaPlayer::reset_l()
577 // new mediaplayer.
585 status_t MediaPlayer::doSetRetransmitEndpoint(const sp<IMediaPlayer>& player) {
599 status_t MediaPlayer::reset()
606 status_t MediaPlayer::setAudioStreamType(audio_stream_type_t type)
608 ALOGV("MediaPlayer::setAudioStreamType");
622 status_t MediaPlayer::getAudioStreamType(audio_stream_type_t *type)
630 status_t MediaPlayer::setLooping(int loop)
632 ALOGV("MediaPlayer::setLooping");
641 bool MediaPlayer::isLooping() {
651 status_t MediaPlayer::setVolume(float leftVolume, float rightVolume)
653 ALOGV("MediaPlayer::setVolume(%f, %f)", leftVolume, rightVolume);
663 status_t MediaPlayer::setAudioSessionId(audio_session_t sessionId)
665 ALOGV("MediaPlayer::setAudioSessionId(%d)", sessionId);
682 audio_session_t MediaPlayer::getAudioSessionId()
688 status_t MediaPlayer::setAuxEffectSendLevel(float level)
690 ALOGV("MediaPlayer::setAuxEffectSendLevel(%f)", level);
699 status_t MediaPlayer::attachAuxEffect(int effectId)
701 ALOGV("MediaPlayer::attachAuxEffect(%d)", effectId);
714 status_t MediaPlayer::checkStateForKeySet_l(int key)
732 status_t MediaPlayer::setParameter(int key, const Parcel& request)
734 ALOGV("MediaPlayer::setParameter(%d)", key);
759 status_t MediaPlayer::getParameter(int key, Parcel *reply)
761 ALOGV("MediaPlayer::getParameter(%d)", key);
770 status_t MediaPlayer::setRetransmitEndpoint(const char* addrString,
772 ALOGV("MediaPlayer::setRetransmitEndpoint(%s:%hu)",
798 void MediaPlayer::notify(int msg, int ext1, int ext2, const Parcel *obj)
819 ALOGV("notify(%d, %d, %d) callback on disconnected mediaplayer", msg, ext1, ext2);
914 void MediaPlayer::died()
920 status_t MediaPlayer::setNextMediaPlayer(const sp<MediaPlayer>& next) {