/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiScoreReport.java | 95 public static WifiScoreReport calculateScore(WifiInfo wifiInfo, in calculateScore() argument 109 boolean isBadLinkspeed = (wifiInfo.is24GHz() in calculateScore() 110 && wifiInfo.getLinkSpeed() < wifiConfigManager.mBadLinkSpeed24) in calculateScore() 111 || (wifiInfo.is5GHz() && wifiInfo.getLinkSpeed() in calculateScore() 113 boolean isGoodLinkspeed = (wifiInfo.is24GHz() in calculateScore() 114 && wifiInfo.getLinkSpeed() >= wifiConfigManager.mGoodLinkSpeed24) in calculateScore() 115 || (wifiInfo.is5GHz() && wifiInfo.getLinkSpeed() in calculateScore() 170 int rssi = wifiInfo.getRssi() - AGGRESSIVE_HANDOVER_PENALTY * aggressiveHandover in calculateScore() 174 boolean is24GHz = use24Thresholds || wifiInfo.is24GHz(); in calculateScore() 180 && wifiInfo.getRssi() < wifiConfigManager.mThresholdMinimumRssi5.get()); in calculateScore() [all …]
|
D | WifiConnectivityManager.java | 511 WifiScanner scanner, WifiConfigManager configManager, WifiInfo wifiInfo, in WifiConnectivityManager() argument 517 mWifiInfo = wifiInfo; in WifiConnectivityManager()
|
D | WifiQualifiedNetworkSelector.java | 164 WifiInfo wifiInfo, Clock clock) { in WifiQualifiedNetworkSelector() argument 166 mWifiInfo = wifiInfo; in WifiQualifiedNetworkSelector()
|
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 67 WifiInfo wifiInfo = Mockito.mock(WifiInfo.class); in testOnAccessPointChangedCallback() local 68 Mockito.when(wifiInfo.getNetworkId()).thenReturn(NETWORK_ID); in testOnAccessPointChangedCallback() 70 mAccessPoint.update(wifiInfo, null); in testOnAccessPointChangedCallback()
|
D | WifiTrackerTest.java | 305 WifiInfo wifiInfo = Mockito.mock(WifiInfo.class); in generateTestNetworks() local 306 Mockito.when(wifiInfo.getSSID()).thenReturn(TEST_SSIDS[4]); in generateTestNetworks() 307 Mockito.when(wifiInfo.getNetworkId()).thenReturn(netId); in generateTestNetworks() 308 Mockito.when(mWifiManager.getConnectionInfo()).thenReturn(wifiInfo); in generateTestNetworks()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
D | WifiNetworkAdapter.java | 157 WifiInfo wifiInfo = getConnectionInfo(); in getActiveWifiConfig() local 158 if (wifiInfo == null) { in getActiveWifiConfig() 163 if (config.networkId == wifiInfo.getNetworkId()) { in getActiveWifiConfig() 193 WifiInfo wifiInfo = getConnectionInfo(); in getActivePasspointConfig() local 194 if (wifiInfo == null) { in getActivePasspointConfig() 199 if (passpointConfig.getWifiConfiguration().networkId == wifiInfo.getNetworkId()) { in getActivePasspointConfig()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
D | OSUManager.java | 467 public void networkConnectEvent(WifiInfo wifiInfo) { in networkConnectEvent() argument 468 if (wifiInfo != null) { in networkConnectEvent() 488 WifiInfo wifiInfo = mWifiNetworkAdapter.getConnectionInfo(); in bssidMatch() local 489 return wifiInfo != null && Utils.parseMac(wifiInfo.getBSSID()) == osuInfo.getBSSID(); in bssidMatch() 697 WifiInfo wifiInfo = mWifiNetworkAdapter.getConnectionInfo(); in wnmRemediate() local 698 if (wifiInfo == null || Utils.parseMac(wifiInfo.getBSSID()) != bssid) { in wnmRemediate() 738 WifiInfo wifiInfo = mWifiNetworkAdapter.getConnectionInfo(); in remediate() local 739 if (wifiInfo == null) { in remediate()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerWifiTest.java | 128 WifiInfo wifiInfo = Mockito.mock(WifiInfo.class); in setWifiState() local 129 Mockito.when(wifiInfo.getSSID()).thenReturn(ssid); in setWifiState() 132 i.putExtra(WifiManager.EXTRA_WIFI_INFO, wifiInfo); in setWifiState()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConnectivityManagerTest.java | 212 WifiInfo wifiInfo = new WifiInfo(); in getWifiInfo() local 214 wifiInfo.setNetworkId(WifiConfiguration.INVALID_NETWORK_ID); in getWifiInfo() 215 wifiInfo.setBSSID(null); in getWifiInfo() 216 wifiInfo.setSupplicantState(SupplicantState.DISCONNECTED); in getWifiInfo() 218 return wifiInfo; in getWifiInfo()
|
D | WifiQualifiedNetworkSelectorTest.java | 153 WifiInfo wifiInfo = mock(WifiInfo.class); in getWifiInfo() local 156 when(wifiInfo.is24GHz()).thenReturn(true); in getWifiInfo() 157 when(wifiInfo.is5GHz()).thenReturn(false); in getWifiInfo() 158 when(wifiInfo.getRssi()).thenReturn(-70); in getWifiInfo() 159 when(wifiInfo.getNetworkId()).thenReturn(WifiConfiguration.INVALID_NETWORK_ID); in getWifiInfo() 160 when(wifiInfo.getBSSID()).thenReturn(null); in getWifiInfo() 161 when(wifiInfo.getNetworkId()).thenReturn(-1); in getWifiInfo() 162 return wifiInfo; in getWifiInfo()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 1489 WifiActivityEnergyInfo wifiInfo = null; in updateExternalStatsSync() local 1493 wifiInfo = awaitControllerInfo(wifiReceiver); in updateExternalStatsSync() 1520 if (wifiInfo != null) { in updateExternalStatsSync() 1521 if (wifiInfo.isValid()) { in updateExternalStatsSync() 1522 mStats.updateWifiStateLocked(extractDelta(wifiInfo)); in updateExternalStatsSync() 1524 Slog.e(TAG, "wifi info is invalid: " + wifiInfo); in updateExternalStatsSync()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 8541 final WifiInfo wifiInfo = mInjector.getWifiManager().getConnectionInfo(); in getWifiMacAddress() local 8542 if (wifiInfo == null) { in getWifiMacAddress() 8545 return wifiInfo.hasRealMacAddress() ? wifiInfo.getMacAddress() : null; in getWifiMacAddress()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 18073 field public static final java.lang.String EXTRA_WIFI_INFO = "wifiInfo";
|
/frameworks/base/api/ |
D | test-current.txt | 24724 field public static final java.lang.String EXTRA_WIFI_INFO = "wifiInfo";
|
D | current.txt | 24654 field public static final java.lang.String EXTRA_WIFI_INFO = "wifiInfo";
|
D | system-current.txt | 26981 field public static final java.lang.String EXTRA_WIFI_INFO = "wifiInfo";
|