Home
last modified time | relevance | path

Searched refs:finishCount (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DActivityStarter.java2328 int[] finishCount = new int[0]; in clearTopIfNeeded() local
2336 finishCount = new int[1]; in clearTopIfNeeded()
2337 targetTask.performClearTop(activity, launchFlags, finishCount); in clearTopIfNeeded()
2338 if (finishCount[0] > 0) { in clearTopIfNeeded()
2339 Slog.w(TAG, "Cleared top n: " + finishCount[0] + " activities from task t: " in clearTopIfNeeded()
2345 && (!shouldBlockActivityStart || finishCount[0] > 0)) { in clearTopIfNeeded()
2439 int[] finishCount = new int[1]; in complyActivityFlags() local
2441 mLaunchFlags, finishCount); in complyActivityFlags()
2444 if (finishCount[0] > 0) { in complyActivityFlags()
H A DTask.java1633 ActivityRecord performClearTop(ActivityRecord newR, int launchFlags, int[] finishCount) { in performClearTop() argument
1640 result = clearTopActivities(newR, launchFlags, finishCount); in performClearTop()
1662 int[] finishCount) { in clearTopActivities() argument
1668 finishActivityAbove(ar, boundaryActivity, finishCount), in clearTopActivities()
1687 @NonNull int[] finishCount) { in finishActivityAbove() argument
1698 finishCount[0] += 1; in finishActivityAbove()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DTaskTests.java270 int[] finishCount = new int[1]; in testPerformClearTop() local
271 assertTrue(task.performClearTop(activity1, 0 /* launchFlags */, finishCount).finishing); in testPerformClearTop()
285 assertTrue(task.performClearTop(activityA, 0 /* launchFlags */, finishCount).finishing); in testPerformClearTop()