Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp384 sp<MediaPlayerBase> p; in dump()
604 sp<MediaPlayerBase> p; in disconnect()
632 sp<MediaPlayerBase> MediaPlayerService::Client::createPlayer(player_type playerType) in createPlayer()
635 sp<MediaPlayerBase> p = getPlayer(); in createPlayer()
654 sp<MediaPlayerBase> listener = mListener.promote(); in onAudioDeviceUpdate()
662 sp<MediaPlayerBase> MediaPlayerService::Client::setDataSource_pre( in setDataSource_pre()
668 sp<MediaPlayerBase> p = createPlayer(playerType); in setDataSource_pre()
683 binder, [l = wp<MediaPlayerBase>(p)]() { in setDataSource_pre()
684 sp<MediaPlayerBase> listener = l.promote(); in setDataSource_pre()
705 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
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 …]
DDeathRecipient.h35 const sp<MediaPlayerBase>& listener,
40 const sp<MediaPlayerBase>& listener,
53 wp<MediaPlayerBase> mListener;
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()
DMediaPlayerFactory.h50 virtual sp<MediaPlayerBase> createPlayer(pid_t pid) = 0;
67 static sp<MediaPlayerBase> createPlayer(player_type playerType,
68 const sp<MediaPlayerBase::Listener> &listener,
DTestPlayerStub.cpp34 using android::MediaPlayerBase;
/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/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/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/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/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.h38 Renderer(const sp<MediaPlayerBase::AudioSink> &sink,
44 MediaPlayerBase::AudioSink *audioSink,
46 MediaPlayerBase::AudioSink::cb_event_t event);
151 sp<MediaPlayerBase::AudioSink> mAudioSink;
DNuPlayer.h63 void setAudioSink(const sp<MediaPlayerBase::AudioSink> &sink);
173 sp<MediaPlayerBase::AudioSink> mAudioSink;
DNuPlayerRenderer.cpp111 const sp<MediaPlayerBase::AudioSink> &sink, in Renderer()
833 MediaPlayerBase::AudioSink * /* audioSink */, in AudioSinkCallback()
837 MediaPlayerBase::AudioSink::cb_event_t event) { in AudioSinkCallback()
841 case MediaPlayerBase::AudioSink::CB_EVENT_FILL_BUFFER: in AudioSinkCallback()
847 case MediaPlayerBase::AudioSink::CB_EVENT_STREAM_END: in AudioSinkCallback()
854 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.cpp1893 status_t sendMetaDataToHal(sp<MediaPlayerBase::AudioSink>& sink, in sendMetaDataToHal()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt37483 …braryService2$MediaLibrarySession$Builder;->setPlayer(Landroid/media/MediaPlayerBase;)Landroid/med…
37884 …terPlayerEventCallback(Ljava/util/concurrent/Executor;Landroid/media/MediaPlayerBase$PlayerEventCa…
37920 Landroid/media/MediaPlayer2;->unregisterPlayerEventCallback(Landroid/media/MediaPlayerBase$PlayerEv…
38185 …terPlayerEventCallback(Ljava/util/concurrent/Executor;Landroid/media/MediaPlayerBase$PlayerEventCa…
38228 Landroid/media/MediaPlayer2Impl;->unregisterPlayerEventCallback(Landroid/media/MediaPlayerBase$Play…
38398 Landroid/media/MediaPlayerBase$PlayerEventCallback;-><init>()V
38399 Landroid/media/MediaPlayerBase$PlayerEventCallback;->onBufferingStateChanged(Landroid/media/MediaPl…
38400 Landroid/media/MediaPlayerBase$PlayerEventCallback;->onCurrentDataSourceChanged(Landroid/media/Medi…
38401 Landroid/media/MediaPlayerBase$PlayerEventCallback;->onMediaPrepared(Landroid/media/MediaPlayerBase
38402 Landroid/media/MediaPlayerBase$PlayerEventCallback;->onPlaybackSpeedChanged(Landroid/media/MediaPla…
[all …]