Home
last modified time | relevance | path

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

/frameworks/base/media/tests/projection/src/android/media/projection/
DMediaProjectionManagerTest.java57 private MediaProjectionManager mMediaProjectionManager; field in MediaProjectionManagerTest
74 mMediaProjectionManager = new MediaProjectionManager(mContext); in setup()
87 final Intent intent = mMediaProjectionManager.createScreenCaptureIntent(); in testCreateScreenCaptureIntent()
97 final Intent intent = mMediaProjectionManager.createScreenCaptureIntent(DISPLAY_CONFIG); in testCreateScreenCaptureIntent_display()
109 final Intent intent = mMediaProjectionManager.createScreenCaptureIntent( in testCreateScreenCaptureIntent_usersChoice()
/frameworks/base/services/core/java/com/android/server/wm/
DContentRecorder.java69 @Nullable private final MediaProjectionManagerWrapper mMediaProjectionManager; field in ContentRecorder
121 mMediaProjectionManager = mediaProjectionManager; in ContentRecorder()
202 mMediaProjectionManager.notifyWindowingModeChanged( in onConfigurationChanged()
297 if (mMediaProjectionManager != null) { in stopMediaProjection()
298 mMediaProjectionManager.stopActiveProjection(); in stopMediaProjection()
402 mMediaProjectionManager.notifyActiveProjectionCapturedContentVisibilityChanged( in startRecordingIfNeeded()
407 mMediaProjectionManager.notifyActiveProjectionCapturedContentVisibilityChanged( in startRecordingIfNeeded()
412 mMediaProjectionManager.notifyWindowingModeChanged( in startRecordingIfNeeded()
598 mMediaProjectionManager.notifyActiveProjectionCapturedContentResized( in updateMirroredSurface()
658 mMediaProjectionManager.notifyActiveProjectionCapturedContentVisibilityChanged( in onVisibleRequestedChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCastControllerImplTest.java43 MediaProjectionManager mMediaProjectionManager; field in CastControllerImplTest
53 mContext.addMockSystemService(MediaProjectionManager.class, mMediaProjectionManager); in setUp()
54 when(mMediaProjectionManager.getActiveProjectionInfo()).thenReturn(mProjection); in setUp()