Home
last modified time | relevance | path

Searched refs:launchCookie (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/wm/
DPendingRemoteAnimationRegistry.java48 @Nullable IBinder launchCookie) { in addPendingAnimation() argument
49 mEntries.put(packageName, new Entry(packageName, adapter, launchCookie)); in addPendingAnimation()
67 IBinder launchCookie = entry.launchCookie; in overrideOptionsIfNeeded() local
68 if (launchCookie != null) { in overrideOptionsIfNeeded()
69 options.setLaunchCookie(launchCookie); in overrideOptionsIfNeeded()
79 final IBinder launchCookie; field in PendingRemoteAnimationRegistry.Entry
81 Entry(String packageName, RemoteAnimationAdapter adapter, @Nullable IBinder launchCookie) { in Entry() argument
84 this.launchCookie = launchCookie; in Entry()
DTaskOrganizerController.java838 public void createRootTask(int displayId, int windowingMode, @Nullable IBinder launchCookie, in createRootTask() argument
851 createRootTask(display, windowingMode, launchCookie, removeWithTaskOrganizer); in createRootTask()
859 Task createRootTask(DisplayContent display, int windowingMode, @Nullable IBinder launchCookie) { in createRootTask() argument
860 return createRootTask(display, windowingMode, launchCookie, in createRootTask()
864 Task createRootTask(DisplayContent display, int windowingMode, @Nullable IBinder launchCookie, in createRootTask() argument
876 .setLaunchCookie(launchCookie) in createRootTask()
DActivityStartController.java640 RemoteAnimationAdapter adapter, @Nullable IBinder launchCookie) { in registerRemoteAnimationForNextActivityStart() argument
641 mPendingRemoteAnimationRegistry.addPendingAnimation(packageName, adapter, launchCookie); in registerRemoteAnimationForNextActivityStart()
/frameworks/base/core/tests/coretests/src/android/app/
DLaunchCookieTest.java34 LaunchCookie launchCookie = new LaunchCookie(); in parcelNonNullLaunchCookie() local
36 LaunchCookie.writeToParcel(launchCookie, parcel); in parcelNonNullLaunchCookie()
39 assertEquals(launchCookie, unparceledLaunchCookie); in parcelNonNullLaunchCookie()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/
DMediaProjectionCaptureTarget.kt27 data class MediaProjectionCaptureTarget(val launchCookie: LaunchCookie?, val taskId: Int) : constant in com.android.systemui.mediaprojection.MediaProjectionCaptureTarget
33 LaunchCookie.writeToParcel(launchCookie, dest) in writeToParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/
DMediaProjectionAppSelectorActivity.kt165 val launchCookie = LaunchCookie("media_projection_launch_token") in appliedThemeResId() constant
167 activityOptions.setLaunchCookie(launchCookie) in appliedThemeResId()
177 returnSelectedApp(launchCookie, taskId = -1) in appliedThemeResId()
235 override fun returnSelectedApp(launchCookie: LaunchCookie, taskId: Int) { in returnSelectedApp()
245 val captureRegion = MediaProjectionCaptureTarget(launchCookie, taskId) in returnSelectedApp()
257 projection.setLaunchCookie(launchCookie) in returnSelectedApp()
DMediaProjectionAppSelectorResultHandler.kt17 fun returnSelectedApp(launchCookie: LaunchCookie, taskId: Int)
/frameworks/base/media/tests/projection/src/android/media/projection/
DFakeIMediaProjection.java98 public void setLaunchCookie(LaunchCookie launchCookie) throws RemoteException { in setLaunchCookie() argument
100 mLaunchCookie = launchCookie; in setLaunchCookie()
/frameworks/base/core/java/android/window/
DTaskOrganizer.java156 public void createRootTask(int displayId, int windowingMode, @Nullable IBinder launchCookie, in createRootTask() argument
159 mTaskOrganizerController.createRootTask(displayId, windowingMode, launchCookie, in createRootTask()
175 public void createRootTask(int displayId, int windowingMode, @Nullable IBinder launchCookie) { in createRootTask() argument
176 createRootTask(displayId, windowingMode, launchCookie, false /* removeWithTaskOrganizer */); in createRootTask()
DITaskOrganizerController.aidl43 void createRootTask(int displayId, int windowingMode, IBinder launchCookie, in createRootTask() argument
/frameworks/base/media/java/android/media/projection/
DMediaProjectionInfo.java32 public MediaProjectionInfo(String packageName, UserHandle handle, LaunchCookie launchCookie) { in MediaProjectionInfo() argument
35 mLaunchCookie = launchCookie; in MediaProjectionInfo()
DIMediaProjection.aidl65 void setLaunchCookie(in LaunchCookie launchCookie); in setLaunchCookie() argument
DMediaProjectionManager.java198 public Intent createScreenCaptureIntent(@NonNull LaunchCookie launchCookie) { in createScreenCaptureIntent() argument
200 i.putExtra(EXTRA_LAUNCH_COOKIE, launchCookie); in createScreenCaptureIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/
DMediaProjectionRecentsViewController.kt140 val launchCookie = LaunchCookie() in <lambda>() constant
145 activityOptions.setLaunchCookie(launchCookie) in <lambda>()
149 val handleResult: () -> Unit = { resultHandler.returnSelectedApp(launchCookie, taskId)} in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/
DTaskViewTransitions.java80 @Nullable IBinder launchCookie) { in PendingTransition() argument
84 mLaunchCookie = launchCookie; in PendingTransition()
221 @NonNull TaskViewTaskController taskView, @NonNull IBinder launchCookie) { in startTaskView() argument
223 mPending.add(new PendingTransition(TRANSIT_OPEN, wct, taskView, launchCookie)); in startTaskView()
DTaskViewTaskController.java260 final Binder launchCookie = new Binder(); in prepareActivityOptions() local
262 mTaskOrganizer.setPendingLaunchCookieListener(launchCookie, this); in prepareActivityOptions()
265 options.setLaunchCookie(launchCookie); in prepareActivityOptions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/permission/
DMediaProjectionPermissionActivity.java161 LaunchCookie launchCookie = launchingIntent.getParcelableExtra( in onCreate() local
163 if (launchCookie != null) { in onCreate()
164 projection.setLaunchCookie(launchCookie); in onCreate()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTaskSupervisorTests.java376 IBinder launchCookie = new Binder("test_launch_cookie"); in testStartActivityFromRecents_withLaunchCookie() local
378 options.setLaunchCookie(launchCookie); in testStartActivityFromRecents_withLaunchCookie()
386 assertThat(activity.mLaunchCookie).isEqualTo(launchCookie); in testStartActivityFromRecents_withLaunchCookie()
DActivityMetricsLaunchObserverTests.java539 final IBinder launchCookie = mock(IBinder.class); in testConsecutiveLaunchNewTask() local
542 mTrampolineActivity.mLaunchCookie = launchCookie; in testConsecutiveLaunchNewTask()
556 activityOnNewTask.mLaunchCookie).isEqualTo(launchCookie); in testConsecutiveLaunchNewTask()
DWindowManagerServiceTests.java903 IBinder launchCookie = new Binder(); in setContentRecordingSession_sessionContentTask_noMatchingTask_returnsFalse() local
904 ContentRecordingSession session = ContentRecordingSession.createTaskSession(launchCookie); in setContentRecordingSession_sessionContentTask_noMatchingTask_returnsFalse()
1522 IBinder launchCookie, WindowContainerToken wct, int uid) { in setupActivityWithLaunchCookie() argument
1527 testActivity.mLaunchCookie = launchCookie; in setupActivityWithLaunchCookie()
DActivityRecordTests.java2399 final Binder launchCookie = new Binder(); in testTransferLaunchCookieWhenFinishing() local
2400 activity1.mLaunchCookie = launchCookie; in testTransferLaunchCookieWhenFinishing()
2405 assertEquals(launchCookie, activity2.mLaunchCookie); in testTransferLaunchCookieWhenFinishing()
2408 assertTrue(activity1.getTask().getTaskInfo().launchCookies.contains(launchCookie)); in testTransferLaunchCookieWhenFinishing()
/frameworks/base/core/java/android/app/
DActivityOptions.java2057 public static void writeToParcel(@Nullable LaunchCookie launchCookie, Parcel out) { in writeToParcel() argument
2058 if (launchCookie != null) { in writeToParcel()
2059 launchCookie.writeToParcel(out, 0); in writeToParcel()
2109 public void setLaunchCookie(@NonNull LaunchCookie launchCookie) { in setLaunchCookie() argument
2110 setLaunchCookie(launchCookie.binder); in setLaunchCookie()
2120 public void setLaunchCookie(IBinder launchCookie) { in setLaunchCookie() argument
2121 mLaunchCookie = launchCookie; in setLaunchCookie()
DIActivityTaskManager.aidl299 in RemoteAnimationAdapter adapter, in IBinder launchCookie); in registerRemoteAnimationForNextActivityStart() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSensitiveNotificationProtectionControllerTest.kt702 val launchCookie = if (fullScreen) null else ActivityOptions.LaunchCookie() in setShareScreen() constant
703 mediaProjectionInfo = MediaProjectionInfo(packageName, UserHandle.CURRENT, launchCookie) in setShareScreen()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java1195 public void setLaunchCookie(LaunchCookie launchCookie) { in setLaunchCookie() argument
1197 mLaunchCookie = launchCookie; in setLaunchCookie()

12