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

/frameworks/base/cmds/incident_helper/tests/
H A DCpuInfoParser_test.cpp88 CpuInfoProto::Task* task1 = expected.add_tasks(); local
89 task1->set_pid(29438);
90 task1->set_tid(29438);
91 task1->set_user("rootabcdefghij");
92 task1->set_pr("20");
93 task1->set_ni(0);
94 task1->set_cpu(57.9);
95 task1->set_s(CpuInfoProto::Task::STATUS_R);
96 task1->set_virt("14M");
97 task1
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DTaskStackTests.java49 final Task task1 = createTaskInStack(stack, 0 /* userId */);
53 stack.positionChildAt(WindowContainer.POSITION_TOP, task1, false /* includingParents */);
55 assertEquals(stack.mChildren.get(1), task1);
60 assertEquals(stack.mChildren.get(1), task1);
66 final Task task1 = createTaskInStack(stack, 0 /* userId */);
69 task1.addChild(appWindowToken1, 0);
86 final Task task1 = createTaskInStack(stack, 0 /* userId */);
89 task1.addChild(appWindowToken1, 0);
H A DTaskWindowContainerControllerTests.java124 final WindowTestUtils.TestTask task1 = (WindowTestUtils.TestTask) taskController.mContainer;
125 task1.mOnDisplayChangedCalled = false;
139 assertEquals(stack2, task1.getParent());
140 assertEquals(0, task1.positionInParent());
142 assertTrue(task1.mOnDisplayChangedCalled);
H A DStackWindowControllerTests.java97 final WindowTestUtils.TestTask task1 = (WindowTestUtils.TestTask) taskController.mContainer;
98 task1.mOnDisplayChangedCalled = false;
112 assertTrue(task1.mOnDisplayChangedCalled);
H A DDisplayContentTests.java284 final Task task1 = createTaskInStack(stack1, 0 /* userId */);
287 task1.addChild(token1, 0);
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DRecentTasksTest.java266 TaskRecord task1 = createTaskBuilder(".Task1")
272 mRecentTasks.add(task1);
274 assertTrue(mCallbacksRecorder.added.contains(task1));
283 assertTrue(mCallbacksRecorder.removed.contains(task1));
290 TaskRecord task1 = createTaskBuilder(".Task1")
296 mRecentTasks.add(task1);
299 assertTrue(mCallbacksRecorder.added.contains(task1));
311 TaskRecord task1 = createTaskBuilder(".Task1")
315 task1.onConfigurationChanged(config1);
316 assertTrue(task1
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
H A DJobStoreTest.java145 final JobInfo task1 = new Builder(8, mComponent)
158 final JobStatus taskStatus1 = JobStatus.createFromJobInfo(task1, SOME_UID, null, -1, null);
178 assertTasksEqual(task1, loaded1.getJob());

Completed in 43 milliseconds