Home
last modified time | relevance | path

Searched refs:addTask (Results 1 – 2 of 2) sorted by relevance

/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DPerNameExecutorTest.java44 MockTask a1 = addTask("a", 1); in testExecute()
45 MockTask a2 = addTask("a", 2); in testExecute()
46 MockTask a3 = addTask("a", 3); in testExecute()
47 MockTask b1 = addTask("b", 1); in testExecute()
63 MockTask a1 = addTask("a", 1); in testCancelPendingTasks()
64 MockTask a2 = addTask("a", 2); in testCancelPendingTasks()
65 MockTask b1 = addTask("b", 1); in testCancelPendingTasks()
77 MockTask a3 = addTask("a" , 3); in testCancelPendingTasks()
78 MockTask c1 = addTask("c" , 1); in testCancelPendingTasks()
100 private MockTask addTask(String name, int id) { in addTask() method in PerNameExecutorTest
DSingleThreadNamedTaskExecutorTest.java41 MockTask a1 = addTask("a", 1); in testExecute()
42 MockTask a2 = addTask("a", 2); in testExecute()
49 private MockTask addTask(String name, int id) { in addTask() method in SingleThreadNamedTaskExecutorTest