Searched refs:wifiInfo (Results 1 – 3 of 3) sorted by relevance
121 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in testWifiInfoProperties() local123 assertNotNull(wifiInfo); in testWifiInfoProperties()124 assertNotNull(wifiInfo.toString()); in testWifiInfoProperties()125 SupplicantState.isValidState(wifiInfo.getSupplicantState()); in testWifiInfoProperties()127 String ssid = wifiInfo.getSSID(); in testWifiInfoProperties()134 wifiInfo.getBSSID(); in testWifiInfoProperties()135 wifiInfo.getIpAddress(); in testWifiInfoProperties()136 wifiInfo.getLinkSpeed(); in testWifiInfoProperties()137 wifiInfo.getRssi(); in testWifiInfoProperties()138 wifiInfo.getHiddenSSID(); in testWifiInfoProperties()[all …]
219 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in recordCurrentWifiState() local220 if (wifiInfo != null && SupplicantState.COMPLETED.equals(wifiInfo.getSupplicantState())) { in recordCurrentWifiState()221 mRecordedWifiConfiguration = wifiInfo.getNetworkId(); in recordCurrentWifiState()424 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in isConnectedToExpectedWifiNetwork() local427 if (wifiInfo != null in isConnectedToExpectedWifiNetwork()428 && wifiInfo.getSupplicantState().equals(SupplicantState.COMPLETED) in isConnectedToExpectedWifiNetwork()431 Log.i(TAG, "Connected to " + wifiInfo.getSSID() + " expected " + mAccessPointSsid); in isConnectedToExpectedWifiNetwork()432 return mAccessPointSsid.equals(wifiInfo.getSSID()) in isConnectedToExpectedWifiNetwork()433 || failsafeSsid.equals(wifiInfo.getSSID()); in isConnectedToExpectedWifiNetwork()
424 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); in getWifiMacAddress() local425 return wifiInfo.getMacAddress(); in getWifiMacAddress()