Home
last modified time | relevance | path

Searched refs:ifnames (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/Tethering/src/android/net/util/
DInterfaceSet.java29 public final Set<String> ifnames; field in InterfaceSet
36 ifnames = Collections.unmodifiableSet(nameSet); in InterfaceSet()
42 for (String ifname : ifnames) sj.add(ifname); in toString()
50 && ifnames.equals(((InterfaceSet) obj).ifnames); in equals()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/util/
DInterfaceSetTest.java35 assertEquals(2, set.ifnames.size()); in testNullNamesIgnored()
36 assertTrue(set.ifnames.contains("if1")); in testNullNamesIgnored()
37 assertTrue(set.ifnames.contains("if2")); in testNullNamesIgnored()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DHalDeviceManager.java1185 (WifiStatus status, ArrayList<String> ifnames) -> { in getAllChipInfo() argument
1188 ifaceNamesResp.value = ifnames; in getAllChipInfo()
1218 (WifiStatus status, ArrayList<String> ifnames) -> { in getAllChipInfo() argument
1221 ifaceNamesResp.value = ifnames; in getAllChipInfo()
1251 (WifiStatus status, ArrayList<String> ifnames) -> { in getAllChipInfo() argument
1254 ifaceNamesResp.value = ifnames; in getAllChipInfo()
1284 (WifiStatus status, ArrayList<String> ifnames) -> { in getAllChipInfo() argument
1287 ifaceNamesResp.value = ifnames; in getAllChipInfo()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java1311 for (String ifname : mUpstreamIfaceSet.ifnames) cleanupUpstreamInterface(ifname); in cleanupUpstream()
1418 final HashSet<String> removed = new HashSet<>(mUpstreamIfaceSet.ifnames); in upstreamInterfacesRemoved()
1419 removed.removeAll(newIfaces.ifnames); in upstreamInterfacesRemoved()
1424 final HashSet<String> added = new HashSet<>(newIfaces.ifnames); in upstreamInterfacesAdd()
1425 if (mUpstreamIfaceSet != null) added.removeAll(mUpstreamIfaceSet.ifnames); in upstreamInterfacesAdd()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java802 final ArrayList<String> ifnames = bcast.getStringArrayListExtra(whichExtra); in verifyTetheringBroadcast() local
803 assertTrue(ifnames.contains(ifname)); in verifyTetheringBroadcast()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java1487 if (mCurrentUpstreamIfaceSet.ifnames.contains(ifname)) { in pertainsToCurrentUpstream()