Home
last modified time | relevance | path

Searched refs:workerThread (Results 1 – 8 of 8) sorted by relevance

/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSProfileDownloaderTest.java164 WorkerThread workerThread = new WorkerThread(runnable); in testDownloadSuccessCallback() local
165 workerThread.start(); in testDownloadSuccessCallback()
175 workerThread.exit(); in testDownloadSuccessCallback()
208 WorkerThread workerThread = new WorkerThread(runnable); in testDownloadFailureUnresolvableError() local
209 workerThread.start(); in testDownloadFailureUnresolvableError()
218 workerThread.exit(); in testDownloadFailureUnresolvableError()
250 WorkerThread workerThread = new WorkerThread(runnable); in testDownloadFailureMemoryFullError() local
251 workerThread.start(); in testDownloadFailureMemoryFullError()
261 workerThread.exit(); in testDownloadFailureMemoryFullError()
300 WorkerThread workerThread = new WorkerThread(runnable); in testDownloadFailureConnectionError() local
[all …]
DONSProfileActivatorTest.java511 WorkerThread workerThread = new WorkerThread(runnable); in testCalculateBackoffDelay() local
512 workerThread.start(); in testCalculateBackoffDelay()
522 workerThread.exit(); in testCalculateBackoffDelay()
695 WorkerThread workerThread = new WorkerThread(runnable); in testESIMDownloadFailureAndRetry() local
696 workerThread.start(); in testESIMDownloadFailureAndRetry()
723 workerThread.exit(); in testESIMDownloadFailureAndRetry()
/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiPickerRepository.kt42 workerThread: HandlerThread, callback: WifiPickerTracker.WifiPickerTrackerCallback in <lambda>()
44 { workerThread, callback -> in <lambda>() method
49 workerThread.getThreadHandler(), in <lambda>()
60 val workerThread = in connectedWifiEntryFlow() constant
65 workerThread.start() in connectedWifiEntryFlow()
80 tracker = createWifiPickerTracker(workerThread, callback) in connectedWifiEntryFlow()
86 workerThread.quit() in connectedWifiEntryFlow()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DBluetoothUpdateWorker.java120 final HandlerThread workerThread = new HandlerThread(TAG, in getInstance() local
122 workerThread.start(); in getInstance()
123 sHandler = new LoadBtManagerHandler(context, workerThread.getLooper()); in getInstance()
/packages/apps/Settings/src/com/android/settings/slices/
DSliceBackgroundWorker.java202 final HandlerThread workerThread = new HandlerThread("NotifySliceChangeHandler", in getInstance() local
204 workerThread.start(); in getInstance()
205 sHandler = new NotifySliceChangeHandler(workerThread.getLooper()); in getInstance()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DSettingsQCBackgroundWorker.java179 HandlerThread workerThread = new HandlerThread("NotifyQCItemChangeHandler", in getInstance() local
181 workerThread.start(); in getInstance()
182 sHandler = new NotifyQCItemChangeHandler(workerThread.getLooper()); in getInstance()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiPickerTrackerHelperTest.java107 final HandlerThread workerThread = mock(HandlerThread.class); in onDestroy_workerThreadQuit() local
108 mWifiPickerTrackerHelper.setWorkerThread(workerThread); in onDestroy_workerThreadQuit()
112 verify(workerThread).quit(); in onDestroy_workerThreadQuit()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiPickerTrackerHelper.java184 void setWorkerThread(@NonNull HandlerThread workerThread) { in setWorkerThread() argument
185 mWorkerThread = workerThread; in setWorkerThread()