Searched refs:isWifiEnabled (Results 1 – 11 of 11) sorted by relevance
63 if (!device.isWifiEnabled()) { in setUp()106 if (mWifiNetwork != null && mDisconnectWifiAfterTest && device.isWifiEnabled()) { in tearDown()
472 if (mDisconnectWifiAfterTest && mWifiSsid != null && device.isWifiEnabled()) { in tearDown()
231 return mWifiManager.isWifiEnabled(); in connectToNetwork()317 if (mWifiManager.isWifiEnabled()) { in disconnectFromNetwork()325 return !mWifiManager.isWifiEnabled(); in disconnectFromNetwork()
203 result.putBoolean("result", wifiManager.isWifiEnabled()); in onStart()
155 boolean isWifiEnabled() throws DeviceNotAvailableException; in isWifiEnabled() method
357 public boolean isWifiEnabled() throws DeviceNotAvailableException { in isWifiEnabled() method in WifiHelper374 if (isWifiEnabled()) { in waitForWifiEnabled()395 if (!isWifiEnabled()) { in waitForWifiDisabled()
290 public boolean isWifiEnabled() throws DeviceNotAvailableException; in isWifiEnabled() method
2422 public boolean isWifiEnabled() throws DeviceNotAvailableException { in isWifiEnabled() method in NativeDevice2425 return wifi.isWifiEnabled(); in isWifiEnabled()2446 boolean test = wifi.isWifiEnabled(); in checkWifiConnection()
79 mMobileDataOnly, !mTestDevice.isWifiEnabled()); in run()
773 EasyMock.expect(mMockWifi.isWifiEnabled()).andReturn(true); in testCheckWifiConnection()787 EasyMock.expect(mMockWifi.isWifiEnabled()).andReturn(false); in testCheckWifiConnection_failure()797 EasyMock.expect(mMockWifi.isWifiEnabled()).andReturn(true); in testIsWifiEnabled()799 assertTrue(mTestDevice.isWifiEnabled()); in testIsWifiEnabled()808 EasyMock.expect(mMockWifi.isWifiEnabled()).andThrow(new RuntimeException()); in testIsWifiEnabled_exception()810 assertFalse(mTestDevice.isWifiEnabled()); in testIsWifiEnabled_exception()
1095 EasyMock.expect(mMockDevice.isWifiEnabled()).andReturn(Boolean.TRUE); in testTearDown_disconnectFromWifi()