/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/media/projection/ |
H A D | MediaProjectionManagerServiceTest.java | 252 mService.setContentRecordingSession(DISPLAY_SESSION); in testCreateProjection_attemptReuse_priorProjectionGrant_notWaiting() 269 mService.setContentRecordingSession(mWaitingDisplaySession); in testCreateProjection_attemptReuse_priorProjectionGrant_waiting() 288 mService.setContentRecordingSession(mWaitingDisplaySession); in testCreateProjection_attemptReuse_priorProjectionGrant_waiting_differentPackage() 466 mService.setContentRecordingSession(mWaitingDisplaySession); in testSetUserReviewGrantedConsentResult_projectionNotCurrent() 484 mService.setContentRecordingSession(mWaitingDisplaySession); in testSetUserReviewGrantedConsentResult_projectionNull() 503 mService.setContentRecordingSession(mWaitingDisplaySession); in testSetUserReviewGrantedConsentResult_projectionNull_consentNotGranted() 522 mService.setContentRecordingSession(session); in testSetUserReviewGrantedConsentResult_noVirtualDisplay() 705 mService.setContentRecordingSession(DISPLAY_SESSION); in testSetUserReviewGrantedConsentResult_displayMirroring_sessionNotWaiting() 728 mService.setContentRecordingSession(DISPLAY_SESSION); in setContentRecordingSession_successful_notifiesListeners() 746 mService.setContentRecordingSession(DISPLAY_SESSION); in setContentRecordingSession_notifiesListenersOnCallbackLooper() [all …]
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | ContentRecorderTests.java | 171 mContentRecorder.setContentRecordingSession(session); in testUpdateRecording_display_invalidDisplayIdToMirror() 190 mContentRecorder.setContentRecordingSession(mTaskSession); in testUpdateRecording_task_featureDisabled() 198 mContentRecorder.setContentRecordingSession(mTaskSession); in testUpdateRecording_task_featureEnabled() 208 mContentRecorder.setContentRecordingSession(session); in testUpdateRecording_task_nullToken() 332 mContentRecorder.setContentRecordingSession(mTaskSession); in testOnTaskOrientationConfigurationChanged_resizesSurface() 368 mContentRecorder.setContentRecordingSession(mTaskSession); in testOnTaskBoundsConfigurationChanged_notifiesCallback() 393 mContentRecorder.setContentRecordingSession(mTaskSession); in testTaskWindowingModeChanged_pip_stopsRecording() 410 mContentRecorder.setContentRecordingSession(mTaskSession); in testTaskWindowingModeChanged_fullscreen_startsRecording() 425 mContentRecorder.setContentRecordingSession(mTaskSession); in testStartRecording_notifiesCallback_taskSession() 449 mContentRecorder.setContentRecordingSession(mTaskSession); in testStartRecording_taskInPIP_recordingNotStarted() [all …]
|
H A D | ContentRecordingControllerTests.java | 116 verify(mVirtualDisplayContent, atLeastOnce()).setContentRecordingSession(mDefaultSession); in testSetContentRecordingSessionLocked_newSession_accepted() 124 verify(mVirtualDisplayContent, atLeastOnce()).setContentRecordingSession( in testSetContentRecordingSessionLocked_updateSession_noLongerWaiting_accepted() 138 verify(mVirtualDisplayContent, atLeastOnce()).setContentRecordingSession(sessionUpdate); in testSetContentRecordingSessionLocked_updateSession_noLongerWaiting_accepted() 147 verify(mVirtualDisplayContent, atLeastOnce()).setContentRecordingSession(mDefaultSession); in testSetContentRecordingSessionLocked_invalidUpdateSession_notWaiting_notAccepted() 158 verify(mVirtualDisplayContent, never()).setContentRecordingSession(sessionUpdate); in testSetContentRecordingSessionLocked_invalidUpdateSession_notWaiting_notAccepted() 166 verify(mVirtualDisplayContent, atLeastOnce()).setContentRecordingSession(mDefaultSession); in testSetContentRecordingSessionLocked_disableCurrentSession_accepted() 184 verify(mVirtualDisplayContent, atLeastOnce()).setContentRecordingSession(mDefaultSession); in testSetContentRecordingSessionLocked_takeOverCurrentSession_accepted() 198 verify(virtualDisplay, atLeastOnce()).setContentRecordingSession(sessionUpdate); in testSetContentRecordingSessionLocked_takeOverCurrentSession_accepted()
|
H A D | WindowManagerServiceTests.java | 769 boolean result = wmInternal.setContentRecordingSession(/* incomingSession= */ null); in setContentRecordingSession_sessionNull_returnsTrue() 780 boolean result = wmInternal.setContentRecordingSession(session); in setContentRecordingSession_sessionContentDisplay_returnsTrue() 791 boolean result = wmInternal.setContentRecordingSession(session); in setContentRecordingSession_sessionContentTask_noMatchingTask_returnsFalse() 803 boolean result = wmInternal.setContentRecordingSession(session); in setContentRecordingSession_sessionContentTask_matchingTask_returnsTrue() 816 wmInternal.setContentRecordingSession(session); in setContentRecordingSession_matchingTask_mutatesSessionWithWindowContainerToken()
|
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
H A D | DisplayManagerServiceTest.java | 346 verify(mMockProjectionService, never()).setContentRecordingSession(any(), 473 verify(mMockProjectionService, never()).setContentRecordingSession(any(), 508 verify(mMockProjectionService, never()).setContentRecordingSession(any(), 546 verify(mMockProjectionService, never()).setContentRecordingSession(any(), 581 verify(mMockProjectionService, never()).setContentRecordingSession(any(), 848 verify(mMockProjectionService, never()).setContentRecordingSession(any(), 861 verify(mMockProjectionService, never()).setContentRecordingSession(any(), 900 verify(mMockProjectionService, never()).setContentRecordingSession(any(), 917 verify(mMockProjectionService, never()).setContentRecordingSession(any(), 1286 verify(mMockProjectionService, never()).setContentRecordingSession( [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | ContentRecordingController.java | 118 incomingDisplayContent.setContentRecordingSession(incomingSession); in setContentRecordingSessionLocked() 132 mDisplayContent.setContentRecordingSession(null); in setContentRecordingSessionLocked()
|
H A D | WindowManagerInternal.java | 953 public abstract boolean setContentRecordingSession(ContentRecordingSession incomingSession); in setContentRecordingSession() method in WindowManagerInternal
|
H A D | ContentRecorder.java | 113 void setContentRecordingSession(@Nullable ContentRecordingSession session) { in setContentRecordingSession() method in ContentRecorder
|
H A D | DisplayContent.java | 6679 void setContentRecordingSession(@Nullable ContentRecordingSession session) { in setContentRecordingSession() method 6680 getContentRecorder().setContentRecordingSession(session); in setContentRecordingSession() 6734 setContentRecordingSession(session); in setDisplayMirroring()
|
H A D | WindowManagerService.java | 8344 public boolean setContentRecordingSession( in setContentRecordingSession() method in WindowManagerService.LocalService
|
/aosp14/frameworks/base/media/java/android/media/projection/ |
H A D | IMediaProjectionManager.aidl | 128 boolean setContentRecordingSession(in ContentRecordingSession incomingSession, in setContentRecordingSession() method
|
/aosp14/frameworks/base/services/core/java/com/android/server/media/projection/ |
H A D | MediaProjectionManagerService.java | 353 boolean setContentRecordingSession(@Nullable ContentRecordingSession incomingSession) { in setContentRecordingSession() method in MediaProjectionManagerService 356 final boolean setSessionSucceeded = mWmInternal.setContentRecordingSession(incomingSession); in setContentRecordingSession() 514 if (!setContentRecordingSession(session)) { in setReviewedConsentSessionLocked() 780 public boolean setContentRecordingSession(@Nullable ContentRecordingSession incomingSession, in setContentRecordingSession() method in MediaProjectionManagerService.BinderService 795 return MediaProjectionManagerService.this.setContentRecordingSession( in setContentRecordingSession() 1160 if (!setContentRecordingSession(mSession)) { in notifyVirtualDisplayCreated()
|
/aosp14/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayManagerService.java | 1604 if (!getProjectionService().setContentRecordingSession(session, projection)) { in createVirtualDisplayInternal()
|