Lines Matching refs:from

98         NetworkAgentInfo from = wifiNai(100);
101 mMonitor.noteLingerDefaultNetwork(from, to);
102 verifyNotification(from, to);
109 NetworkAgentInfo from = wifiNai(100);
112 mMonitor.noteLingerDefaultNetwork(from, to);
113 verifyToast(from, to);
120 NetworkAgentInfo from = wifiNai(100);
123 mMonitor.noteLingerDefaultNetwork(from, to);
124 verifyNotification(from, to);
134 NetworkAgentInfo from = wifiNai(100);
137 mMonitor.noteLingerDefaultNetwork(from, to);
138 verifyNotification(from, to);
140 mMonitor.noteLingerDefaultNetwork(to, from);
148 NetworkAgentInfo from = wifiNai(100);
151 mMonitor.noteLingerDefaultNetwork(from, to);
152 verifyToast(from, to);
154 mMonitor.noteLingerDefaultNetwork(to, from);
158 mMonitor.noteLingerDefaultNetwork(from, to);
238 NetworkAgentInfo from = wifiNai(100);
241 mMonitor.noteLingerDefaultNetwork(from, to);
242 verifyNotification(from, to);
244 mMonitor.noteLingerDefaultNetwork(to, from);
247 mMonitor.noteLingerDefaultNetwork(from, to);
248 verifyNotification(from, to);
255 NetworkAgentInfo from = wifiNai(100);
257 from.everValidated = false;
259 mMonitor.noteLingerDefaultNetwork(from, to);
267 NetworkAgentInfo from = wifiNai(100);
269 from.lastValidated = true;
271 mMonitor.noteLingerDefaultNetwork(from, to);
279 NetworkAgentInfo from = wifiNai(100);
282 mMonitor.noteLingerDefaultNetwork(from, to);
290 NetworkAgentInfo from = wifiNai(100);
293 mMonitor.noteLingerDefaultNetwork(from, to);
301 NetworkAgentInfo from = wifiNai(100);
304 mMonitor.noteLingerDefaultNetwork(from, to);
313 String transition(String from, String to) {
314 return from + "-" + to;
335 void verifyToast(NetworkAgentInfo from, NetworkAgentInfo to) {
337 verify(mNotifier, times(1)).showToast(from, to);
340 void verifyNotification(NetworkAgentInfo from, NetworkAgentInfo to) {
342 verify(mNotifier, times(1)).showNotification(eq(from.network.netId),
343 eq(NotificationType.NETWORK_SWITCH), eq(from), eq(to), any(), eq(true));