Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiInfoTest.java128 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in testWifiInfoProperties() local
130 assertNotNull(wifiInfo); in testWifiInfoProperties()
131 assertNotNull(wifiInfo.toString()); in testWifiInfoProperties()
132 SupplicantState.isValidState(wifiInfo.getSupplicantState()); in testWifiInfoProperties()
134 String ssid = wifiInfo.getSSID(); in testWifiInfoProperties()
141 wifiInfo.getBSSID(); in testWifiInfoProperties()
142 wifiInfo.getIpAddress(); in testWifiInfoProperties()
143 wifiInfo.getLinkSpeed(); in testWifiInfoProperties()
144 wifiInfo.getTxLinkSpeedMbps(); in testWifiInfoProperties()
145 wifiInfo.getRxLinkSpeedMbps(); in testWifiInfoProperties()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/
DTestUtils.java161 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in isConnected() local
162 if (wifiInfo == null) { in isConnected()
166 if (wifiInfo.getSupplicantState() != SupplicantState.COMPLETED) return false; in isConnected()
167 if (ssid != null && !wifiInfo.getSSID().equals(ssid)) return false; in isConnected()
168 if (bssid != null && !wifiInfo.getBSSID().equals(bssid)) return false; in isConnected()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java225 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in recordCurrentWifiState() local
226 if (wifiInfo != null && SupplicantState.COMPLETED.equals(wifiInfo.getSupplicantState())) { in recordCurrentWifiState()
227 mRecordedWifiConfiguration = wifiInfo.getNetworkId(); in recordCurrentWifiState()
458 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in isConnectedToExpectedWifiNetwork() local
461 if (wifiInfo != null in isConnectedToExpectedWifiNetwork()
462 && wifiInfo.getSupplicantState().equals(SupplicantState.COMPLETED) in isConnectedToExpectedWifiNetwork()
465 Log.i(TAG, "Connected to " + wifiInfo.getSSID() + " expected " + mAccessPointSsid); in isConnectedToExpectedWifiNetwork()
466 return mAccessPointSsid.equals(wifiInfo.getSSID()) in isConnectedToExpectedWifiNetwork()
467 || failsafeSsid.equals(wifiInfo.getSSID()); in isConnectedToExpectedWifiNetwork()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyManagerTest.java707 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); in getWifiMacAddress() local
708 return wifiInfo.getMacAddress(); in getWifiMacAddress()