Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTestConnectivityManager.java77 final Map<NetworkCallback, Integer> mLegacyTypeMap = new ArrayMap<>(); field in TestConnectivityManager
115 && mLegacyTypeMap.isEmpty(); in hasNoCallbacks()
123 && mLegacyTypeMap.isEmpty(); in onlyHasDefaultCallbacks()
236 assertFalse(mLegacyTypeMap.containsKey(cb)); in requestNetwork()
238 mLegacyTypeMap.put(cb, legacyType); in requestNetwork()
273 mLegacyTypeMap.remove(cb); in unregisterNetworkCallback()
344 for (Integer requestedLegacyType : cm.mLegacyTypeMap.values()) { in maybeSendConnectivityBroadcast()
DUpstreamNetworkMonitorTest.java593 assertEquals(1, mCM.mLegacyTypeMap.size()); in assertUpstreamTypeRequested()
595 mCM.mLegacyTypeMap.values().iterator().next()); in assertUpstreamTypeRequested()