Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiInfoTest.java121 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in testWifiInfoProperties() local
123 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 …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java219 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in recordCurrentWifiState() local
220 if (wifiInfo != null && SupplicantState.COMPLETED.equals(wifiInfo.getSupplicantState())) { in recordCurrentWifiState()
221 mRecordedWifiConfiguration = wifiInfo.getNetworkId(); in recordCurrentWifiState()
424 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in isConnectedToExpectedWifiNetwork() local
427 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()
/cts/tests/tests/telephony/src/android/telephony/cts/
DTelephonyManagerTest.java424 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); in getWifiMacAddress() local
425 return wifiInfo.getMacAddress(); in getWifiMacAddress()