Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitorTest.java554 assertEquals(1, mCM.legacyTypeMap.size()); in assertUpstreamTypeRequested()
556 mCM.legacyTypeMap.values().iterator().next()); in assertUpstreamTypeRequested()
565 public Map<NetworkCallback, Integer> legacyTypeMap = new HashMap<>(); field in UpstreamNetworkMonitorTest.TestConnectivityManager
578 && legacyTypeMap.isEmpty(); in hasNoCallbacks()
586 && legacyTypeMap.isEmpty(); in onlyHasDefaultCallbacks()
654 assertFalse(legacyTypeMap.containsKey(cb)); in requestNetwork()
656 legacyTypeMap.put(cb, legacyType); in requestNetwork()
691 legacyTypeMap.remove(cb); in unregisterNetworkCallback()