Lines Matching defs:IFACE_NAME

68     private static final String IFACE_NAME = "testnet1";
86 IFACE_NAME, mLooper.getLooper(), interfaceType, mSharedLog,
93 when(mNMService.getInterfaceConfig(IFACE_NAME)).thenReturn(mInterfaceConfiguration);
103 when(mNMService.getInterfaceConfig(IFACE_NAME)).thenReturn(mInterfaceConfiguration);
113 mTestedSm = new TetherInterfaceStateMachine(IFACE_NAME, mLooper.getLooper(),
161 inOrder.verify(mNMService).tetherInterface(IFACE_NAME);
175 inOrder.verify(mNMService).untetherInterface(IFACE_NAME);
176 inOrder.verify(mNMService).setInterfaceConfig(eq(IFACE_NAME), any());
190 inOrder.verify(mNMService).getInterfaceConfig(IFACE_NAME);
191 inOrder.verify(mNMService).setInterfaceConfig(IFACE_NAME, mInterfaceConfiguration);
192 inOrder.verify(mNMService).tetherInterface(IFACE_NAME);
209 inOrder.verify(mNMService).enableNat(IFACE_NAME, UPSTREAM_IFACE);
210 inOrder.verify(mNMService).startInterfaceForwarding(IFACE_NAME, UPSTREAM_IFACE);
221 inOrder.verify(mNMService).stopInterfaceForwarding(IFACE_NAME, UPSTREAM_IFACE);
222 inOrder.verify(mNMService).disableNat(IFACE_NAME, UPSTREAM_IFACE);
223 inOrder.verify(mNMService).enableNat(IFACE_NAME, UPSTREAM_IFACE2);
224 inOrder.verify(mNMService).startInterfaceForwarding(IFACE_NAME, UPSTREAM_IFACE2);
232 doThrow(RemoteException.class).when(mNMService).enableNat(IFACE_NAME, UPSTREAM_IFACE2);
237 inOrder.verify(mNMService).stopInterfaceForwarding(IFACE_NAME, UPSTREAM_IFACE);
238 inOrder.verify(mNMService).disableNat(IFACE_NAME, UPSTREAM_IFACE);
239 inOrder.verify(mNMService).enableNat(IFACE_NAME, UPSTREAM_IFACE2);
241 inOrder.verify(mNMService).stopInterfaceForwarding(IFACE_NAME, UPSTREAM_IFACE2);
242 inOrder.verify(mNMService).disableNat(IFACE_NAME, UPSTREAM_IFACE2);
250 IFACE_NAME, UPSTREAM_IFACE2);
255 inOrder.verify(mNMService).stopInterfaceForwarding(IFACE_NAME, UPSTREAM_IFACE);
256 inOrder.verify(mNMService).disableNat(IFACE_NAME, UPSTREAM_IFACE);
257 inOrder.verify(mNMService).enableNat(IFACE_NAME, UPSTREAM_IFACE2);
258 inOrder.verify(mNMService).startInterfaceForwarding(IFACE_NAME, UPSTREAM_IFACE2);
260 inOrder.verify(mNMService).stopInterfaceForwarding(IFACE_NAME, UPSTREAM_IFACE2);
261 inOrder.verify(mNMService).disableNat(IFACE_NAME, UPSTREAM_IFACE2);
271 inOrder.verify(mNMService).stopInterfaceForwarding(IFACE_NAME, UPSTREAM_IFACE);
272 inOrder.verify(mNMService).disableNat(IFACE_NAME, UPSTREAM_IFACE);
273 inOrder.verify(mNMService).untetherInterface(IFACE_NAME);
274 inOrder.verify(mNMService).setInterfaceConfig(eq(IFACE_NAME), any());
288 doThrow(RemoteException.class).when(mNMService).untetherInterface(IFACE_NAME);
294 IFACE_NAME, mInterfaceConfiguration);
307 doThrow(RemoteException.class).when(mNMService).tetherInterface(IFACE_NAME);
312 IFACE_NAME, mInterfaceConfiguration);
328 usbTeardownOrder.verify(mNMService).setInterfaceConfig(IFACE_NAME, mInterfaceConfiguration);