Home
last modified time | relevance | path

Searched refs:topRunningActivity (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityDisplayTests.java197 assertEquals(activity, display.topRunningActivity()); in testTopRunningActivity()
198 assertNull(display.topRunningActivity(true /* considerKeyguardState */)); in testTopRunningActivity()
203 assertEquals(activity, display.topRunningActivity()); in testTopRunningActivity()
204 assertNull(display.topRunningActivity(true /* considerKeyguardState */)); in testTopRunningActivity()
224 assertEquals(top, display.topRunningActivity()); in assertTopRunningActivity()
225 assertEquals(top, display.topRunningActivity(true /* considerKeyguardState */)); in assertTopRunningActivity()
DActivityStarterTests.java711 assertEquals(finishingTopActivity, mRootActivityContainer.topRunningActivity()); in testBringTaskToFrontWhenFocusedStackIsFinising()
720 assertEquals(activity, mRootActivityContainer.topRunningActivity()); in testBringTaskToFrontWhenFocusedStackIsFinising()
DRootActivityContainerTests.java626 final ActivityRecord resolverActivity = mRootActivityContainer.topRunningActivity(); in testStartResolverActivityForHome()
/frameworks/base/services/core/java/com/android/server/wm/
DRootActivityContainer.java344 if (display.topRunningActivity() == null) { in startHomeOnEmptyDisplays()
1166 final ActivityRecord topRunningActivity = stack.topRunningActivityLocked(); in resumeFocusedStacksTopActivities() local
1167 if (!stack.isFocusableAndVisible() || topRunningActivity == null) { in resumeFocusedStacksTopActivities()
1177 if (display.isTopStack(stack) && topRunningActivity.isState(RESUMED)) { in resumeFocusedStacksTopActivities()
1182 resumedOnDisplay |= topRunningActivity.makeActiveIfNeeded(target); in resumeFocusedStacksTopActivities()
2020 ActivityRecord topRunningActivity() { in topRunningActivity() method in RootActivityContainer
2022 final ActivityRecord topActivity = mActivityDisplays.get(i).topRunningActivity(); in topRunningActivity()
DActivityDisplay.java952 ActivityRecord topRunningActivity() { in topRunningActivity() method in ActivityDisplay
953 return topRunningActivity(false /* considerKeyguardState */); in topRunningActivity()
965 ActivityRecord topRunningActivity(boolean considerKeyguardState) { in topRunningActivity() method in ActivityDisplay
DActivityStack.java3668 final ActivityRecord top = mRootActivityContainer.topRunningActivity(); in adjustFocusedActivityStack()
4097 final ActivityRecord next = display.topRunningActivity(true /* considerKeyguardState */); in finishCurrentActivityLocked()
4127 final boolean noRunningStack = next == null && display.topRunningActivity() == null in finishCurrentActivityLocked()
4998 ActivityRecord topActivity = getDisplay().topRunningActivity(); in moveTaskToBackLocked()
5538 final ActivityRecord topRunningActivity = task.topRunningActivityLocked(); in positionChildAt() local
5539 final boolean wasResumed = topRunningActivity == task.getStack().mResumedActivity; in positionChildAt()
5548 + " other mResumedActivity=" + topRunningActivity); in positionChildAt()
5550 topRunningActivity.setState(RESUMED, "positionChildAt"); in positionChildAt()
DLockTaskController.java661 final ActivityRecord r = mSupervisor.mRootActivityContainer.topRunningActivity(); in updateLockTaskPackages()
DActivityRecord.java3796 return mRootActivityContainer.topRunningActivity() == this; in isTopRunningActivity()
/frameworks/base/services/
Dart-profile14722 HSPLcom/android/server/wm/ActivityDisplay;->topRunningActivity()Lcom/android/server/wm/ActivityReco…
14723 HSPLcom/android/server/wm/ActivityDisplay;->topRunningActivity(Z)Lcom/android/server/wm/ActivityRec…
16629 HSPLcom/android/server/wm/RootActivityContainer;->topRunningActivity()Lcom/android/server/wm/Activi…