Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/src/android/net/util/
DInterfaceSetTest.java34 final InterfaceSet set = new InterfaceSet(null, "if1", null, "if2", null); in testNullNamesIgnored()
42 final InterfaceSet set = new InterfaceSet("if1", "if2"); in testToString()
49 final InterfaceSet set = new InterfaceSet(null, null); in testToString_Empty()
55 assertEquals(new InterfaceSet(null, "if1", "if2"), new InterfaceSet("if2", "if1")); in testEquals()
56 assertEquals(new InterfaceSet(null, null), new InterfaceSet()); in testEquals()
57 assertFalse(new InterfaceSet("if1", "if3").equals(new InterfaceSet("if1", "if2"))); in testEquals()
58 assertFalse(new InterfaceSet("if1", "if2").equals(new InterfaceSet("if1"))); in testEquals()
59 assertFalse(new InterfaceSet().equals(null)); in testEquals()
/frameworks/base/packages/Tethering/src/android/net/util/
DInterfaceSet.java28 public class InterfaceSet { class
31 public InterfaceSet(String... names) { in InterfaceSet() method in InterfaceSet
49 && obj instanceof InterfaceSet in equals()
50 && ifnames.equals(((InterfaceSet) obj).ifnames); in equals()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringInterfaceUtils.java23 import android.net.util.InterfaceSet;
42 public static @Nullable InterfaceSet getTetheringInterfaces(UpstreamNetworkState ns) { in getTetheringInterfaces()
51 return (if4 == null && if6 == null) ? null : new InterfaceSet(if4, if6); in getTetheringInterfaces()
DTethering.java97 import android.net.util.InterfaceSet;
245 private InterfaceSet mCurrentUpstreamIfaceSet;
1561 InterfaceSet ifaces = null; in setUpstreamNetwork()
1612 protected void notifyDownstreamsOfNewUpstreamIface(InterfaceSet ifaces) { in notifyDownstreamsOfNewUpstreamIface()
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java51 import android.net.util.InterfaceSet;
245 private InterfaceSet mUpstreamIfaceSet; // may change over time
1252 final InterfaceSet newUpstreamIfaceSet = (InterfaceSet) message.obj; in processMessage()
1294 private boolean noChangeInUpstreamIfaceSet(InterfaceSet newIfaces) { in noChangeInUpstreamIfaceSet()
1302 private Set<String> upstreamInterfacesRemoved(InterfaceSet newIfaces) { in upstreamInterfacesRemoved()
1310 private Set<String> upstreamInterfacesAdd(InterfaceSet newIfaces) { in upstreamInterfacesAdd()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java84 import android.net.util.InterfaceSet;
1026 final InterfaceSet ifs = (upstreamIface != null) ? new InterfaceSet(upstreamIface) : null; in dispatchTetherConnectionChanged()