Lines Matching refs:mRenderer
860 if (mRenderer != NULL) { in onMessageReceived()
874 mRenderer->pause(); in onMessageReceived()
880 mRenderer->resume(); in onMessageReceived()
884 err = mRenderer->setPlaybackSettings(rate); in onMessageReceived()
928 if (mRenderer != NULL) { in onMessageReceived()
929 err = mRenderer->getPlaybackSettings(&rate); in onMessageReceived()
958 if (mRenderer != NULL) { in onMessageReceived()
959 err = mRenderer->setSyncSettings(sync, videoFpsHint); in onMessageReceived()
978 if (mRenderer != NULL) { in onMessageReceived()
979 err = mRenderer->getSyncSettings(&sync, &videoFps); in onMessageReceived()
1116 mRenderer->queueEOS(audio, err); in onMessageReceived()
1485 if (mRenderer != NULL) { in onResume()
1486 mRenderer->resume(); in onResume()
1500 if (mRenderer != NULL) { in onInstantiateSecureDecoders()
1585 mRenderer = new Renderer(mAudioSink, mMediaClock, notify, flags); in onStart()
1589 mRendererLooper->registerHandler(mRenderer); in onStart()
1591 status_t err = mRenderer->setPlaybackSettings(mPlaybackSettings); in onStart()
1601 mRenderer->setVideoFrameRate(rate); in onStart()
1605 mVideoDecoder->setRenderer(mRenderer); in onStart()
1608 mAudioDecoder->setRenderer(mRenderer); in onStart()
1705 if (mRenderer != NULL) { in onPause()
1706 mRenderer->pause(); in onPause()
1789 status_t err = mRenderer->openAudioSink( in tryOpenAudioSinkForOffload()
1801 if (mRenderer != NULL) { in closeAudioSink()
1802 mRenderer->closeAudioSink(); in closeAudioSink()
1828 if (mRenderer == NULL) { in restartAudio()
1832 mRenderer->flush(true /* audio */, false /* notifyComplete */); in restartAudio()
1850 mRenderer->signalDisableOffloadAudio(); in restartAudio()
1863 if (mRenderer == NULL) { in determineAudioModeChange()
1885 mRenderer->signalEnableOffloadAudio(); in determineAudioModeChange()
1891 mRenderer->signalDisableOffloadAudio(); in determineAudioModeChange()
1956 *decoder = new DecoderPassThrough(notify, mSource, mRenderer); in instantiateDecoder()
1961 *decoder = new Decoder(notify, mSource, mPID, mUID, mRenderer); in instantiateDecoder()
1971 notify, mSource, mPID, mUID, mRenderer, mSurface, mCCDecoder); in instantiateDecoder()
2147 mFlushComplete[audio][false /* isDecoder */] = (mRenderer == NULL); in flushDecoder()
2233 sp<Renderer> renderer = mRenderer; in getCurrentPosition()
2365 if (mRenderer != NULL) { in performReset()
2366 mRendererLooper->unregisterHandler(mRenderer->id()); in performReset()
2371 mRenderer.clear(); in performReset()