Lines Matching refs:mRenderer
833 if (mRenderer != NULL) { in onMessageReceived()
847 mRenderer->pause(); in onMessageReceived()
853 mRenderer->resume(); in onMessageReceived()
857 err = mRenderer->setPlaybackSettings(rate); in onMessageReceived()
901 if (mRenderer != NULL) { in onMessageReceived()
902 err = mRenderer->getPlaybackSettings(&rate); in onMessageReceived()
931 if (mRenderer != NULL) { in onMessageReceived()
932 err = mRenderer->setSyncSettings(sync, videoFpsHint); in onMessageReceived()
951 if (mRenderer != NULL) { in onMessageReceived()
952 err = mRenderer->getSyncSettings(&sync, &videoFps); in onMessageReceived()
1089 mRenderer->queueEOS(audio, err); in onMessageReceived()
1425 if (mRenderer != NULL) { in onResume()
1426 mRenderer->resume(); in onResume()
1440 if (mRenderer != NULL) { in onInstantiateSecureDecoders()
1525 mRenderer = new Renderer(mAudioSink, notify, flags); in onStart()
1529 mRendererLooper->registerHandler(mRenderer); in onStart()
1531 status_t err = mRenderer->setPlaybackSettings(mPlaybackSettings); in onStart()
1541 mRenderer->setVideoFrameRate(rate); in onStart()
1545 mVideoDecoder->setRenderer(mRenderer); in onStart()
1548 mAudioDecoder->setRenderer(mRenderer); in onStart()
1566 if (mRenderer != NULL) { in onPause()
1567 mRenderer->pause(); in onPause()
1657 status_t err = mRenderer->openAudioSink( in tryOpenAudioSinkForOffload()
1669 mRenderer->closeAudioSink(); in closeAudioSink()
1691 if (mRenderer == NULL) { in restartAudio()
1695 mRenderer->flush(true /* audio */, false /* notifyComplete */); in restartAudio()
1697 mRenderer->flush(false /* audio */, false /* notifyComplete */); in restartAudio()
1703 mRenderer->signalDisableOffloadAudio(); in restartAudio()
1716 if (mRenderer == NULL) { in determineAudioModeChange()
1738 mRenderer->signalEnableOffloadAudio(); in determineAudioModeChange()
1744 mRenderer->signalDisableOffloadAudio(); in determineAudioModeChange()
1807 *decoder = new DecoderPassThrough(notify, mSource, mRenderer); in instantiateDecoder()
1812 *decoder = new Decoder(notify, mSource, mPID, mUID, mRenderer); in instantiateDecoder()
1822 notify, mSource, mPID, mUID, mRenderer, mSurface, mCCDecoder); in instantiateDecoder()
1998 mFlushComplete[audio][false /* isDecoder */] = (mRenderer == NULL); in flushDecoder()
2084 sp<Renderer> renderer = mRenderer; in getCurrentPosition()
2211 if (mRenderer != NULL) { in performReset()
2212 mRendererLooper->unregisterHandler(mRenderer->id()); in performReset()
2217 mRenderer.clear(); in performReset()