Lines Matching refs:verify

27 import static org.mockito.Mockito.verify;
117 verify(mTetherHelper).updateInterfaceState(
119 verify(mTetherHelper).updateLinkProperties(eq(mTestedSm), any(LinkProperties.class));
148 verify(mTetherHelper).updateInterfaceState(
150 verify(mTetherHelper).updateLinkProperties(eq(mTestedSm), any(LinkProperties.class));
160 inOrder.verify(mNMService).tetherInterface(IFACE_NAME);
161 inOrder.verify(mTetherHelper).updateInterfaceState(
163 inOrder.verify(mTetherHelper).updateLinkProperties(
174 inOrder.verify(mNMService).untetherInterface(IFACE_NAME);
175 inOrder.verify(mTetherHelper).updateInterfaceState(
177 inOrder.verify(mTetherHelper).updateLinkProperties(
188 inOrder.verify(mNMService).getInterfaceConfig(IFACE_NAME);
189 inOrder.verify(mNMService).setInterfaceConfig(IFACE_NAME, mInterfaceConfiguration);
190 inOrder.verify(mNMService).tetherInterface(IFACE_NAME);
191 inOrder.verify(mTetherHelper).updateInterfaceState(
193 inOrder.verify(mTetherHelper).updateLinkProperties(
207 inOrder.verify(mNMService).enableNat(IFACE_NAME, UPSTREAM_IFACE);
208 inOrder.verify(mNMService).startInterfaceForwarding(IFACE_NAME, UPSTREAM_IFACE);
218 inOrder.verify(mStatsService).forceUpdate();
219 inOrder.verify(mNMService).stopInterfaceForwarding(IFACE_NAME, UPSTREAM_IFACE);
220 inOrder.verify(mNMService).disableNat(IFACE_NAME, UPSTREAM_IFACE);
221 inOrder.verify(mNMService).enableNat(IFACE_NAME, UPSTREAM_IFACE2);
222 inOrder.verify(mNMService).startInterfaceForwarding(IFACE_NAME, UPSTREAM_IFACE2);
234 inOrder.verify(mStatsService).forceUpdate();
235 inOrder.verify(mNMService).stopInterfaceForwarding(IFACE_NAME, UPSTREAM_IFACE);
236 inOrder.verify(mNMService).disableNat(IFACE_NAME, UPSTREAM_IFACE);
237 inOrder.verify(mNMService).enableNat(IFACE_NAME, UPSTREAM_IFACE2);
238 inOrder.verify(mStatsService).forceUpdate();
239 inOrder.verify(mNMService).stopInterfaceForwarding(IFACE_NAME, UPSTREAM_IFACE2);
240 inOrder.verify(mNMService).disableNat(IFACE_NAME, UPSTREAM_IFACE2);
252 inOrder.verify(mStatsService).forceUpdate();
253 inOrder.verify(mNMService).stopInterfaceForwarding(IFACE_NAME, UPSTREAM_IFACE);
254 inOrder.verify(mNMService).disableNat(IFACE_NAME, UPSTREAM_IFACE);
255 inOrder.verify(mNMService).enableNat(IFACE_NAME, UPSTREAM_IFACE2);
256 inOrder.verify(mNMService).startInterfaceForwarding(IFACE_NAME, UPSTREAM_IFACE2);
257 inOrder.verify(mStatsService).forceUpdate();
258 inOrder.verify(mNMService).stopInterfaceForwarding(IFACE_NAME, UPSTREAM_IFACE2);
259 inOrder.verify(mNMService).disableNat(IFACE_NAME, UPSTREAM_IFACE2);
268 inOrder.verify(mStatsService).forceUpdate();
269 inOrder.verify(mNMService).stopInterfaceForwarding(IFACE_NAME, UPSTREAM_IFACE);
270 inOrder.verify(mNMService).disableNat(IFACE_NAME, UPSTREAM_IFACE);
271 inOrder.verify(mNMService).untetherInterface(IFACE_NAME);
272 inOrder.verify(mTetherHelper).updateInterfaceState(
274 inOrder.verify(mTetherHelper).updateLinkProperties(
289 usbTeardownOrder.verify(mInterfaceConfiguration).setInterfaceDown();
290 usbTeardownOrder.verify(mNMService).setInterfaceConfig(
292 usbTeardownOrder.verify(mTetherHelper).updateInterfaceState(
294 usbTeardownOrder.verify(mTetherHelper).updateLinkProperties(
307 usbTeardownOrder.verify(mInterfaceConfiguration).setInterfaceDown();
308 usbTeardownOrder.verify(mNMService).setInterfaceConfig(
310 usbTeardownOrder.verify(mTetherHelper).updateInterfaceState(
312 usbTeardownOrder.verify(mTetherHelper).updateLinkProperties(
324 usbTeardownOrder.verify(mInterfaceConfiguration).setInterfaceDown();
325 usbTeardownOrder.verify(mNMService).setInterfaceConfig(IFACE_NAME, mInterfaceConfiguration);
326 usbTeardownOrder.verify(mTetherHelper).updateInterfaceState(
328 usbTeardownOrder.verify(mTetherHelper).updateLinkProperties(