/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningManagerHelper.java | 57 private HandlerThread mHandlerThread; field in ProvisioningManagerHelper 65 if (mHandlerThread == null) { in startNewProvisioningLocked() 66 mHandlerThread = new HandlerThread( in startNewProvisioningLocked() 68 mHandlerThread.start(); in startNewProvisioningLocked() 74 controller.start(mHandlerThread.getLooper()); in startNewProvisioningLocked() 140 if (mHandlerThread != null) { in clearResourcesLocked() 141 mHandlerThread.quitSafely(); in clearResourcesLocked() 142 mHandlerThread = null; in clearResourcesLocked()
|
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/ |
D | IncomingCallFilterGraph.java | 49 private final HandlerThread mHandlerThread; field in IncomingCallFilterGraph 79 mHandlerThread.quit(); in whenDone() 91 mHandlerThread = new HandlerThread(TAG); in IncomingCallFilterGraph() 92 mHandlerThread.start(); in IncomingCallFilterGraph() 93 mHandler = new Handler(mHandlerThread.getLooper()); in IncomingCallFilterGraph() 127 mHandlerThread.quit(); in performFiltering() 172 return mHandlerThread; in getHandlerThread()
|
D | BlockCheckerFilter.java | 46 private HandlerThread mHandlerThread; field in BlockCheckerFilter 59 mHandlerThread = new HandlerThread(TAG); in BlockCheckerFilter() 60 mHandlerThread.start(); in BlockCheckerFilter() 61 mHandler = new Handler(mHandlerThread.getLooper()); in BlockCheckerFilter() 148 mHandlerThread.quitSafely(); in completeResult()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | ActiveDeviceManager.java | 116 private HandlerThread mHandlerThread = null; field in ActiveDeviceManager 379 mHandlerThread = new HandlerThread("BluetoothActiveDeviceManager"); in start() 380 mHandlerThread.start(); in start() 381 mHandler = new ActiveDeviceManagerHandler(mHandlerThread.getLooper()); in start() 402 if (mHandlerThread != null) { in cleanup() 403 mHandlerThread.quit(); in cleanup() 404 mHandlerThread = null; in cleanup() 417 if (mHandlerThread == null) { in getHandlerLooper() 420 return mHandlerThread.getLooper(); in getHandlerLooper()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pbap/ |
D | PbapStateMachineTest.java | 55 private HandlerThread mHandlerThread; field in PbapStateMachineTest 76 mHandlerThread = new HandlerThread("PbapTestHandlerThread"); in setUp() 77 mHandlerThread.start(); in setUp() 78 mHandler = new Handler(mHandlerThread.getLooper()); in setUp() 81 mPbapStateMachine = PbapStateMachine.make(mBluetoothPbapService, mHandlerThread.getLooper(), in setUp() 90 mHandlerThread.quitSafely(); in tearDown()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | ObexRejectServer.java | 43 private final HandlerThread mHandlerThread; field in ObexRejectServer 56 mHandlerThread = new HandlerThread("TestTimeoutHandler", in ObexRejectServer() 58 mHandlerThread.start(); in ObexRejectServer() 59 Looper timeoutLooper = mHandlerThread.getLooper(); in ObexRejectServer() 76 mHandlerThread.quit(); in shutdown()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | ProcessingTaskController.java | 31 private HandlerThread mHandlerThread = null; field in ProcessingTaskController 67 mHandlerThread = new HandlerThread("ProcessingTaskController", in ProcessingTaskController() 69 mHandlerThread.start(); in ProcessingTaskController() 70 mProcessingHandler = new Handler(mHandlerThread.getLooper(), this); in ProcessingTaskController() 95 mHandlerThread.quit(); in quit()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningControllerBaseTest.java | 40 private HandlerThread mHandlerThread; field in ProvisioningControllerBaseTest 51 mHandlerThread = new HandlerThread("TestHandler"); in setUp() 52 mHandlerThread.start(); in setUp() 53 mHandler = new FakeTaskHandler(mHandlerThread.getLooper()); in setUp() 58 mHandlerThread.quitSafely(); in tearDown()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | ReadableArchive.java | 71 private HandlerThread mHandlerThread; field in ReadableArchive 176 mHandlerThread = new HandlerThread(TAG); in ReadableArchive() 177 mHandlerThread.start(); in ReadableArchive() 178 mHandler = new Handler(mHandlerThread.getLooper()); in ReadableArchive() 363 if (mHandlerThread != null) { in close() 364 mHandlerThread.quitSafely(); in close() 365 mHandlerThread = null; in close()
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | UsbDeviceHandlerResolver.java | 71 private final HandlerThread mHandlerThread; field in UsbDeviceHandlerResolver 80 mHandlerThread = new HandlerThread(TAG); in UsbDeviceHandlerResolver() 81 mHandlerThread.start(); in UsbDeviceHandlerResolver() 82 mHandler = new UsbDeviceResolverHandler(mHandlerThread.getLooper()); in UsbDeviceHandlerResolver() 91 if (mHandlerThread != null) { in release() 92 mHandlerThread.quitSafely(); in release() 128 mHandlerThread.getThreadHandler().post(() -> { in dispatch()
|
D | AoapServiceManager.java | 65 private final HandlerThread mHandlerThread; field in AoapServiceManager 71 mHandlerThread = new HandlerThread(TAG); in AoapServiceManager() 72 mHandlerThread.start(); in AoapServiceManager() 74 mHandler = new Handler(mHandlerThread.getLooper()) { in AoapServiceManager() 136 connection = new AoapServiceConnection(name, this, mHandlerThread.getLooper()); in getConnectionOrNull()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | PbapClientStateMachine.java | 100 private HandlerThread mHandlerThread = null; field in PbapClientStateMachine 154 mHandlerThread = in enter() 156 mHandlerThread.start(); in enter() 158 new PbapClientConnectionHandler.Builder().setLooper(mHandlerThread.getLooper()) in enter() 268 mHandlerThread.quitSafely(); in processMessage() 359 if (mHandlerThread != null) { in doQuit() 360 mHandlerThread.quitSafely(); in doQuit()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/ |
D | UserPresetsManager.java | 18 private HandlerThread mHandlerThread = null; field in UserPresetsManager 62 mHandlerThread = new HandlerThread(LOGTAG, in UserPresetsManager() 64 mHandlerThread.start(); in UserPresetsManager() 65 mProcessingHandler = new Handler(mHandlerThread.getLooper(), this); in UserPresetsManager() 81 mHandlerThread.quit(); in close()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | StartManagedProfileTaskTest.java | 70 private HandlerThread mHandlerThread; field in StartManagedProfileTaskTest 79 mHandlerThread = new HandlerThread("Test thread"); in setUp() 80 mHandlerThread.start(); in setUp() 93 mHandlerThread.quitSafely(); in tearDown() 105 new Handler(mHandlerThread.getLooper()).post(() -> mTask.run(TEST_USER_ID)); in testSuccess()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachineTest.java | 51 private HandlerThread mHandlerThread; field in HeadsetClientStateMachineTest 93 mHandlerThread = new HandlerThread("HeadsetClientStateMachineTestHandlerThread"); in setUp() 94 mHandlerThread.start(); in setUp() 97 new HeadsetClientStateMachine(mHeadsetClientService, mHandlerThread.getLooper(), in setUp() 100 TestUtils.waitForLooperToFinishScheduledTask(mHandlerThread.getLooper()); in setUp() 108 TestUtils.waitForLooperToFinishScheduledTask(mHandlerThread.getLooper()); in tearDown() 110 mHandlerThread.quit(); in tearDown() 300 TestUtils.waitForLooperToFinishScheduledTask(mHandlerThread.getLooper()); in testInBandRingtone() 302 TestUtils.waitForLooperToFinishScheduledTask(mHandlerThread.getLooper()); in testInBandRingtone() 326 TestUtils.waitForLooperToFinishScheduledTask(mHandlerThread.getLooper()); in testInBandRingtone()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransfer.java | 98 private HandlerThread mHandlerThread; field in BluetoothOppTransfer 477 if (mHandlerThread == null) { in start() 481 mHandlerThread = in start() 483 mHandlerThread.start(); in start() 484 mSessionHandler = new EventHandler(mHandlerThread.getLooper()); in start() 531 if (mHandlerThread != null) { in stop() 532 mHandlerThread.quit(); in stop() 533 mHandlerThread.interrupt(); in stop() 534 mHandlerThread = null; in stop()
|
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/ |
D | EmbmsTestStreamingService.java | 59 private HandlerThread mHandlerThread; field in EmbmsTestStreamingService 193 mHandlerThread.quitSafely(); in onDestroy() 200 mHandlerThread = new HandlerThread("EmbmsTestStreamingServiceWorker"); in onBind() 201 mHandlerThread.start(); in onBind() 202 mHandler = new Handler(mHandlerThread.getLooper(), mWorkerCallback); in onBind()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetPhoneStateTest.java | 60 private HandlerThread mHandlerThread; field in HeadsetPhoneStateTest 83 mHandlerThread = new HandlerThread("HeadsetStateMachineTestHandlerThread"); in setUp() 84 mHandlerThread.start(); in setUp() 85 when(mHeadsetService.getStateMachinesThreadLooper()).thenReturn(mHandlerThread.getLooper()); in setUp() 92 mHandlerThread.quit(); in tearDown()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | SilenceDeviceManagerTest.java | 56 private HandlerThread mHandlerThread; field in SilenceDeviceManagerTest 80 mHandlerThread = new HandlerThread("SilenceManagerTestHandlerThread"); in setUp() 81 mHandlerThread.start(); in setUp() 82 mLooper = mHandlerThread.getLooper(); in setUp() 91 mHandlerThread.quit(); in tearDown()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/ |
D | HearingAidStateMachineTest.java | 52 private HandlerThread mHandlerThread; field in HearingAidStateMachineTest 77 mHandlerThread = new HandlerThread("HearingAidStateMachineTestHandlerThread"); in setUp() 78 mHandlerThread.start(); in setUp() 80 mHearingAidNativeInterface, mHandlerThread.getLooper()); in setUp() 93 mHandlerThread.quit(); in tearDown()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarBugreportManagerService.java | 86 private HandlerThread mHandlerThread; field in CarBugreportManagerService 101 mHandlerThread = new HandlerThread(TAG); in init() 102 mHandlerThread.start(); in init() 103 mHandler = new Handler(mHandlerThread.getLooper()); in init() 108 mHandlerThread.quitSafely(); in release()
|
D | AppFocusService.java | 58 private HandlerThread mHandlerThread; field in AppFocusService 214 mHandlerThread = new HandlerThread(AppFocusService.class.getSimpleName()); in init() 215 mHandlerThread.start(); in init() 216 mDispatchHandler = new DispatchHandler(mHandlerThread.getLooper()); in init() 223 mHandlerThread.quitSafely(); in release() 225 mHandlerThread.join(1000); in release()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | Profile.java | 57 private HandlerThread mHandlerThread; field in Profile.Watchdog 71 mHandlerThread = new HandlerThread("Watchdog Handler", in Watchdog() 73 mHandlerThread.start(); in Watchdog() 74 mHandler = new Handler(mHandlerThread.getLooper()); in Watchdog()
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | NotificationService.java | 103 private HandlerThread mHandlerThread; field in NotificationService 154 mHandlerThread = new HandlerThread("tv notification"); in onCreate() 155 mHandlerThread.start(); in onCreate() 156 mHandler = new NotificationHandler(mHandlerThread.getLooper(), this); in onCreate() 228 if (mHandlerThread != null) { in onDestroy() 229 mHandlerThread.quit(); in onDestroy() 230 mHandlerThread = null; in onDestroy()
|
/packages/services/Telephony/testapps/EmbmsTestStreamingApp/src/com/android/phone/testapps/embmsfrontend/ |
D | EmbmsTestStreamingApp.java | 134 private HandlerThread mHandlerThread; field in EmbmsTestStreamingApp 147 mHandlerThread = new HandlerThread("EmbmsSampleFrontendWorker"); in onCreate() 148 mHandlerThread.start(); in onCreate() 149 mHandler = new Handler(mHandlerThread.getLooper()); in onCreate() 242 mHandlerThread.quit(); in onDestroy()
|