/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | UptimeTimer.java | 35 private final HandlerThread mHandlerThread; field in UptimeTimer 42 mHandlerThread = new HandlerThread(threadName); in UptimeTimer() 43 mHandlerThread.start(); in UptimeTimer() 45 mHandler = new Handler(mHandlerThread.getLooper()); in UptimeTimer() 58 mHandlerThread.quitSafely(); in quit()
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioVolumeGroupChangeHandler.java | 39 private HandlerThread mHandlerThread; field in AudioVolumeGroupChangeHandler 63 mHandlerThread = new HandlerThread(TAG); in init() 64 mHandlerThread.start(); in init() 66 if (mHandlerThread.getLooper() == null) { in init() 70 mHandler = new Handler(mHandlerThread.getLooper()) { in init() 113 if (mHandlerThread.isAlive()) { in finalize() 114 mHandlerThread.quit(); in finalize()
|
/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 | 21 private final HandlerThread mHandlerThread = new HandlerThread(HANDLER_THREAD_NAME); field in UiAutomationShellWrapper 26 if (mHandlerThread.isAlive()) { in connect() 29 mHandlerThread.start(); in connect() 34 mUiAutomation = new UiAutomation(mHandlerThread.getLooper(), in connect() 67 if (!mHandlerThread.isAlive()) { in disconnect() 71 mHandlerThread.quit(); in disconnect()
|
/frameworks/base/media/java/android/media/ |
D | AudioPortEventHandler.java | 38 private HandlerThread mHandlerThread; field in AudioPortEventHandler 67 mHandlerThread = new HandlerThread(TAG); in init() 68 mHandlerThread.start(); in init() 70 if (mHandlerThread.getLooper() != null) { in init() 71 mHandler = new Handler(mHandlerThread.getLooper()) { in init() 155 if (mHandlerThread.isAlive()) { in finalize() 156 mHandlerThread.quit(); in finalize()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | NetworkWatchlistServiceTests.java | 124 ServiceThread mHandlerThread; field in NetworkWatchlistServiceTests 130 mHandlerThread = new ServiceThread("NetworkWatchlistServiceTests", in setUp() 132 mHandlerThread.start(); in setUp() 134 mHandlerThread.getLooper()); in setUp() 136 mHandlerThread, mWatchlistHandler, null); in setUp() 141 mHandlerThread.quitSafely(); in tearDown() 188 mHandlerThread.getLooper()) { in testNetworkEvents() 214 mHandlerThread.getLooper()) { in testNetworkEvents()
|
/frameworks/base/tests/Input/src/com/android/test/input/ |
D | PointerEventDispatcherTest.kt | 42 private val mHandlerThread = HandlerThread("Process input events") constant 51 mHandlerThread.start() in setUp() 52 val looper = mHandlerThread.getLooper() in setUp() 61 mHandlerThread.quitSafely() in tearDown()
|
D | InputEventSenderAndReceiverTest.kt | 64 private val mHandlerThread = HandlerThread("Process input events") constant in InputEventSenderAndReceiverTest 71 mHandlerThread.start() in setUp() 73 val looper = mHandlerThread.getLooper() in setUp() 80 mHandlerThread.quitSafely() in tearDown() 133 val sender = SpyInputEventSender(channels[0], mHandlerThread.getLooper()) in testCrashingReceiverDoesNotCrash()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeUiTest.java | 72 private HandlerThread mHandlerThread; field in DozeUiTest 82 mHandlerThread = new HandlerThread("DozeUiTest"); in setUp() 83 mHandlerThread.start(); in setUp() 85 mHandler = mHandlerThread.getThreadHandler(); in setUp() 95 mHandlerThread.quit(); in tearDown() 97 mHandlerThread = null; in tearDown()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | NetworkLogger.java | 56 private ServiceThread mHandlerThread; field in NetworkLogger 134 mHandlerThread = new ServiceThread(TAG, Process.THREAD_PRIORITY_BACKGROUND, in startNetworkLogging() 136 mHandlerThread.start(); in startNetworkLogging() 137 mNetworkLoggingHandler = new NetworkLoggingHandler(mHandlerThread.getLooper(), in startNetworkLogging() 170 if (mHandlerThread != null) { in stopNetworkLogging() 171 mHandlerThread.quitSafely(); in stopNetworkLogging()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/internal/ |
D | BackupHandlerTest.java | 52 private HandlerThread mHandlerThread; field in BackupHandlerTest 63 mHandlerThread = new HandlerThread("BackupHandlerTestThread"); in setUp() 64 mHandlerThread.start(); in setUp() 69 mHandlerThread.quit(); in tearDown() 118 super(mUserBackupManagerService, mOperationStorage, mHandlerThread); in TestBackupHandler()
|
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/ |
D | TimeDetectorInternalImplTest.java | 56 private HandlerThread mHandlerThread; field in TimeDetectorInternalImplTest 69 mHandlerThread = new HandlerThread("TimeDetectorInternalTest"); in setUp() 70 mHandlerThread.start(); in setUp() 71 mTestHandler = new TestHandler(mHandlerThread.getLooper()); in setUp() 84 mHandlerThread.quit(); in tearDown() 85 mHandlerThread.join(); in tearDown()
|
/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/core/tests/coretests/BinderProxyCountingTestService/src/com/android/frameworks/coretests/binderproxycountingtestservice/ |
D | BpcTestServiceCmdService.java | 36 HandlerThread mHandlerThread; field in BpcTestServiceCmdService 108 mHandlerThread = new HandlerThread("BinderProxyCountingServiceThread"); in onCreate() 109 mHandlerThread.start(); in onCreate() 110 mHandler = new Handler(mHandlerThread.getLooper()); in onCreate()
|
/frameworks/base/telephony/java/android/telephony/gba/ |
D | GbaService.java | 75 private final HandlerThread mHandlerThread; field in GbaService 85 mHandlerThread = new HandlerThread(TAG); in GbaService() 86 mHandlerThread.start(); in GbaService() 88 mHandler = new GbaServiceHandler(mHandlerThread.getLooper()); in GbaService() 215 mHandlerThread.quit(); in onDestroy()
|
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/ |
D | TimeZoneDetectorInternalImplTest.java | 67 private HandlerThread mHandlerThread; field in TimeZoneDetectorInternalImplTest 79 mHandlerThread = new HandlerThread("TimeZoneDetectorInternalTest"); in setUp() 80 mHandlerThread.start(); in setUp() 81 mTestHandler = new TestHandler(mHandlerThread.getLooper()); in setUp() 93 mHandlerThread.quit(); in tearDown() 94 mHandlerThread.join(); in tearDown()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsRttTextHandlerTest.java | 81 HandlerThread mHandlerThread; field in ImsRttTextHandlerTest 91 mHandlerThread = new HandlerThread("TestImsRttTextHandler"); in setUp() 92 mHandlerThread.start(); in setUp() 93 mRttTextHandler = new ImsRttTextHandler(mHandlerThread.getLooper(), mNetworkWriter); in setUp() 272 mHandlerThread.quit(); in tearDown() 273 mHandlerThread.join(); in tearDown() 278 mHandlerThread = null; in tearDown()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | DeviceStateHelper.java | 38 HandlerThread mHandlerThread = new HandlerThread("DeviceStateHelperThread"); in DeviceStateHelper() local 39 mHandlerThread.start(); in DeviceStateHelper() 42 new HandlerExecutor(new Handler(mHandlerThread.getLooper())), in DeviceStateHelper()
|
D | VonrHelper.java | 47 HandlerThread mHandlerThread = new HandlerThread("VonrHelperThread"); in VonrHelper() local 48 mHandlerThread.start(); in VonrHelper() 49 mHandler = new Handler(mHandlerThread.getLooper()); in VonrHelper()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SmsPermissionsTest.java | 48 private HandlerThread mHandlerThread; field in SmsPermissionsTest 67 mHandlerThread = new HandlerThread("IccSmsInterfaceManagerTest"); in setUp() 68 mHandlerThread.start(); in setUp() 70 new Handler(mHandlerThread.getLooper()).post(() -> { in setUp() 95 mHandlerThread.quit(); in tearDown() 96 mHandlerThread.join(); in tearDown() 97 mHandlerThread = null; in tearDown()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ |
D | CallbackHandlerTest.java | 50 private HandlerThread mHandlerThread; field in CallbackHandlerTest 59 mHandlerThread = new HandlerThread("TestThread"); in setUp() 60 mHandlerThread.start(); in setUp() 61 mHandler = new CallbackHandler(mHandlerThread.getLooper()); in setUp() 192 mHandlerThread.quitSafely(); in waitForCallbacks() 194 mHandlerThread.join(); in waitForCallbacks()
|
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/location/ |
D | HandlerThreadingDomainTest.java | 44 private HandlerThread mHandlerThread; field in HandlerThreadingDomainTest 49 mHandlerThread = new HandlerThread("HandlerThreadingDomainTest"); in setUp() 50 mHandlerThread.start(); in setUp() 51 mTestHandler = new Handler(mHandlerThread.getLooper()); in setUp() 56 mHandlerThread.quit(); in tearDown() 57 mHandlerThread.join(); in tearDown()
|
/frameworks/base/telephony/java/android/telephony/ |
D | NetworkService.java | 71 private final HandlerThread mHandlerThread; field in NetworkService 225 mHandlerThread = new HandlerThread(TAG); in NetworkService() 226 mHandlerThread.start(); in NetworkService() 228 mHandler = new NetworkServiceHandler(mHandlerThread.getLooper()); in NetworkService() 268 mHandlerThread.quitSafely(); in onDestroy()
|
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/ |
D | EabBulkCapabilityUpdaterTest.java | 57 private HandlerThread mHandlerThread; field in EabBulkCapabilityUpdaterTest 78 mHandlerThread = new HandlerThread("TestThread"); in setUp() 79 mHandlerThread.start(); in setUp() 80 mHandler = mHandlerThread.getThreadHandler(); in setUp() 92 mHandlerThread.quit(); in tearDown()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | NetworkWatchlistService.java | 105 private final ServiceThread mHandlerThread; field in NetworkWatchlistService 115 mHandlerThread = new ServiceThread(TAG, Process.THREAD_PRIORITY_BACKGROUND, in NetworkWatchlistService() 117 mHandlerThread.start(); in NetworkWatchlistService() 119 mHandlerThread.getLooper()); in NetworkWatchlistService() 129 mHandlerThread = handlerThread; in NetworkWatchlistService()
|