Lines Matching defs:MediaPlayer
19 #define LOG_TAG "MediaPlayer"
32 #include <media/mediaplayer.h>
45 MediaPlayer::MediaPlayer()
66 MediaPlayer::~MediaPlayer()
74 void MediaPlayer::disconnect()
90 void MediaPlayer::clear_l()
98 status_t MediaPlayer::setListener(const sp<MediaPlayerListener>& listener)
107 status_t MediaPlayer::attachNewPlayer(const sp<IMediaPlayer>& player)
138 status_t MediaPlayer::setDataSource(
157 status_t MediaPlayer::setDataSource(int fd, int64_t offset, int64_t length)
173 status_t MediaPlayer::setDataSource(const sp<IStreamSource> &source)
189 status_t MediaPlayer::invoke(const Parcel& request, Parcel *reply)
203 status_t MediaPlayer::setMetadataFilter(const Parcel& filter)
213 status_t MediaPlayer::getMetadata(bool update_only, bool apply_filter, Parcel *metadata)
223 status_t MediaPlayer::setVideoSurfaceTexture(
233 status_t MediaPlayer::prepareAsync_l()
248 status_t MediaPlayer::prepare()
273 status_t MediaPlayer::prepareAsync()
280 status_t MediaPlayer::start()
306 status_t MediaPlayer::stop()
325 status_t MediaPlayer::pause()
344 bool MediaPlayer::isPlaying()
361 status_t MediaPlayer::getVideoWidth(int *w)
370 status_t MediaPlayer::getVideoHeight(int *h)
379 status_t MediaPlayer::getCurrentPosition(int *msec)
394 status_t MediaPlayer::getDuration_l(int *msec)
413 ALOGE("Attempt to call getDuration without a valid mediaplayer");
417 status_t MediaPlayer::getDuration(int *msec)
423 status_t MediaPlayer::seekTo_l(int msec)
464 status_t MediaPlayer::seekTo(int msec)
474 status_t MediaPlayer::reset_l()
488 // new mediaplayer.
496 status_t MediaPlayer::doSetRetransmitEndpoint(const sp<IMediaPlayer>& player) {
510 status_t MediaPlayer::reset()
517 status_t MediaPlayer::setAudioStreamType(audio_stream_type_t type)
519 ALOGV("MediaPlayer::setAudioStreamType");
533 status_t MediaPlayer::setLooping(int loop)
535 ALOGV("MediaPlayer::setLooping");
544 bool MediaPlayer::isLooping() {
554 status_t MediaPlayer::setVolume(float leftVolume, float rightVolume)
556 ALOGV("MediaPlayer::setVolume(%f, %f)", leftVolume, rightVolume);
566 status_t MediaPlayer::setAudioSessionId(int sessionId)
568 ALOGV("MediaPlayer::setAudioSessionId(%d)", sessionId);
585 int MediaPlayer::getAudioSessionId()
591 status_t MediaPlayer
593 ALOGV("MediaPlayer::setAuxEffectSendLevel(%f)", level);
602 status_t MediaPlayer::attachAuxEffect(int effectId)
604 ALOGV("MediaPlayer::attachAuxEffect(%d)", effectId);
616 status_t MediaPlayer::setParameter(int key, const Parcel& request)
618 ALOGV("MediaPlayer::setParameter(%d)", key);
627 status_t MediaPlayer::getParameter(int key, Parcel *reply)
629 ALOGV("MediaPlayer::getParameter(%d)", key);
638 status_t MediaPlayer::setRetransmitEndpoint(const char* addrString,
640 ALOGV("MediaPlayer::setRetransmitEndpoint(%s:%hu)",
666 void MediaPlayer::notify(int msg, int ext1, int ext2, const Parcel *obj)
687 ALOGV("notify(%d, %d, %d) callback on disconnected mediaplayer", msg, ext1, ext2);
779 /*static*/ status_t MediaPlayer::decode(const char* url, uint32_t *pSampleRate,
796 void MediaPlayer::died()
802 /*static*/ status_t MediaPlayer::decode(int fd, int64_t offset, int64_t length,
821 status_t MediaPlayer::setNextMediaPlayer(const sp<MediaPlayer>& next) {
835 status_t MediaPlayer::updateProxyConfig(