Home | History | Annotate | Download | only in functional

Lines Matching refs:CONNECTED

58                     State.CONNECTED, LONG_TIMEOUT)) {
63 fail("Device is not connected to Mobile, setUp failed");
89 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT));
106 // verify that the device is still connected to MOBILE
123 assertTrue("wifi not connected", waitForNetworkState(
124 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT));
146 // verify wifi connected as reported by ConnectivityManager
147 assertTrue("wifi not connected", waitForNetworkState(
148 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT));
159 assertTrue("mobile not connected after wifi disable", waitForNetworkState(
160 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT));
170 // Wait for Wifi to be connected and mobile to be disconnected
171 assertTrue("wifi not connected after toggle", waitForNetworkState(
172 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT));
195 assertTrue("wifi not connected", waitForNetworkState(
196 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT));
205 // assert that mobile is now connected
207 State.CONNECTED, LONG_TIMEOUT));
226 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT));
242 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT));
259 assertTrue("wifi not connected", waitForNetworkState(
260 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT));
280 assertTrue("wifi not connected", waitForNetworkState(
281 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT));
295 assertTrue("wifi not connected after airplane mode disable", waitForNetworkState(
296 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT));
312 assertTrue("wifi not connected", waitForNetworkState(
313 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT));
335 assertTrue("not connected to cellular network", extraNetInfo.isConnected());