Methods Summary |
---|
public junit.framework.TestSuite | getAllTests()
TestSuite suite = new InstrumentationTestSuite(this);
suite.addTestSuite(WifiApStress.class);
suite.addTestSuite(WifiStressTest.class);
return suite;
|
public java.lang.ClassLoader | getLoader()
return ConnectivityManagerTestRunner.class.getClassLoader();
|
public int | getReconnectIterations()
return mReconnectIterations;
|
public java.lang.String | getReconnectPassword()
return mReconnectPassword;
|
public java.lang.String | getReconnectSsid()
return mReconnectSsid;
|
public int | getScanIterations()
return mScanIterations;
|
public long | getSleepTime()
return mSleepTime;
|
public int | getSoftApInterations()
return mSoftApIterations;
|
public boolean | isWifiOnly()
return mWifiOnlyFlag;
|
public void | onCreate(android.os.Bundle icicle)
super.onCreate(icicle);
String valueStr = icicle.getString("softap_iterations");
if (valueStr != null) {
int iteration = Integer.parseInt(valueStr);
if (iteration > 0) {
mSoftApIterations = iteration;
}
}
String scanIterationStr = icicle.getString("scan_iterations");
if (scanIterationStr != null) {
int scanIteration = Integer.parseInt(scanIterationStr);
if (scanIteration > 0) {
mScanIterations = scanIteration;
}
}
String ssidStr= icicle.getString("reconnect_ssid");
if (ssidStr != null) {
mReconnectSsid = ssidStr;
}
String passwordStr = icicle.getString("reconnect_password");
if (passwordStr != null) {
mReconnectPassword = passwordStr;
}
String reconnectStr = icicle.getString("reconnect_iterations");
if (reconnectStr != null) {
int iteration = Integer.parseInt(reconnectStr);
if (iteration > 0) {
mReconnectIterations = iteration;
}
}
String sleepTimeStr = icicle.getString("sleep_time");
if (sleepTimeStr != null) {
int sleepTime = Integer.parseInt(sleepTimeStr);
if (sleepTime > 0) {
mSleepTime = 1000 * sleepTime;
}
}
String wifiOnlyFlag = icicle.getString("wifi-only");
if (wifiOnlyFlag != null) {
mWifiOnlyFlag = true;
}
|