/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskFragmentTest.java | 264 final ActivityRecord activity = mTaskFragment.getTopMostActivity(); in testActivityStillReported_NotYetAssignedToProcess() 326 final ActivityRecord primaryActivity = primaryTf.getTopMostActivity(); in testMoveTaskToFront_supportsEnterPipOnTaskSwitchForAdjacentTaskFragment() 327 final ActivityRecord secondaryActivity = secondaryTf.getTopMostActivity(); in testMoveTaskToFront_supportsEnterPipOnTaskSwitchForAdjacentTaskFragment() 353 final ActivityRecord activity = taskFragment0.getTopMostActivity(); in testEmbeddedTaskFragmentEnterPip_singleActivity_resetOrganizerOverrideConfig() 395 final ActivityRecord activity0 = taskFragment0.getTopMostActivity(); in testEmbeddedTaskFragmentEnterPip_multiActivities_notifyOrganizer() 396 final ActivityRecord activity1 = taskFragment1.getTopMostActivity(); in testEmbeddedTaskFragmentEnterPip_multiActivities_notifyOrganizer() 436 final ActivityRecord activity = taskFragment.getTopMostActivity(); in testEmbeddedActivityExitPip_notifyOrganizer() 501 final ActivityRecord activity1 = organizedTf.getTopMostActivity(); in testActivityHasOverlayOverUntrustedModeEmbedded() 532 final ActivityRecord activity2 = leafTask1.getTopMostActivity(); in testActivityHasOverlayOverUntrustedModeEmbedded() 546 final ActivityRecord activity1 = taskFragment.getTopMostActivity(); in testIsAllowedToBeEmbeddedInTrustedMode() [all …]
|
D | BackNavigationControllerTests.java | 163 final ActivityRecord topActivity = topTask.getTopMostActivity(); in backTypeCrossTaskWhenBackToPreviousTask() 297 ActivityRecord prevAr = tf1.getTopMostActivity(); in backTypeCrossActivityInTaskFragment() 298 ActivityRecord topAr = tf2.getTopMostActivity(); in backTypeCrossActivityInTaskFragment() 363 topAr = tf3.getTopMostActivity(); in backTypeCrossActivityInTaskFragment() 397 topAr = tf4.getTopMostActivity(); in backTypeCrossActivityInTaskFragment() 400 assertTrue(outPrevActivities.contains(tf2.getTopMostActivity())); in backTypeCrossActivityInTaskFragment() 407 topAr = tf4.getTopMostActivity(); in backTypeCrossActivityInTaskFragment() 410 assertTrue(outPrevActivities.contains(tf3.getTopMostActivity())); in backTypeCrossActivityInTaskFragment() 625 final ActivityRecord baseFullscreenActivity = fullscreenTask.getTopMostActivity(); in testTransitionHappensCancelNavigation() 678 final ActivityRecord primaryActivity = primaryTf.getTopMostActivity(); in testAdjacentFocusInActivityEmbedding() [all …]
|
D | AppTransitionControllerTest.java | 586 final ActivityRecord activity1 = taskFragment1.getTopMostActivity(); in testGetAnimationTargets_openingClosingTaskFragment() 591 final ActivityRecord activity2 = taskFragment2.getTopMostActivity(); in testGetAnimationTargets_openingClosingTaskFragment() 615 final ActivityRecord activity1 = taskFragment1.getTopMostActivity(); in testGetAnimationTargets_openingTheOnlyTaskFragmentInTask() 644 final ActivityRecord activity1 = taskFragment1.getTopMostActivity(); in testGetAnimationTargets_closingTheOnlyTaskFragmentInTask() 852 final ActivityRecord activity = taskFragment.getTopMostActivity(); in testOverrideTaskFragmentAdapter_overrideWithEmbeddedActivity() 877 final ActivityRecord openingActivity = taskFragment.getTopMostActivity(); in testOverrideTaskFragmentAdapter_noOverrideWithOnlyTaskFragmentFillingTask() 912 final ActivityRecord openingActivity = taskFragment.getTopMostActivity(); in testOverrideTaskFragmentAdapter_overrideWithTaskFragmentNotFillingTask() 942 final ActivityRecord openingActivity = taskFragment.getTopMostActivity(); in testOverrideTaskFragmentAdapter_overrideWithNonEmbeddedActivity() 964 final ActivityRecord closingActivity = taskFragment1.getTopMostActivity(); in testOverrideTaskFragmentAdapter_overrideEmbeddedActivityWithDiffUid() 969 final ActivityRecord openingActivity = taskFragment2.getTopMostActivity(); in testOverrideTaskFragmentAdapter_overrideEmbeddedActivityWithDiffUid() [all …]
|
D | TaskTests.java | 1518 final ActivityRecord activity = task.getTopMostActivity(); in testNotSpecifyOrientationByFloatingTask() 1574 final ActivityRecord activity = task.getTopMostActivity(); in testTaskOrientationOnDisplayWindowingModeChange() 1638 final ActivityRecord activity = task.getTopMostActivity(); in testReorderActivityToFront() 1641 final ActivityRecord embeddedActivity = fragment.getTopMostActivity(); in testReorderActivityToFront() 1644 assertEquals("Activity must be moved to front", activity, task.getTopMostActivity()); in testReorderActivityToFront() 1649 task.getTopMostActivity()); in testReorderActivityToFront() 1710 final ActivityRecord activity = task.getTopMostActivity(); in testMoveOrCreateDecorSurface() 1743 final ActivityRecord activity = task.getTopMostActivity(); in testMoveOrCreateDecorSurface_whenOwnerTaskFragmentRemoved() 1773 final ActivityRecord unembeddedActivity = task.getTopMostActivity(); in testAssignChildLayers_decorSurfacePlacement() 1889 final ActivityRecord unembeddedActivity = task.getTopMostActivity(); in testAssignChildLayers_boostedDecorSurfacePlacement() [all …]
|
D | TransitionTests.java | 399 final ActivityRecord act = tasks[i].getTopMostActivity(); in testCreateInfo_ordering() 401 tasks[i].getTopMostActivity().setVisibleRequested((i % 2) != 0); in testCreateInfo_ordering() 447 final ActivityRecord act = tasks[i].getTopMostActivity(); in testCreateInfo_wallpaper() 449 tasks[i].getTopMostActivity().setVisibleRequested((i % 2) != 0); in testCreateInfo_wallpaper() 893 final ActivityRecord closing = closingTaskFragment.getTopMostActivity(); in testOpenOpaqueTaskFragment() 895 final ActivityRecord opening = openingTaskFragment.getTopMostActivity(); in testOpenOpaqueTaskFragment() 935 final ActivityRecord closing = closingTaskFragment.getTopMostActivity(); in testOpenTranslucentTaskFragment() 937 final ActivityRecord opening = openingTaskFragment.getTopMostActivity(); in testOpenTranslucentTaskFragment() 977 final ActivityRecord opening = openingTaskFragment.getTopMostActivity(); in testCloseOpaqueTaskFragment_withFinishingActivity() 979 final ActivityRecord closing = closingTaskFragment.getTopMostActivity(); in testCloseOpaqueTaskFragment_withFinishingActivity() [all …]
|
D | ActivityRefresherTests.java | 211 .getTopMostActivity(); in configureActivityAndDisplay()
|
D | RootWindowContainerTests.java | 251 final ActivityRecord activity = task.getTopMostActivity(); in testForceStopPackage() 361 assertEquals(task.getTopMostActivity(), secondActivity); in testMovingBottomMostRootTaskActivityToPinnedRootTask() 447 final ActivityRecord activity = taskFragment.getTopMostActivity(); in testSingleActivityInTaskFragmentEnterPip() 472 final ActivityRecord firstActivity = taskFragment.getTopMostActivity(); in testMultipleActivitiesInTaskFragmentEnterPip() 505 final ActivityRecord topActivity = taskFragment.getTopMostActivity(); in testMovingEmbeddedActivityToPip()
|
D | AppTransitionTests.java | 268 final ActivityRecord bottomActivity = bottomTaskFragment.getTopMostActivity(); in createHierarchyForTaskFragmentTest() 273 final ActivityRecord activity = verifiedTaskFragment.getTopMostActivity(); in createHierarchyForTaskFragmentTest()
|
D | TaskFragmentOrganizerControllerTest.java | 1134 final ActivityRecord activity0 = tf0.getTopMostActivity(); in testApplyTransaction_requestFocusOnTaskFragment() 1135 final ActivityRecord activity1 = tf1.getTopMostActivity(); in testApplyTransaction_requestFocusOnTaskFragment() 1254 final ActivityRecord activity = mTaskFragment.getTopMostActivity(); in testTaskFragmentInPip_startActivityInTaskFragment() 1342 mTaskFragment.removeChild(mTaskFragment.getTopMostActivity()); in testTaskFragmentInPip_deleteTaskFragment() 1452 final ActivityRecord activity = taskFragment.getTopMostActivity(); in testCanSendPendingTaskFragmentEventsAfterActivityResumed() 1631 final ActivityRecord activity = mTaskFragment.getTopMostActivity(); in testMinDimensionViolation_setRelativeBounds()
|
D | ActivityStarterTests.java | 543 .getTopMostActivity(); in createActivitiesInSplit() 548 .getTopMostActivity(); in createActivitiesInSplit() 625 .getTopMostActivity()); in createActivitiesInDesktopMode() 642 .setCreateActivity(true).build().getTopMostActivity(); in testMoveVisibleTaskToFront() 644 .setCreateActivity(true).build().getTopMostActivity(); in testMoveVisibleTaskToFront()
|
D | ActivityTaskSupervisorTests.java | 331 .setCreateActivity(true).build().getTopMostActivity(); in testUpdatePendingTopForTopResumed()
|
D | WindowContainerTests.java | 1040 .setDisplay(displayContent).build().getTopMostActivity(); in testHandleCompleteDeferredRemoval() 1049 assertEquals(r, displayContent.getTopMostActivity()); in testHandleCompleteDeferredRemoval() 1144 assertEquals(act, wc.getTopMostActivity()); in verifyWindowContainerApplyAnimation()
|
D | ActivityRecordTests.java | 1298 final ActivityRecord resultToActivity = taskFragment1.getTopMostActivity(); in testFinishActivityIfPossible_sendResultImmediatelyIfResumed() 1299 final ActivityRecord targetActivity = taskFragment2.getTopMostActivity(); in testFinishActivityIfPossible_sendResultImmediatelyIfResumed() 1539 final ActivityRecord focusedActivity = stack.getTopMostActivity(); in testCompleteFinishing_noWaitForNextVisible_nonFocusedStack() 3353 .setCreateActivity(true).build().getTopMostActivity(); in testImeInsetsFrozenFlag_multiWindowActivities()
|
D | WindowStateTests.java | 871 final ActivityRecord embeddedActivity = embeddedTf.getTopMostActivity(); in testEmbeddedActivityResizing_clearAllDrawn()
|
D | WindowTestsBase.java | 1956 .getTopMostActivity()); in createFreeformTasksWithActivities()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotCache.java | 44 final ActivityRecord top = task.getTopMostActivity(); in putSnapshot()
|
D | ActivitySnapshotController.java | 418 final ActivityRecord ar = tf.getTopMostActivity(); in handleTransitionFinish() 452 final ActivityRecord topActivity = task.getTopMostActivity(); in handleTaskTransition() 537 final ActivityRecord prevAdjacentActivity = prevAdjacentTF.getTopMostActivity(); in getActivityBelow()
|
D | SnapshotController.java | 101 final ActivityRecord ar = tf != null ? tf.getTopMostActivity() in onTransactionReady()
|
D | TaskSnapshotController.java | 260 return source.getTopMostActivity(); in getTopActivity()
|
D | BackgroundActivityStartController.java | 1081 bas.optedIn(task.getTopMostActivity()); in checkActivityAllowedToStart() 1208 ActivityRecord targetTaskTop = targetTask.getTopMostActivity(); in clearTopIfNeeded() 1368 ActivityRecord topActivity = task.getTopMostActivity(); in checkTopActivityForAsm() 1742 && finishActivity != finishActivity.getTask().getTopMostActivity()) { in onActivityRequestedFinishing()
|
D | TaskDisplayArea.java | 450 final ActivityRecord topMost = getTopMostActivity(); 769 final ActivityRecord activity = getTopMostActivity();
|
D | TaskFragment.java | 2117 boolean taskHadActivity = task != null && task.getTopMostActivity() != null; in addChild() 2154 : getTopMostActivity(); in createRemoteAnimationTarget() 2558 final ActivityRecord activity = getTopMostActivity(); in getActivityType()
|
D | Task.java | 1471 final ActivityRecord top = getTopMostActivity(); in addChild() 3575 return getPictureInPictureParams(topTask.getTopMostActivity()); 5947 final ActivityRecord topActivity = getTopMostActivity(); 5989 final ActivityRecord topActivity = getTopMostActivity();
|
D | ActivityClientController.java | 1201 if (requesterActivity != topFocusedRootTask.getTopMostActivity()) { in validateMultiwindowFullscreenRequestLocked()
|
D | RootWindowContainer.java | 2225 final ActivityRecord oldTopActivity = task.getTopMostActivity(); in moveActivityToPinnedRootTask() 2336 final ActivityRecord top = rootTask.getTopMostActivity(); in scheduleTimeoutAbortPipEnter()
|