Home
last modified time | relevance | path

Searched refs:waitForWifiState (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java99 assertTrue("WiFi state is not DISCONNECTED after enabling", waitForWifiState( in test3GToWifiNotification()
120 assertTrue("wifi not enabled", waitForWifiState( in testConnectToWifi()
142 assertTrue("wifi not enabled", waitForWifiState( in testConnectToWifWithKnownAP()
153 assertTrue("wifi state not disabled", waitForWifiState( in testConnectToWifWithKnownAP()
168 assertTrue("wifi not enabled after toggle", waitForWifiState( in testConnectToWifWithKnownAP()
190 assertTrue("wifi not enabled", waitForWifiState( in testDisconnectWifi()
202 assertTrue("wifi state not disabled", waitForWifiState( in testDisconnectWifi()
222 assertTrue("wifi state not disabled", waitForWifiState( in testDataConnectionWith3GToAmTo3G()
276 assertTrue("wifi not enabled", waitForWifiState( in testDataConnectionWithWifiToAMToWifi()
308 assertTrue("wifi not enabled", waitForWifiState( in testWifiStateChange()
[all …]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java172 protected boolean waitForWifiState(int expectedState, long timeout) { in waitForWifiState() method in ConnectivityManagerTestBase
333 if (!waitForWifiState(WifiManager.WIFI_STATE_ENABLED, LONG_TIMEOUT)) { in connectToWifiWithConfiguration()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java485 public boolean waitForWifiState(int expectedState, long timeout) { in waitForWifiState() method in ConnectionUtil
558 if (!waitForWifiState(WifiManager.WIFI_STATE_ENABLED, 2 * SHORT_TIMEOUT)) { in connectToWifiWithConfiguration()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java275 waitForWifiState(WifiManager.WIFI_STATE_ENABLED, SHORT_TIMEOUT)); in testWifiReconnectionAfterSleep()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java285 assertTrue(mConnectionUtil.waitForWifiState(WifiManager.WIFI_STATE_ENABLED, in setDeviceWifiAndAirplaneMode()