Home
last modified time | relevance | path

Searched refs:WifiHelper (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DWifiHelperTest.java41 EasyMock.expect(mMockDevice.executeShellCommand(WifiHelper.CHECK_PACKAGE_CMD)) in setUp()
42 .andReturn(String.format("versionCode=%d", WifiHelper.PACKAGE_VERSION_CODE)); in setUp()
49 WifiHelper.FULL_INSTRUMENTATION_NAME; in testBuildCommand_simple()
50 final String cmd = WifiHelper.buildWifiUtilCmd("meth"); in testBuildCommand_simple()
59 final String end = "-w " + WifiHelper.FULL_INSTRUMENTATION_NAME; in testBuildCommand_oneArg()
61 final String cmd = WifiHelper.buildWifiUtilCmd("meth", "id", "45"); in testBuildCommand_oneArg()
75 final String end = "-w " + WifiHelper.FULL_INSTRUMENTATION_NAME; in testBuildCommand_withSpace()
77 final String cmd = WifiHelper.buildWifiUtilCmd("addWpaPskNetwork", "ssid", "With Space", in testBuildCommand_withSpace()
98 WifiHelper wifiHelper = new WifiHelper(mMockDevice) { in testWaitForIp_failThenPass()
113 String expectedCommand = WifiHelper.buildWifiUtilCmd("startMonitor", in testStartMonitor()
[all …]
DTestDeviceFuncTest.java155 File tmpFile = WifiHelper.extractWifiUtilApk(); in testInstallUninstall()
168 mTestDevice.uninstallPackage(WifiHelper.INSTRUMENTATION_PKG); in assertWifiApkInstall()
170 WifiHelper.INSTRUMENTATION_PKG)); in assertWifiApkInstall()
173 WifiHelper.INSTRUMENTATION_PKG)); in assertWifiApkInstall()
187 File tmpFile = WifiHelper.extractWifiUtilApk(); in testInstallUninstall_space()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DAppSetupFuncTest.java24 import com.android.tradefed.device.WifiHelper;
60 getDevice().uninstallPackage(WifiHelper.INSTRUMENTATION_PKG); in testSetupTeardown()
61 File wifiapk = WifiHelper.extractWifiUtilApk(); in testSetupTeardown()
71 WifiHelper.INSTRUMENTATION_PKG)); in testSetupTeardown()
74 WifiHelper.INSTRUMENTATION_PKG)); in testSetupTeardown()
/tools/tradefederation/core/src/com/android/tradefed/device/
DWifiHelper.java44 public class WifiHelper implements IWifiHelper { class
70 public WifiHelper(ITestDevice device) throws DeviceNotAvailableException { in WifiHelper() method in WifiHelper
74 public WifiHelper(ITestDevice device, String wifiUtilApkPath) in WifiHelper() method in WifiHelper
80 public WifiHelper(ITestDevice device, String wifiUtilApkPath, boolean doSetup) in WifiHelper() method in WifiHelper
159 InputStream apkStream = WifiHelper.class.getResourceAsStream( in extractWifiUtilApk()
DTestDevice.java1555 return new WifiHelper(this, mOptions.getWifiUtilAPKPath()); in createWifiHelper()
1567 return new WifiHelper(this, mOptions.getWifiUtilAPKPath(), doSetup); in createWifiHelper()
/tools/tradefederation/core/src/com/android/tradefed/device/helper/
DTelephonyHelper.java23 import com.android.tradefed.device.WifiHelper;
147 WifiHelper.class.getResourceAsStream( in extractTelephonyUtilApk()