Home
last modified time | relevance | path

Searched refs:mLaunchCookie (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/media/java/android/media/projection/
DMediaProjectionInfo.java30 private final LaunchCookie mLaunchCookie; field in MediaProjectionInfo
35 mLaunchCookie = launchCookie; in MediaProjectionInfo()
41 mLaunchCookie = LaunchCookie.readFromParcel(in); in MediaProjectionInfo()
53 return mLaunchCookie; in getLaunchCookie()
61 && Objects.equals(other.mLaunchCookie, mLaunchCookie); in equals()
76 + mLaunchCookie + "}"; in toString()
88 LaunchCookie.writeToParcel(mLaunchCookie, out); in writeToParcel()
/frameworks/base/media/tests/projection/src/android/media/projection/
DFakeIMediaProjection.java33 LaunchCookie mLaunchCookie = null; field in FakeIMediaProjection
86 return mLaunchCookie; in getLaunchCookie()
100 mLaunchCookie = launchCookie; in setLaunchCookie()
/frameworks/base/core/java/android/window/
DTransitionFilter.java184 public IBinder mLaunchCookie; field in TransitionFilter.Requirement
198 mLaunchCookie = in.readStrongBinder(); in Requirement()
257 if (mLaunchCookie == null) return true; in matchesCookie()
260 if (mLaunchCookie.equals(cookie)) { in matchesCookie()
288 dest.writeStrongBinder(mLaunchCookie); in writeToParcel()
329 out.append(" launchCookie=").append(mLaunchCookie); in toString()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DPendingRemoteAnimationRegistryTest.java49 @Mock IBinder mLaunchCookie; field in PendingRemoteAnimationRegistryTest
86 mRegistry.addPendingAnimation("com.android.test", mAdapter, mLaunchCookie); in testOverrideLaunchCookie()
90 assertEquals(mLaunchCookie, opts.getLaunchCookie()); in testOverrideLaunchCookie()
DActivityMetricsLaunchObserverTests.java542 mTrampolineActivity.mLaunchCookie = launchCookie; in testConsecutiveLaunchNewTask()
554 mTrampolineActivity.mLaunchCookie).isNull(); in testConsecutiveLaunchNewTask()
556 activityOnNewTask.mLaunchCookie).isEqualTo(launchCookie); in testConsecutiveLaunchNewTask()
DActivityTaskSupervisorTests.java386 assertThat(activity.mLaunchCookie).isEqualTo(launchCookie); in testStartActivityFromRecents_withLaunchCookie()
403 assertThat(activity.mLaunchCookie).isNull(); in testStartActivityFromRecents_withoutLaunchCookie()
DWindowManagerServiceTests.java835 testActivity.mLaunchCookie = null; in testGetTaskWindowContainerTokenForRecordingSession_validTaskId()
915 activityRecord.mLaunchCookie = new Binder(); in setContentRecordingSession_sessionContentTask_matchingTask_returnsTrue()
917 activityRecord.mLaunchCookie); in setContentRecordingSession_sessionContentTask_matchingTask_returnsTrue()
929 activityRecord.mLaunchCookie = new Binder(); in setContentRecordingSession_matchingTask_mutatesSessionWithWindowContainerInfo()
931 ContentRecordingSession.createTaskSession(activityRecord.mLaunchCookie); in setContentRecordingSession_matchingTask_mutatesSessionWithWindowContainerInfo()
1527 testActivity.mLaunchCookie = launchCookie; in setupActivityWithLaunchCookie()
DActivityStarterTests.java1368 assertTrue(mRootWindowContainer.topRunningActivity().mLaunchCookie == cookie); in testLaunchCookie_newAndExistingTask()
1380 assertTrue(mRootWindowContainer.topRunningActivity().mLaunchCookie == newCookie); in testLaunchCookie_newAndExistingTask()
DActivityRecordTests.java2400 activity1.mLaunchCookie = launchCookie; in testTransferLaunchCookieWhenFinishing()
2405 assertEquals(launchCookie, activity2.mLaunchCookie); in testTransferLaunchCookieWhenFinishing()
2406 assertNull(activity1.mLaunchCookie); in testTransferLaunchCookieWhenFinishing()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/
DTaskViewTransitions.java75 final IBinder mLaunchCookie; field in TaskViewTransitions.PendingTransition
84 mLaunchCookie = launchCookie; in PendingTransition()
357 boolean stillNeedsMatchingLaunch = pending != null && pending.mLaunchCookie != null; in startAnimation()
395 || !chg.getTaskInfo().containsLaunchCookie(pending.mLaunchCookie)) { in startAnimation()
/frameworks/base/core/java/android/app/
DActivityOptions.java525 private IBinder mLaunchCookie; field in ActivityOptions
1387 mLaunchCookie = opts.getBinder(KEY_LAUNCH_COOKIE); in ActivityOptions()
2121 mLaunchCookie = launchCookie; in setLaunchCookie()
2130 return mLaunchCookie; in getLaunchCookie()
2455 if (mLaunchCookie != null) { in toBundle()
2456 b.putBinder(KEY_LAUNCH_COOKIE, mLaunchCookie); in toBundle()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java982 private LaunchCookie mLaunchCookie = null; field in MediaProjectionManagerService.MediaProjection
1197 mLaunchCookie = launchCookie; in setLaunchCookie()
1211 return mLaunchCookie; in getLaunchCookie()
1273 return new MediaProjectionInfo(packageName, userHandle, mLaunchCookie); in getProjectionInfo()
/frameworks/base/services/core/java/com/android/server/wm/
DScreenRecordingCallbackController.java98 mRecordedWC = mWms.mRoot.getActivity(activity -> activity.mLaunchCookie in setRecordedWindowContainer()
DActivityMetricsLogger.java403 r.mLaunchCookie = mLastLaunchedActivity.mLaunchCookie; in setLatestLaunchedActivity()
404 mLastLaunchedActivity.mLaunchCookie = null; in setLatestLaunchedActivity()
DActivityTaskSupervisor.java2822 targetActivity.mLaunchCookie = activityOptions.getLaunchCookie(); in startActivityFromRecents()
2933 if (r.mLaunchCookie != null) { in accept()
2934 mInfo.addLaunchCookie(r.mLaunchCookie); in accept()
DActivityRecord.java1006 IBinder mLaunchCookie; field in ActivityRecord
1235 if (mLaunchCookie != null) { in dump()
1238 pw.println(mLaunchCookie); in dump()
2307 mLaunchCookie = options.getLaunchCookie(); in ActivityRecord()
4193 if (mLaunchCookie != null && mState != RESUMED && task != null && !task.mInRemoveTask in makeFinishingLocked()
4197 r -> r.mLaunchCookie == null && !r.finishing && r.isUid(getUid()), in makeFinishingLocked()
4200 nextCookieTarget.mLaunchCookie = mLaunchCookie; in makeFinishingLocked()
4201 mLaunchCookie = null; in makeFinishingLocked()
DTask.java592 IBinder mLaunchCookie; field in Task
670 mLaunchCookie = _launchCookie; in Task()
3390 info.addLaunchCookie(mLaunchCookie);
6441 private IBinder mLaunchCookie;
6554 mLaunchCookie = launchCookie;
6806 mLaunchCookie, mDeferTaskAppear, mRemoveWithTaskOrganizer);
DActivityStarter.java2894 if (mStartActivity.mLaunchCookie != null) { in setTargetRootTaskIfNeeded()
2895 intentActivity.mLaunchCookie = mStartActivity.mLaunchCookie; in setTargetRootTaskIfNeeded()
DWindowManagerService.java9120 targetActivity = mRoot.getActivity(activity -> activity.mLaunchCookie == launchCookie); in getTaskWindowContainerInfoForRecordingSession()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DActivityTransitionAnimator.kt405 mLaunchCookie = launchController.transitionCookie in registerEphemeralReturnAnimation()