Home
last modified time | relevance | path

Searched refs:WifiHelper (Results 1 – 5 of 5) 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.java153 File tmpFile = WifiHelper.extractWifiUtilApk(); in testInstallUninstall()
166 mTestDevice.uninstallPackage(WifiHelper.INSTRUMENTATION_PKG); in assertWifiApkInstall()
168 WifiHelper.INSTRUMENTATION_PKG)); in assertWifiApkInstall()
171 WifiHelper.INSTRUMENTATION_PKG)); in assertWifiApkInstall()
185 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
68 public WifiHelper(ITestDevice device) throws DeviceNotAvailableException { in WifiHelper() method in WifiHelper
72 public WifiHelper(ITestDevice device, String wifiUtilApkPath) in WifiHelper() method in WifiHelper
78 public WifiHelper(ITestDevice device, String wifiUtilApkPath, boolean doSetup) in WifiHelper() method in WifiHelper
157 InputStream apkStream = WifiHelper.class.getResourceAsStream( in extractWifiUtilApk()
DTestDevice.java1216 return new WifiHelper(this, mOptions.getWifiUtilAPKPath());
1228 return new WifiHelper(this, mOptions.getWifiUtilAPKPath(), doSetup);