Searched refs:mWorkHandler (Results 1 – 2 of 2) sorted by relevance
120 @VisibleForTesting Handler mWorkHandler; field in WifiTracker258 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()
436 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()