Home
last modified time | relevance | path

Searched refs:BASE_IFACE (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DNat464XlatTest.java53 static final String BASE_IFACE = "test0"; field in Nat464XlatTest
77 mNai.linkProperties.setInterfaceName(BASE_IFACE); in setUp()
96 verify(mNms).startClatd(eq(BASE_IFACE)); in testNormalStartAndStop()
103 verify(mNms).setInterfaceIpv6NdOffload(eq(BASE_IFACE), eq(false)); in testNormalStartAndStop()
112 verify(mNms).stopClatd(eq(BASE_IFACE)); in testNormalStartAndStop()
113 verify(mNms).setInterfaceIpv6NdOffload(eq(BASE_IFACE), eq(true)); in testNormalStartAndStop()
137 verify(mNms).startClatd(eq(BASE_IFACE)); in testClatdCrashWhileRunning()
144 verify(mNms).setInterfaceIpv6NdOffload(eq(BASE_IFACE), eq(false)); in testClatdCrashWhileRunning()
155 verify(mNms).stopClatd(eq(BASE_IFACE)); in testClatdCrashWhileRunning()
156 verify(mNms).setInterfaceIpv6NdOffload(eq(BASE_IFACE), eq(true)); in testClatdCrashWhileRunning()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DTetherInterfaceStateMachine.java81 private static final int BASE_IFACE = Protocol.BASE_TETHERING + 100; field in TetherInterfaceStateMachine
83 public static final int CMD_TETHER_REQUESTED = BASE_IFACE + 2;
85 public static final int CMD_TETHER_UNREQUESTED = BASE_IFACE + 3;
87 public static final int CMD_INTERFACE_DOWN = BASE_IFACE + 4;
89 public static final int CMD_IP_FORWARDING_ENABLE_ERROR = BASE_IFACE + 7;
91 public static final int CMD_IP_FORWARDING_DISABLE_ERROR = BASE_IFACE + 8;
93 public static final int CMD_START_TETHERING_ERROR = BASE_IFACE + 9;
95 public static final int CMD_STOP_TETHERING_ERROR = BASE_IFACE + 10;
97 public static final int CMD_SET_DNS_FORWARDERS_ERROR = BASE_IFACE + 11;
99 public static final int CMD_TETHER_CONNECTION_CHANGED = BASE_IFACE + 12;
[all …]