Searched refs:mAvailableInterfaces (Results 1 – 4 of 4) sorted by relevance
96 private final ArrayMap<String, IpConfiguration> mAvailableInterfaces = new ArrayMap<>(); field in ConnectivityListener124 mAvailableInterfaces.put(iface, configuration); in ConnectivityListener()126 mAvailableInterfaces.remove(iface); in ConnectivityListener()289 return isEthernetEnabled() && (mAvailableInterfaces.size() > 0); in isEthernetAvailable()342 if (mAvailableInterfaces.size() == 0) return null; in getEthernetInterfaceName()343 return mAvailableInterfaces.keyAt(0); in getEthernetInterfaceName()351 if (mAvailableInterfaces.size() == 0) return null; in getEthernetIpConfiguration()352 return mAvailableInterfaces.valueAt(0); in getEthernetIpConfiguration()
95 private final ArrayMap<String, IpConfiguration> mAvailableInterfaces = new ArrayMap<>(); field in ConnectivityListener118 mAvailableInterfaces.put(iface, configuration); in ConnectivityListener()120 mAvailableInterfaces.remove(iface); in ConnectivityListener()320 return isEthernetEnabled() && (mAvailableInterfaces.size() > 0); in isEthernetAvailable()372 if (mAvailableInterfaces.size() == 0) return null; in getEthernetInterfaceName()373 return mAvailableInterfaces.keyAt(0); in getEthernetInterfaceName()381 if (mAvailableInterfaces.size() == 0) return null; in getEthernetIpConfiguration()382 return mAvailableInterfaces.valueAt(0); in getEthernetIpConfiguration()
92 mAvailableInterfaces.put(iface, configuration); in onInterfaceStateChanged()94 mAvailableInterfaces.remove(iface, configuration); in onInterfaceStateChanged()139 private final ConcurrentHashMap<String, IpConfiguration> mAvailableInterfaces = field in TetherEnabler273 if (mAvailableInterfaces.containsKey(s)) { in getTetheringState()
115 private final HashSet<String> mAvailableInterfaces = new HashSet<>(); field in TetherSettings537 if (mAvailableInterfaces.contains(s)) isAvailable = true; in updateEthernetState()541 if (mAvailableInterfaces.contains(s)) isTethered = true; in updateEthernetState()552 } else if (mAvailableInterfaces.size() > 0) { in updateEthernetState()720 mAvailableInterfaces.add(iface); in onInterfaceStateChanged()722 mAvailableInterfaces.remove(iface); in onInterfaceStateChanged()