Home
last modified time | relevance | path

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

/frameworks/av/cmds/stagefright/
DAudioPlayer.h47 AudioPlayer(const sp<MediaPlayerBase::AudioSink> &audioSink,
96 sp<MediaPlayerBase::AudioSink> mAudioSink;
106 MediaPlayerBase::AudioSink *audioSink,
108 MediaPlayerBase::AudioSink::cb_event_t event);
DAudioPlayer.cpp41 const sp<MediaPlayerBase::AudioSink> &audioSink, in AudioPlayer()
433 MediaPlayerBase::AudioSink * /* audioSink */, in AudioSinkCallback()
435 MediaPlayerBase::AudioSink::cb_event_t event) { in AudioSinkCallback()
439 case MediaPlayerBase::AudioSink::CB_EVENT_FILL_BUFFER: in AudioSinkCallback()
442 case MediaPlayerBase::AudioSink::CB_EVENT_STREAM_END: in AudioSinkCallback()
447 case MediaPlayerBase::AudioSink::CB_EVENT_TEAR_DOWN: in AudioSinkCallback()
Drecord.cpp303 sp<MediaPlayerBase::AudioSink> audioSink; in main()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp550 sp<MediaPlayerBase> p; in dump()
775 sp<MediaPlayerBase> p; in disconnect()
803 sp<MediaPlayerBase> MediaPlayerService::Client::createPlayer(player_type playerType) in createPlayer()
806 sp<MediaPlayerBase> p = getPlayer(); in createPlayer()
825 sp<MediaPlayerBase> listener = mListener.promote(); in onAudioDeviceUpdate()
833 sp<MediaPlayerBase> MediaPlayerService::Client::setDataSource_pre( in setDataSource_pre()
839 sp<MediaPlayerBase> p = createPlayer(playerType); in setDataSource_pre()
854 binder, [l = wp<MediaPlayerBase>(p)]() { in setDataSource_pre()
855 sp<MediaPlayerBase> listener = l.promote(); in setDataSource_pre()
876 base, [l = wp<MediaPlayerBase>(p)]() { in setDataSource_pre()
[all …]
DTestPlayerStub.h24 class MediaPlayerBase; // in media/MediaPlayerInterface.h variable
57 typedef MediaPlayerBase* (*NEW_PLAYER)();
58 typedef status_t (*DELETE_PLAYER)(MediaPlayerBase *);
128 MediaPlayerBase *mPlayer; // wrapped player
DDeathRecipient.h35 const sp<MediaPlayerBase>& listener,
40 const sp<MediaPlayerBase>& listener,
53 wp<MediaPlayerBase> mListener;
DMediaPlayerService.h54 Antagonizer(const sp<MediaPlayerBase::Listener> &listener);
66 sp<MediaPlayerBase::Listener> mListener;
74 class AudioOutput : public MediaPlayerBase::AudioSink
360 sp<MediaPlayerBase> createPlayer(player_type playerType);
373 sp<MediaPlayerBase> setDataSource_pre(player_type playerType);
374 status_t setDataSource_post(const sp<MediaPlayerBase>& p,
395 AudioDeviceUpdatedNotifier(const sp<MediaPlayerBase>& listener) { in AudioDeviceUpdatedNotifier()
404 wp<MediaPlayerBase> mListener;
419 sp<MediaPlayerBase> getPlayer() const { Mutex::Autolock lock(mLock); return mPlayer; } in getPlayer()
438 class Listener : public MediaPlayerBase::Listener {
[all …]
DMediaPlayerFactory.h50 virtual sp<MediaPlayerBase> createPlayer(pid_t pid) = 0;
67 static sp<MediaPlayerBase> createPlayer(player_type playerType,
68 const sp<MediaPlayerBase::Listener> &listener,
DMediaPlayerFactory.cpp127 sp<MediaPlayerBase> MediaPlayerFactory::createPlayer( in createPlayer()
129 const sp<MediaPlayerBase::Listener> &listener, in createPlayer()
131 sp<MediaPlayerBase> p; in createPlayer()
217 virtual sp<MediaPlayerBase> createPlayer(pid_t pid) { in createPlayer()
235 virtual sp<MediaPlayerBase> createPlayer(pid_t /* pid */) { in createPlayer()
DTestPlayerStub.cpp34 using android::MediaPlayerBase;
/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/libmediaplayerservice/include/
DMediaPlayerInterface.h69 class MediaPlayerBase : public RefBase
162 MediaPlayerBase() {} in MediaPlayerBase() function
163 virtual ~MediaPlayerBase() {} in ~MediaPlayerBase()
250 virtual status_t setNextPlayer(const sp<MediaPlayerBase>& /* next */) { in setNextPlayer() argument
314 class MediaPlayerInterface : public MediaPlayerBase
325 class MediaPlayerHWInterface : public MediaPlayerBase
/frameworks/av/include/media/
DMediaPlayerInterface.h69 class MediaPlayerBase : public RefBase
162 MediaPlayerBase() {} in MediaPlayerBase() function
163 virtual ~MediaPlayerBase() {} in ~MediaPlayerBase()
250 virtual status_t setNextPlayer(const sp<MediaPlayerBase>& /* next */) { in setNextPlayer() argument
314 class MediaPlayerInterface : public MediaPlayerBase
325 class MediaPlayerHWInterface : public MediaPlayerBase
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.h40 Renderer(const sp<MediaPlayerBase::AudioSink> &sink,
46 MediaPlayerBase::AudioSink *audioSink,
48 MediaPlayerBase::AudioSink::cb_event_t event);
153 sp<MediaPlayerBase::AudioSink> mAudioSink;
DNuPlayer.h62 void setAudioSink(const sp<MediaPlayerBase::AudioSink> &sink);
172 sp<MediaPlayerBase::AudioSink> mAudioSink;
DNuPlayerRenderer.cpp112 const sp<MediaPlayerBase::AudioSink> &sink, in Renderer()
858 MediaPlayerBase::AudioSink * /* audioSink */, in AudioSinkCallback()
862 MediaPlayerBase::AudioSink::cb_event_t event) { in AudioSinkCallback()
866 case MediaPlayerBase::AudioSink::CB_EVENT_FILL_BUFFER: in AudioSinkCallback()
872 case MediaPlayerBase::AudioSink::CB_EVENT_STREAM_END: in AudioSinkCallback()
879 case MediaPlayerBase::AudioSink::CB_EVENT_TEAR_DOWN: in AudioSinkCallback()
DNuPlayer.cpp390 void NuPlayer::setAudioSink(const sp<MediaPlayerBase::AudioSink> &sink) { in setAudioSink()
834 mAudioSink = static_cast<MediaPlayerBase::AudioSink *>(obj.get()); in onMessageReceived()
/frameworks/av/media/libstagefright/include/media/stagefright/
DUtils.h51 status_t sendMetaDataToHal(sp<MediaPlayerBase::AudioSink>& sink, const sp<MetaData>& meta);
/frameworks/av/media/libstagefright/
DUtils.cpp1996 status_t sendMetaDataToHal(sp<MediaPlayerBase::AudioSink>& sink, in sendMetaDataToHal()