Home
last modified time | relevance | path

Searched refs:allCallbacks (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitorTest.java560 public Map<NetworkCallback, Handler> allCallbacks = new HashMap<>(); field in UpstreamNetworkMonitorTest.TestConnectivityManager
574 return allCallbacks.isEmpty() in hasNoCallbacks()
582 return (allCallbacks.size() == 1) in onlyHasDefaultCallbacks()
631 assertFalse(allCallbacks.containsKey(cb)); in requestNetwork()
632 allCallbacks.put(cb, h); in requestNetwork()
650 assertFalse(allCallbacks.containsKey(cb)); in requestNetwork()
651 allCallbacks.put(cb, h); in requestNetwork()
662 assertFalse(allCallbacks.containsKey(cb)); in registerNetworkCallback()
663 allCallbacks.put(cb, h); in registerNetworkCallback()
695 allCallbacks.remove(cb); in unregisterNetworkCallback()
[all …]