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