Home
last modified time | relevance | path

Searched refs:mHandlerThread (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DUiAutomationShellWrapper.java21 private final HandlerThread mHandlerThread = new HandlerThread(HANDLER_THREAD_NAME); field in UiAutomationShellWrapper
26 if (mHandlerThread.isAlive()) { in connect()
29 mHandlerThread.start(); in connect()
30 mUiAutomation = new UiAutomation(mHandlerThread.getLooper(), in connect()
63 if (!mHandlerThread.isAlive()) { in disconnect()
67 mHandlerThread.quit(); in disconnect()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DUsimDataDownloadTest.java60 private TestHandlerThread mHandlerThread; field in UsimDataDownloadTest
67 mHandlerThread = new TestHandlerThread(); in setUp()
68 mHandlerThread.start(); in setUp()
69 mHandler = mHandlerThread.getHandler(); in setUp()
75 mHandlerThread.quit(); in tearDown()
/frameworks/base/core/java/android/speech/tts/
DAudioPlaybackHandler.java29 private final Thread mHandlerThread; field in AudioPlaybackHandler
34 mHandlerThread = new Thread(new MessageLoop(), "TTS.AudioPlaybackThread"); in AudioPlaybackHandler()
38 mHandlerThread.start(); in start()
89 mHandlerThread.interrupt(); in quit()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DLocationStatsAggregator.java60 private HandlerThread mHandlerThread; field in LocationStatsAggregator
193 mHandlerThread.getLooper()); in onReceive()
203 mHandlerThread = new HandlerThread("Location Handler", in setClusteringThread()
205 mHandlerThread.start(); in setClusteringThread()
206 mHandler = new Handler(mHandlerThread.getLooper()) { in setClusteringThread()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DModelInterpreter.java154 HandlerThread mHandlerThread; field in ModelInterpreter
189 mHandlerThread = new HandlerThread("ModelInterpreter"); in init()
190 mHandlerThread.start(); in init()
191 Looper looper = mHandlerThread.getLooper(); in init()
641 Looper looper = mHandlerThread.getLooper(); in shutdown()
DSimulatedCommands.java67 HandlerThread mHandlerThread; field in SimulatedCommands
91 mHandlerThread = new HandlerThread("SimulatedCommands"); in SimulatedCommands()
92 mHandlerThread.start(); in SimulatedCommands()
93 Looper looper = mHandlerThread.getLooper(); in SimulatedCommands()
1419 Looper looper = mHandlerThread.getLooper(); in shutdown()
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
DBluetoothPbapSession.java60 private final HandlerThread mHandlerThread; field in BluetoothPbapSession
83 mHandlerThread = new HandlerThread("PBAP session handler", in BluetoothPbapSession()
85 mHandlerThread.start(); in BluetoothPbapSession()
86 mSessionHandler = new Handler(mHandlerThread.getLooper(), this); in BluetoothPbapSession()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestRunner.java76 private HandlerThread mHandlerThread; field in UiAutomatorTestRunner
114 mHandlerThread = new HandlerThread(HANDLER_THREAD_NAME); in start()
115 mHandlerThread.setDaemon(true); in start()
116 mHandlerThread.start(); in start()
171 mHandlerThread.quit(); in start()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java70 private HandlerThread mHandlerThread; field in CameraDeviceBinderTest
208 mHandlerThread = new HandlerThread(TAG); in setUp()
209 mHandlerThread.start(); in setUp()
210 mHandler = new Handler(mHandlerThread.getLooper()); in setUp()
222 mHandlerThread.quitSafely(); in tearDown()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCameraDeviceUserShim.java205 private final HandlerThread mHandlerThread; field in CameraDeviceUserShim.CameraCallbackThread
213 mHandlerThread = new HandlerThread("LegacyCameraCallback"); in CameraCallbackThread()
214 mHandlerThread.start(); in CameraCallbackThread()
218 mHandlerThread.quitSafely(); in close()
261 mHandler = new CallbackHandler(mHandlerThread.getLooper()); in getHandler()
/frameworks/base/core/java/com/android/internal/util/
DAsyncChannel.java748 private HandlerThread mHandlerThread; field in AsyncChannel.SyncMessenger
789 sm.mHandlerThread = new HandlerThread("SyncHandler-" + sCount++); in obtain()
790 sm.mHandlerThread.start(); in obtain()
791 sm.mHandler = sm.new SyncHandler(sm.mHandlerThread.getLooper()); in obtain()
/frameworks/support/v4/java/android/support/v4/app/
DNotificationManagerCompat.java288 private final HandlerThread mHandlerThread; field in NotificationManagerCompat.SideChannelManager
296 mHandlerThread = new HandlerThread("NotificationManagerCompat"); in SideChannelManager()
297 mHandlerThread.start(); in SideChannelManager()
298 mHandler = new Handler(mHandlerThread.getLooper(), this); in SideChannelManager()
/frameworks/base/media/java/android/media/
DMediaPlayer.java3107 private HandlerThread mHandlerThread; field in MediaPlayer.TimeProvider
3125 mHandlerThread = new HandlerThread("MediaPlayerMTPEventThread", in TimeProvider()
3127 mHandlerThread.start(); in TimeProvider()
3128 looper = mHandlerThread.getLooper(); in TimeProvider()
3154 if (mHandlerThread != null) { in close()
3155 mHandlerThread.quitSafely(); in close()
3156 mHandlerThread = null; in close()
3162 if (mHandlerThread != null) { in finalize()
3163 mHandlerThread.quitSafely(); in finalize()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java126 private HandlerThread mHandlerThread; field in CatService
140 mHandlerThread = new HandlerThread("Cat Telephony service" + slotId); in CatService()
141 mHandlerThread.start(); in CatService()
257 mHandlerThread.quit(); in dispose()
258 mHandlerThread = null; in dispose()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBar.java375 private HandlerThread mHandlerThread; field in PhoneStatusBar
795 mHandlerThread = new HandlerThread(TAG, Process.THREAD_PRIORITY_BACKGROUND); in makeStatusBarView()
796 mHandlerThread.start(); in makeStatusBarView()
816 mBluetoothController = new BluetoothControllerImpl(mContext, mHandlerThread.getLooper()); in makeStatusBarView()
3517 if (mHandlerThread != null) {
3518 mHandlerThread.quitSafely();
3519 mHandlerThread = null;
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java152 private final ServiceThread mHandlerThread; field in PowerManagerService
439 mHandlerThread = new ServiceThread(TAG, in PowerManagerService()
441 mHandlerThread.start(); in PowerManagerService()
442 mHandler = new PowerManagerHandler(mHandlerThread.getLooper()); in PowerManagerService()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java264 HandlerThread mHandlerThread; field in BackupManagerService
962 mHandlerThread = new HandlerThread("backup", Process.THREAD_PRIORITY_BACKGROUND); in BackupManagerService()
963 mHandlerThread.start(); in BackupManagerService()
964 mBackupHandler = new BackupHandler(mHandlerThread.getLooper()); in BackupManagerService()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java328 final ServiceThread mHandlerThread; field in PackageManagerService
1352 mHandlerThread = new ServiceThread(TAG, in PackageManagerService()
1354 mHandlerThread.start(); in PackageManagerService()
1355 mHandler = new PackageHandler(mHandlerThread.getLooper()); in PackageManagerService()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java1296 final ServiceThread mHandlerThread; field in ActivityManagerService
2067 mHandlerThread = new ServiceThread(TAG, in ActivityManagerService()
2069 mHandlerThread.start(); in ActivityManagerService()
2070 mHandler = new MainHandler(mHandlerThread.getLooper()); in ActivityManagerService()