/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
EmailAsyncTaskTests.java | 36 final MyTask task1 = new MyTask(tracker); local 49 task1.mDoInBackgroundResult = "R"; 50 assertEquals("R", task1.callDoInBackgroundForTest("1", "2")); 51 MoreAsserts.assertEquals(new String[] {"1", "2"}, task1.mDoInBackgroundArg); 53 // Finish task1 54 task1.callOnPostExecuteForTest("a"); 59 assertEquals("a", task1.mOnPostExecuteArg); 60 assertNull(task1.mOnCancelledArg); 81 final MyTask task1 = new MyTask(null); local 82 task1.unregisterSelf() 91 final MyTask task1 = new MyTask(tracker); local [all...] |
/external/lldb/test/python_api/type/ |
main.cpp | 25 Task *task1 = new Task(1, NULL); local 31 task_head->next = task1; 32 task1->next = task2;
|
/external/lldb/test/python_api/value/linked_list/ |
main.cpp | 25 Task *task1 = new Task(1, NULL); local 31 task_head = task1; 32 task1->next = task2;
|
/external/chromium_org/net/quic/test_tools/ |
test_task_runner.cc | 55 bool operator()(const PostedTask& task1, const PostedTask& task2) const { 56 return task1.ShouldRunBefore(task2);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
HandlerTest.java | 142 TestRunnable task1 = new TestRunnable(); local 145 new Handler().postDelayed(task1, 1); 149 assertThat(task1.wasRun, equalTo(true)); 155 TestRunnable task1 = new TestRunnable(); local 158 new Handler().postDelayed(task1, 1); 162 assertThat(task1.wasRun, equalTo(true)); 168 TestRunnable task1 = new TestRunnable(); local 172 new Handler().postDelayed(task1, 1); 177 assertThat(task1.wasRun, equalTo(true)); 184 TestRunnable task1 = new TestRunnable() local [all...] |
/external/chromium_org/content/browser/ |
startup_task_runner_unittest.cc | 52 int Task1() { 126 StartupTask task1 = local 127 base::Bind(&StartupTaskRunnerTest::Task1, base::Unretained(this)); 128 runner.AddTask(task1); 164 StartupTask task1 = local 165 base::Bind(&StartupTaskRunnerTest::Task1, base::Unretained(this)); 166 runner.AddTask(task1); 241 StartupTask task1 = local 242 base::Bind(&StartupTaskRunnerTest::Task1, base::Unretained(this)); 243 runner.AddTask(task1); [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
JobStoreTest.java | 80 final JobInfo task1 = new Builder(8, mComponent) local 93 final JobStatus taskStatus1 = new JobStatus(task1, SOME_UID); 105 assertTasksEqual(task1, loaded1.getJob());
|
/external/littlemock/tests/com/google/testing/littlemock/ |
LittleMockTest.java | 1361 Future<?> task1 = mExecutorService.submit(new Runnable() { local [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
builtin-sched.c | 379 struct task_desc *task1, *task2; local 383 task1 = sched->tasks[i]; 388 add_sched_event_wakeup(sched, task1, 0, task2); [all...] |