Lines Matching defs:GenericMediaPlayer

50 MediaPlayerNotificationClient::MediaPlayerNotificationClient(GenericMediaPlayer* gmp) :
121 sp<GenericMediaPlayer> genericMediaPlayer(mGenericMediaPlayer.promote());
123 SL_LOGW("MediaPlayerNotificationClient::notify after GenericMediaPlayer destroyed");
244 GenericMediaPlayer::GenericMediaPlayer(const AudioPlayback_Parameters* params, bool hasVideo) :
253 SL_LOGD("GenericMediaPlayer::GenericMediaPlayer()");
257 GenericMediaPlayer::~GenericMediaPlayer() {
258 SL_LOGD("GenericMediaPlayer::~GenericMediaPlayer()");
261 void GenericMediaPlayer::preDestroy() {
291 void GenericMediaPlayer::getPositionMsec(int* msec) {
292 SL_LOGD("GenericMediaPlayer::getPositionMsec()");
302 void GenericMediaPlayer::setVideoSurfaceTexture(const sp<IGraphicBufferProducer> &bufferProducer) {
303 SL_LOGV("GenericMediaPlayer::setVideoSurfaceTexture()");
315 void GenericMediaPlayer::setPlaybackRate(int32_t ratePermille) {
316 SL_LOGV("GenericMediaPlayer::setPlaybackRate(%d)", ratePermille);
333 void GenericMediaPlayer::onPrepare() {
334 SL_LOGD("GenericMediaPlayer::onPrepare()");
353 SL_LOGD("GenericMediaPlayer::onPrepare() done, mStateFlags=0x%x", mStateFlags);
357 void GenericMediaPlayer::onPlay() {
358 SL_LOGD("GenericMediaPlayer::onPlay()");
366 void GenericMediaPlayer::onPause() {
367 SL_LOGD("GenericMediaPlayer::onPause()");
375 void GenericMediaPlayer::onSeekComplete() {
376 SL_LOGV("GenericMediaPlayer::onSeekComplete()");
395 void GenericMediaPlayer::onSeek(const sp<AMessage> &msg) {
396 SL_LOGV("GenericMediaPlayer::onSeek");
430 void GenericMediaPlayer::onLoop(const sp<AMessage> &msg) {
431 SL_LOGV("GenericMediaPlayer::onLoop");
447 void GenericMediaPlayer::onVolumeUpdate() {
448 SL_LOGD("GenericMediaPlayer::onVolumeUpdate()");
458 void GenericMediaPlayer::onAttachAuxEffect(const sp<AMessage> &msg) {
459 SL_LOGD("GenericMediaPlayer::onAttachAuxEffect()");
472 void GenericMediaPlayer::onSetAuxEffectSendLevel(const sp<AMessage> &msg) {
473 SL_LOGD("GenericMediaPlayer::onSetAuxEffectSendLevel()");
486 void GenericMediaPlayer::onBufferingUpdate(const sp<AMessage> &msg) {
489 SL_LOGD("GenericMediaPlayer::onBufferingUpdate(fillLevel=%d)", fillLevel);
526 SL_LOGV("GenericMediaPlayer::onBufferingUpdate(fillLevel=unknown)");
533 * called from GenericMediaPlayer::onPrepare after the MediaPlayer mPlayer is prepared successfully
538 void GenericMediaPlayer::afterMediaPlayerPreparedSuccessfully() {
539 SL_LOGV("GenericMediaPlayer::afterMediaPlayerPrepared()");
605 void GenericMediaPlayer::getPreparedPlayer(sp<IMediaPlayer> &preparedPlayer)