Searched refs:mMediaProjection (Results 1 – 3 of 3) sorted by relevance
85 private MediaProjection mMediaProjection; field in MediaProjectionTest120 mMediaProjection = new MediaProjection(mTestableContext, mFakeIMediaProjection, in setup()139 assertThat(mMediaProjection).isNotNull(); in testConstruction()146 () -> mMediaProjection.registerCallback(null, mHandler)); in testRegisterCallback_null()151 mMediaProjection.registerCallback(mMediaProjectionCallback, mHandler); in testUnregisterCallback_null()153 () -> mMediaProjection.unregisterCallback(null)); in testUnregisterCallback_null()166 mMediaProjection.registerCallback(mMediaProjectionCallback, mHandler); in createVirtualDisplay_noCallbackRequired_givenMediaProjectionCallback()181 mMediaProjection.registerCallback(mMediaProjectionCallback, mHandler); in createVirtualDisplay_callbackRequired_givenMediaProjectionCallback()188 return mMediaProjection.createVirtualDisplay( in createVirtualDisplay()
85 private MediaProjection mMediaProjection; field in ScreenMediaRecorder124 mMediaProjection = new MediaProjection(mContext, projection); in prepare()125 mMediaProjection.registerCallback(this, mHandler); in prepare()176 mVirtualDisplay = mMediaProjection.createVirtualDisplay( in prepare()197 mMediaProjection, mAudioSource == MIC_AND_INTERNAL); in prepare()296 closer.register(mMediaProjection::stop); in end()302 mMediaProjection = null; in end()
46 private MediaProjection mMediaProjection; field in ScreenInternalAudioRecorder60 mMediaProjection = mp; in ScreenInternalAudioRecorder()103 new AudioPlaybackCaptureConfiguration.Builder(mMediaProjection) in setupSimple()