Home
last modified time | relevance | path

Searched refs:mAvailableInterfaces (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java96 private final ArrayMap<String, IpConfiguration> mAvailableInterfaces = new ArrayMap<>(); field in ConnectivityListener
124 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()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DConnectivityListener.java95 private final ArrayMap<String, IpConfiguration> mAvailableInterfaces = new ArrayMap<>(); field in ConnectivityListener
118 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()
/packages/apps/Settings/src/com/android/settings/network/
DTetherEnabler.java92 mAvailableInterfaces.put(iface, configuration); in onInterfaceStateChanged()
94 mAvailableInterfaces.remove(iface, configuration); in onInterfaceStateChanged()
139 private final ConcurrentHashMap<String, IpConfiguration> mAvailableInterfaces = field in TetherEnabler
273 if (mAvailableInterfaces.containsKey(s)) { in getTetheringState()
/packages/apps/Settings/src/com/android/settings/network/tether/
DTetherSettings.java115 private final HashSet<String> mAvailableInterfaces = new HashSet<>(); field in TetherSettings
537 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()