/frameworks/base/core/java/android/service/resolver/ |
D | ResolverRankerService.java | 108 private HandlerThread mHandlerThread; field in ResolverRankerService 117 if (mHandlerThread == null) { in onBind() 118 mHandlerThread = new HandlerThread(HANDLER_THREAD_NAME); in onBind() 119 mHandlerThread.start(); in onBind() 120 mHandler = new Handler(mHandlerThread.getLooper()); in onBind() 131 if (mHandlerThread != null) { in onDestroy() 132 mHandlerThread.quitSafely(); in onDestroy()
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/ |
D | UiAutomationShellWrapper.java | 20 private final HandlerThread mHandlerThread = new HandlerThread(HANDLER_THREAD_NAME); field in UiAutomationShellWrapper 25 if (mHandlerThread.isAlive()) { in connect() 28 mHandlerThread.start(); in connect() 29 mUiAutomation = new UiAutomation(mHandlerThread.getLooper(), in connect() 62 if (!mHandlerThread.isAlive()) { in disconnect() 66 mHandlerThread.quit(); in disconnect()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeUiTest.java | 57 private HandlerThread mHandlerThread; field in DozeUiTest 62 mHandlerThread = new HandlerThread("DozeUiTest"); in setUp() 63 mHandlerThread.start(); in setUp() 68 mHandler = mHandlerThread.getThreadHandler(); in setUp() 75 mHandlerThread.quit(); in tearDown() 77 mHandlerThread = null; in tearDown()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningService.java | 31 private final HandlerThread mHandlerThread; field in WifiScanningService 36 mHandlerThread = new HandlerThread("WifiScanningService"); in WifiScanningService() 37 mHandlerThread.start(); in WifiScanningService() 38 mImpl = new WifiScanningServiceImpl(getContext(), mHandlerThread.getLooper(), in WifiScanningService()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | NetworkLogger.java | 50 private ServiceThread mHandlerThread; field in NetworkLogger 111 mHandlerThread = new ServiceThread(TAG, Process.THREAD_PRIORITY_BACKGROUND, in startNetworkLogging() 113 mHandlerThread.start(); in startNetworkLogging() 114 mNetworkLoggingHandler = new NetworkLoggingHandler(mHandlerThread.getLooper(), in startNetworkLogging() 146 if (mHandlerThread != null) { in stopNetworkLogging() 147 mHandlerThread.quitSafely(); in stopNetworkLogging()
|
/frameworks/base/core/java/android/speech/tts/ |
D | AudioPlaybackHandler.java | 29 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/base/packages/Osu2/src/com/android/osu/ |
D | ProvisionService.java | 40 private final HandlerThread mHandlerThread; field in ProvisionService 50 mHandlerThread = new HandlerThread(TAG); in ProvisionService() 51 mHandlerThread.start(); in ProvisionService() 52 mServiceHandler = new ServiceHandler(mHandlerThread.getLooper()); in ProvisionService()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableLooper.java | 219 private HandlerThread mHandlerThread; field in TestableLooper.LooperFrameworkMethod 303 mHandlerThread = new HandlerThread(TestableLooper.class.getSimpleName()); in createLooper() 304 mHandlerThread.start(); in createLooper() 305 return mHandlerThread.getLooper(); in createLooper() 311 if (mHandlerThread != null) { in finalize() 312 mHandlerThread.quit(); in finalize()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsRttTextHandlerTest.java | 70 HandlerThread mHandlerThread; field in ImsRttTextHandlerTest 80 mHandlerThread = new HandlerThread("TestImsRttTextHandler"); in setUp() 81 mHandlerThread.start(); in setUp() 82 mRttTextHandler = new ImsRttTextHandler(mHandlerThread.getLooper(), mNetworkWriter); in setUp() 212 mHandlerThread.quit(); in tearDown()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/pip/phone/ |
D | PipTouchStateTest.java | 51 private HandlerThread mHandlerThread; field in PipTouchStateTest 57 mHandlerThread = new HandlerThread("PipTouchStateTestThread"); in setUp() 58 mHandlerThread.start(); in setUp() 59 mHandler = new Handler(mHandlerThread.getLooper()); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | CallbackHandlerTest.java | 48 private HandlerThread mHandlerThread; field in CallbackHandlerTest 57 mHandlerThread = new HandlerThread("TestThread"); in setUp() 58 mHandlerThread.start(); in setUp() 59 mHandler = new CallbackHandler(mHandlerThread.getLooper()); in setUp() 194 mHandlerThread.quitSafely(); in waitForCallbacks() 196 mHandlerThread.join(); in waitForCallbacks()
|
/frameworks/base/media/java/android/media/ |
D | MediaCas.java | 99 private HandlerThread mHandlerThread; field in MediaCas 421 if (mHandlerThread == null || !mHandlerThread.isAlive()) { in setEventListener() 422 mHandlerThread = new HandlerThread("MediaCasEventThread", in setEventListener() 424 mHandlerThread.start(); in setEventListener() 426 looper = mHandlerThread.getLooper(); in setEventListener()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/plugins/ |
D | PluginInstanceManagerTest.java | 70 private HandlerThread mHandlerThread; field in PluginInstanceManagerTest 80 mHandlerThread = new HandlerThread("test_thread"); in setup() 81 mHandlerThread.start(); in setup() 90 mMockListener, true, mHandlerThread.getLooper(), mMockVersionInfo, in setup() 98 mHandlerThread.quit(); in tearDown() 188 mMockListener, true, mHandlerThread.getLooper(), mMockVersionInfo, in testNonDebuggable()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | UsimDataDownloadTest.java.broken | 60 private TestHandlerThread mHandlerThread; 67 mHandlerThread = new TestHandlerThread(); 68 mHandlerThread.start(); 69 mHandler = mHandlerThread.getHandler(); 75 mHandlerThread.quit();
|
/frameworks/opt/net/lowpan/service/java/com/android/server/lowpan/ |
D | LowpanServiceImpl.java | 47 private final HandlerThread mHandlerThread = new HandlerThread("LowpanServiceThread"); field in LowpanServiceImpl 55 Looper looper = mHandlerThread.getLooper(); in getLooper() 57 mHandlerThread.start(); in getLooper() 58 looper = mHandlerThread.getLooper(); in getLooper()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityTestsBase.java | 54 private HandlerThread mHandlerThread; field in ActivityTestsBase 63 mHandlerThread = new HandlerThread("ActivityTestsBaseThread"); in setUp() 64 mHandlerThread.start(); in setUp() 69 mHandlerThread.quitSafely(); in tearDown() 152 return new TestActivityStackSupervisor(this, mHandlerThread.getLooper()); in createStackSupervisor()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
D | ModelInterpreter.java | 154 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | AsyncSensorManager.java | 49 private final HandlerThread mHandlerThread = new HandlerThread("async_sensor"); field in AsyncSensorManager 54 mHandlerThread.start(); in AsyncSensorManager() 55 mHandler = new Handler(mHandlerThread.getLooper()); in AsyncSensorManager()
|
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/ |
D | UsbDeviceStateController.java | 50 private final HandlerThread mHandlerThread; field in UsbDeviceStateController 65 mHandlerThread = new HandlerThread(TAG); in UsbDeviceStateController() 66 mHandlerThread.start(); in UsbDeviceStateController() 68 mHandler = new UsbStateHandler(mHandlerThread.getLooper()); in UsbDeviceStateController() 86 mHandlerThread.quit(); in release()
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
D | UiAutomatorTestRunner.java | 76 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | ConnectivityServiceMock.java | 110 private final HandlerThread mHandlerThread; field in ConnectivityServiceMock 122 mHandlerThread = new HandlerThread("ConnectivityServiceMock"); in ConnectivityServiceMock() 123 mHandlerThread.start(); in ConnectivityServiceMock() 124 mHandler = new InternalHandler(mHandlerThread.getLooper()); in ConnectivityServiceMock() 125 mTrackerHandler = new NetworkStateTrackerHandler(mHandlerThread.getLooper()); in ConnectivityServiceMock() 130 if (mHandlerThread != null) { in die() 131 mHandlerThread.quit(); in die()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraDeviceBinderTest.java | 75 private HandlerThread mHandlerThread; field in CameraDeviceBinderTest 241 mHandlerThread = new HandlerThread(TAG); in setUp() 242 mHandlerThread.start(); in setUp() 243 mHandler = new Handler(mHandlerThread.getLooper()); in setUp() 255 mHandlerThread.quitSafely(); in tearDown()
|
/frameworks/base/services/core/java/com/android/server/camera/ |
D | CameraServiceProxy.java | 81 private final ServiceThread mHandlerThread; field in CameraServiceProxy 184 mHandlerThread = new ServiceThread(TAG, Process.THREAD_PRIORITY_DISPLAY, /*allowTo*/false); in CameraServiceProxy() 185 mHandlerThread.start(); in CameraServiceProxy() 186 mHandler = new Handler(mHandlerThread.getLooper(), this); in CameraServiceProxy()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | CameraDeviceUserShim.java | 211 private final HandlerThread mHandlerThread; field in CameraDeviceUserShim.CameraCallbackThread 219 mHandlerThread = new HandlerThread("LegacyCameraCallback"); in CameraCallbackThread() 220 mHandlerThread.start(); in CameraCallbackThread() 224 mHandlerThread.quitSafely(); in close() 289 mHandler = new CallbackHandler(mHandlerThread.getLooper()); in getHandler()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | Camera2SurfaceViewTestCase.java | 112 protected HandlerThread mHandlerThread; field in Camera2SurfaceViewTestCase 166 mHandlerThread = new HandlerThread(TAG); in setUp() 167 mHandlerThread.start(); in setUp() 168 mHandler = new Handler(mHandlerThread.getLooper()); in setUp() 186 mHandlerThread.quitSafely(); in tearDown()
|