/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ScanDetailCache.java | 53 void put(ScanDetail scanDetail) { in put() argument 54 put(scanDetail, null, null); in put() 57 void put(ScanDetail scanDetail, PasspointMatch match, HomeSP homeSp) { in put() argument 59 mMap.put(scanDetail.getBSSIDString(), scanDetail); in put() local 62 mPasspointMatches.put(scanDetail.getBSSIDString(), in put() 63 new PasspointMatchInfo(match, scanDetail, homeSp)); in put() 68 ScanDetail scanDetail = getScanDetail(bssid); in get() local 69 return scanDetail == null ? null : scanDetail.getScanResult(); in get() 180 for (ScanDetail scanDetail : values()) { in getVisibilityByRssi() 181 ScanResult result = scanDetail.getScanResult(); in getVisibilityByRssi() [all …]
|
D | WifiConfigManager.java | 311 public void notifyANQPResponse(ScanDetail scanDetail, in notifyANQPResponse() argument 313 updateAnqpCache(scanDetail, anqpElements); in notifyANQPResponse() 317 scanDetail.propagateANQPInfo(anqpElements); in notifyANQPResponse() 319 Map<HomeSP, PasspointMatch> matches = matchNetwork(scanDetail, false); in notifyANQPResponse() 320 Log.d(Utils.hs2LogTag(getClass()), scanDetail.getSSID() + " pass 2 matches: " in notifyANQPResponse() 323 cacheScanResultForPasspointConfigs(scanDetail, matches, null); in notifyANQPResponse() 595 ScanDetail scanDetail = getScanDetailCache(config).getScanDetail(info.getBSSID()); in updateConfiguration() local 596 if (scanDetail != null) { in updateConfiguration() 597 ScanResult result = scanDetail.getScanResult(); in updateConfiguration() 602 scanDetail.setSeen(); in updateConfiguration() [all …]
|
D | WifiLastResortWatchdog.java | 100 final ScanDetail scanDetail = pair.first; in updateAvailableNetworks() local 102 ScanResult scanResult = scanDetail.getScanResult(); in updateAvailableNetworks() 105 String ssid = "\"" + scanDetail.getSSID() + "\""; in updateAvailableNetworks() 106 if (VDBG) Log.v(TAG, " " + bssid + ": " + scanDetail.getSSID()); in updateAvailableNetworks()
|
D | WifiQualifiedNetworkSelector.java | 657 for (ScanDetail scanDetail : mScanDetails) { in selectQualifiedNetwork() 658 ScanResult scanResult = scanDetail.getScanResult(); in selectQualifiedNetwork() 710 mWifiConfigManager.updateSavedNetworkWithNewScanDetail(scanDetail, in selectQualifiedNetwork() 735 filteredScanDetails.add(Pair.create(scanDetail, in selectQualifiedNetwork() 791 filteredScanDetails.add(Pair.create(scanDetail, potentialCandidate)); in selectQualifiedNetwork()
|
D | WifiNetworkHistory.java | 280 for (ScanDetail scanDetail : getScanDetailCache(config, in writeKnownNetworkHistory() 282 ScanResult result = scanDetail.getScanResult(); in writeKnownNetworkHistory() 517 ScanDetail scanDetail = new ScanDetail(wssid, bssid, in readNetworkHistory() local 519 getScanDetailCache(config, scanDetailCaches).put(scanDetail); in readNetworkHistory()
|
D | WifiMetrics.java | 383 public void setConnectionScanDetail(ScanDetail scanDetail) { in setConnectionScanDetail() argument 385 if (mCurrentConnectionEvent != null && scanDetail != null) { in setConnectionScanDetail() 386 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in setConnectionScanDetail() 387 ScanResult scanResult = scanDetail.getScanResult(); in setConnectionScanDetail()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | AnqpCacheTest.java | 143 for (ScanDetail scanDetail : attScanDetails) { in basicAddQueryAndExpiry() 144 cache.initiate(scanDetail.getNetworkDetail(), queryList); in basicAddQueryAndExpiry() 148 for (ScanDetail scanDetail : attScanDetails) { in basicAddQueryAndExpiry() 149 ANQPData data = cache.getEntry(scanDetail.getNetworkDetail()); in basicAddQueryAndExpiry() 158 for (ScanDetail scanDetail : attScanDetails) { in basicAddQueryAndExpiry() 159 cache.update(scanDetail.getNetworkDetail(), anqpResults); in basicAddQueryAndExpiry() 165 for (ScanDetail scanDetail : attScanDetails) { in basicAddQueryAndExpiry() 166 ANQPData data = cache.getEntry(scanDetail.getNetworkDetail()); in basicAddQueryAndExpiry() 170 assertEquals(scanDetail.getBSSIDString(), nd.getBSSIDString()); in basicAddQueryAndExpiry() 177 for (ScanDetail scanDetail : twcScanDetails) { in basicAddQueryAndExpiry() [all …]
|
D | WifiMetricsTest.java | 386 ScanDetail scanDetail = mock(ScanDetail.class); in testScanDetailAndWifiConfigurationUsage() local 387 when(scanDetail.getNetworkDetail()).thenReturn(networkDetail); in testScanDetailAndWifiConfigurationUsage() 388 when(scanDetail.getScanResult()).thenReturn(scanResult); in testScanDetailAndWifiConfigurationUsage() 400 mWifiMetrics.setConnectionScanDetail(scanDetail); in testScanDetailAndWifiConfigurationUsage()
|
D | WifiLastResortWatchdogTest.java | 65 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), in createFilteredQnsCandidates() local 76 candidates.add(Pair.create(scanDetail, config)); in createFilteredQnsCandidates() 89 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), in createFilteredQnsCandidates() local 101 candidates.add(Pair.create(scanDetail, config)); in createFilteredQnsCandidates() 1488 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), in testUpdateNetworkWithNullConfig() local 1496 candidates.add(Pair.create(scanDetail, config)); in testUpdateNetworkWithNullConfig() 1501 candidates.add(Pair.create(scanDetail, null)); in testUpdateNetworkWithNullConfig() 1524 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), in testUpdateNetworkWithHasEverConnectedTrue() local 1533 candidates.add(Pair.create(scanDetail, configHasEverConnectedFalse)); in testUpdateNetworkWithHasEverConnectedTrue() 1552 candidates.add(Pair.create(scanDetail, configHasEverConnectedTrue)); in testUpdateNetworkWithHasEverConnectedTrue() [all …]
|
D | WifiQualifiedNetworkSelectorTest.java | 107 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssids[index]), in getScanDetails() local 109 scanDetailList.add(scanDetail); in getScanDetails() 252 ScanDetail scanDetail = scanDetails.get(i); in scanResultLinkConfiguration() local 255 when(mWifiConfigManager.updateSavedNetworkWithNewScanDetail(eq(scanDetail), in scanResultLinkConfiguration() 260 ScanDetail scanDetail = scanDetails.get(i); in scanResultLinkConfiguration() local 263 when(mWifiConfigManager.updateSavedNetworkWithNewScanDetail(eq(scanDetail), in scanResultLinkConfiguration() 278 ScanDetail scanDetail = scanDetails.get(i); in configureScoreCache() local 280 ScanResult scanResult = scanDetail.getScanResult(); in configureScoreCache()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | SupplicantBridge.java | 64 ScanDetail scanDetail, in notifyANQPResponse() argument 103 public boolean startANQP(ScanDetail scanDetail, List<Constants.ANQPElementType> elements) { in startANQP() argument 104 String anqpGet = buildWPSQueryRequest(scanDetail.getNetworkDetail(), elements); in startANQP() 109 mRequestMap.put(scanDetail.getNetworkDetail().getBSSID(), scanDetail); in startANQP() local 114 + scanDetail + " (" + anqpGet + ")"); in startANQP() 119 scanDetail + ": " + result); in startANQP() 176 ScanDetail scanDetail; in notifyANQPDone() local 178 scanDetail = mRequestMap.remove(bssid); in notifyANQPDone() 181 if (scanDetail == null) { in notifyANQPDone() 188 String bssData = mSupplicantHook.scanResult(scanDetail.getBSSIDString()); in notifyANQPDone() [all …]
|
D | PasspointMatchInfo.java | 90 ScanDetail scanDetail, HomeSP homeSP) { in PasspointMatchInfo() argument 92 mScanDetail = scanDetail; in PasspointMatchInfo()
|