Home
last modified time | relevance | path

Searched refs:setCreateTask (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentsAnimationTest.java106 ActivityRecord topActivity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testRecentsActivityVisiblility()
138 .setCreateTask(true) in testPreloadRecentsActivity()
190 mRecentsComponent).setCreateTask(true).setParentTask(recentsStack).build(); in testRestartRecentsActivity()
195 new ActivityBuilder(mAtm).setCreateTask(true).build().getRootTask().moveToFront( in testRestartRecentsActivity()
219 .setCreateTask(true) in testSetLaunchTaskBehindOfTargetActivity()
227 .setCreateTask(true) in testSetLaunchTaskBehindOfTargetActivity()
232 .setCreateTask(true) in testSetLaunchTaskBehindOfTargetActivity()
260 .setCreateTask(true) in testCancelAnimationOnVisibleStackOrderChange()
267 .setCreateTask(true) in testCancelAnimationOnVisibleStackOrderChange()
274 .setCreateTask(true) in testCancelAnimationOnVisibleStackOrderChange()
[all …]
DActivityTaskSupervisorTests.java85 .setCreateTask(true).build(); in testStoppingActivityRemovedWhenResumed()
101 .setCreateTask(true).build(); in testReportWaitingActivityLaunched()
103 .setCreateTask(true).build(); in testReportWaitingActivityLaunched()
207 final ActivityRecord activity1 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testRemoveTask()
212 final ActivityRecord activity2 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testRemoveTask()
235 .setLaunchedFromPackage("other.package").setCreateTask(true).build(); in testFilteredReferred()
255 final ActivityRecord fullScreenActivityA = new ActivityBuilder(mAtm).setCreateTask(true) in testNotifyTaskFocusChanged()
268 final ActivityRecord fullScreenActivityB = new ActivityBuilder(mAtm).setCreateTask(true) in testNotifyTaskFocusChanged()
285 final ActivityRecord activity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testUpdateRecentTasksForTopResumed()
348 final ActivityRecord activity1 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testUpdateTopResumed_moveToFront()
[all …]
DActivityStarterTests.java517 final ActivityRecord splitSecondTopActivity = new ActivityBuilder(mAtm).setCreateTask(true) in testSplitScreenTaskToFront()
592 final ActivityRecord desktopModeTopActivity = new ActivityBuilder(mAtm).setCreateTask(true) in testDesktopModeTaskToFront()
762 final ActivityRecord baseActivity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testPinnedSingleInstanceAborted()
805 .setCreateTask(true).build(); in testAdjustLaunchTargetWithAdjacentTask()
830 .setCreateTask(true).build(); in testBringTaskToFrontWhenFocusedTaskIsFinishing()
833 .setCreateTask(true).build(); in testBringTaskToFrontWhenFocusedTaskIsFinishing()
837 .setCreateTask(true).build(); in testBringTaskToFrontWhenFocusedTaskIsFinishing()
877 new ActivityBuilder(mAtm).setCreateTask(true).build(); in testDeliverIntentToTopActivityOfNonTopDisplay()
949 new ActivityBuilder(mAtm).setCreateTask(true).build(); in testWasVisibleInRestartAttempt()
951 new ActivityBuilder(mAtm).setCreateTask(true).build(); in testWasVisibleInRestartAttempt()
[all …]
DActivityRecordTests.java359 activity2 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testsApplyOptionsLocked()
487 .setCreateTask(true) in testDestroyedActivityNotScheduleConfigChanged()
569 .setCreateTask(true) in testSetRequestedOrientationUpdatesConfiguration()
707 .setCreateTask(true) in respectRequestedOrientationForNonResizableInSplitWindows()
790 .setCreateTask(true) in testPushConfigurationWhenLaunchTaskBehind()
1058 .setCreateTask(true) in testFinishActivityIfPossible_adjustStackOrderOrganizedRoot()
1267 .setCreateTask(true) in testFinishActivityIfPossible_sendResultImmediately()
1276 .setCreateTask(true) in testFinishActivityIfPossible_sendResultImmediately()
1613 translucentActivity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testCompleteFinishing_ensureActivitiesVisible()
2281 .setCreateTask(true) in testSupportsFreeform()
[all …]
DActivityMetricsLaunchObserverTests.java100 .setCreateTask(true) in setUpAMLO()
277 final ActivityRecord removedImm = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testOnActivityLaunchCancelled_finishedBeforeDrawn()
325 final ActivityRecord prev = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testOnReportFullyDrawn()
506 .setCreateTask(true) in testConcurrentLaunches()
546 .setCreateTask(true) in testConsecutiveLaunchNewTask()
DActivityTaskManagerServiceTests.java298 final ActivityRecord record = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testEnterPipModeWhenRecordParentChangesToNull()
389 final ActivityRecord activity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testResumeNextActivityOnCrashedAppDied()
417 final ActivityRecord topActivity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testUpdateSleep()
504 .setCreateTask(true) in testSupportsMultiWindow_resizable()
516 .setCreateTask(true) in testSupportsMultiWindow_nonResizable()
564 .setCreateTask(true) in testSupportsMultiWindow_activityMinWidthHeight_largerThanSupport()
618 .setCreateTask(true) in testSupportsMultiWindow_landscape_checkActivityMinWidth()
653 .setCreateTask(true) in testSupportsMultiWindow_portrait_checkActivityMinHeight()
1181 .setCreateTask(true) in testGetTaskDescriptionIcon_matchingUid()
1217 .setCreateTask(true) in testGetTaskDescriptionIcon_noMatchingUid_expectException()
DRootTaskTests.java248 final ActivityRecord r = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testResumedActivity()
261 .setCreateTask(true).setParentTask(rootTask).build(); in testResumedActivityFromTaskReparenting()
280 .setCreateTask(true).setParentTask(rootTask).build(); in testResumedActivityFromActivityReparenting()
386 final ActivityRecord r = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testStopActivityWhenActivityDestroyed()
397 .setCreateTask(true) in testFindTaskWithOverlay()
819 .setCreateTask(true) in testShouldBeVisible_FullscreenBehindTranslucentInHomeRootTask()
1213 .setCreateTask(true) in testWontFinishHomeRootTaskImmediately()
1367 .setUid(Binder.getCallingUid()).setCreateTask(true).build(); in testShouldUpRecreateTaskLockedWithCorrectAffinityFormat()
1378 .setUid(Binder.getCallingUid()).setCreateTask(true).build(); in testShouldUpRecreateTaskLockedWithWrongAffinityFormat()
1388 final ActivityRecord taskTop = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testResetTaskWithFinishingActivities()
DRootWindowContainerTests.java142 .setCreateTask(true) in testFindActivityByTargetComponent()
159 .setCreateTask(true) in testFindTask_includeLaunchedFromBubbled()
176 .setCreateTask(true) in testFindTask_ignoreLaunchedFromBubbled()
277 final ActivityRecord activity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testAttachApplication()
377 .setCreateTask(true).build(); in testMultipleActivitiesTaskEnterPip()
378 final ActivityRecord activity1 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testMultipleActivitiesTaskEnterPip()
595 final ActivityRecord activity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testAwakeFromSleepingWithAppConfiguration()
1239 final ActivityRecord activity = new ActivityBuilder(mAtm).setCreateTask(true) in testLockAllProfileTasks()
DUnknownAppVisibilityControllerTest.java96 final ActivityRecord activity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testRemoveFinishingInvisibleActivityFromUnknown()
DTaskTests.java227 final ActivityRecord activityMain = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testReparentPinnedActivityBackToOriginalTask()
342 final ActivityRecord activity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testUserLeaving()
1086 final ActivityRecord activity0 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testFindRootIndex_effectiveRoot_finishingAndRelinquishing()
1121 final ActivityRecord activity0 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testFindRootIndex_effectiveRoot_relinquishingMultipleActivities()
1279 final ActivityRecord activity0 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testGetTaskForActivity_onlyRoot_relinquishTaskIdentity()
1385 .setActivityFlags(FLAG_RELINQUISH_TASK_IDENTITY).setCreateTask(true).build(); in testUpdateEffectiveIntent_relinquishingWithDifferentUid()
1403 .setActivityFlags(FLAG_RELINQUISH_TASK_IDENTITY).setCreateTask(true).build(); in testUpdateEffectiveIntent_relinquishingMultipleActivities()
DDisplayContentTests.java387 new ActivityBuilder(mAtm).setCreateTask(true).build(), "app"); in testComputeImeTargetReturnsNull_windowDidntRequestIme()
389 new ActivityBuilder(mAtm).setCreateTask(true).build(), "app2"); in testComputeImeTargetReturnsNull_windowDidntRequestIme()
1078 final ActivityRecord app = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testNoSensorRevert()
1147 final ActivityRecord prev = new ActivityBuilder(mAtm).setCreateTask(true) in testOrientationBehind()
1150 final ActivityRecord top = new ActivityBuilder(mAtm).setCreateTask(true) in testOrientationBehind()
1768 final ActivityRecord pinnedActivity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testFixedRotationWithPip()
1815 final ActivityRecord app = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testNoFixedRotationOnResumedScheduledApp()
2076 final ActivityRecord activity1 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testShellTransitRotation()
2077 final ActivityRecord activity2 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testShellTransitRotation()
DTransitionTests.java669 final ActivityRecord app = new ActivityBuilder(mAtm).setCreateTask(true) in testRunningRemoteTransition()
1316 final ActivityRecord app = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testFinishRotationControllerWithFixedRotation()
1339 final ActivityRecord app = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testDeferRotationForTransientLaunch()
1612 final ActivityRecord appB = new ActivityBuilder(mAtm).setCreateTask(true) in testIsTransientVisible()
1614 final ActivityRecord recent = new ActivityBuilder(mAtm).setCreateTask(true) in testIsTransientVisible()
1616 final ActivityRecord appA = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testIsTransientVisible()
1656 final ActivityRecord app = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testTransientWithParallelLaunch()
2528 final ActivityRecord activity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testDeferredMoveTaskToBack()
2596 final ActivityRecord app = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testTransitionsTriggerPerformanceHints()
DSyncEngineTests.java125 final ActivityRecord r = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testWaitingSyncCallback()
150 final ActivityRecord taskRoot = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testFinishSyncByStartingWindow()
DWindowProcessControllerTests.java428 return new ActivityBuilder(mAtm).setCreateTask(true).setUseProcess(wpc).build(); in createActivityRecord()
DWindowManagerServiceTests.java805 .setCreateTask(true) in testGetTaskWindowContainerTokenForRecordingSession_invalidCookie()
834 new ActivityBuilder(mAtm).setCreateTask(true).setUid(uid).build(); in testGetTaskWindowContainerTokenForRecordingSession_validTaskId()
1526 new ActivityBuilder(mAtm).setCreateTask(true).setUid(uid).build(); in setupActivityWithLaunchCookie()
DZOrderingTests.java519 .setCreateTask(true) in testAttachNavBarWhenEnteringRecents_expectNavBarHigherThanIme()
DTaskPositionerTests.java80 .setCreateTask(true) in setUp()
DTaskDisplayAreaTests.java402 .setParentTask(rootHomeTask).setCreateTask(true).build(); in testGetOrientation_nonResizableHomeTaskWithHomeActivityPendingVisibilityChange()
DWindowTestsBase.java863 .setCreateTask(true) in createActivityRecordWithParentTask()
1312 ActivityBuilder setCreateTask(boolean createTask) { in setCreateTask() method in WindowTestsBase.ActivityBuilder
DRecentsAnimationControllerTest.java792 .setCreateTask(true) in createHomeActivity()
DBackNavigationControllerTests.java519 .setCreateTask(true) in backAnimationSkipSharedElementTransition()
DSizeCompatTests.java4617 .setCreateTask(true)
4640 .setCreateTask(true)
DWindowOrganizerTests.java1636 .setCreateTask(true) in testReparentNonResizableTaskToSplitScreen()