Home
last modified time | relevance | path

Searched refs:MediaPlayerBase (Results 1 – 23 of 23) sorted by relevance

/frameworks/av/media/libmediaplayerservice/
DTestPlayerStub.h24 class MediaPlayerBase; // in media/MediaPlayerInterface.h variable
57 typedef MediaPlayerBase* (*NEW_PLAYER)();
58 typedef status_t (*DELETE_PLAYER)(MediaPlayerBase *);
124 MediaPlayerBase *mPlayer; // wrapped player
DMediaPlayerService.cpp601 sp<MediaPlayerBase> p; in disconnect()
627 sp<MediaPlayerBase> MediaPlayerService::Client::createPlayer(player_type playerType) in createPlayer()
630 sp<MediaPlayerBase> p = mPlayer; in createPlayer()
646 sp<MediaPlayerBase> MediaPlayerService::Client::setDataSource_pre( in setDataSource_pre()
652 sp<MediaPlayerBase> p = createPlayer(playerType); in setDataSource_pre()
668 const sp<MediaPlayerBase>& p, in setDataSource_post()
724 sp<MediaPlayerBase> p = setDataSource_pre(playerType); in setDataSource()
764 sp<MediaPlayerBase> p = setDataSource_pre(playerType); in setDataSource()
778 sp<MediaPlayerBase> p = setDataSource_pre(playerType); in setDataSource()
792 sp<MediaPlayerBase> p = setDataSource_pre(playerType); in setDataSource()
[all …]
DMediaPlayerFactory.cpp135 sp<MediaPlayerBase> MediaPlayerFactory::createPlayer( in createPlayer()
140 sp<MediaPlayerBase> p; in createPlayer()
221 virtual sp<MediaPlayerBase> createPlayer(pid_t /* pid */) { in createPlayer()
283 virtual sp<MediaPlayerBase> createPlayer(pid_t pid) { in createPlayer()
301 virtual sp<MediaPlayerBase> createPlayer(pid_t /* pid */) { in createPlayer()
DMediaPlayerFactory.h50 virtual sp<MediaPlayerBase> createPlayer(pid_t pid) = 0;
67 static sp<MediaPlayerBase> createPlayer(player_type playerType,
DMediaPlayerService.h73 class AudioOutput : public MediaPlayerBase::AudioSink
311 sp<MediaPlayerBase> createPlayer(player_type playerType);
324 sp<MediaPlayerBase> setDataSource_pre(player_type playerType);
325 void setDataSource_post(const sp<MediaPlayerBase>& p,
349 sp<MediaPlayerBase> getPlayer() const { Mutex::Autolock lock(mLock); return mPlayer; } in getPlayer()
369 sp<MediaPlayerBase> mPlayer;
DTestPlayerStub.cpp34 using android::MediaPlayerBase;
/frameworks/av/include/media/stagefright/
DAudioPlayer.h48 AudioPlayer(const sp<MediaPlayerBase::AudioSink> &audioSink,
111 sp<MediaPlayerBase::AudioSink> mAudioSink;
123 MediaPlayerBase::AudioSink *audioSink,
125 MediaPlayerBase::AudioSink::cb_event_t event);
DUtils.h60 status_t sendMetaDataToHal(sp<MediaPlayerBase::AudioSink>& sink, const sp<MetaData>& meta);
/frameworks/base/media/tests/players/
Dinvoke_mock_media_player.cpp31 using android::MediaPlayerBase;
50 class Player: public MediaPlayerBase
125 extern "C" android::MediaPlayerBase* newPlayer() in newPlayer()
131 extern "C" android::status_t deletePlayer(android::MediaPlayerBase *player) in deletePlayer()
/frameworks/av/media/libstagefright/timedtext/
DTimedTextPlayer.h31 class MediaPlayerBase; variable
37 TimedTextPlayer(const wp<MediaPlayerBase> &listener);
66 wp<MediaPlayerBase> mListener;
DTimedTextPlayer.cpp42 TimedTextPlayer::TimedTextPlayer(const wp<MediaPlayerBase> &listener) in TimedTextPlayer()
99 sp<MediaPlayerBase> listener = mListener.promote(); in onMessageReceived()
142 sp<MediaPlayerBase> listener = mListener.promote(); in onMessageReceived()
272 sp<MediaPlayerBase> listener = mListener.promote(); in delayUsFromCurrentTime()
295 sp<MediaPlayerBase> listener = mListener.promote(); in notifyError()
304 sp<MediaPlayerBase> listener = mListener.promote(); in notifyListener()
DTimedTextDriver.cpp44 const wp<MediaPlayerBase> &listener, in TimedTextDriver()
/frameworks/av/include/media/
DMediaPlayerInterface.h73 class MediaPlayerBase : public RefBase
147 MediaPlayerBase() : mCookie(0), mNotify(0) {} in MediaPlayerBase() function
148 virtual ~MediaPlayerBase() {} in ~MediaPlayerBase()
222 virtual status_t setNextPlayer(const sp<MediaPlayerBase>& /* next */) { in setNextPlayer() argument
279 class MediaPlayerInterface : public MediaPlayerBase
290 class MediaPlayerHWInterface : public MediaPlayerBase
/frameworks/av/include/media/stagefright/timedtext/
DTimedTextDriver.h29 class MediaPlayerBase; variable
39 const wp<MediaPlayerBase> &listener,
82 wp<MediaPlayerBase> mListener;
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.h38 Renderer(const sp<MediaPlayerBase::AudioSink> &sink,
43 MediaPlayerBase::AudioSink *audioSink,
45 MediaPlayerBase::AudioSink::cb_event_t event);
136 sp<MediaPlayerBase::AudioSink> mAudioSink;
DNuPlayer.h58 void setAudioSink(const sp<MediaPlayerBase::AudioSink> &sink);
146 sp<MediaPlayerBase::AudioSink> mAudioSink;
DNuPlayerRenderer.cpp85 const sp<MediaPlayerBase::AudioSink> &sink, in Renderer()
658 MediaPlayerBase::AudioSink * /* audioSink */, in AudioSinkCallback()
662 MediaPlayerBase::AudioSink::cb_event_t event) { in AudioSinkCallback()
666 case MediaPlayerBase::AudioSink::CB_EVENT_FILL_BUFFER: in AudioSinkCallback()
672 case MediaPlayerBase::AudioSink::CB_EVENT_STREAM_END: in AudioSinkCallback()
679 case MediaPlayerBase::AudioSink::CB_EVENT_TEAR_DOWN: in AudioSinkCallback()
DNuPlayer.cpp329 void NuPlayer::setAudioSink(const sp<MediaPlayerBase::AudioSink> &sink) { in setAudioSink()
690 mAudioSink = static_cast<MediaPlayerBase::AudioSink *>(obj.get()); in onMessageReceived()
/frameworks/av/media/libstagefright/include/
DAwesomePlayer.h64 void setListener(const wp<MediaPlayerBase> &listener);
89 void setAudioSink(const sp<MediaPlayerBase::AudioSink> &audioSink);
157 wp<MediaPlayerBase> mListener;
162 sp<MediaPlayerBase::AudioSink> mAudioSink;
/frameworks/av/media/libstagefright/
DAudioPlayer.cpp41 const sp<MediaPlayerBase::AudioSink> &audioSink, in AudioPlayer()
434 MediaPlayerBase::AudioSink * /* audioSink */, in AudioSinkCallback()
436 MediaPlayerBase::AudioSink::cb_event_t event) { in AudioSinkCallback()
440 case MediaPlayerBase::AudioSink::CB_EVENT_FILL_BUFFER: in AudioSinkCallback()
443 case MediaPlayerBase::AudioSink::CB_EVENT_STREAM_END: in AudioSinkCallback()
449 case MediaPlayerBase::AudioSink::CB_EVENT_TEAR_DOWN: in AudioSinkCallback()
DAwesomePlayer.cpp282 void AwesomePlayer::setListener(const wp<MediaPlayerBase> &listener) { in setListener()
645 sp<MediaPlayerBase> listener = mListener.promote(); in notifyListener_l()
837 sp<MediaPlayerBase> listener = mListener.promote(); in sendCacheStats()
1401 const sp<MediaPlayerBase::AudioSink> &audioSink) { in setAudioSink()
DUtils.cpp700 status_t sendMetaDataToHal(sp<MediaPlayerBase::AudioSink>& sink, in sendMetaDataToHal()
/frameworks/av/cmds/stagefright/
Drecord.cpp310 sp<MediaPlayerBase::AudioSink> audioSink; in main()