Home
last modified time | relevance | path

Searched refs:setTask (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStackTests.java103 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testOccupiedTaskCleanupOnRemove()
111 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testResumedActivity()
121 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testResumedActivityFromTaskReparenting()
139 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testResumedActivityFromActivityReparenting()
238 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testStopActivityWhenActivityDestroyed()
255 final ActivityRecord taskOverlay = new ActivityBuilder(mService).setTask(task) in testFindTaskWithOverlay()
279 new ActivityBuilder(mService).setComponent(target).setTask(task).setTargetActivity( in testFindTaskAlias()
840 final ActivityRecord firstActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testFinishDisabledPackageActivities_FinishAliveActivities()
841 final ActivityRecord secondActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testFinishDisabledPackageActivities_FinishAliveActivities()
860 final ActivityRecord activity = new ActivityBuilder(mService).setTask(mTask).build(); in testFinishDisabledPackageActivities_RemoveNonAliveActivities()
[all …]
DActivityMetricsLaunchObserverTests.java84 mActivityRecord = new ActivityBuilder(mService).setTask(mTask).build(); in setUpAMLO()
85 mActivityRecordTrampoline = new ActivityBuilder(mService).setTask(mTask).build(); in setUpAMLO()
DActivityTestsBase.java233 ActivityBuilder setTask(TaskRecord task) { in setTask() method in ActivityTestsBase.ActivityBuilder
425 task.setTask(); in build()
443 setTask(); in createTask()
446 void setTask() { in setTask() method in ActivityTestsBase.TaskBuilder.TestTaskRecord
450 setTask(mock(Task.class)); in setTask()
533 new ActivityBuilder(this).setTask(task).build(); in createDefaultDisplay()
DRootActivityContainerTests.java290 final ActivityRecord r = new ActivityBuilder(mService).setTask(task).build(); in testSplitScreenPrimaryChosenWhenTopActivityLaunchedToSecondary()
366 new ActivityBuilder(mService).setTask(task).build(); in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay()
386 final ActivityRecord activity = new ActivityBuilder(mService).setTask(task).build(); in testResumeActivityWhenNonTopmostStackIsTopFocused()
442 new ActivityBuilder(mService).setTask(task).build(); in testResumeFocusedStacksStartsHomeActivity_ActivityOnSecondaryScreen()
466 final ActivityRecord activity = new ActivityBuilder(mService).setTask(task).build(); in testResumeActivityLingeringTransition()
486 final ActivityRecord activity = new ActivityBuilder(mService).setTask(task).build(); in testResumeActivityLingeringTransition_notExecuted()
DActivityRecordTests.java109 mActivity.setTask(null); in testStackCleanupOnClearingTask()
172 final ActivityRecord topActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testPausingWhenVisibleFromStopped()
221 ActivityRecord activity2 = new ActivityBuilder(mService).setTask(mTask).build(); in testsApplyOptionsLocked()
231 activity2 = new ActivityBuilder(mService).setTask(task2).build(); in testsApplyOptionsLocked()
447 ActivityRecord topActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testShouldPauseWhenMakeClientVisible()
DActivityDisplayTests.java96 .setTask(pinnedTask).build(); in testFullscreenStackCanBeFocusedWhenFocusablePinnedStackExists()
152 new ActivityBuilder(mService).setTask(task).build(); in testNotResumeHomeStackOnRemovingDisplay()
174 new ActivityBuilder(mService).setTask(fullscreenTask).build(); in createFullscreenStackWithSimpleActivityAt()
DRunningTasksTest.java114 .setTask(task) in createTask()
DActivityStackSupervisorTests.java139 .setTask(task).build(); in testHandleNonResizableTaskOnSecondaryDisplay()
DActivityStarterTests.java228 final ActivityBuilder builder = new ActivityBuilder(service).setTask( in verifyStartActivityPreconditions()
782 new ActivityBuilder(mService).setTask(topTask).build(); in testBringTaskToFrontOnSecondaryDisplay()
810 .setTask(taskRecord) in createSingleTaskActivityOn()
DTaskRecordTests.java290 ActivityRecord top = new ActivityBuilder(mService).setTask(task).setStack(stack).build(); in testFullscreenBoundsForcedOrientation()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskRecord.java474 void setTask(Task task) { in setTask() method in TaskRecord
1304 r.setTask(this); in addActivityAtIndex()
1377 r.setTask(null /* task */, reparenting /* reparenting */); in removeActivity()
2976 activities.get(activityNdx).setTask(task); in restoreFromXml()
DActivityStarter.java1538 mStartActivity.setTask(reusedActivity.getTaskRecord()); in startActivityUnchecked()
1574 reusedActivity.setTask(task); in startActivityUnchecked()
2257 mStartActivity.setTask(null); in setTaskFromIntentActivity()
DActivityRecord.java824 void setTask(TaskRecord task) { in setTask() method in ActivityRecord
825 setTask(task /* task */, false /* reparenting */); in setTask()
833 void setTask(TaskRecord task, boolean reparenting) { in setTask() method in ActivityRecord
/frameworks/base/services/
Dart-profile14828 PLcom/android/server/wm/ActivityRecord;->setTask(Lcom/android/server/wm/TaskRecord;)V
14829 HSPLcom/android/server/wm/ActivityRecord;->setTask(Lcom/android/server/wm/TaskRecord;Z)V