OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mExecutor
(Results
1 - 15
of
15
) sorted by null
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
MockNamedTaskExecutor.java
29
private final MockExecutor
mExecutor
= new MockExecutor();
32
mExecutor
.execute(task);
36
mExecutor
.cancelPendingTasks();
40
mExecutor
.close();
44
return
mExecutor
.runNext();
49
expected,
mExecutor
.countPendingTasks());
SingleThreadNamedTaskExecutorTest.java
31
private SingleThreadNamedTaskExecutor
mExecutor
;
37
mExecutor
= new SingleThreadNamedTaskExecutor(Executors.defaultThreadFactory());
51
mExecutor
.execute(task);
PerNameExecutorTest.java
33
private NamedTaskExecutor
mExecutor
;
40
mExecutor
= new PerNameExecutor(mExecutorFactory);
70
mExecutor
.cancelPendingTasks(); // cancel a2
91
mExecutor
.execute(a1);
94
mExecutor
.close();
96
mExecutor
.close();
102
mExecutor
.execute(task);
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
VariableSpeedTest.java
29
private ScheduledExecutorService
mExecutor
= Executors.newScheduledThreadPool(2);
36
mExecutor
.shutdown();
37
if (!
mExecutor
.awaitTermination(10, TimeUnit.SECONDS)) {
40
mExecutor
= null;
45
return VariableSpeed.createVariableSpeed(
mExecutor
);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
BatchingNamedTaskExecutor.java
34
private final NamedTaskExecutor
mExecutor
;
36
/** Queue of tasks waiting to be dispatched to
mExecutor
**/
45
mExecutor
= executor;
57
mExecutor
.execute(task);
91
mExecutor
.close();
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
SourceShortcutRefresherTest.java
32
private MockNamedTaskExecutor
mExecutor
;
46
mExecutor
= new MockNamedTaskExecutor();
47
mRefresher = new SourceShortcutRefresher(
mExecutor
);
75
assertTrue(
mExecutor
.runNext());
86
assertTrue(
mExecutor
.runNext());
97
assertTrue(
mExecutor
.runNext());
/packages/apps/Contacts/src/com/android/contacts/util/
AsyncTaskExecutors.java
87
private final Executor
mExecutor
;
90
mExecutor
= executor;
97
return task.executeOnExecutor(
mExecutor
, params);
/sdk/hierarchyviewer2/app/src/com/android/hierarchyviewer/
HierarchyViewerApplicationDirector.java
31
private final ExecutorService
mExecutor
= Executors.newSingleThreadExecutor();
40
mExecutor
.shutdown();
74
mExecutor
.execute(new Runnable() {
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
SourceShortcutRefresher.java
35
private final NamedTaskExecutor
mExecutor
;
46
mExecutor
= executor;
64
mExecutor
.execute(refreshTask);
MultiSourceCorpus.java
34
private final Executor
mExecutor
;
48
mExecutor
= executor;
146
mExecutor
.execute(task);
SuggestionsProviderImpl.java
168
private final BatchingNamedTaskExecutor
mExecutor
;
184
mExecutor
= executor;
231
mExecutor
.executeNextBatch(nextBatchSize);
/packages/apps/Gallery2/src/com/android/gallery3d/util/
ThreadPool.java
78
private final Executor
mExecutor
;
81
mExecutor
= new ThreadPoolExecutor(
92
mExecutor
.execute(w);
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
VariableSpeed.java
52
private final Executor
mExecutor
;
71
mExecutor
= executor;
299
mExecutor
.execute(new PlaybackRunnable(mDataSource));
/frameworks/base/voip/java/com/android/server/sip/
SipWakeupTimer.java
61
private Executor
mExecutor
;
70
mExecutor
= executor;
277
mExecutor
.execute(event.mCallback);
SipService.java
89
private MyExecutor
mExecutor
= new MyExecutor();
130
mTimer = new SipWakeupTimer(context,
mExecutor
);
674
mGroup.setWakeupTimer(new SipWakeupTimer(mContext,
mExecutor
));
[
all
...]
Completed in 132 milliseconds