Home
last modified time | relevance | path

Searched refs:SHORT_TIMEOUT (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java58 protected static final int SHORT_TIMEOUT = 5 * 1000; // 5 seconds field in ConnectivityManagerTestBase
170 SystemClock.sleep(SHORT_TIMEOUT); in waitForNetworkState()
189 SystemClock.sleep(SHORT_TIMEOUT); in waitForWifiState()
210 SystemClock.sleep(SHORT_TIMEOUT); in waitForWifiApState()
243 SystemClock.sleep(SHORT_TIMEOUT); in waitForTetherStateChange()
306 SystemClock.sleep(SHORT_TIMEOUT); in pingTest()
366 SystemClock.sleep(SHORT_TIMEOUT); in disconnectAP()
406 SystemClock.sleep(SHORT_TIMEOUT); in removeConfiguredNetworksAndDisableWifi()
410 SystemClock.sleep(SHORT_TIMEOUT); in removeConfiguredNetworksAndDisableWifi()
430 SystemClock.sleep(SHORT_TIMEOUT); in waitForActiveNetworkConnection()
[all …]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java59 public static final int SHORT_TIMEOUT = 5 * 1000; field in ConnectionUtil
134 sleep(SHORT_TIMEOUT); in wifiTestInit()
382 mDownloadMonitor.wait(SHORT_TIMEOUT); in startDownloadAndWait()
456 mConnectivityMonitor.wait(SHORT_TIMEOUT); in waitForNetworkState()
503 mWifiMonitor.wait(SHORT_TIMEOUT); in waitForWifiState()
561 if (!waitForWifiState(WifiManager.WIFI_STATE_ENABLED, 2 * SHORT_TIMEOUT)) { in connectToWifiWithConfiguration()
666 sleep(SHORT_TIMEOUT); in removeConfiguredNetworksAndDisableWifi()
670 sleep(SHORT_TIMEOUT); in removeConfiguredNetworksAndDisableWifi()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java105 sleep(SHORT_TIMEOUT, "Interruped while waiting for wifi on"); in setUp()
276 waitForWifiState(WifiManager.WIFI_STATE_ENABLED, SHORT_TIMEOUT)); in testWifiReconnectionAfterSleep()