Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java571 public Map<NetworkCallback, Handler> allCallbacks = new HashMap<>(); field in UpstreamNetworkMonitorTest.TestConnectivityManager
585 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 …]