Home
last modified time | relevance | path

Searched refs:task1 (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/cmds/incident_helper/tests/
DCpuInfoParser_test.cpp88 CpuInfoProto::Task* task1 = expected.add_tasks(); in TEST_F() local
89 task1->set_pid(29438); in TEST_F()
90 task1->set_tid(29438); in TEST_F()
91 task1->set_user("rootabcdefghij"); in TEST_F()
92 task1->set_pr("20"); in TEST_F()
93 task1->set_ni(0); in TEST_F()
94 task1->set_cpu(57.9); in TEST_F()
95 task1->set_s(CpuInfoProto::Task::STATUS_R); in TEST_F()
96 task1->set_virt("14M"); in TEST_F()
97 task1->set_res("3.8M"); in TEST_F()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskStackTests.java51 final Task task1 = createTaskInStack(stack, 0 /* userId */); in testStackPositionChildAt() local
55 stack.positionChildAt(WindowContainer.POSITION_TOP, task1, false /* includingParents */); in testStackPositionChildAt()
57 assertEquals(stack.mChildren.get(1), task1); in testStackPositionChildAt()
62 assertEquals(stack.mChildren.get(1), task1); in testStackPositionChildAt()
68 final Task task1 = createTaskInStack(stack, 0 /* userId */); in testClosingAppDifferentStackOrientation() local
71 task1.addChild(appWindowToken1, 0); in testClosingAppDifferentStackOrientation()
88 final Task task1 = createTaskInStack(stack, 0 /* userId */); in testMoveTaskToBackDifferentStackOrientation() local
91 task1.addChild(appWindowToken1, 0); in testMoveTaskToBackDifferentStackOrientation()
159 final WindowTestUtils.TestTask task1 = WindowTestUtils.createTestTask(stack1); in testReparent() local
160 task1.mOnDisplayChangedCalled = false; in testReparent()
[all …]
DRecentTasksTest.java233 TaskRecord task1 = createTaskBuilder(".Task1") in testAddTasksMultipleTasks_expectRemovedNoTrim() local
239 mRecentTasks.add(task1); in testAddTasksMultipleTasks_expectRemovedNoTrim()
241 assertThat(mCallbacksRecorder.mAdded).contains(task1); in testAddTasksMultipleTasks_expectRemovedNoTrim()
250 assertThat(mCallbacksRecorder.mRemoved).contains(task1); in testAddTasksMultipleTasks_expectRemovedNoTrim()
257 TaskRecord task1 = createTaskBuilder(".Task1") in testAddTasksDifferentStacks_expectNoRemove() local
263 mRecentTasks.add(task1); in testAddTasksDifferentStacks_expectNoRemove()
266 assertThat(mCallbacksRecorder.mAdded).contains(task1); in testAddTasksDifferentStacks_expectNoRemove()
276 TaskRecord task1 = createTaskBuilder(".Task1") in testAddTaskCompatibleActivityType_expectRemove() local
280 setTaskActivityType(task1, ACTIVITY_TYPE_UNDEFINED); in testAddTaskCompatibleActivityType_expectRemove()
281 assertThat(task1.getActivityType()).isEqualTo(ACTIVITY_TYPE_UNDEFINED); in testAddTaskCompatibleActivityType_expectRemove()
[all …]
DAppTransitionTests.java162 final Task task1 = createTaskInStack(stack1, 0 /* userId */); in testCleanAppTransitionWhenTaskStackReparent() local
165 task1.addChild(token1, 0); in testCleanAppTransitionWhenTaskStackReparent()
DActivityDisplayTests.java307 final TaskRecord task1 = new TaskBuilder(mService.mStackSupervisor).setStack( in removeStackTests() local
337 verify(mSupervisor).removeTaskByIdLocked(eq(task1.taskId), anyBoolean(), anyBoolean(), in removeStackTests()
DDisplayContentTests.java323 final Task task1 = createTaskInStack(stack1, 0 /* userId */); in testInputEventBringsCorrectDisplayInFocus() local
326 task1.addChild(token1, 0); in testInputEventBringsCorrectDisplayInFocus()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java143 final JobInfo task1 = new Builder(8, mComponent) in testWritingTwoFilesToDisk() local
156 final JobStatus taskStatus1 = JobStatus.createFromJobInfo(task1, SOME_UID, null, -1, null); in testWritingTwoFilesToDisk()
176 assertTasksEqual(task1, loaded1.getJob()); in testWritingTwoFilesToDisk()