Home
last modified time | relevance | path

Searched refs:handlerThread (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/
DRttCallPresenter.java44 private HandlerThread handlerThread; field in RttCallPresenter
121 if (handlerThread != null && handlerThread.isAlive()) { in startListenOnRemoteMessage()
125 handlerThread = new HandlerThread("RttCallRemoteMessageHandler"); in startListenOnRemoteMessage()
126 handlerThread.start(); in startListenOnRemoteMessage()
128 new RemoteMessageHandler(handlerThread.getLooper(), rttCall, rttCallScreen); in startListenOnRemoteMessage()
133 if (handlerThread != null && handlerThread.isAlive()) { in stopListenOnRemoteMessage()
134 handlerThread.quit(); in stopListenOnRemoteMessage()
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DRttChatBot.java56 private final HandlerThread handlerThread; field in RttChatBot
59 handlerThread = new HandlerThread("RttChatBot"); in RttChatBot()
60 handlerThread.start(); in RttChatBot()
61 messageHandler = new MessageHandler(handlerThread.getLooper(), rttTextStream); in RttChatBot()
75 if (handlerThread != null && handlerThread.isAlive()) { in stop()
76 handlerThread.quit(); in stop()
/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/
DHandlerUtilsTest.kt33 val handlerThread = HandlerThread("testHandler").apply { start() } in <lambda>() constant
38 handlerThread.waitForIdle(TIMEOUT_MS) in <lambda>()
55 handlerThread.threadHandler.post({ tempRunnable.memory.append("a"); }) in <lambda>()
56 handlerThread.threadHandler.post(tempRunnable) in <lambda>()
57 handlerThread.waitForIdle(TIMEOUT_MS) in <lambda>()
/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/exoplayer/tests/
DSampleSourceExtractorTest.java65 private HandlerThread handlerThread; field in SampleSourceExtractorTest
71 handlerThread = new HandlerThread("test"); in setUp()
87 handlerThread, in testTrickplayDisabled()
93 Looper handlerLooper = handlerThread.getLooper(); in testTrickplayDisabled()
155 handlerThread, in testDiskTooSlowTrickplayDisabled()
164 Looper handlerLooper = handlerThread.getLooper(); in testDiskTooSlowTrickplayDisabled()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpReachabilityMonitorTest.kt108 private val handlerThread = HandlerThread(IpReachabilityMonitorTest::class.simpleName) constant
109 private val handler by lazy { Handler(handlerThread.looper) } in <lambda>()
165 handlerThread.start() in setUp()
197 handlerThread.waitForIdle(TEST_TIMEOUT_MS) in tearDown()
199 handlerThread.quitSafely() in tearDown()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogicHandler.java71 final HandlerThread handlerThread = new HandlerThread( in InputLogicHandler() local
73 handlerThread.start(); in InputLogicHandler()
74 mNonUIThreadHandler = new Handler(handlerThread.getLooper(), this); in InputLogicHandler()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DIncomingCallFilterGraphTest.java90 HandlerThread handlerThread = new HandlerThread("TimeoutFilter"); in startFilterLookup() local
91 handlerThread.start(); in startFilterLookup()
92 Handler handler = new Handler(handlerThread.getLooper()); in startFilterLookup()
DTelecomSystemTest.java382 for (HandlerThread handlerThread : handlerThreads) { in tearDown()
383 handlerThread.quitSafely(); in tearDown()
/packages/services/Telecomm/src/com/android/server/telecom/
DConnectionServiceFocusManager.java283 HandlerThread handlerThread = new HandlerThread(TAG); in ConnectionServiceFocusManager() local
284 handlerThread.start(); in ConnectionServiceFocusManager()
285 mEventHandler = new FocusManagerHandler(handlerThread.getLooper()); in ConnectionServiceFocusManager()
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DRecordingScheduler.java123 HandlerThread handlerThread = new HandlerThread(HANDLER_THREAD_NAME); in createScheduler() local
124 handlerThread.start(); in createScheduler()
127 handlerThread.getLooper(), in createScheduler()
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DZappingTimeTest.java108 HandlerThread handlerThread = new HandlerThread(TAG); in setUp() local
109 handlerThread.start(); in setUp()
156 handlerThread.getLooper(), in setUp()
DZappingTimeTestExoV2.java108 HandlerThread handlerThread = new HandlerThread(TAG); in setUp() local
109 handlerThread.start(); in setUp()
156 handlerThread.getLooper(), in setUp()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DSampleChunkIoHelper.java188 HandlerThread handlerThread = new HandlerThread(TAG); in init() local
189 handlerThread.start(); in init()
190 mIoHandler = new Handler(handlerThread.getLooper(), this); in init()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DSampleChunkIoHelper.java190 HandlerThread handlerThread = new HandlerThread(TAG); in init() local
191 handlerThread.start(); in init()
192 mIoHandler = new Handler(handlerThread.getLooper(), this); in init()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerRecordingSessionWorker.java202 HandlerThread handlerThread = new HandlerThread(TAG); in TunerRecordingSessionWorker() local
203 handlerThread.start(); in TunerRecordingSessionWorker()
204 mHandler = new Handler(handlerThread.getLooper(), this); in TunerRecordingSessionWorker()
DTunerRecordingSessionWorkerExoV2.java202 HandlerThread handlerThread = new HandlerThread(TAG); in TunerRecordingSessionWorkerExoV2() local
203 handlerThread.start(); in TunerRecordingSessionWorkerExoV2()
204 mHandler = new Handler(handlerThread.getLooper(), this); in TunerRecordingSessionWorkerExoV2()
DTunerSessionWorkerExoV2.java287 HandlerThread handlerThread = new HandlerThread(TAG); in TunerSessionWorkerExoV2() local
288 handlerThread.start(); in TunerSessionWorkerExoV2()
289 mHandler = new Handler(handlerThread.getLooper(), this); in TunerSessionWorkerExoV2()
DTunerSessionWorker.java298 HandlerThread handlerThread = new HandlerThread(TAG); in TunerSessionWorker() local
299 handlerThread.start(); in TunerSessionWorker()
300 mHandler = new Handler(handlerThread.getLooper(), this); in TunerSessionWorker()