Home
last modified time | relevance | path

Searched refs:ContentRecordingSession (Results 1 – 24 of 24) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DContentRecordingSessionTest.java52 ContentRecordingSession session = ContentRecordingSession.createTaskSession(WINDOW_TOKEN); in testParcelable()
72 ContentRecordingSession session = ContentRecordingSession.createDisplaySession( in testDisplayConstructor()
81 ContentRecordingSession displaySession = ContentRecordingSession.createDisplaySession( in testIsValid_displaySession()
87 ContentRecordingSession displaySession0 = ContentRecordingSession.createDisplaySession( in testIsValid_displaySession()
91 ContentRecordingSession displaySession1 = ContentRecordingSession.createDisplaySession( in testIsValid_displaySession()
97 ContentRecordingSession displaySession2 = ContentRecordingSession.createDisplaySession( in testIsValid_displaySession()
109 ContentRecordingSession taskSession = ContentRecordingSession.createTaskSession( in testIsValid_taskSession()
115 ContentRecordingSession taskSession0 = ContentRecordingSession.createTaskSession( in testIsValid_taskSession()
119 ContentRecordingSession taskSession1 = ContentRecordingSession.createTaskSession( in testIsValid_taskSession()
129 ContentRecordingSession taskSession4 = ContentRecordingSession.createTaskSession( in testIsValid_taskSession()
[all …]
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DContentRecordingControllerTests.java30 import android.view.ContentRecordingSession;
50 private final ContentRecordingSession mDefaultSession =
51 ContentRecordingSession.createDisplaySession(DEFAULT_DISPLAY);
52 private final ContentRecordingSession mWaitingDisplaySession =
53 ContentRecordingSession.createDisplaySession(DEFAULT_DISPLAY);
90 ContentRecordingSession resultingSession = controller.getContentRecordingSessionLocked(); in testSetContentRecordingSessionLocked_defaultSession()
98 ContentRecordingSession session = ContentRecordingSession.createDisplaySession( in testSetContentRecordingSessionLocked_invalidDisplayId_notAccepted()
129 ContentRecordingSession sessionUpdate = ContentRecordingSession.createTaskSession( in testSetContentRecordingSessionLocked_updateSession_noLongerWaiting_accepted()
150 ContentRecordingSession sessionUpdate = ContentRecordingSession.createTaskSession( in testSetContentRecordingSessionLocked_invalidUpdateSession_notWaiting_notAccepted()
169 ContentRecordingSession sessionUpdate = null; in testSetContentRecordingSessionLocked_disableCurrentSession_accepted()
[all …]
H A DContentRecorderTests.java54 import android.view.ContentRecordingSession;
86 private final ContentRecordingSession mDisplaySession =
87 ContentRecordingSession.createDisplaySession(DEFAULT_DISPLAY);
88 private final ContentRecordingSession mWaitingDisplaySession =
89 ContentRecordingSession.createDisplaySession(DEFAULT_DISPLAY);
90 private ContentRecordingSession mTaskSession;
128 mTaskSession = ContentRecordingSession.createTaskSession(sTaskWindowContainerToken); in setUp()
169 ContentRecordingSession session = ContentRecordingSession.createDisplaySession( in testUpdateRecording_display_invalidDisplayIdToMirror()
205 ContentRecordingSession session = mTaskSession; in testUpdateRecording_task_nullToken()
217 ContentRecordingSession invalidTaskSession = ContentRecordingSession.createTaskSession( in testUpdateRecording_task_noWindowContainer()
H A DWindowManagerServiceTests.java84 import android.view.ContentRecordingSession;
777 ContentRecordingSession session = ContentRecordingSession.createDisplaySession( in setContentRecordingSession_sessionContentDisplay_returnsTrue()
789 ContentRecordingSession session = ContentRecordingSession.createTaskSession(launchCookie); in setContentRecordingSession_sessionContentTask_noMatchingTask_returnsFalse()
800 ContentRecordingSession session = ContentRecordingSession.createTaskSession( in setContentRecordingSession_sessionContentTask_matchingTask_returnsTrue()
813 ContentRecordingSession session = ContentRecordingSession.createTaskSession( in setContentRecordingSession_matchingTask_mutatesSessionWithWindowContainerToken()
H A DDisplayContentTests.java127 import android.view.ContentRecordingSession;
2737 ContentRecordingSession session = ContentRecordingSession.createDisplaySession( in testVirtualDisplayContent_withoutSurface()
2766 ContentRecordingSession session = ContentRecordingSession.createDisplaySession( in testVirtualDisplayContent_withSurface()
/aosp14/frameworks/base/core/java/android/view/
H A DContentRecordingSession.java44 public final class ContentRecordingSession implements Parcelable { class
95 private ContentRecordingSession() { in ContentRecordingSession() method in ContentRecordingSession
109 public static ContentRecordingSession createTaskSession( in createTaskSession()
138 ContentRecordingSession incomingSession) { in isProjectionOnSameDisplay()
179 /* package-private */ ContentRecordingSession( in ContentRecordingSession() method in ContentRecordingSession
342 ContentRecordingSession that = (ContentRecordingSession) o; in equals()
423 public ContentRecordingSession[] newArray(int size) {
424 return new ContentRecordingSession[size];
429 return new ContentRecordingSession(in);
517 public @NonNull ContentRecordingSession build() { in build()
[all …]
H A DContentRecordingSession.aidl19 parcelable ContentRecordingSession;
H A DOWNERS90 per-file ContentRecordingSession.aidl = file:/services/core/java/com/android/server/wm/OWNERS
91 per-file ContentRecordingSession.java = file:/services/core/java/com/android/server/wm/OWNERS
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/media/projection/
H A DMediaProjectionManagerServiceTest.java62 import android.view.ContentRecordingSession;
251 any(ContentRecordingSession.class)); in testCreateProjection_attemptReuse_priorProjectionGrant_notWaiting()
268 any(ContentRecordingSession.class)); in testCreateProjection_attemptReuse_priorProjectionGrant_waiting()
452 ContentRecordingSession.class)); in testSetUserReviewGrantedConsentResult_noCurrentProjection()
461 any(ContentRecordingSession.class)); in testSetUserReviewGrantedConsentResult_projectionNotCurrent()
480 any(ContentRecordingSession.class)); in testSetUserReviewGrantedConsentResult_projectionNull()
499 any(ContentRecordingSession.class)); in testSetUserReviewGrantedConsentResult_projectionNull_consentNotGranted()
519 any(ContentRecordingSession.class)); in testSetUserReviewGrantedConsentResult_noVirtualDisplay()
541 any(ContentRecordingSession.class)); in testSetUserReviewGrantedConsentResult_thenVirtualDisplayCreated()
589 any(ContentRecordingSession.class)); in testSetUserReviewGrantedConsentResult_userCancelsSession()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/taskswitcher/data/repository/
H A DFakeMediaProjectionManager.kt24 import android.view.ContentRecordingSession
56 session: ContentRecordingSession?
62 fun createDisplaySession(): ContentRecordingSession =
63 ContentRecordingSession.createDisplaySession(/* displayToMirror = */ 123)
64 fun createSingleTaskSession(token: IBinder = Binder()): ContentRecordingSession =
65 ContentRecordingSession.createTaskSession(token)
H A DMediaProjectionManagerRepositoryTest.kt22 import android.view.ContentRecordingSession
104 session = ContentRecordingSession.createDisplaySession(/* displayToMirror= */ 123)
118 session = ContentRecordingSession.createTaskSession(taskWindowContainerToken)
134 session = ContentRecordingSession.createTaskSession(token.asBinder())
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DContentRecordingController.java23 import android.view.ContentRecordingSession;
39 private ContentRecordingSession mSession = null;
50 ContentRecordingSession getContentRecordingSessionLocked() { in getContentRecordingSessionLocked()
77 void setContentRecordingSessionLocked(@Nullable ContentRecordingSession incomingSession, in setContentRecordingSessionLocked()
80 if (incomingSession != null && !ContentRecordingSession.isValid(incomingSession)) { in setContentRecordingSessionLocked()
86 if (ContentRecordingSession.isProjectionOnSameDisplay(mSession, incomingSession)) { in setContentRecordingSessionLocked()
H A DContentRecorder.java21 import static android.view.ContentRecordingSession.RECORD_CONTENT_DISPLAY;
22 import static android.view.ContentRecordingSession.RECORD_CONTENT_TASK;
37 import android.view.ContentRecordingSession;
38 import android.view.ContentRecordingSession.RecordContent;
67 private ContentRecordingSession mContentRecordingSession = null;
113 void setContentRecordingSession(@Nullable ContentRecordingSession session) { in setContentRecordingSession()
H A DWindowManagerInternal.java35 import android.view.ContentRecordingSession;
953 public abstract boolean setContentRecordingSession(ContentRecordingSession incomingSession); in setContentRecordingSession()
H A DDisplayContent.java216 import android.view.ContentRecordingSession;
6679 void setContentRecordingSession(@Nullable ContentRecordingSession session) { in setContentRecordingSession()
6731 ContentRecordingSession session = ContentRecordingSession in setDisplayMirroring()
H A DWindowManagerService.java51 import static android.view.ContentRecordingSession.RECORD_CONTENT_TASK;
245 import android.view.ContentRecordingSession;
8345 @Nullable ContentRecordingSession incomingSession) { in setContentRecordingSession()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/taskswitcher/data/repository/
H A DMediaProjectionManagerRepository.kt23 import android.view.ContentRecordingSession
24 import android.view.ContentRecordingSession.RECORD_CONTENT_DISPLAY
65 session: ContentRecordingSession?
76 private suspend fun stateForSession(session: ContentRecordingSession?): MediaProjectionState {
/aosp14/frameworks/base/media/java/android/media/projection/
H A DIMediaProjectionWatcherCallback.aidl20 import android.view.ContentRecordingSession;
36 in @nullable ContentRecordingSession session in onRecordingSessionSet()
H A DIMediaProjectionManager.aidl25 import android.view.ContentRecordingSession;
128 boolean setContentRecordingSession(in ContentRecordingSession incomingSession, in setContentRecordingSession()
H A DMediaProjectionManager.java32 import android.view.ContentRecordingSession;
320 @Nullable ContentRecordingSession session in onRecordingSessionSet()
361 @Nullable final ContentRecordingSession session in onRecordingSessionSet()
/aosp14/frameworks/base/services/core/java/com/android/server/media/projection/
H A DMediaProjectionManagerService.java72 import android.view.ContentRecordingSession;
344 @Nullable ContentRecordingSession session) { in dispatchSessionSet()
353 boolean setContentRecordingSession(@Nullable ContentRecordingSession incomingSession) { in setContentRecordingSession()
362 ? ContentRecordingSession.recordContentToString( in setContentRecordingSession()
491 setReviewedConsentSessionLocked(ContentRecordingSession.createDisplaySession( in setUserReviewGrantedConsentResult()
495 setReviewedConsentSessionLocked(ContentRecordingSession.createTaskSession( in setUserReviewGrantedConsentResult()
507 private void setReviewedConsentSessionLocked(@Nullable ContentRecordingSession session) { in setReviewedConsentSessionLocked()
888 private ContentRecordingSession mSession;
1279 @Nullable ContentRecordingSession session) { in dispatchSession()
1406 private final ContentRecordingSession mSession;
[all …]
H A Dmediaprojection.md23 * setting a `ContentRecordingSession`
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
H A DDisplayManagerServiceTest.java24 import static android.view.ContentRecordingSession.RECORD_CONTENT_DISPLAY;
25 import static android.view.ContentRecordingSession.RECORD_CONTENT_TASK;
87 import android.view.ContentRecordingSession;
265 @Captor ArgumentCaptor<ContentRecordingSession> mContentRecordingSessionCaptor;
1162 any(ContentRecordingSession.class), nullable(IMediaProjection.class));
1166 ContentRecordingSession session = mContentRecordingSessionCaptor.getValue();
1198 ContentRecordingSession session = mContentRecordingSessionCaptor.getValue();
1259 ContentRecordingSession session = mContentRecordingSessionCaptor.getValue();
1287 any(ContentRecordingSession.class), nullable(IMediaProjection.class));
1313 any(ContentRecordingSession.class), nullable(IMediaProjection.class));
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayManagerService.java129 import android.view.ContentRecordingSession;
1566 ContentRecordingSession session = null; in createVirtualDisplayInternal()
1572 session = ContentRecordingSession.createDisplaySession( in createVirtualDisplayInternal()
1576 session = ContentRecordingSession.createTaskSession(launchCookie); in createVirtualDisplayInternal()