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.java120 @VisibleForTesting Handler mWorkHandler; field in WifiTracker
258 mWorkHandler = new Handler(workThread.getLooper()); in setWorkThread()
259 mScoreCache = new WifiNetworkScoreCache(mContext, new CacheListener(mWorkHandler) { in setWorkThread()
336 mContext.registerReceiver(mReceiver, mFilter, null /* permission */, mWorkHandler); in onStart()
340 mNetworkRequest, mNetworkCallback, mWorkHandler); in onStart()
400 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()
828 tracker.mWorkHandler.post(() -> { in stopTrackingShouldRemoveAllPendingWork()
840 tracker.mWorkHandler.post(() -> executed.set(true)); in stopTrackingShouldRemoveAllPendingWork()
851 assertThat(tracker.mWorkHandler.hasMessagesOrCallbacks()).isFalse(); in stopTrackingShouldRemoveAllPendingWork()
864 tracker.mWorkHandler.post(() -> { in stopTrackingShouldPreventCallbacksFromOngoingWork()