Home
last modified time | relevance | path

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

/tools/tradefederation/core/javatests/com/android/tradefed/device/
DWifiCommandUtilTest.java69 Map<String, String> wifiInfo = WifiCommandUtil.parseWifiInfo(output); in testParseWifiInfo() local
70 assertNotNull(wifiInfo); in testParseWifiInfo()
71 assertEquals("GoogleGuest", wifiInfo.get("ssid")); in testParseWifiInfo()
72 assertEquals("48:2f:6b:ac:b2:31", wifiInfo.get("bssid")); in testParseWifiInfo()
73 assertEquals("573", wifiInfo.get("linkSpeed")); in testParseWifiInfo()
74 assertEquals("-60", wifiInfo.get("rssi")); in testParseWifiInfo()
75 assertEquals("82:f2:40:f1:51:be", wifiInfo.get("macAddress")); in testParseWifiInfo()
/tools/tradefederation/core/src/com/android/tradefed/device/
DWifiCommandUtil.java125 Map<String, String> wifiInfo = new LinkedHashMap<>(); in parseWifiInfo() local
129 wifiInfo.put("ssid", ssidMatcher.group(1)); in parseWifiInfo()
134 wifiInfo.put("bssid", bssidMatcher.group(1)); in parseWifiInfo()
141 wifiInfo.put("linkSpeed", linkSpeedMatcher.group(1)); in parseWifiInfo()
146 wifiInfo.put("rssi", rssiMatcher.group(1)); in parseWifiInfo()
151 wifiInfo.put("macAddress", macAddressMatcher.group(1)); in parseWifiInfo()
154 return wifiInfo; in parseWifiInfo()
DNativeDevice.java3208 final Map<String, String> wifiInfo = wifi.getWifiInfo(); in connectToWifiNetwork() local
3212 wifiSsid, wifiInfo.get("bssid"), getSerialNumber()); in connectToWifiNetwork()
3228 wifiInfo.get("bssid"), in connectToWifiNetwork()