Home
last modified time | relevance | path

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

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DHandlerTest.java142 TestRunnable task1 = new TestRunnable(); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks() local
145 new Handler().postDelayed(task1, 1); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks()
149 assertThat(task1.wasRun, equalTo(true)); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks()
155 TestRunnable task1 = new TestRunnable(); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask() local
158 new Handler().postDelayed(task1, 1); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask()
162 assertThat(task1.wasRun, equalTo(true)); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask()
168 TestRunnable task1 = new TestRunnable(); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask() local
172 new Handler().postDelayed(task1, 1); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask()
177 assertThat(task1.wasRun, equalTo(true)); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask()
184 TestRunnable task1 = new TestRunnable(); in testPostAtFrontOfQueueThenRunMainLooperOneTaskAtATime_shouldRunFrontOfQueueTaskFirst() local
[all …]
/external/lldb/test/python_api/type/
Dmain.cpp25 Task *task1 = new Task(1, NULL); in main() local
31 task_head->next = task1; in main()
32 task1->next = task2; in main()
/external/lldb/test/python_api/value/linked_list/
Dmain.cpp25 Task *task1 = new Task(1, NULL); in main() local
31 task_head = task1; in main()
32 task1->next = task2; in main()
/external/littlemock/tests/com/google/testing/littlemock/
DLittleMockTest.java1361 Future<?> task1 = mExecutorService.submit(new Runnable() { in testConcurrentModificationExceptions() local
1380 task1.cancel(true); in testConcurrentModificationExceptions()
1383 task1.get(); in testConcurrentModificationExceptions()
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-sched.c374 struct task_desc *task1, *task2; in add_cross_task_wakeups() local
378 task1 = sched->tasks[i]; in add_cross_task_wakeups()
383 add_sched_event_wakeup(sched, task1, 0, task2); in add_cross_task_wakeups()