Searched refs:mAvailableInterfaces (Results 1 – 5 of 5) sorted by relevance
38 private final HashSet<String> mAvailableInterfaces = new HashSet<>(); field in EthernetTetherPreferenceController53 mAvailableInterfaces.add(iface); in onStart()55 mAvailableInterfaces.remove(iface); in onStart()80 if (mAvailableInterfaces.contains(s)) { in shouldEnable()
92 mAvailableInterfaces.put(iface, configuration); in onInterfaceStateChanged()94 mAvailableInterfaces.remove(iface, configuration); in onInterfaceStateChanged()139 private final ConcurrentHashMap<String, IpConfiguration> mAvailableInterfaces = field in TetherEnabler272 if (mAvailableInterfaces.containsKey(s)) { in getTetheringState()
97 private final ArrayMap<String, IpConfiguration> mAvailableInterfaces = new ArrayMap<>(); field in ConnectivityListener125 mAvailableInterfaces.put(iface, configuration); in ConnectivityListener()127 mAvailableInterfaces.remove(iface); in ConnectivityListener()323 return isEthernetEnabled() && (mAvailableInterfaces.size() > 0); in isEthernetAvailable()376 if (mAvailableInterfaces.size() == 0) return null; in getEthernetInterfaceName()377 return mAvailableInterfaces.keyAt(0); in getEthernetInterfaceName()385 if (mAvailableInterfaces.size() == 0) return null; in getEthernetIpConfiguration()386 return mAvailableInterfaces.valueAt(0); in getEthernetIpConfiguration()
95 private final ArrayMap<String, IpConfiguration> mAvailableInterfaces = new ArrayMap<>(); field in ConnectivityListener117 mAvailableInterfaces.put(iface, configuration); in ConnectivityListener()119 mAvailableInterfaces.remove(iface); in ConnectivityListener()319 return isEthernetEnabled() && (mAvailableInterfaces.size() > 0); in isEthernetAvailable()371 if (mAvailableInterfaces.size() == 0) return null; in getEthernetInterfaceName()372 return mAvailableInterfaces.keyAt(0); in getEthernetInterfaceName()380 if (mAvailableInterfaces.size() == 0) return null; in getEthernetIpConfiguration()381 return mAvailableInterfaces.valueAt(0); in getEthernetIpConfiguration()
111 private final HashSet<String> mAvailableInterfaces = new HashSet<>(); field in TetherSettings491 if (mAvailableInterfaces.contains(s)) isAvailable = true; in updateEthernetState()495 if (mAvailableInterfaces.contains(s)) isTethered = true; in updateEthernetState()506 } else if (mAvailableInterfaces.size() > 0) { in updateEthernetState()661 mAvailableInterfaces.add(iface); in onInterfaceStateChanged()663 mAvailableInterfaces.remove(iface); in onInterfaceStateChanged()