Home
last modified time | relevance | path

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

/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/
DWifiConnector.java125 public int addNetwork(final String ssid, final String psk, final boolean scanSsid) in addNetwork() argument
137 if (scanSsid) { in addNetwork()
230 long connectTimeout, final boolean scanSsid) in connectToNetwork() argument
236 updateLastNetwork(ssid, psk, scanSsid); in connectToNetwork()
258 final int networkId = addNetwork(ssid, psk, scanSsid); in connectToNetwork()
375 final boolean scanSsid = prefs.getBoolean("scan_ssid", false); in reconnectToLastNetwork()
379 connectToNetwork(ssid, psk, urlToCheck, -1, scanSsid); in reconnectToLastNetwork()
382 private void updateLastNetwork(final String ssid, final String psk, final boolean scanSsid) { in updateLastNetwork() argument
387 editor.putBoolean("scan_ssid", scanSsid); in updateLastNetwork()
DWifiUtil.java187 final boolean scanSsid = getBoolean("scan_ssid", false); in onStart()
189 result.putInt("result", connector.addNetwork(ssid, null, scanSsid)); in onStart()
193 final boolean scanSsid = getBoolean("scan_ssid", false); in onStart()
196 result.putInt("result", connector.addNetwork(ssid, psk, scanSsid)); in onStart()
261 final boolean scanSsid = getBoolean("scan_ssid", false); in onStart()
265 connector.connectToNetwork(ssid, psk, pingUrl, connectTimeout, scanSsid); in onStart()
/tools/tradefederation/core/src/com/android/tradefed/device/
DWifiHelper.java259 public boolean addOpenNetwork(String ssid, boolean scanSsid) in addOpenNetwork() argument
262 Boolean.toString(scanSsid))); in addOpenNetwork()
287 public boolean addWpaPskNetwork(String ssid, String psk, boolean scanSsid) in addWpaPskNetwork() argument
290 Boolean.toString(scanSsid))); in addWpaPskNetwork()
462 boolean scanSsid) throws DeviceNotAvailableException { in connectToNetwork() argument
468 urlToCheck, "scan_ssid", Boolean.toString(scanSsid)))) { in connectToNetwork()
DIWifiHelper.java86 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
DNativeDevice.java2643 public boolean connectToWifiNetwork(String wifiSsid, String wifiPsk, boolean scanSsid) in connectToWifiNetwork() argument
2660 wifi.connectToNetwork(wifiSsid, wifiPsk, mOptions.getConnCheckUrl(), scanSsid); in connectToWifiNetwork()
2721 public boolean connectToWifiNetworkIfNeeded(String wifiSsid, String wifiPsk, boolean scanSsid) in connectToWifiNetworkIfNeeded() argument
2724 return connectToWifiNetwork(wifiSsid, wifiPsk, scanSsid); in connectToWifiNetworkIfNeeded()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DITestDevice.java456 public boolean connectToWifiNetwork(String wifiSsid, String wifiPsk, boolean scanSsid) in connectToWifiNetwork() argument
483 public boolean connectToWifiNetworkIfNeeded(String wifiSsid, String wifiPsk, boolean scanSsid) in connectToWifiNetworkIfNeeded() argument