Home
last modified time | relevance | path

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

/frameworks/base/packages/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()
/frameworks/base/packages/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()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DHalDeviceManager.java990 (WifiStatus status, ArrayList<String> ifnames) -> { in getAllChipInfo() argument
993 ifaceNamesResp.value = ifnames; in getAllChipInfo()
1023 (WifiStatus status, ArrayList<String> ifnames) -> { in getAllChipInfo() argument
1026 ifaceNamesResp.value = ifnames; in getAllChipInfo()
1056 (WifiStatus status, ArrayList<String> ifnames) -> { in getAllChipInfo() argument
1059 ifaceNamesResp.value = ifnames; in getAllChipInfo()
1089 (WifiStatus status, ArrayList<String> ifnames) -> { in getAllChipInfo() argument
1092 ifaceNamesResp.value = ifnames; in getAllChipInfo()
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java1227 for (String ifname : mUpstreamIfaceSet.ifnames) cleanupUpstreamInterface(ifname); in cleanupUpstream()
1312 final HashSet<String> removed = new HashSet<>(mUpstreamIfaceSet.ifnames); in upstreamInterfacesRemoved()
1313 removed.removeAll(newIfaces.ifnames); in upstreamInterfacesRemoved()
1318 final HashSet<String> added = new HashSet<>(newIfaces.ifnames); in upstreamInterfacesAdd()
1319 if (mUpstreamIfaceSet != null) added.removeAll(mUpstreamIfaceSet.ifnames); in upstreamInterfacesAdd()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java673 final ArrayList<String> ifnames = bcast.getStringArrayListExtra(whichExtra); in verifyTetheringBroadcast() local
674 assertTrue(ifnames.contains(ifname)); in verifyTetheringBroadcast()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java1376 if (mCurrentUpstreamIfaceSet.ifnames.contains(ifname)) { in pertainsToCurrentUpstream()