Home
last modified time | relevance | path

Searched refs:mWorkHandler (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java129 @VisibleForTesting Handler mWorkHandler; field in WifiTracker
267 mWorkHandler = new Handler(workThread.getLooper()); in setWorkThread()
268 mScoreCache = new WifiNetworkScoreCache(mContext, new CacheListener(mWorkHandler) { in setWorkThread()
345 mContext.registerReceiver(mReceiver, mFilter, null /* permission */, mWorkHandler); in onStart()
349 mNetworkRequest, mNetworkCallback, mWorkHandler); in onStart()
409 mWorkHandler.removeCallbacksAndMessages(null /* remove all */); in onStop()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java436 tracker.mWorkHandler.post(() -> workerLatch.countDown()); in waitForHandlersToProcessCurrentlyEnqueuedMessages()
827 tracker.mWorkHandler.post(() -> { in stopTrackingShouldRemoveAllPendingWork()
839 tracker.mWorkHandler.post(() -> executed.set(true)); in stopTrackingShouldRemoveAllPendingWork()
850 assertThat(tracker.mWorkHandler.hasMessagesOrCallbacks()).isFalse(); in stopTrackingShouldRemoveAllPendingWork()
863 tracker.mWorkHandler.post(() -> { in stopTrackingShouldPreventCallbacksFromOngoingWork()