Home
last modified time | relevance | path

Searched refs:createTaskSession (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DContentRecordingSessionTest.java54 ContentRecordingSession session = ContentRecordingSession.createTaskSession(WINDOW_TOKEN); in testParcelable()
67 ContentRecordingSession session = ContentRecordingSession.createTaskSession(WINDOW_TOKEN); in testTaskConstructor()
76 ContentRecordingSession.createTaskSession(WINDOW_TOKEN, TASK_ID); in testSecondaryTaskConstructor()
122 ContentRecordingSession taskSession = ContentRecordingSession.createTaskSession( in testIsValid_taskSession()
128 ContentRecordingSession taskSession0 = ContentRecordingSession.createTaskSession( in testIsValid_taskSession()
132 ContentRecordingSession taskSession1 = ContentRecordingSession.createTaskSession( in testIsValid_taskSession()
138 ContentRecordingSession taskSession3 = ContentRecordingSession.createTaskSession(null); in testIsValid_taskSession()
142 ContentRecordingSession taskSession4 = ContentRecordingSession.createTaskSession( in testIsValid_taskSession()
170 ContentRecordingSession session = ContentRecordingSession.createTaskSession(WINDOW_TOKEN); in testEquals()
173 ContentRecordingSession session2 = ContentRecordingSession.createTaskSession(WINDOW_TOKEN); in testEquals()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/data/repository/
DMediaProjectionManagerRepositoryTest.kt115 session = ContentRecordingSession.createTaskSession(taskWindowContainerToken) in mediaProjectionState_sessionSet_taskWithToken_noMatchingRunningTask_emitsEntireScreen()
150 session = ContentRecordingSession.createTaskSession(token.asBinder()) in mediaProjectionState_sessionSet_taskWithToken_matchingRunningTask_emitsSingleTask()
174 session = ContentRecordingSession.createTaskSession(token.asBinder()) in mediaProjectionState_singleTask_hasHostPackage()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DContentRecordingControllerTests.java129 ContentRecordingSession sessionUpdate = ContentRecordingSession.createTaskSession( in testSetContentRecordingSessionLocked_updateSession_noLongerWaiting_accepted()
150 ContentRecordingSession sessionUpdate = ContentRecordingSession.createTaskSession( in testSetContentRecordingSessionLocked_invalidUpdateSession_notWaiting_notAccepted()
DWindowManagerServiceTests.java801 ContentRecordingSession.createTaskSession(cookie)); in testGetTaskWindowContainerTokenForRecordingSession_invalidCookie()
809 ContentRecordingSession.createTaskSession(cookie)); in testGetTaskWindowContainerTokenForRecordingSession_invalidCookie()
821 ContentRecordingSession.createTaskSession(cookie)); in testGetTaskWindowContainerTokenForRecordingSession_validCookie()
839 ContentRecordingSession.createTaskSession( in testGetTaskWindowContainerTokenForRecordingSession_validTaskId()
859 ContentRecordingSession.createTaskSession(cookie1)); in testGetTaskWindowContainerTokenForRecordingSession_multipleCookies()
876 ContentRecordingSession.createTaskSession(new Binder("some other cookie"))); in testGetTaskWindowContainerTokenForRecordingSession_multipleCookies_noneValid()
904 ContentRecordingSession session = ContentRecordingSession.createTaskSession(launchCookie); in setContentRecordingSession_sessionContentTask_noMatchingTask_returnsFalse()
916 ContentRecordingSession session = ContentRecordingSession.createTaskSession( in setContentRecordingSession_sessionContentTask_matchingTask_returnsTrue()
931 ContentRecordingSession.createTaskSession(activityRecord.mLaunchCookie); in setContentRecordingSession_matchingTask_mutatesSessionWithWindowContainerInfo()
DContentRecorderTests.java140 mTaskSession = ContentRecordingSession.createTaskSession(sTaskWindowContainerToken); in createContentRecorder()
201 ContentRecordingSession invalidTaskSession = ContentRecordingSession.createTaskSession( in testUpdateRecording_task_noWindowContainer()
/frameworks/base/core/java/android/view/
DContentRecordingSession.java125 public static ContentRecordingSession createTaskSession( in createTaskSession() method in ContentRecordingSession
127 return createTaskSession(taskWindowContainerToken, TASK_ID_UNKNOWN); in createTaskSession()
131 public static ContentRecordingSession createTaskSession( in createTaskSession() method in ContentRecordingSession
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/mediaprojection/taskswitcher/
DFakeMediaProjectionManager.kt74 ContentRecordingSession.createTaskSession(token)
/frameworks/base/services/tests/servicestests/src/com/android/server/media/projection/
DMediaProjectionManagerServiceTest.java30 import static android.view.ContentRecordingSession.createTaskSession;
375 ContentRecordingSession taskSession = createTaskSession(mock(IBinder.class)); in stop_taskSession_logsHostUidAndTargetUid()
711 ContentRecordingSession taskSession = createTaskSession(mock(IBinder.class)); in notifyWindowingModeChanged_forwardsToLogger()
918 ContentRecordingSession taskSession = createTaskSession(mock(IBinder.class)); in setContentRecordingSession_taskSession_logsCaptureInProgressWithTargetUid()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java556 ContentRecordingSession.createTaskSession( in setUserReviewGrantedConsentResult()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java1757 session = ContentRecordingSession.createTaskSession( in createVirtualDisplayInternal()