/frameworks/base/services/core/java/com/android/server/wm/ |
D | PendingRemoteAnimationRegistry.java | 48 @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()
|
D | TaskOrganizerController.java | 838 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()
|
D | ActivityStartController.java | 640 RemoteAnimationAdapter adapter, @Nullable IBinder launchCookie) { in registerRemoteAnimationForNextActivityStart() argument 641 mPendingRemoteAnimationRegistry.addPendingAnimation(packageName, adapter, launchCookie); in registerRemoteAnimationForNextActivityStart()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | LaunchCookieTest.java | 34 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/ |
D | MediaProjectionCaptureTarget.kt | 27 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/ |
D | MediaProjectionAppSelectorActivity.kt | 165 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()
|
D | MediaProjectionAppSelectorResultHandler.kt | 17 fun returnSelectedApp(launchCookie: LaunchCookie, taskId: Int)
|
/frameworks/base/media/tests/projection/src/android/media/projection/ |
D | FakeIMediaProjection.java | 98 public void setLaunchCookie(LaunchCookie launchCookie) throws RemoteException { in setLaunchCookie() argument 100 mLaunchCookie = launchCookie; in setLaunchCookie()
|
/frameworks/base/core/java/android/window/ |
D | TaskOrganizer.java | 156 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()
|
D | ITaskOrganizerController.aidl | 43 void createRootTask(int displayId, int windowingMode, IBinder launchCookie, in createRootTask() argument
|
/frameworks/base/media/java/android/media/projection/ |
D | MediaProjectionInfo.java | 32 public MediaProjectionInfo(String packageName, UserHandle handle, LaunchCookie launchCookie) { in MediaProjectionInfo() argument 35 mLaunchCookie = launchCookie; in MediaProjectionInfo()
|
D | IMediaProjection.aidl | 65 void setLaunchCookie(in LaunchCookie launchCookie); in setLaunchCookie() argument
|
D | MediaProjectionManager.java | 198 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/ |
D | MediaProjectionRecentsViewController.kt | 140 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/ |
D | TaskViewTransitions.java | 80 @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()
|
D | TaskViewTaskController.java | 260 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/ |
D | MediaProjectionPermissionActivity.java | 161 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/ |
D | ActivityTaskSupervisorTests.java | 376 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()
|
D | ActivityMetricsLaunchObserverTests.java | 539 final IBinder launchCookie = mock(IBinder.class); in testConsecutiveLaunchNewTask() local 542 mTrampolineActivity.mLaunchCookie = launchCookie; in testConsecutiveLaunchNewTask() 556 activityOnNewTask.mLaunchCookie).isEqualTo(launchCookie); in testConsecutiveLaunchNewTask()
|
D | WindowManagerServiceTests.java | 903 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()
|
D | ActivityRecordTests.java | 2399 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/ |
D | ActivityOptions.java | 2057 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()
|
D | IActivityTaskManager.aidl | 299 in RemoteAnimationAdapter adapter, in IBinder launchCookie); in registerRemoteAnimationForNextActivityStart() argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SensitiveNotificationProtectionControllerTest.kt | 702 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/ |
D | MediaProjectionManagerService.java | 1195 public void setLaunchCookie(LaunchCookie launchCookie) { in setLaunchCookie() argument 1197 mLaunchCookie = launchCookie; in setLaunchCookie()
|