Searched refs:mLegacyTypeMap (Results 1 – 2 of 2) sorted by relevance
77 final Map<NetworkCallback, Integer> mLegacyTypeMap = new ArrayMap<>(); field in TestConnectivityManager115 && 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()
593 assertEquals(1, mCM.mLegacyTypeMap.size()); in assertUpstreamTypeRequested()595 mCM.mLegacyTypeMap.values().iterator().next()); in assertUpstreamTypeRequested()