Home
last modified time | relevance | path

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

/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionServiceSystemTest.java105 synchronized(mWorker) { in testChatActionSucceeds()
109 mWorker.wait(2000); in testChatActionSucceeds()
116 mWorker.getRequestsMade().size()); in testChatActionSucceeds()
117 final Action request = mWorker.getRequestsMade().get(0); in testChatActionSucceeds()
153 synchronized(mWorker) { in testChatActionFails()
157 mWorker.wait(2000); in testChatActionFails()
168 mWorker.getRequestsMade().size()); in testChatActionFails()
169 final Action request = mWorker.getRequestsMade().get(0); in testChatActionFails()
198 synchronized(mWorker) { in testChatActionNoMonitor()
202 mWorker.wait(2000); in testChatActionNoMonitor()
[all …]
DActionServiceTest.java139 StubBackgroundWorker mWorker; field in ActionServiceTest
164 mWorker = new StubBackgroundWorker(); in setUp()
168 .withBackgroundWorkerForActionService(mWorker) in setUp()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DSingleThreadNamedTaskExecutor.java33 private final Thread mWorker; field in SingleThreadNamedTaskExecutor
38 mWorker = threadFactory.newThread(new Worker()); in SingleThreadNamedTaskExecutor()
39 mWorker.start(); in SingleThreadNamedTaskExecutor()
43 if (DBG) Log.d(TAG, "Cancelling " + mQueue.size() + " tasks: " + mWorker.getName()); in cancelPendingTasks()
52 mWorker.interrupt(); in close()
/packages/apps/Settings/src/com/android/settings/dashboard/
DSummaryLoader.java49 private final Worker mWorker; field in SummaryLoader
62 mWorker = new Worker(mWorkerThread.getLooper()); in SummaryLoader()
68 mWorker.obtainMessage(Worker.MSG_GET_PROVIDER, tile).sendToTarget(); in SummaryLoader()
110 mWorker.removeMessages(Worker.MSG_SET_LISTENING); in setListening()
111 mWorker.obtainMessage(Worker.MSG_SET_LISTENING, listening ? 1 : 0, 0).sendToTarget(); in setListening()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DPackageInstallerCompatVL.java42 private final Handler mWorker; field in PackageInstallerCompatVL
47 mWorker = new Handler(LauncherModel.getWorkerLooper()); in PackageInstallerCompatVL()
49 mInstaller.registerSessionCallback(mCallback, mWorker); in PackageInstallerCompatVL()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DFakeDataModel.java54 private BackgroundWorker mWorker; field in FakeDataModel
77 return mWorker; in getBackgroundWorkerForActionService()
81 mWorker = worker; in withBackgroundWorkerForActionService()