/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/ |
D | WifiConnector.java | 124 public int addNetwork(final String ssid, final String psk, final boolean scanSsid) in addNetwork() argument 136 if (scanSsid) { in addNetwork() 218 long connectTimeout, final boolean scanSsid) in connectToNetwork() argument 224 updateLastNetwork(ssid, psk, scanSsid); in connectToNetwork() 246 final int networkId = addNetwork(ssid, psk, scanSsid); in connectToNetwork() 372 final boolean scanSsid = prefs.getBoolean("scan_ssid", false); in reconnectToLastNetwork() 376 connectToNetwork(ssid, psk, urlToCheck, -1, scanSsid); in reconnectToLastNetwork() 379 private void updateLastNetwork(final String ssid, final String psk, final boolean scanSsid) { in updateLastNetwork() argument 384 editor.putBoolean("scan_ssid", scanSsid); in updateLastNetwork()
|
D | WifiUtil.java | 177 final boolean scanSsid = getBoolean("scan_ssid", false); in onStart() 179 result.putInt("result", connector.addNetwork(ssid, null, scanSsid)); in onStart() 183 final boolean scanSsid = getBoolean("scan_ssid", false); in onStart() 186 result.putInt("result", connector.addNetwork(ssid, psk, scanSsid)); in onStart() 251 final boolean scanSsid = getBoolean("scan_ssid", false); in onStart() 255 connector.connectToNetwork(ssid, psk, pingUrl, connectTimeout, scanSsid); in onStart()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | IWifiHelper.java | 86 boolean addOpenNetwork(String ssid, boolean scanSsid) throws DeviceNotAvailableException; in addOpenNetwork() argument 107 …boolean addWpaPskNetwork(String ssid, String psk, boolean scanSsid) throws DeviceNotAvailableExcep… in addWpaPskNetwork() argument 237 boolean connectToNetwork(String ssid, String psk, String urlToCheck, boolean scanSsid) in connectToNetwork() argument
|
D | WifiHelper.java | 246 public boolean addOpenNetwork(String ssid, boolean scanSsid) in addOpenNetwork() argument 249 Boolean.toString(scanSsid))); in addOpenNetwork() 274 public boolean addWpaPskNetwork(String ssid, String psk, boolean scanSsid) in addWpaPskNetwork() argument 277 Boolean.toString(scanSsid))); in addWpaPskNetwork() 449 boolean scanSsid) throws DeviceNotAvailableException { in connectToNetwork() argument 451 urlToCheck, "scan_ssid", Boolean.toString(scanSsid))); in connectToNetwork()
|
D | ITestDevice.java | 238 public boolean connectToWifiNetwork(String wifiSsid, String wifiPsk, boolean scanSsid) in connectToWifiNetwork() argument 265 public boolean connectToWifiNetworkIfNeeded(String wifiSsid, String wifiPsk, boolean scanSsid) in connectToWifiNetworkIfNeeded() argument
|
D | NativeDevice.java | 2332 public boolean connectToWifiNetwork(String wifiSsid, String wifiPsk, boolean scanSsid) in connectToWifiNetwork() argument 2349 wifi.connectToNetwork(wifiSsid, wifiPsk, mOptions.getConnCheckUrl(), scanSsid); in connectToWifiNetwork() 2410 public boolean connectToWifiNetworkIfNeeded(String wifiSsid, String wifiPsk, boolean scanSsid) in connectToWifiNetworkIfNeeded() argument 2413 return connectToWifiNetwork(wifiSsid, wifiPsk, scanSsid); in connectToWifiNetworkIfNeeded()
|