Home
last modified time | relevance | path

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

/aosp14/frameworks/base/media/tests/projection/src/android/media/projection/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DContentRecorder.java61 @Nullable private final MediaProjectionManagerWrapper mMediaProjectionManager; field in ContentRecorder
104 mMediaProjectionManager = mediaProjectionManager; in ContentRecorder()
264 if (mMediaProjectionManager != null) { in stopMediaProjection()
265 mMediaProjectionManager.stopActiveProjection(); in stopMediaProjection()
367 mMediaProjectionManager.notifyActiveProjectionCapturedContentVisibilityChanged( in startRecordingIfNeeded()
372 mMediaProjectionManager.notifyActiveProjectionCapturedContentVisibilityChanged( in startRecordingIfNeeded()
533 mMediaProjectionManager.notifyActiveProjectionCapturedContentResized( in updateMirroredSurface()
592 mMediaProjectionManager.notifyActiveProjectionCapturedContentVisibilityChanged( in onVisibleRequestedChanged()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DCastControllerImplTest.java43 MediaProjectionManager mMediaProjectionManager; field in CastControllerImplTest
53 mContext.addMockSystemService(MediaProjectionManager.class, mMediaProjectionManager); in setUp()
54 when(mMediaProjectionManager.getActiveProjectionInfo()).thenReturn(mProjection); in setUp()