Home
last modified time | relevance | path

Searched refs:psk (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/util_apps/WifiUtil/src/com/android/tradefed/utils/wifi/
DWifiConnector.java129 final String psk, in addNetwork() argument
147 if (psk == null) { in addNetwork()
153 config.preSharedKey = quote(psk); in addNetwork()
245 final String psk, in connectToNetwork() argument
255 updateLastNetwork(ssid, psk, scanSsid); in connectToNetwork()
277 final int networkId = addNetwork(ssid, psk, scanSsid, disableMacRandomization); in connectToNetwork()
323 final String ssid, final String psk, final String urlToCheck, long connectTimeout) in connectToNetwork() argument
325 connectToNetwork(ssid, psk, urlToCheck, -1, false, false); in connectToNetwork()
337 public void connectToNetwork(final String ssid, final String psk, final String urlToCheck) in connectToNetwork() argument
339 connectToNetwork(ssid, psk, urlToCheck, -1); in connectToNetwork()
[all …]
DWifiUtil.java198 final String psk = expectString("psk"); in onStart() local
204 connector.addNetwork(ssid, psk, scanSsid, disableMacRandomization)); in onStart()
270 final String psk = getString("psk", null); in onStart() local
276 ssid, psk, pingUrl, connectTimeout, scanSsid, disableMacRandomization); in onStart()
/tools/tradefederation/core/src/com/android/tradefed/device/
DIWifiHelper.java102 boolean addWpaPskNetwork(String ssid, String psk) throws DeviceNotAvailableException; in addWpaPskNetwork() argument
113 …boolean addWpaPskNetwork(String ssid, String psk, boolean scanSsid) throws DeviceNotAvailableExcep… in addWpaPskNetwork() argument
230 boolean connectToNetwork(String ssid, String psk, String urlToCheck) in connectToNetwork() argument
244 String ssid, String psk, String urlToCheck, boolean scanSsid) in connectToNetwork() argument
260 String ssid, String psk, String urlToCheck, boolean scanSsid, String defaultType) in connectToNetwork() argument
DWifiHelper.java339 public boolean addWpaPskNetwork(String ssid, String psk) throws DeviceNotAvailableException { in addWpaPskNetwork() argument
340 return addWpaPskNetwork(ssid, psk, false); in addWpaPskNetwork()
347 public boolean addWpaPskNetwork(String ssid, String psk, boolean scanSsid) in addWpaPskNetwork() argument
349 int id = asInt(runWifiUtil("addWpaPskNetwork", "ssid", ssid, "psk", psk, "scan_ssid", in addWpaPskNetwork()
563 public boolean connectToNetwork(String ssid, String psk, String urlToCheck) in connectToNetwork() argument
565 return WifiConnectionResult.SUCCESS == connectToNetwork(ssid, psk, urlToCheck, false); in connectToNetwork()
571 String ssid, String psk, String urlToCheck, boolean scanSsid) in connectToNetwork() argument
573 return connectToNetwork(ssid, psk, urlToCheck, scanSsid, null); in connectToNetwork()
578 String ssid, String psk, String urlToCheck, boolean scanSsid, String defaultType) in connectToNetwork() argument
581 return connectToNetworkV2(ssid, psk, scanSsid, defaultType); in connectToNetwork()
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiScannerTests.config10 …: 6}, "wifi-iface" : [{"ssid": "Test_6", "key": "hahahaha", "encryption": "psk"}, {"ssid": "Test_6…
12 …40}, "wifi-iface" : [{"ssid": "Test_40", "key": "hahahaha", "encryption": "psk"}, {"ssid": "Test_4…
DWifiDppTest.py372 psk = utils.rand_ascii_str(16)
374 psk_encoded = binascii.b2a_hex(psk.encode()).decode()
377 psk_encoded = psk
378 self.log.debug("PSK = %s" % psk)
805 psk = utils.rand_ascii_str(16)
806 psk_encoded = binascii.b2a_hex(psk.encode()).decode()
807 self.log.debug("PSK = %s" % psk)
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan_policy/
DSavedNetworksTest.py239 psk = rand_hex_str(PSK_LEN).lower()
240 self.save_and_check_network(ssid, WPA2, psk)