Home
last modified time | relevance | path

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

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java57 if (!waitForNetworkState(ConnectivityManager.TYPE_MOBILE, in setUp()
88 assertTrue("failed to wait for mobile connection", waitForNetworkState( in test3GToWifiNotification()
123 assertTrue("wifi not connected", waitForNetworkState( in testConnectToWifi()
147 assertTrue("wifi not connected", waitForNetworkState( in testConnectToWifWithKnownAP()
159 assertTrue("mobile not connected after wifi disable", waitForNetworkState( in testConnectToWifWithKnownAP()
171 assertTrue("wifi not connected after toggle", waitForNetworkState( in testConnectToWifWithKnownAP()
195 assertTrue("wifi not connected", waitForNetworkState( in testDisconnectWifi()
206 assertTrue("mobile not enabled", waitForNetworkState(ConnectivityManager.TYPE_MOBILE, in testDisconnectWifi()
225 assertTrue("no mobile connection", waitForNetworkState( in testDataConnectionWith3GToAmTo3G()
241 assertTrue("no mobile connection", waitForNetworkState( in testDataConnectionWith3GToAmTo3G()
[all …]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java216 assertTrue("wifi not connected", waitForNetworkState(ConnectivityManager.TYPE_WIFI, in testWifiReconnectionAfterSleep()
253 waitForNetworkState(ConnectivityManager.TYPE_MOBILE, State.CONNECTED, in testWifiReconnectionAfterSleep()
277 waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED, in testWifiReconnectionAfterSleep()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java153 protected boolean waitForNetworkState(int networkType, State expectedState, long timeout) { in waitForNetworkState() method in ConnectivityManagerTestBase
480 waitForNetworkState(ConnectivityManager.TYPE_WIFI, in connectToWifi()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java287 assertTrue(mConnectionUtil.waitForNetworkState(ConnectivityManager.TYPE_WIFI, in setDeviceWifiAndAirplaneMode()
298 assertTrue(mConnectionUtil.waitForNetworkState(ConnectivityManager.TYPE_MOBILE, in hasMobileData()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java434 public boolean waitForNetworkState(int networkType, State expectedState, long timeout) { in waitForNetworkState() method in ConnectionUtil