Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java2182 ScanDetailCache scanDetailCache = getOrCreateScanDetailCacheForNetwork(config); in saveToScanDetailCacheForNetwork() local
2183 if (scanDetailCache == null) { in saveToScanDetailCacheForNetwork()
2196 scanDetailCache.put(scanDetail); in saveToScanDetailCacheForNetwork()
2267 ScanDetailCache scanDetailCache = getScanDetailCacheForNetwork(info.getNetworkId()); in updateScanDetailCacheFromWifiInfo() local
2268 if (config != null && scanDetailCache != null) { in updateScanDetailCacheFromWifiInfo()
2269 ScanDetail scanDetail = scanDetailCache.getScanDetail(info.getBSSID()); in updateScanDetailCacheFromWifiInfo()
2433 ScanDetailCache scanDetailCache = getScanDetailCacheForNetwork(config.networkId); in attemptNetworkLinking() local
2435 if (scanDetailCache != null in attemptNetworkLinking()
2436 && scanDetailCache.size() > LINK_CONFIGURATION_MAX_SCAN_CACHE_ENTRIES) { in attemptNetworkLinking()
2460 config, linkConfig, scanDetailCache, linkScanDetailCache)) { in attemptNetworkLinking()
[all …]
DClientModeImpl.java2923 ScanDetailCache scanDetailCache = mWifiConfigManager.getScanDetailCacheForNetwork( in handleSupplicantStateChange() local
2925 if (scanDetailCache != null) { in handleSupplicantStateChange()
2926 ScanDetail scanDetail = scanDetailCache.getScanDetail(stateChangeResult.BSSID); in handleSupplicantStateChange()
3871 ScanDetailCache scanDetailCache = in getCurrentScanResult() local
3874 if (scanDetailCache == null) { in getCurrentScanResult()
3878 return scanDetailCache.getScanResult(bssid); in getCurrentScanResult()
4413 ScanDetailCache scanDetailCache = in processMessage() local
4415 if (scanDetailCache != null) { in processMessage()
4416 mWifiMetrics.setConnectionScanDetail(scanDetailCache.getScanDetail( in processMessage()
4440 ScanDetailCache scanDetailCache = in processMessage() local
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java1608 ScanDetailCache scanDetailCache; in testScanDetailCacheTrimForNetwork() local
1624 scanDetailCache = in testScanDetailCacheTrimForNetwork()
1626 assertEquals(scanDetailNum, scanDetailCache.size()); in testScanDetailCacheTrimForNetwork()
1638 scanDetailCache = mWifiConfigManager.getScanDetailCacheForNetwork(openNetwork.networkId); in testScanDetailCacheTrimForNetwork()
1639 assertEquals(WifiConfigManager.SCAN_CACHE_ENTRIES_TRIM_SIZE + 1, scanDetailCache.size()); in testScanDetailCacheTrimForNetwork()