Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitorTest.java146 assertEquals(1, mCM.trackingDefault.size()); in testDefaultNetworkIsTracked()
561 public Set<NetworkCallback> trackingDefault = new HashSet<>(); field in UpstreamNetworkMonitorTest.TestConnectivityManager
575 && trackingDefault.isEmpty() in hasNoCallbacks()
583 && (trackingDefault.size() == 1) in onlyHasDefaultCallbacks()
618 for (NetworkCallback cb : trackingDefault) { in makeDefaultNetwork()
634 assertFalse(trackingDefault.contains(cb)); in requestNetwork()
635 trackingDefault.add(cb); in requestNetwork()
685 if (trackingDefault.contains(cb)) { in unregisterNetworkCallback()
686 trackingDefault.remove(cb); in unregisterNetworkCallback()
698 assertFalse(trackingDefault.contains(cb)); in unregisterNetworkCallback()