Home
last modified time | relevance | path

Searched refs:perNetwork (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java476 PerNetwork perNetwork = mWifiScoreCard.lookupNetwork(mWifiInfo.getSSID()); in makeSerializedAccessPointExample() local
485 perNetwork.addFrequency(mWifiInfo.getFrequency()); in makeSerializedAccessPointExample()
492 perNetwork.addFrequency(mWifiInfo.getFrequency()); in makeSerializedAccessPointExample()
552 private void checkSerializationBssidExample(String diag, PerNetwork perNetwork) { in checkSerializationBssidExample() argument
553 NetworkConnectionStats dailyStats = perNetwork.getRecentStats(); in checkSerializationBssidExample()
562 List<Integer> frequencies = perNetwork.getFrequencies(Long.MAX_VALUE); in checkSerializationBssidExample()
657 PerNetwork perNetwork = mWifiScoreCard.perNetworkFromNetworkStats(network.getSsid(), in testNetworksSerialization() local
661 checkSerializationBssidExample(diag, perNetwork); in testNetworksSerialization()
854 PerNetwork perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testNetworkAssocTimeOut() local
855 NetworkConnectionStats dailyStats = perNetwork.getRecentStats(); in testNetworkAssocTimeOut()
[all …]
DWifiHealthMonitorTest.java500 PerNetwork perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testTwoDailyDetections() local
502 perNetwork.getStatsCurrBuild().getCount(WifiScoreCard.CNT_CONNECTION_ATTEMPT)); in testTwoDailyDetections()
604 PerNetwork perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testAfterSwBuildChange() local
606 perNetwork.getStatsCurrBuild().getCount(WifiScoreCard.CNT_CONNECTION_ATTEMPT)); in testAfterSwBuildChange()
608 perNetwork.getStatsPrevBuild().getCount(WifiScoreCard.CNT_CONNECTION_ATTEMPT)); in testAfterSwBuildChange()
616 perNetwork.getStatsCurrBuild().getCount(WifiScoreCard.CNT_CONNECTION_ATTEMPT)); in testAfterSwBuildChange()
618 perNetwork.getStatsPrevBuild().getCount(WifiScoreCard.CNT_CONNECTION_ATTEMPT)); in testAfterSwBuildChange()
756 PerNetwork perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testRemoveSavedNetwork() local
757 assertNotNull(perNetwork); in testRemoveSavedNetwork()
761 perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testRemoveSavedNetwork()
[all …]
DWifiConnectivityManagerTest.java3123 WifiScoreCard.PerNetwork perNetwork = mock(WifiScoreCard.PerNetwork.class); in linkScoreCardFreqsToNetwork() local
3124 when(mWifiScoreCard.lookupNetwork(config.SSID)).thenReturn(perNetwork); in linkScoreCardFreqsToNetwork()
3125 when(perNetwork.getFrequencies(anyLong())).thenReturn(channelList); in linkScoreCardFreqsToNetwork()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiHealthMonitor.java311 PerNetwork perNetwork = mWifiScoreCard.lookupNetwork(network.SSID); in dump() local
313 if (perNetwork.getStatsCurrBuild().getCount(cntName) > 0 in dump()
314 || perNetwork.getRecentStats().getCount(cntName) > 0) { in dump()
353 PerNetwork perNetwork = mWifiScoreCard.lookupNetwork(network.SSID); in dailyDetectionHandler() local
355 int detectionFlag = perNetwork.dailyDetection(mFailureStatsDecrease, in dailyDetectionHandler()
364 connectionDurationSec += perNetwork.getRecentStats().getCount( in dailyDetectionHandler()
367 logd("before daily update: " + perNetwork); in dailyDetectionHandler()
369 perNetwork.updateAfterDailyDetection(); in dailyDetectionHandler()
370 logd("after daily update: " + perNetwork); in dailyDetectionHandler()
506 WifiScoreCard.PerNetwork perNetwork = mWifiScoreCard.fetchByNetwork(network.SSID); in requestReadAllNetworks() local
[all …]
DWifiScoreCard.java315 PerNetwork perNetwork = lookupNetwork(ssid); in updatePerNetwork() local
317 + ssid) + " ID: " + perNetwork.id + " RSSI " + rssi + " txSpeed " + txSpeed); in updatePerNetwork()
318 perNetwork.updateEventStats(event, rssi, txSpeed, failureReason); in updatePerNetwork()
593 PerNetwork perNetwork = lookupNetwork(ssid); in detectAbnormalDisconnection() local
594 NetworkConnectionStats recentStats = perNetwork.getRecentStats(); in detectAbnormalDisconnection()
616 PerNetwork perNetwork = lookupNetwork(ssid); in detectAbnormalConnectionFailure() local
617 NetworkConnectionStats recentStats = perNetwork.getRecentStats(); in detectAbnormalConnectionFailure()
1593 void requestReadNetwork(final PerNetwork perNetwork) { in requestReadNetwork() argument
1595 mMemoryStore.read(perNetwork.getL2Key(), PER_NETWORK_DATA_NAME, in requestReadNetwork()
1596 (value) -> perNetwork.readBackListener(value)); in requestReadNetwork()
[all …]