Home | History | Annotate | Download | only in libmedia

Lines Matching refs:MediaPlayer

0 /* mediaplayer.cpp
19 #define LOG_TAG "MediaPlayer"
32 #include <media/mediaplayer.h>
47 MediaPlayer::MediaPlayer()
68 MediaPlayer::~MediaPlayer()
76 void MediaPlayer::disconnect()
92 void MediaPlayer::clear_l()
100 status_t MediaPlayer::setListener(const sp<MediaPlayerListener>& listener)
109 status_t MediaPlayer::attachNewPlayer(const sp<IMediaPlayer>& player)
140 status_t MediaPlayer::setDataSource(
158 status_t MediaPlayer::setDataSource(int fd, int64_t offset, int64_t length)
173 status_t MediaPlayer::setDataSource(const sp<IStreamSource> &source)
188 status_t MediaPlayer::invoke(const Parcel& request, Parcel *reply)
202 status_t MediaPlayer::setMetadataFilter(const Parcel& filter)
212 status_t MediaPlayer::getMetadata(bool update_only, bool apply_filter, Parcel *metadata)
222 status_t MediaPlayer::setVideoSurface(const sp<Surface>& surface)
230 status_t MediaPlayer::setVideoSurfaceTexture(
240 status_t MediaPlayer::prepareAsync_l()
255 status_t MediaPlayer::prepare()
280 status_t MediaPlayer::prepareAsync()
287 status_t MediaPlayer::start()
313 status_t MediaPlayer::stop()
332 status_t MediaPlayer::pause()
351 bool MediaPlayer::isPlaying()
368 status_t MediaPlayer::getVideoWidth(int *w)
377 status_t MediaPlayer::getVideoHeight(int *h)
386 status_t MediaPlayer::getCurrentPosition(int *msec)
401 status_t MediaPlayer::getDuration_l(int *msec)
413 LOGE("Attempt to call getDuration without a valid mediaplayer");
417 status_t MediaPlayer::getDuration(int *msec)
423 status_t MediaPlayer::seekTo_l(int msec)
450 status_t MediaPlayer::seekTo(int msec)
460 status_t MediaPlayer::reset_l()
474 // new mediaplayer.
482 status_t MediaPlayer::reset()
489 status_t MediaPlayer::setAudioStreamType(int type)
491 LOGV("MediaPlayer::setAudioStreamType");
505 status_t MediaPlayer::setLooping(int loop)
507 LOGV("MediaPlayer::setLooping");
516 bool MediaPlayer::isLooping() {
526 status_t MediaPlayer::setVolume(float leftVolume, float rightVolume)
528 LOGV("MediaPlayer::setVolume(%f, %f)", leftVolume, rightVolume);
538 status_t MediaPlayer::setAudioSessionId(int sessionId)
540 LOGV("MediaPlayer::setAudioSessionId(%d)", sessionId);
557 int MediaPlayer::getAudioSessionId()
563 status_t MediaPlayer::setAuxEffectSendLevel(float level)
565 LOGV("MediaPlayer::setAuxEffectSendLevel(%f)", level);
574 status_t MediaPlayer::attachAuxEffect(int effectId)
576 LOGV("MediaPlayer::attachAuxEffect(%d)", effectId);
588 MediaPlayer::setParameter(int key, const Parcel& request)
590 LOGV("MediaPlayer::setParameter(%d)", key);
599 status_t MediaPlayer::getParameter(int key, Parcel *reply)
601 LOGV("MediaPlayer::getParameter(%d)", key);
610 void MediaPlayer::notify(int msg, int ext1, int ext2, const Parcel *obj)
631 LOGV("notify(%d, %d, %d) callback on disconnected mediaplayer", msg, ext1, ext2);
720 /*static*/ sp<IMemory> MediaPlayer::decode(const char* url, uint32_t *pSampleRate, int* pNumChannels, int* pFormat)
734 void MediaPlayer::died()
740 /*static*/ sp<IMemory> MediaPlayer::decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, int* pNumChannels, int* pFormat)