Lines Matching refs:TYPE_WIFI
128 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI,
140 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI);
141 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_WIFI, networkInfo.getState(),
148 if (!cmActivity.validateNetworkStates(ConnectivityManager.TYPE_WIFI)) {
151 cmActivity.getTransitionFailureReason(ConnectivityManager.TYPE_WIFI));
175 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI);
176 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_WIFI, networkInfo.getState(),
186 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED,
194 if (!cmActivity.validateNetworkStates(ConnectivityManager.TYPE_WIFI)) {
197 cmActivity.getTransitionFailureReason(ConnectivityManager.TYPE_WIFI));
219 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED,
233 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI,
248 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI);
249 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_WIFI, networkInfo.getState(),
259 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED,
267 if (!cmActivity.validateNetworkStates(ConnectivityManager.TYPE_WIFI)) {
270 cmActivity.getTransitionFailureReason(ConnectivityManager.TYPE_WIFI));
284 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED,
298 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI);
299 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_WIFI, networkInfo.getState(),
305 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.DISCONNECTED,
313 if (!cmActivity.validateNetworkStates(ConnectivityManager.TYPE_WIFI)) {
316 cmActivity.getTransitionFailureReason(ConnectivityManager.TYPE_WIFI));
342 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI);
350 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI);
368 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI);
369 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_WIFI, networkInfo.getState(),
385 if (!cmActivity.validateNetworkStates(ConnectivityManager.TYPE_WIFI)) {
388 cmActivity.getTransitionFailureReason(ConnectivityManager.TYPE_WIFI));
415 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI);
416 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_WIFI, networkInfo.getState(),
422 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED,
426 if (!cmActivity.validateNetworkStates(ConnectivityManager.TYPE_WIFI)) {
429 cmActivity.getTransitionFailureReason(ConnectivityManager.TYPE_WIFI));
456 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED,
468 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.DISCONNECTED,
478 NetworkInfo networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI);
480 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_WIFI,
486 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED,
494 if (!cmActivity.validateNetworkStates(ConnectivityManager.TYPE_WIFI)) {
497 cmActivity.getTransitionFailureReason(ConnectivityManager.TYPE_WIFI));
511 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED,
529 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.DISCONNECTED,