Home
last modified time | relevance | path

Searched refs:mThread (Results 1 – 10 of 10) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsTaskScheduler.java50 private HandlerThread mThread; field in ContactsTaskScheduler
75 Log.v(TAG, "[" + mName + "] " + mThread + " dispatching " + msg.what); in handleMessage()
89 return mThread != null; in isRunning()
104 mThread = new HandlerThread("Worker-" + mThreadSequenceNumber.incrementAndGet()); in scheduleTask()
105 mThread.start(); in scheduleTask()
106 mHandler = new MyHandler(mThread.getLooper()); in scheduleTask()
109 Log.v(TAG, "[" + mName + "] " + mThread + " started."); in scheduleTask()
134 Log.v(TAG, "[" + mName + "] " + mThread + " stopping..."); in stopThread()
136 if (mThread != null) { in stopThread()
137 mThread.quit(); in stopThread()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DMediaPlayerWrapperTest.java52 private HandlerThread mThread; field in MediaPlayerWrapperTest
84 mThread = new HandlerThread("MediaPlayerWrapperTestThread"); in setUp()
85 mThread.start(); in setUp()
141 MediaPlayerWrapper wrapper = MediaPlayerWrapper.wrap(null, mThread.getLooper()); in testNullControllerLooper()
154 MediaPlayerWrapper wrapper = MediaPlayerWrapper.wrap(mMockController, mThread.getLooper()); in testIsReady()
182 MediaPlayerWrapper wrapper = MediaPlayerWrapper.wrap(mMockController, mThread.getLooper()); in testControllerUpdate()
214 TestLooperManager looperManager = new TestLooperManager(mThread.getLooper()); in testNoQueueMediaUpdates()
216 MediaPlayerWrapper.wrap(mMockController, mThread.getLooper()); in testNoQueueMediaUpdates()
276 TestLooperManager looperManager = new TestLooperManager(mThread.getLooper()); in testDataOnUpdateNoQueue()
278 MediaPlayerWrapper.wrap(mMockController, mThread.getLooper()); in testDataOnUpdateNoQueue()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DNotificationPlayer.java211 mThread = null; in run()
239 private CmdThread mThread; field in NotificationPlayer
319 if (mThread == null) { in enqueueLocked()
321 mThread = new CmdThread(); in enqueueLocked()
322 mThread.start(); in enqueueLocked()
340 if (mWakeLock != null || mThread != null) { in setUsesWakeLock()
344 + " mThread=" + mThread); in setUsesWakeLock()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DPackageIconLoaderTest.java36 private ConsumerThread mThread; field in PackageIconLoaderTest
40 mThread = new ConsumerThread(); in setUp()
41 mThread.start(); in setUp()
48 mThread.exit(); in tearDown()
56 return new PackageIconLoader(mContext, mContext.getPackageName(), mThread.getHandler(), in create()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMasClient.java78 private HandlerThread mThread; field in MasClient
90 mThread = new HandlerThread("Client"); in MasClient()
91 mThread.start(); in MasClient()
94 Looper looper = mThread.getLooper(); in MasClient()
186 mThread.quitSafely(); in shutdown()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java69 private ClientThread mThread; field in BluetoothOppObexClientSession
97 mThread = new ClientThread(mContext, mTransport, numShares); in start()
98 mThread.start(); in start()
106 if (mThread != null) { in stop()
109 mThread.interrupt(); in stop()
113 mThread.join(); in stop()
114 mThread = null; in stop()
127 mThread.addShare(share); in addShare()
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSNetworkScanCtlr.java73 HandlerThread mThread; field in ONSNetworkScanCtlr
192 mThread = new HandlerThread(LOG_TAG); in init()
193 mThread.start(); in init()
194 mHandler = new Handler(mThread.getLooper()) { in init()
DONSProfileSelector.java103 HandlerThread mThread; field in ONSProfileSelector
742 mThread = new HandlerThread(LOG_TAG); in init()
743 mThread.start(); in init()
744 mHandler = new Handler(mThread.getLooper()) { in init()
/packages/apps/Terminal/src/com/android/terminal/
DTerminal.java66 private final Thread mThread; field in Terminal
119 mThread = new Thread(mTitle) { in Terminal()
131 mThread.start(); in start()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java1112 private Thread mThread; field in NetworkMonitor.ProbingState
1122 mThread = new Thread(() -> sendMessage(obtainMessage(CMD_PROBE_COMPLETE, token, 0, in enter()
1124 mThread.start(); in enter()
1183 if (mThread.isAlive()) { in exit()
1184 mThread.interrupt(); in exit()
1186 mThread = null; in exit()