Home
last modified time | relevance | path

Searched refs:finishing (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/wm/
DEnsureActivitiesVisibleHelper.java167 if (r.finishing) { in setActivityVisibilityState()
172 + " finishing=" + r.finishing + " state=" + r.getState()); in setActivityVisibilityState()
203 + " finishing=" + r.finishing + " state=" + r.getState() in setActivityVisibilityState()
DTaskFragment.java1124 return getActivity(r -> !r.finishing); in getTopNonFinishingActivity()
1126 return getActivity(r -> !r.finishing && !r.getLaunchedFromBubble()); in getTopNonFinishingActivity()
1130 return getActivity(r -> !r.finishing && !r.isTaskOverlay()); in getTopNonFinishingActivity()
1133 r -> !r.finishing && !r.isTaskOverlay() && !r.getLaunchedFromBubble()); in getTopNonFinishingActivity()
1162 if (!a.finishing) { in getNonFinishingActivityCount()
1176 if (activity != null && !activity.finishing) { in hasNonFinishingDirectActivity()
1310 return wc.asActivityRecord() != null && !wc.asActivityRecord().finishing; in hasRunningActivity()
1474 if (prev.finishing) { in resumeTopActivity()
1505 if (prev.finishing) { in resumeTopActivity()
1613 if (!next.finishing && size > 0) { in resumeTopActivity()
[all …]
DResetTargetTaskHelper.java194 if (p.finishing) continue; in finishActivities()
210 if (ignoreFinishing && p.finishing) continue; in processResultActivities()
DDisplayWindowPolicyControllerHelper.java158 if (!r.finishing) { in onRunningActivityChanged()
DActivityRecord.java565 boolean finishing; // activity in pending finish list? field in ActivityRecord
1249 pw.print(" finishing="); pw.println(finishing); in dump()
2244 finishing = false; in ActivityRecord()
2792 if (finishing || !mHandleExitSplashScreen || mStartingSurface == null in transferSplashScreenIfNeeded()
2835 || finishing) ? null in onCopySplashScreenFinish()
3244 if (!includingFinishing && finishing) { in occludesParent()
3283 if (task != null && !finishing) { in takeFromHistory()
3703 if (finishing) { in finishIfPossible()
3897 if (!finishing || isState(RESUMED)) { in completeFinishing()
3900 + ", finishing=" + finishing + ", state=" + mState); in completeFinishing()
[all …]
DWindowProcessController.java972 if (!r.finishing && r.isInRootTaskLocked()) { in finishActivities()
1111 if (r.finishing || r.isState(DESTROYING, DESTROYED)) { in releaseSomeActivities()
1217 void onStoppingActivity(boolean finishing); in onStoppingActivity() argument
1282 allStoppingFinishing &= r.finishing; in computeProcessActivityState()
1577 if (!activityRecord.finishing) { in updateActivityConfigurationListener()
1635 if (!mActivities.get(i).finishing) { in getTopNonFinishingActivity()
DActivityTaskSupervisor.java560 if (!noHistoryActivity.finishing && noHistoryActivity != next in finishNoHistoryActivitiesIfNeeded()
1729 if (!r.finishing && r.isState(RESUMED) && r.getTask() == task) { in removeTask()
1793 if (top != null && top.finishing && !top.mAppStopped && top.lastVisibleTime > 0 in cleanUpRemovedTask()
1815 if (r.finishing && r.lastVisibleTime > 0 && r.attachedToProcess()) { in killTaskProcessesOnDestroyedIfNeeded()
2121 + "finishing=%s", s, s.nowVisible, animating, s.finishing); in processStoppingAndFinishingActivities()
2157 if (r.finishing) { in processStoppingAndFinishingActivities()
2936 if (r.finishing) { in accept()
DTask.java552 if (r.finishing) return false; in test()
554 if (mRoot == null || mRoot.finishing) { in test()
1584 if (!includeFinishing && r.finishing) { in onlyHasTaskOverlayActivities()
1618 if (r.finishing || (excludingTaskOverlay && r.isTaskOverlay())) { in removeActivities()
1628 if (r.finishing || (excludingTaskOverlay && r.isTaskOverlay())) { in removeActivities()
1716 if (!r.finishing) { in clearTopActivities()
1773 if (!r.finishing && !r.isTaskOverlay()) { in finishActivityAbove()
1875 return !r.finishing && r.mActivityComponent.equals(activityComponent) in matchesActivityInHistory()
3529 final ActivityRecord baseActivity = task.getActivity(r -> !r.finishing,
5051 if (!mTranslucentActivityWaiting.finishing) {
[all …]
DBackgroundActivityStartController.java1105 : targetTask.getActivity(ar -> !ar.finishing && !ar.isAlwaysOnTop()); in logAsmFailureAndCheckFeatureEnabled()
1285 ActivityRecord topActivity = task.getActivity(ar -> !ar.finishing && !ar.isAlwaysOnTop()); in checkActivityAllowedToClearTask()
1388 || (!ar.finishing && !ar.isAlwaysOnTop()); in checkTopActivityForAsm()
1796 + ", finishing=" + ar.finishing in getDebugStringForActivityRecord()
DLockTaskController.java276 taskFragment.getActivity(a -> !a.finishing && a != activity) != null; in activityBlockedFromFinish()
283 final boolean hasOtherActivityInTask = task.getActivity(a -> !a.finishing in activityBlockedFromFinish()
DBackNavigationController.java414 final ActivityRecord prevActivity = currentTask.getActivity((below) -> !below.finishing, in getAnimatablePrevActivities()
435 (below) -> !below.finishing, false /* traverseTopToBottom */); in getAnimatablePrevActivities()
437 (below) -> !below.finishing, bottomActivityInCompanion, in getAnimatablePrevActivities()
459 return currentTask.getActivity((below) -> !below.finishing, lowerActivity, in getAnimatablePrevActivities()
DRootWindowContainer.java281 if (r.finishing || !r.isDestroyable()) return;
374 if (r == null || r.finishing || r.mUserId != userId in test()
1634 if (r != null && !r.finishing) { in resumeHomeActivity()
1864 if (tf == null || r.finishing || r.app != null in attachApplication()
3355 if (r.finishing) {
3511 if (top != null && !top.finishing
3519 if (task.getActivity(activity -> !activity.finishing && activity.mUserId == userId)
DRecentsAnimation.java163 if (!targetActivity.finishing && targetActivity.isAttached() in preloadRecentsActivity()
DActivityClientController.java528 res = r.finishing; in finishActivity()
675 final ActivityRecord below = ar.getTask().getActivity((r) -> !r.finishing, in getActivityTokenBelow()
1691 if (r != taskFragment.getActivity(ar -> !ar.finishing || ar == r, in isRelativeTaskRootActivity()
DTaskFragmentOrganizerController.java370 if (activity.finishing) { in prepareActivityReparentedToTask()
782 ar -> ar != activity && !ar.finishing in onActivityReparentedToTask()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/brightness/
DBrightnessDialogTest.kt199 activityRule.activity.finishing.timeout(100.milliseconds).takeWhile { !it }.collect {} in <lambda>()
217 var finishing = MutableStateFlow(false) variable
220 return finishing.value in isFinishing()
224 finishing.value = true in requestFinish()
/frameworks/base/core/java/android/app/
DLocalActivityManager.java256 private void performPause(LocalActivityRecord r, boolean finishing) { in performPause() argument
258 final Bundle instanceState = mActivityThread.performPauseActivity(r, finishing, in performPause()
600 public void dispatchPause(boolean finishing) { in dispatchPause() argument
601 if (finishing) { in dispatchPause()
677 public void dispatchDestroy(boolean finishing) { in dispatchDestroy() argument
687 mActivityThread.performDestroyActivity(clientRecord, finishing, in dispatchDestroy()
DClientTransactionHandler.java110 public abstract void handleDestroyActivity(@NonNull ActivityClientRecord r, boolean finishing, in handleDestroyActivity() argument
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRecordTests.java747 finishingActivity.finishing = true; in testShouldMakeActive_nonTopVisible()
780 topActivity.finishing = true; in testShouldResumeOrPauseWithResults()
950 activity.finishing = true; in testFinishActivityIfPossible_cancelled()
953 assertTrue(activity.finishing); in testFinishActivityIfPossible_cancelled()
957 activity.finishing = false; in testFinishActivityIfPossible_cancelled()
961 assertFalse(activity.finishing); in testFinishActivityIfPossible_cancelled()
971 activity.finishing = false; in testFinishActivityIfPossible_requested()
974 assertTrue(activity.finishing); in testFinishActivityIfPossible_requested()
979 activity.finishing = false; in testFinishActivityIfPossible_requested()
983 assertTrue(activity.finishing); in testFinishActivityIfPossible_requested()
[all …]
DDisplayWindowPolicyControllerTests.java85 activity3.finishing = true; in testOnRunningActivityChanged()
89 activity2.finishing = true; in testOnRunningActivityChanged()
93 activity1.finishing = true; in testOnRunningActivityChanged()
DTaskTests.java143 assertTrue(activity.finishing); in testRemoveContainer()
166 assertTrue(activity1.finishing); in testRemoveContainer_multipleNestedTasks()
167 assertTrue(activity2.finishing); in testRemoveContainer_multipleNestedTasks()
297 assertTrue(task.performClearTop(activity1, 0 /* launchFlags */, finishCount).finishing); in testPerformClearTop()
311 assertTrue(task.performClearTop(activityA, 0 /* launchFlags */, finishCount).finishing); in testPerformClearTop()
336 assertTrue(r.finishing); in testRemoveChildForOverlayTask()
1055 activity0.finishing = true; in testFindRootIndex_finishing()
1057 activity1.finishing = true; in testFindRootIndex_finishing()
1092 activity1.finishing = true; in testFindRootIndex_effectiveRoot_finishingAndRelinquishing()
1153 task.getBottomMostActivity().finishing = true; in testGetRootActivity_finishing()
[all …]
DRootTaskTests.java799 topRunningHomeActivity.finishing = true; in testShouldBeVisible_Finishing()
802 topRunningTranslucentActivity.finishing = true; in testShouldBeVisible_Finishing()
1076 assertTrue(secondActivity.finishing); in testFinishDisabledPackageActivities_FinishAliveActivities()
1357 assertTrue(secondActivity.finishing); in testNavigateUpTo()
1358 assertTrue(firstActivity.finishing); in testNavigateUpTo()
1392 taskTop.finishing = true; in testResetTaskWithFinishingActivities()
DWindowContainerTransactionTests.java70 assertTrue(activity.finishing); in testRemoveTask()
DActivityTaskSupervisorTests.java209 activity1.finishing = true; in testRemoveTask()
/frameworks/av/media/aconfig/
Dcodec_fwk.aconfig59 description: "Implementation flag for large audio frame finishing tasks"

12