Home
last modified time | relevance | path

Searched refs:WifiCommandUtil (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/device/
DWifiCommandUtilTest.java44 List<WifiCommandUtil.ScanResult> results = WifiCommandUtil.parseScanResults(output); in testParseScanResults()
56 assertEquals("wep", WifiCommandUtil.resolveNetworkType("[WEP][ESS]")); in testResolveNetworkType()
57 assertEquals("owe", WifiCommandUtil.resolveNetworkType("[OWE][ESS]")); in testResolveNetworkType()
59 "wpa2", WifiCommandUtil.resolveNetworkType("[WPA2-PSK-CCMP][RSN-PSK-CCMP][ESS]")); in testResolveNetworkType()
60 assertEquals("wpa3", WifiCommandUtil.resolveNetworkType("[RSN-PSK+SAE-CCMP][ESS]")); in testResolveNetworkType()
61 assertEquals("open", WifiCommandUtil.resolveNetworkType("[ESS]")); in testResolveNetworkType()
69 Map<String, String> wifiInfo = WifiCommandUtil.parseWifiInfo(output); in testParseWifiInfo()
/tools/tradefederation/core/src/com/android/tradefed/device/
DWifiHelper.java527 return WifiCommandUtil.parseWifiInfo(statusOutput.getStdout()); in getWifiInfoV2()
611 List<WifiCommandUtil.ScanResult> scanResults = getScanResults(120000L); in connectToNetworkV2()
649 private List<WifiCommandUtil.ScanResult> getScanResults(long timeout) in getScanResults()
665 List<WifiCommandUtil.ScanResult> scanResults = in getScanResults()
666 WifiCommandUtil.parseScanResults(listOutput.getStdout()); in getScanResults()
678 private String findNetworkType(String ssid, List<WifiCommandUtil.ScanResult> scanResults) { in findNetworkType()
680 for (WifiCommandUtil.ScanResult scanResult : scanResults) { in findNetworkType()
682 return WifiCommandUtil.resolveNetworkType(scanResult.getInfo("Flags")); in findNetworkType()
DWifiCommandUtil.java29 public class WifiCommandUtil { class