Home
last modified time | relevance | path

Searched refs:taskSession (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DContentRecordingSessionTest.java122 ContentRecordingSession taskSession = ContentRecordingSession.createTaskSession( in testIsValid_taskSession() local
124 taskSession.setVirtualDisplayId(DEFAULT_DISPLAY); in testIsValid_taskSession()
125 assertThat(ContentRecordingSession.isValid(taskSession)).isTrue(); in testIsValid_taskSession()
/frameworks/base/services/tests/servicestests/src/com/android/server/media/projection/
DMediaProjectionManagerServiceTest.java375 ContentRecordingSession taskSession = createTaskSession(mock(IBinder.class)); in stop_taskSession_logsHostUidAndTargetUid() local
376 taskSession.setTargetUid(targetUid); in stop_taskSession_logsHostUidAndTargetUid()
377 service.setContentRecordingSession(taskSession); in stop_taskSession_logsHostUidAndTargetUid()
711 ContentRecordingSession taskSession = createTaskSession(mock(IBinder.class)); in notifyWindowingModeChanged_forwardsToLogger() local
712 taskSession.setTargetUid(targetUid); in notifyWindowingModeChanged_forwardsToLogger()
713 mService.setContentRecordingSession(taskSession); in notifyWindowingModeChanged_forwardsToLogger()
918 ContentRecordingSession taskSession = createTaskSession(mock(IBinder.class)); in setContentRecordingSession_taskSession_logsCaptureInProgressWithTargetUid() local
919 taskSession.setTargetUid(targetUid); in setContentRecordingSession_taskSession_logsCaptureInProgressWithTargetUid()
920 service.setContentRecordingSession(taskSession); in setContentRecordingSession_taskSession_logsCaptureInProgressWithTargetUid()