Home
last modified time | relevance | path

Searched refs:ActivityRecord (Results 1 – 25 of 158) sorted by relevance

1234567

/frameworks/base/services/core/java/com/android/server/wm/
DActivityClientController.java47 import static com.android.server.wm.ActivityRecord.State.DESTROYED;
48 import static com.android.server.wm.ActivityRecord.State.DESTROYING;
49 import static com.android.server.wm.ActivityRecord.State.PAUSING;
50 import static com.android.server.wm.ActivityRecord.State.RESTARTING_PROCESS;
51 import static com.android.server.wm.ActivityRecord.State.RESUMED;
52 import static com.android.server.wm.ActivityRecord.State.STOPPING;
181 final ActivityRecord r = ActivityRecord.forTokenLocked(token); in activityIdle()
201 ActivityRecord.activityResumedLocked(token, handleSplashScreenExit); in activityResumed()
210 ActivityRecord.activityRefreshedLocked(token); in activityRefreshed()
229 final ActivityRecord r = ActivityRecord.forTokenLocked(token); in activityPaused()
[all …]
DActivitySnapshotController.java54 class ActivitySnapshotController extends AbsAppSnapshotController<ActivityRecord,
68 final ArraySet<ActivityRecord> mPendingRemoveActivity = new ArraySet<>();
74 final ArraySet<ActivityRecord> mPendingDeleteActivity = new ArraySet<>();
80 final ArraySet<ActivityRecord> mPendingLoadActivity = new ArraySet<>();
82 private final ArraySet<ActivityRecord> mOnBackPressedActivities = new ArraySet<>();
84 private final ArrayList<ActivityRecord> mTmpBelowActivities = new ArrayList<>();
147 TaskSnapshot getSnapshot(@NonNull ActivityRecord[] activities) { in getSnapshot()
185 void addOnBackPressedActivity(ActivityRecord ar) { in addOnBackPressedActivity()
245 final ActivityRecord ar = mPendingRemoveActivity.valueAt(i); in postProcess()
250 final ActivityRecord ar = mPendingDeleteActivity.valueAt(i); in postProcess()
[all …]
DTransparentPolicy.java55 private static final Predicate<ActivityRecord> FIRST_OPAQUE_NOT_FINISHING_ACTIVITY_PREDICATE =
56 ActivityRecord::occludesParent;
60 private final ActivityRecord mActivityRecord;
75 TransparentPolicy(@NonNull ActivityRecord activityRecord, in TransparentPolicy()
98 final ActivityRecord firstOpaqueActivity = mActivityRecord.getTask().getActivity( in start()
157 ActivityRecord.CompatDisplayInsets getInheritedCompatDisplayInsets() { in getInheritedCompatDisplayInsets()
173 boolean applyOnOpaqueActivityBelow(@NonNull Consumer<ActivityRecord> consumer) { in applyOnOpaqueActivityBelow()
178 Optional<ActivityRecord> getFirstOpaqueActivity() { in getFirstOpaqueActivity()
187 Optional<ActivityRecord> findOpaqueNotFinishingActivityBelow() { in findOpaqueNotFinishingActivityBelow()
192 private boolean shouldSkipTransparentPolicy(@Nullable ActivityRecord opaqueActivity) { in shouldSkipTransparentPolicy()
[all …]
DStartingSurfaceController.java30 import static com.android.server.wm.ActivityRecord.STARTING_WINDOW_TYPE_SNAPSHOT;
31 import static com.android.server.wm.ActivityRecord.STARTING_WINDOW_TYPE_SPLASH_SCREEN;
83 StartingSurface createSplashScreenStartingSurface(ActivityRecord activity, int theme) { in createSplashScreenStartingSurface()
142 StartingSurface createTaskSnapshotSurface(ActivityRecord activity, TaskSnapshot taskSnapshot) { in createTaskSnapshotSurface()
171 final ActivityRecord mDeferring;
172 final ActivityRecord mPrev;
173 final ActivityRecord mSource;
175 DeferringStartingWindowRecord(ActivityRecord deferring, ActivityRecord prev, in DeferringStartingWindowRecord()
176 ActivityRecord source) { in DeferringStartingWindowRecord()
187 void showStartingWindow(ActivityRecord target, ActivityRecord prev, in showStartingWindow()
[all …]
DAppTransitionController.java194 final ActivityRecord activity = getAppFromContainer(wc); in handleAppTransitionReady()
239 final ActivityRecord activity = getAppFromContainer( in handleAppTransitionReady()
252 ArraySet<ActivityRecord> tmpOpenApps = mDisplayContent.mOpeningApps; in handleAppTransitionReady()
253 ArraySet<ActivityRecord> tmpCloseApps = mDisplayContent.mClosingApps; in handleAppTransitionReady()
283 final ActivityRecord animLpActivity = findAnimLayoutParamsToken(transit, activityTypes, in handleAppTransitionReady()
285 final ActivityRecord topOpeningApp = in handleAppTransitionReady()
287 final ActivityRecord topClosingApp = in handleAppTransitionReady()
289 final ActivityRecord topChangingApp = in handleAppTransitionReady()
360 ArraySet<ActivityRecord> openingApps, ArraySet<ActivityRecord> closingApps, in getTransitCompatType()
364 final ActivityRecord topOpeningApp = getTopApp(openingApps, false /* ignoreHidden */); in getTransitCompatType()
[all …]
DResetTargetTaskHelper.java34 class ResetTargetTaskHelper implements Consumer<Task>, Predicate<ActivityRecord> {
38 private ActivityRecord mRoot;
45 private ArrayList<ActivityRecord> mResultActivities = new ArrayList<>();
46 private ArrayList<ActivityRecord> mAllActivities = new ArrayList<>();
47 private ArrayList<ActivityRecord> mPendingReparentActivities = new ArrayList<>();
85 public boolean test(ActivityRecord r) { in test()
177 final ActivityRecord p = mTargetTask.getActivityBelow(r); in test()
189 private void finishActivities(ArrayList<ActivityRecord> activities, String reason) { in finishActivities()
193 final ActivityRecord p = activities.remove(0); in finishActivities()
204 private void processResultActivities(ActivityRecord target, Task targetTask, int position, in processResultActivities()
[all …]
DEnsureActivitiesVisibleHelper.java19 import static com.android.server.wm.ActivityRecord.State.INITIALIZING;
31 private ActivityRecord mTopRunningActivity;
32 private ActivityRecord mStarting;
49 void reset(ActivityRecord starting, boolean notifyClients) { in reset()
72 void process(@Nullable ActivityRecord starting, boolean notifyClients) { in process()
135 private void setActivityVisibilityState(ActivityRecord r, ActivityRecord starting, in setActivityVisibilityState()
227 private void makeVisibleAndRestartIfNeeded(ActivityRecord starting, in makeVisibleAndRestartIfNeeded()
228 boolean andResume, ActivityRecord r) { in makeVisibleAndRestartIfNeeded()
DDisplayRotationCompatPolicy.java125 final ActivityRecord topActivity = mDisplayContent.topRunningActivity( in getOrientationInternal()
164 final ActivityRecord topActivity = mDisplayContent.topRunningActivity( in onScreenRotationAnimationFinished()
176 ActivityRecord topActivity = mDisplayContent.topRunningActivity( in getSummaryForDisplayRotationHistoryRecord()
225 public boolean shouldRefreshActivity(@NonNull ActivityRecord activity, in shouldRefreshActivity()
254 boolean isActivityEligibleForOrientationOverride(@NonNull ActivityRecord activity) { in isActivityEligibleForOrientationOverride()
270 boolean isTreatmentEnabledForActivity(@Nullable ActivityRecord activity) { in isTreatmentEnabledForActivity()
274 boolean isCameraActive(@NonNull ActivityRecord activity, boolean mustBeFullscreen) { in isCameraActive()
281 private boolean isTreatmentEnabledForActivity(@Nullable ActivityRecord activity, in isTreatmentEnabledForActivity()
293 public boolean onCameraOpened(@NonNull ActivityRecord cameraActivity, in onCameraOpened()
341 public boolean onCameraClosed(@NonNull ActivityRecord cameraActivity, in onCameraClosed()
[all …]
DCameraCompatFreeformPolicy.java81 public boolean shouldRefreshActivity(@NonNull ActivityRecord activity, in shouldRefreshActivity()
102 boolean shouldApplyFreeformTreatmentForCameraCompat(@NonNull ActivityRecord activity) { in shouldApplyFreeformTreatmentForCameraCompat()
108 public boolean onCameraOpened(@NonNull ActivityRecord cameraActivity, in onCameraOpened()
128 public boolean onCameraClosed(@NonNull ActivityRecord cameraActivity, in onCameraClosed()
144 private void forceUpdateActivityAndTask(ActivityRecord cameraActivity) { in forceUpdateActivityAndTask()
153 private static int getCameraCompatMode(@NonNull ActivityRecord topActivity) { in getCameraCompatMode()
173 private boolean isTreatmentEnabledForActivity(@NonNull ActivityRecord activity) { in isTreatmentEnabledForActivity()
188 final ActivityRecord topActivity = mDisplayContent.topRunningActivity( in isActivityForCameraIdRefreshing()
DCameraStateMonitor.java65 private ActivityRecord mCameraActivity;
164 private void notifyListenersCameraOpened(@NonNull ActivityRecord cameraActivity, in notifyListenersCameraOpened()
187 boolean isCameraRunningForActivity(@NonNull ActivityRecord activity) { in isCameraRunningForActivity()
192 boolean isCameraWithIdRunningForActivity(@NonNull ActivityRecord activity, String cameraId) { in isCameraWithIdRunningForActivity()
202 private String getCameraIdForActivity(@NonNull ActivityRecord activity) { in getCameraIdForActivity()
235 private ActivityRecord findCameraActivity(@NonNull String packageName) { in findCameraActivity()
236 final ActivityRecord topActivity = mDisplayContent.topRunningActivity( in findCameraActivity()
242 final List<ActivityRecord> activitiesOfPackageWhichOpenedCamera = new ArrayList<>(); in findCameraActivity()
278 boolean onCameraOpened(@NonNull ActivityRecord cameraActivity, @NonNull String cameraId); in onCameraOpened()
285 boolean onCameraClosed(@NonNull ActivityRecord cameraActivity, @NonNull String cameraId); in onCameraClosed()
DBackNavigationController.java132 ActivityRecord currentActivity = null; in startBackNavigation()
237 final ArrayList<ActivityRecord> prevActivities = new ArrayList<>(); in startBackNavigation()
268 final ActivityRecord.CustomAppTransition customAppTransition = in startBackNavigation()
293 final ActivityRecord ar = t.getTopNonFinishingActivity(); in startBackNavigation()
298 final ActivityRecord tmpPre = prevTask != null in startBackNavigation()
310 final ActivityRecord ar = prevTask.getTopNonFinishingActivity(); in startBackNavigation()
399 @NonNull ActivityRecord currentActivity, in getAnimatablePrevActivities()
400 @NonNull ArrayList<ActivityRecord> outPrevActivities) { in getAnimatablePrevActivities()
407 final ActivityRecord root = currentTask.getRootActivity(false /*ignoreRelinquishIdentity*/, in getAnimatablePrevActivities()
414 final ActivityRecord prevActivity = currentTask.getActivity((below) -> !below.finishing, in getAnimatablePrevActivities()
[all …]
DWindowProcessController.java31 import static com.android.server.wm.ActivityRecord.State.DESTROYED;
32 import static com.android.server.wm.ActivityRecord.State.DESTROYING;
33 import static com.android.server.wm.ActivityRecord.State.PAUSED;
34 import static com.android.server.wm.ActivityRecord.State.PAUSING;
35 import static com.android.server.wm.ActivityRecord.State.RESUMED;
36 import static com.android.server.wm.ActivityRecord.State.STARTED;
37 import static com.android.server.wm.ActivityRecord.State.STOPPING;
215 private final ArrayList<ActivityRecord> mActivities = new ArrayList<>();
217 private ArrayList<ActivityRecord> mInactiveActivities;
223 private ActivityRecord mPreQTopResumedActivity = null;
[all …]
DTaskFragment.java52 import static com.android.server.wm.ActivityRecord.State.PAUSED;
53 import static com.android.server.wm.ActivityRecord.State.PAUSING;
54 import static com.android.server.wm.ActivityRecord.State.RESUMED;
55 import static com.android.server.wm.ActivityRecord.State.STOPPING;
290 private ActivityRecord mPausingActivity = null;
297 ActivityRecord mLastPausedActivity = null;
304 private ActivityRecord mResumedActivity = null;
497 private WindowProcessController getOrganizerProcessIfDifferent(@Nullable ActivityRecord r) { in getOrganizerProcessIfDifferent()
572 ActivityRecord getTopResumedActivity() { in getTopResumedActivity()
573 final ActivityRecord taskFragResumedActivity = getResumedActivity(); in getTopResumedActivity()
[all …]
DAnimatingActivityRegistry.java35 private ArraySet<ActivityRecord> mAnimatingActivities = new ArraySet<>();
36 private ArrayMap<ActivityRecord, Runnable> mFinishedTokens = new ArrayMap<>();
45 void notifyStarting(ActivityRecord token) { in notifyStarting()
52 void notifyFinished(ActivityRecord activity) { in notifyFinished()
68 boolean notifyAboutToFinish(ActivityRecord activity, Runnable endDeferFinishCallback) { in notifyAboutToFinish()
DActivityTaskSupervisor.java56 import static com.android.server.wm.ActivityRecord.State.PAUSED;
57 import static com.android.server.wm.ActivityRecord.State.PAUSING;
58 import static com.android.server.wm.ActivityRecord.State.RESTARTING_PROCESS;
59 import static com.android.server.wm.ActivityRecord.State.RESUMED;
60 import static com.android.server.wm.ActivityRecord.State.STOPPING;
305 final ArrayList<ActivityRecord> mStoppingActivities = new ArrayList<>();
309 final ArrayList<ActivityRecord> mFinishingActivities = new ArrayList<>();
316 final ArrayList<ActivityRecord> mNoHistoryActivities = new ArrayList<>();
320 private final ArrayList<ActivityRecord> mMultiWindowModeChangedActivities = new ArrayList<>();
324 private final ArrayList<ActivityRecord> mPipModeChangedActivities = new ArrayList<>();
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DAppTransitionControllerTest.java101 final ActivityRecord behind = createActivityRecord(mDisplayContent, in testSkipOccludedActivityCloseTransition()
103 final ActivityRecord topOpening = createActivityRecord(behind.getTask()); in testSkipOccludedActivityCloseTransition()
119 final ActivityRecord behind = createActivityRecord(mDisplayContent, in testClearTaskSkipAppExecuteTransition()
122 final ActivityRecord top = createActivityRecord(task); in testClearTaskSkipAppExecuteTransition()
123 top.setState(ActivityRecord.State.RESUMED, "test"); in testClearTaskSkipAppExecuteTransition()
124 behind.setState(ActivityRecord.State.STARTED, "test"); in testClearTaskSkipAppExecuteTransition()
133 final ActivityRecord behind = createActivityRecord(mDisplayContent, in testTranslucentOpen()
135 final ActivityRecord translucentOpening = createActivityRecord(mDisplayContent, in testTranslucentOpen()
151 final ActivityRecord behind = createActivityRecord(mDisplayContent, in testTranslucentClose()
153 final ActivityRecord translucentClosing = createActivityRecord(mDisplayContent, in testTranslucentClose()
[all …]
DActivityRecordTests.java83 import static com.android.server.wm.ActivityRecord.FINISH_RESULT_CANCELLED;
84 import static com.android.server.wm.ActivityRecord.FINISH_RESULT_REMOVED;
85 import static com.android.server.wm.ActivityRecord.FINISH_RESULT_REQUESTED;
86 import static com.android.server.wm.ActivityRecord.LAUNCH_SOURCE_TYPE_HOME;
87 import static com.android.server.wm.ActivityRecord.State.DESTROYED;
88 import static com.android.server.wm.ActivityRecord.State.DESTROYING;
89 import static com.android.server.wm.ActivityRecord.State.FINISHING;
90 import static com.android.server.wm.ActivityRecord.State.INITIALIZING;
91 import static com.android.server.wm.ActivityRecord.State.PAUSED;
92 import static com.android.server.wm.ActivityRecord.State.PAUSING;
[all …]
DActivityTaskSupervisorTests.java84 final ActivityRecord firstActivity = new ActivityBuilder(mAtm) in testStoppingActivityRemovedWhenResumed()
100 final ActivityRecord firstActivity = new ActivityBuilder(mAtm) in testReportWaitingActivityLaunched()
102 final ActivityRecord secondActivity = new ActivityBuilder(mAtm) in testReportWaitingActivityLaunched()
145 mSupervisor.reportActivityLaunched(false /* timeout */, mock(ActivityRecord.class), in testReportWaitingActivityLaunched()
174 final ActivityRecord unresizableActivity = stack.getTopNonFinishingActivity(); in testHandleNonResizableTaskOnSecondaryDisplay()
192 final ActivityRecord resizableActivity = new ActivityBuilder(mAtm) in testHandleNonResizableTaskOnSecondaryDisplay()
207 final ActivityRecord activity1 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testRemoveTask()
210 activity1.setState(ActivityRecord.State.STOPPING, "test"); in testRemoveTask()
212 final ActivityRecord activity2 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testRemoveTask()
213 activity2.setState(ActivityRecord.State.RESUMED, "test"); in testRemoveTask()
[all …]
DRecentsAnimationControllerTest.java113 final ActivityRecord activity = createActivityRecord(mDefaultDisplay); in testRemovedBeforeStarted_expectCanceled()
131 final ActivityRecord activity = createActivityRecord(mDefaultDisplay); in testCancelAfterRemove_expectIgnored()
151 final ActivityRecord homeActivity = createHomeActivity(); in testIncludedApps_expectTargetAndVisible()
152 final ActivityRecord activity = createActivityRecord(mDefaultDisplay); in testIncludedApps_expectTargetAndVisible()
153 final ActivityRecord hiddenActivity = createActivityRecord(mDefaultDisplay); in testIncludedApps_expectTargetAndVisible()
168 final ActivityRecord homeActivity = createHomeActivity(); in testLaunchAndStartRecents_expectTargetAndVisible()
172 final ActivityRecord activity1 = createActivityRecord(task); in testLaunchAndStartRecents_expectTargetAndVisible()
177 final ActivityRecord activity2 = createActivityRecord(task); in testLaunchAndStartRecents_expectTargetAndVisible()
192 final ActivityRecord homeActivity = createHomeActivity(); in testWallpaperIncluded_expectTarget()
193 final ActivityRecord activity = createActivityRecord(mDefaultDisplay); in testWallpaperIncluded_expectTarget()
[all …]
DTransparentPolicyTest.java229 robot.assertFalseOnTopActivity(ActivityRecord::fillsParent); in testCheckOpaqueIsLetterboxedWhenStrategyIsApplied()
230 robot.assertTrueOnActivity(/* fromTop */ 1, ActivityRecord::fillsParent); in testCheckOpaqueIsLetterboxedWhenStrategyIsApplied()
234 robot.assertFalseOnActivity(/* fromTop */ 1, ActivityRecord::occludesParent); in testCheckOpaqueIsLetterboxedWhenStrategyIsApplied()
279 robot.assertNotNullOnTopActivity(ActivityRecord::getCompatDisplayInsets); in testTranslucentActivity_clearSizeCompatMode_inheritedCompatDisplayInsetsCleared()
280 robot.applyToTop(ActivityRecord::clearSizeCompatMode); in testTranslucentActivity_clearSizeCompatMode_inheritedCompatDisplayInsetsCleared()
281 robot.assertNullOnTopActivity(ActivityRecord::getCompatDisplayInsets); in testTranslucentActivity_clearSizeCompatMode_inheritedCompatDisplayInsetsCleared()
294 final ActivityRecord opaqueActivity = task.getTopNonFinishingActivity(); in runTestScenario()
330 ActivityRecord opaqueActivity) { in TransparentPolicyRobotTest()
339 final ActivityRecord topActivity = mActivityStack.top(); in configureTopActivityAsEmbedded()
359 final ActivityRecord newActivity = activityBuilder.build(); in launchActivity()
[all …]
DActivityStarterTests.java289 final ActivityRecord source = builder.build(); in verifyStartActivityPreconditionsUntracked()
489 final Pair<ActivityRecord, ActivityRecord> activities = createActivitiesInSplit(); in testSplitScreenDeliverToTop()
490 final ActivityRecord splitPrimaryFocusActivity = activities.first; in testSplitScreenDeliverToTop()
491 final ActivityRecord splitSecondReusableActivity = activities.second; in testSplitScreenDeliverToTop()
514 final Pair<ActivityRecord, ActivityRecord> activities = createActivitiesInSplit(); in testSplitScreenTaskToFront()
515 final ActivityRecord splitPrimaryFocusActivity = activities.first; in testSplitScreenTaskToFront()
516 final ActivityRecord splitSecondReusableActivity = activities.second; in testSplitScreenTaskToFront()
517 final ActivityRecord splitSecondTopActivity = new ActivityBuilder(mAtm).setCreateTask(true) in testSplitScreenTaskToFront()
535 private Pair<ActivityRecord, ActivityRecord> createActivitiesInSplit() { in createActivitiesInSplit()
539 final ActivityRecord splitPrimaryActivity = new TaskBuilder(mSupervisor) in createActivitiesInSplit()
[all …]
DUnknownAppVisibilityControllerTest.java48 final ActivityRecord activity = createNonAttachedActivityRecord(mDisplayContent); in testFlow()
60 final ActivityRecord activity = createNonAttachedActivityRecord(mDisplayContent); in testSkipResume()
72 final ActivityRecord activity1 = createNonAttachedActivityRecord(mDisplayContent); in testMultiple()
73 final ActivityRecord activity2 = createNonAttachedActivityRecord(mDisplayContent); in testMultiple()
88 final ActivityRecord activity = createNonAttachedActivityRecord(mDisplayContent); in testClear()
96 final ActivityRecord activity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testRemoveFinishingInvisibleActivityFromUnknown()
104 activity.setState(ActivityRecord.State.STOPPED, "test"); in testRemoveFinishingInvisibleActivityFromUnknown()
110 final ActivityRecord activity = createNonAttachedActivityRecord(mDisplayContent); in testAppRemoved()
DTaskTests.java45 import static com.android.server.wm.ActivityRecord.State.RESUMED;
136 final ActivityRecord activity = createActivityRecord(mDisplayContent, task); in testRemoveContainer()
160 final ActivityRecord activity1 = createActivityRecord(task1); in testRemoveContainer_multipleNestedTasks()
161 final ActivityRecord activity2 = createActivityRecord(task2); in testRemoveContainer_multipleNestedTasks()
179 final ActivityRecord activity = createActivityRecord(mDisplayContent, task); in testRemoveContainer_deferRemoval()
227 final ActivityRecord activityMain = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testReparentPinnedActivityBackToOriginalTask()
229 final ActivityRecord activityPip = new ActivityBuilder(mAtm).setTask(originalTask).build(); in testReparentPinnedActivityBackToOriginalTask()
282 final ActivityRecord activity1 = createActivityRecord(mDisplayContent, task1); in testIsInTask()
283 final ActivityRecord activity2 = createActivityRecord(mDisplayContent, task2); in testIsInTask()
291 final ActivityRecord activity1 = new ActivityBuilder(mAtm).setTask(task).build(); in testPerformClearTop()
[all …]
DRootTaskTests.java38 import static com.android.server.wm.ActivityRecord.State.DESTROYED;
39 import static com.android.server.wm.ActivityRecord.State.DESTROYING;
40 import static com.android.server.wm.ActivityRecord.State.FINISHING;
41 import static com.android.server.wm.ActivityRecord.State.INITIALIZING;
42 import static com.android.server.wm.ActivityRecord.State.PAUSING;
43 import static com.android.server.wm.ActivityRecord.State.RESUMED;
44 import static com.android.server.wm.ActivityRecord.State.STOPPED;
45 import static com.android.server.wm.ActivityRecord.State.STOPPING;
135 final ActivityRecord activity1 = createActivityRecord(mDisplayContent); in testClosingAppDifferentTaskOrientation()
138 final ActivityRecord activity2 = createActivityRecord(mDisplayContent); in testClosingAppDifferentTaskOrientation()
[all …]
DActivityMetricsLaunchObserverTests.java80 private ActivityRecord mTrampolineActivity;
81 private ActivityRecord mTopActivity;
124 private void verifyOnActivityLaunched(ActivityRecord activity) { in verifyOnActivityLaunched()
133 private void verifyOnActivityLaunchFinished(ActivityRecord activity) { in verifyOnActivityLaunchFinished()
143 private void setLastExpectedStartedId(ActivityRecord r) { in setLastExpectedStartedId()
147 private long getLastStartedId(ActivityRecord r) { in getLastStartedId()
152 private long eqLastStartedId(ActivityRecord r) { in eqLastStartedId()
226 private void onActivityLaunched(ActivityRecord activity) { in onActivityLaunched()
263 final ActivityRecord noDrawnActivity = new ActivityBuilder(mAtm) in testOnActivityLaunchCancelled_finishedBeforeDrawn()
277 final ActivityRecord removedImm = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testOnActivityLaunchCancelled_finishedBeforeDrawn()
[all …]

1234567