Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DNativeDeviceTest.java739 EasyMock.expect(mMockWifi.checkConnectivity(mTestDevice.getOptions().getConnCheckUrl())) in testConnectToWifiNetworkIfNeeded_alreadyConnected()
751 mTestDevice.getOptions().getConnCheckUrl(), false)).andReturn(true); in testConnectToWifiNetwork_success()
768 mTestDevice.getOptions().getConnCheckUrl(), false)).andReturn(false) in testConnectToWifiNetwork_failure()
797 mTestDevice.getOptions().getConnCheckUrl(), in testConnectToWifiNetwork_maxConnectTime()
817 mTestDevice.getOptions().getConnCheckUrl(), true)).andReturn(true); in testConnectToWifiNetwork_scanSsid()
833 EasyMock.expect(mMockWifi.checkConnectivity(mTestDevice.getOptions().getConnCheckUrl())) in testCheckWifiConnection()
883 EasyMock.eq(mTestDevice.getOptions().getConnCheckUrl()))).andReturn(true); in testEnableNetworkMonitor()
894 EasyMock.eq(mTestDevice.getOptions().getConnCheckUrl()))).andReturn(false); in testEnableNetworkMonitor_failure()
916 EasyMock.expect(mMockWifi.checkConnectivity(mTestDevice.getOptions().getConnCheckUrl())) in testReconnectToWifiNetwork()
918 EasyMock.expect(mMockWifi.checkConnectivity(mTestDevice.getOptions().getConnCheckUrl())) in testReconnectToWifiNetwork()
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDeviceOptions.java379 public String getConnCheckUrl() { in getConnCheckUrl() method in TestDeviceOptions
DNativeDevice.java2553 wifi.connectToNetwork(wifiSsid, wifiPsk, mOptions.getConnCheckUrl(), scanSsid); in connectToWifiNetwork()
2598 return wifi.checkConnectivity(mOptions.getConnCheckUrl()); in checkConnectivity()
2701 if (wifi.startMonitor(NETWORK_MONITOR_INTERVAL, mOptions.getConnCheckUrl())) { in enableNetworkMonitor()
2733 mOptions.getConnCheckUrl(), samples.size() * NETWORK_MONITOR_INTERVAL / 1000, in disableNetworkMonitor()