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 …]
DActivityTestsBase.java218 ActivityBuilder setTask(TaskRecord task) { in setTask() method in ActivityTestsBase.ActivityBuilder
399 task.setTask(); in build()
417 setTask(); in createTask()
420 void setTask() { in setTask() method in ActivityTestsBase.TaskBuilder.TestTaskRecord
424 setTask(mock(Task.class)); in setTask()
502 new ActivityBuilder(this).setTask(task).build(); in createDefaultDisplay()
DActivityMetricsLaunchObserverTests.java84 mActivityRecord = new ActivityBuilder(mService).setTask(mTask).build(); in setUpAMLO()
85 mActivityRecordTrampoline = new ActivityBuilder(mService).setTask(mTask).build(); in setUpAMLO()
DRootActivityContainerTests.java288 final ActivityRecord r = new ActivityBuilder(mService).setTask(task).build(); in testSplitScreenPrimaryChosenWhenTopActivityLaunchedToSecondary()
364 new ActivityBuilder(mService).setTask(task).build(); in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay()
384 final ActivityRecord activity = new ActivityBuilder(mService).setTask(task).build(); in testResumeActivityWhenNonTopmostStackIsTopFocused()
440 new ActivityBuilder(mService).setTask(task).build(); in testResumeFocusedStacksStartsHomeActivity_ActivityOnSecondaryScreen()
464 final ActivityRecord activity = new ActivityBuilder(mService).setTask(task).build(); in testResumeActivityLingeringTransition()
484 final ActivityRecord activity = new ActivityBuilder(mService).setTask(task).build(); in testResumeActivityLingeringTransition_notExecuted()
DActivityRecordTests.java103 mActivity.setTask(null); in testStackCleanupOnClearingTask()
166 final ActivityRecord topActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testPausingWhenVisibleFromStopped()
215 ActivityRecord activity2 = new ActivityBuilder(mService).setTask(mTask).build(); in testsApplyOptionsLocked()
225 activity2 = new ActivityBuilder(mService).setTask(task2).build(); in testsApplyOptionsLocked()
441 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.java109 .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.java1520 mStartActivity.setTask(reusedActivity.getTaskRecord()); in startActivityUnchecked()
1556 reusedActivity.setTask(task); in startActivityUnchecked()
2238 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