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.java57 protected static final int SHORT_TIMEOUT = 5 * 1000; // 5 seconds field in ConnectivityManagerTestBase
166 SystemClock.sleep(SHORT_TIMEOUT); in waitForNetworkState()
185 SystemClock.sleep(SHORT_TIMEOUT); in waitForWifiState()
206 SystemClock.sleep(SHORT_TIMEOUT); in waitForWifiApState()
239 SystemClock.sleep(SHORT_TIMEOUT); in waitForTetherStateChange()
302 SystemClock.sleep(SHORT_TIMEOUT); in pingTest()
362 SystemClock.sleep(SHORT_TIMEOUT); in disconnectAP()
402 SystemClock.sleep(SHORT_TIMEOUT); in removeConfiguredNetworksAndDisableWifi()
406 SystemClock.sleep(SHORT_TIMEOUT); in removeConfiguredNetworksAndDisableWifi()
426 SystemClock.sleep(SHORT_TIMEOUT); in waitForActiveNetworkConnection()
[all …]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java61 public static final int SHORT_TIMEOUT = 5 * 1000; field in ConnectionUtil
131 sleep(SHORT_TIMEOUT); in wifiTestInit()
379 mDownloadMonitor.wait(SHORT_TIMEOUT); in startDownloadAndWait()
453 mConnectivityMonitor.wait(SHORT_TIMEOUT); in waitForNetworkState()
500 mWifiMonitor.wait(SHORT_TIMEOUT); in waitForWifiState()
558 if (!waitForWifiState(WifiManager.WIFI_STATE_ENABLED, 2 * SHORT_TIMEOUT)) { in connectToWifiWithConfiguration()
663 sleep(SHORT_TIMEOUT); in removeConfiguredNetworksAndDisableWifi()
667 sleep(SHORT_TIMEOUT); in removeConfiguredNetworksAndDisableWifi()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java104 sleep(SHORT_TIMEOUT, "Interruped while waiting for wifi on"); in setUp()
275 waitForWifiState(WifiManager.WIFI_STATE_ENABLED, SHORT_TIMEOUT)); in testWifiReconnectionAfterSleep()