Home
last modified time | relevance | path

Searched refs:isWifiEnabled (Results 1 – 10 of 10) sorted by relevance

/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DWifiPreparer.java65 if (!device.isWifiEnabled()) { in setUp()
109 if (mWifiNetwork != null && mDisconnectWifiAfterTest && device.isWifiEnabled()) { in tearDown()
/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/
DWifiConnector.java232 if (!mWifiManager.isWifiEnabled()) { in connectToNetwork()
243 return mWifiManager.isWifiEnabled(); in connectToNetwork()
329 if (mWifiManager.isWifiEnabled()) { in disconnectFromNetwork()
DWifiUtil.java213 result.putBoolean("result", wifiManager.isWifiEnabled()); in onStart()
/tools/tradefederation/core/src/com/android/tradefed/device/
DIWifiHelper.java155 boolean isWifiEnabled() throws DeviceNotAvailableException; in isWifiEnabled() method
DNativeDevice.java2729 public boolean isWifiEnabled() throws DeviceNotAvailableException { in isWifiEnabled() method in NativeDevice
2732 return wifi.isWifiEnabled(); in isWifiEnabled()
2753 boolean test = wifi.isWifiEnabled(); in checkWifiConnection()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DITestDevice.java508 public boolean isWifiEnabled() throws DeviceNotAvailableException; in isWifiEnabled() method
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DNativeDeviceTest.java832 EasyMock.expect(mMockWifi.isWifiEnabled()).andReturn(true); in testCheckWifiConnection()
845 EasyMock.expect(mMockWifi.isWifiEnabled()).andReturn(false); in testCheckWifiConnection_failure()
854 EasyMock.expect(mMockWifi.isWifiEnabled()).andReturn(true); in testIsWifiEnabled()
856 assertTrue(mTestDevice.isWifiEnabled()); in testIsWifiEnabled()
865 EasyMock.expect(mMockWifi.isWifiEnabled()).andThrow(new RuntimeException()); in testIsWifiEnabled_exception()
867 assertFalse(mTestDevice.isWifiEnabled()); in testIsWifiEnabled_exception()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceSetup.java482 if (mDisconnectWifiAfterTest && wifiSet && device.isWifiEnabled()) { in tearDown()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDeviceSetupTest.java1175 EasyMock.expect(mMockDevice.isWifiEnabled()).andReturn(Boolean.TRUE); in testTearDown_disconnectFromWifi()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...