/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/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...] |
/external/littlemock/tests/com/google/testing/littlemock/ |
LittleMockTest.java | 1361 Future<?> task1 = mExecutorService.submit(new Runnable() { local [all...] |
/external/linux-tools-perf/ |
builtin-sched.c | 371 struct task_desc *task1, *task2; local 375 task1 = tasks[i]; 380 add_sched_event_wakeup(task1, 0, task2); [all...] |
/external/chromium/base/ |
message_loop_unittest.cc | 1344 IOHandlerTask* task1 = new IOHandlerTask(&handler1); local [all...] |