Searched refs:netIdToNetworkInfo (Results 1 – 1 of 1) sorted by relevance
41 private final Map<Integer, NetworkInfo> netIdToNetworkInfo = new HashMap<>(); field in ShadowConnectivityManager65 netIdToNetworkInfo.put(NET_ID_WIFI, wifi); in ShadowConnectivityManager()66 netIdToNetworkInfo.put(NET_ID_MOBILE, mobile); in ShadowConnectivityManager()156 return netIdToNetworkInfo.get(shadowNetwork.getNetId()); in getNetworkInfo()239 netIdToNetworkInfo.put(info.getType(), info); in setActiveNetworkInfo()264 netIdToNetworkInfo.put(netId, networkInfo); in addNetwork()275 netIdToNetworkInfo.remove(netId); in removeNetwork()283 netIdToNetworkInfo.clear(); in clearAllNetworks()