Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java556 assertEquals(1, mCM.legacyTypeMap.size()); in assertUpstreamTypeRequested()
558 mCM.legacyTypeMap.values().iterator().next()); in assertUpstreamTypeRequested()
576 public Map<NetworkCallback, Integer> legacyTypeMap = new HashMap<>(); field in UpstreamNetworkMonitorTest.TestConnectivityManager
589 && legacyTypeMap.isEmpty(); in hasNoCallbacks()
597 && legacyTypeMap.isEmpty(); in onlyHasDefaultCallbacks()
658 assertFalse(legacyTypeMap.containsKey(cb)); in requestNetwork()
660 legacyTypeMap.put(cb, legacyType); in requestNetwork()
695 legacyTypeMap.remove(cb); in unregisterNetworkCallback()