Lines Matching refs:from

85         NetworkAgentInfo from = wifiNai(100);
88 mMonitor.noteLingerDefaultNetwork(from, to);
89 verifyNotification(from, to);
95 NetworkAgentInfo from = wifiNai(100);
98 mMonitor.noteLingerDefaultNetwork(from, to);
99 verifyToast(from, to);
105 NetworkAgentInfo from = wifiNai(100);
108 mMonitor.noteLingerDefaultNetwork(from, to);
109 verifyNotification(from, to);
118 NetworkAgentInfo from = wifiNai(100);
121 mMonitor.noteLingerDefaultNetwork(from, to);
122 verifyNotification(from, to);
124 mMonitor.noteLingerDefaultNetwork(to, from);
131 NetworkAgentInfo from = wifiNai(100);
134 mMonitor.noteLingerDefaultNetwork(from, to);
135 verifyToast(from, to);
137 mMonitor.noteLingerDefaultNetwork(to, from);
141 mMonitor.noteLingerDefaultNetwork(from, to);
217 NetworkAgentInfo from = wifiNai(100);
220 mMonitor.noteLingerDefaultNetwork(from, to);
221 verifyNotification(from, to);
223 mMonitor.noteLingerDefaultNetwork(to, from);
226 mMonitor.noteLingerDefaultNetwork(from, to);
227 verifyNotification(from, to);
233 NetworkAgentInfo from = wifiNai(100);
235 from.everValidated = false;
237 mMonitor.noteLingerDefaultNetwork(from, to);
244 NetworkAgentInfo from = wifiNai(100);
246 from.lastValidated = true;
248 mMonitor.noteLingerDefaultNetwork(from, to);
255 NetworkAgentInfo from = wifiNai(100);
258 mMonitor.noteLingerDefaultNetwork(from, to);
265 NetworkAgentInfo from = wifiNai(100);
268 mMonitor.noteLingerDefaultNetwork(from, to);
275 NetworkAgentInfo from = wifiNai(100);
278 mMonitor.noteLingerDefaultNetwork(from, to);
287 String transition(String from, String to) {
288 return from + "-" + to;
309 void verifyToast(NetworkAgentInfo from, NetworkAgentInfo to) {
311 verify(mNotifier, times(1)).showToast(from, to);
314 void verifyNotification(NetworkAgentInfo from, NetworkAgentInfo to) {
316 verify(mNotifier, times(1)).showNotification(eq(from.network.netId),
317 eq(NotificationType.NETWORK_SWITCH), eq(from), eq(to), any(), eq(true));