Searched refs:mWorkHandler (Results 1 – 2 of 2) sorted by relevance
118 @VisibleForTesting Handler mWorkHandler; field in WifiTracker256 mWorkHandler = new Handler(workThread.getLooper()); in setWorkThread()257 mScoreCache = new WifiNetworkScoreCache(mContext, new CacheListener(mWorkHandler) { in setWorkThread()334 mContext.registerReceiver(mReceiver, mFilter, null /* permission */, mWorkHandler); in onStart()338 mNetworkRequest, mNetworkCallback, mWorkHandler); in onStart()398 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()