Home
last modified time | relevance | path

Searched refs:task2 (Results 1 – 6 of 6) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DHandlerTest.java143 TestRunnable task2 = new TestRunnable(); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks() local
146 new Handler().postDelayed(task2, 1); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks()
150 assertThat(task2.wasRun, equalTo(true)); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks()
156 TestRunnable task2 = new TestRunnable(); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask() local
159 new Handler().postDelayed(task2, 1); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask()
163 assertThat(task2.wasRun, equalTo(false)); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask()
169 TestRunnable task2 = new TestRunnable(); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask() local
173 new Handler().postDelayed(task2, 10); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask()
178 assertThat(task2.wasRun, equalTo(true)); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask()
185 TestRunnable task2 = new TestRunnable(); in testPostAtFrontOfQueueThenRunMainLooperOneTaskAtATime_shouldRunFrontOfQueueTaskFirst() local
[all …]
/external/lldb/test/python_api/type/
Dmain.cpp26 Task *task2 = new Task(2, NULL); in main() local
32 task1->next = task2; in main()
33 task2->next = task4; in main()
/external/lldb/test/python_api/value/linked_list/
Dmain.cpp26 Task *task2 = new Task(2, NULL); in main() local
32 task1->next = task2; in main()
33 task2->next = task4; in main()
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
Dcopy.pass.cpp32 auto task2(task); in main() local
34 assert(task2() == 16); in main()
/external/littlemock/tests/com/google/testing/littlemock/
DLittleMockTest.java1370 Future<?> task2 = mExecutorService.submit(new Runnable() { in testConcurrentModificationExceptions() local
1381 task2.cancel(true); in testConcurrentModificationExceptions()
1387 task2.get(); in testConcurrentModificationExceptions()
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-sched.c374 struct task_desc *task1, *task2; in add_cross_task_wakeups() local
382 task2 = sched->tasks[j]; in add_cross_task_wakeups()
383 add_sched_event_wakeup(sched, task1, 0, task2); in add_cross_task_wakeups()