Home
last modified time | relevance | path

Searched refs:mMediaProjection (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/tests/projection/src/android/media/projection/
DMediaProjectionTest.java85 private MediaProjection mMediaProjection; field in MediaProjectionTest
120 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenMediaRecorder.java85 private MediaProjection mMediaProjection; field in ScreenMediaRecorder
124 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()
DScreenInternalAudioRecorder.java46 private MediaProjection mMediaProjection; field in ScreenInternalAudioRecorder
60 mMediaProjection = mp; in ScreenInternalAudioRecorder()
103 new AudioPlaybackCaptureConfiguration.Builder(mMediaProjection) in setupSimple()