Searched refs:allCallbacks (Results 1 – 1 of 1) sorted by relevance
571 public Map<NetworkCallback, Handler> allCallbacks = new HashMap<>(); field in UpstreamNetworkMonitorTest.TestConnectivityManager585 return allCallbacks.isEmpty() in hasNoCallbacks()593 return (allCallbacks.size() == 1) in onlyHasDefaultCallbacks()635 assertFalse(allCallbacks.containsKey(cb)); in requestNetwork()636 allCallbacks.put(cb, h); in requestNetwork()654 assertFalse(allCallbacks.containsKey(cb)); in requestNetwork()655 allCallbacks.put(cb, h); in requestNetwork()666 assertFalse(allCallbacks.containsKey(cb)); in registerNetworkCallback()667 allCallbacks.put(cb, h); in registerNetworkCallback()699 allCallbacks.remove(cb); in unregisterNetworkCallback()[all …]