Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java518 PerNetwork perNetwork = mWifiScoreCard.lookupNetwork(mWifiInfo.getSSID()); in makeSerializedAccessPointExample() local
527 perNetwork.addFrequency(mWifiInfo.getFrequency()); in makeSerializedAccessPointExample()
534 perNetwork.addFrequency(mWifiInfo.getFrequency()); in makeSerializedAccessPointExample()
595 private void checkSerializationBssidExample(String diag, PerNetwork perNetwork) { in checkSerializationBssidExample() argument
596 NetworkConnectionStats dailyStats = perNetwork.getRecentStats(); in checkSerializationBssidExample()
605 List<Integer> frequencies = perNetwork.getFrequencies(Long.MAX_VALUE); in checkSerializationBssidExample()
701 PerNetwork perNetwork = mWifiScoreCard.perNetworkFromNetworkStats(network.getSsid(), in testNetworksSerialization() local
705 checkSerializationBssidExample(diag, perNetwork); in testNetworksSerialization()
912 PerNetwork perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testNetworkAssocTimeOut() local
913 NetworkConnectionStats dailyStats = perNetwork.getRecentStats(); in testNetworkAssocTimeOut()
[all …]
DWifiHealthMonitorTest.java542 PerNetwork perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testTwoDailyDetections() local
544 perNetwork.getStatsCurrBuild().getCount(WifiScoreCard.CNT_CONNECTION_ATTEMPT)); in testTwoDailyDetections()
648 PerNetwork perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testAfterSwBuildChange() local
650 perNetwork.getStatsCurrBuild().getCount(WifiScoreCard.CNT_CONNECTION_ATTEMPT)); in testAfterSwBuildChange()
652 perNetwork.getStatsPrevBuild().getCount(WifiScoreCard.CNT_CONNECTION_ATTEMPT)); in testAfterSwBuildChange()
660 perNetwork.getStatsCurrBuild().getCount(WifiScoreCard.CNT_CONNECTION_ATTEMPT)); in testAfterSwBuildChange()
662 perNetwork.getStatsPrevBuild().getCount(WifiScoreCard.CNT_CONNECTION_ATTEMPT)); in testAfterSwBuildChange()
800 PerNetwork perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testRemoveSavedNetwork() local
801 assertNotNull(perNetwork); in testRemoveSavedNetwork()
805 perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testRemoveSavedNetwork()
[all …]
DWifiConnectivityManagerTest.java4100 WifiScoreCard.PerNetwork perNetwork = mock(WifiScoreCard.PerNetwork.class); in linkScoreCardFreqsToNetwork() local
4101 when(mWifiScoreCard.lookupNetwork(config.SSID)).thenReturn(perNetwork); in linkScoreCardFreqsToNetwork()
4102 when(perNetwork.getFrequencies(anyLong())).thenReturn(channelList); in linkScoreCardFreqsToNetwork()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiHealthMonitor.java341 PerNetwork perNetwork = mWifiScoreCard.lookupNetwork(network.SSID); in dump()
343 if (perNetwork.getStatsCurrBuild().getCount(cntName) > 0 in dump()
344 || perNetwork.getRecentStats().getCount(cntName) > 0 in dump()
396 PerNetwork perNetwork = mWifiScoreCard.lookupNetwork(network.SSID); in dailyDetectionHandler() local
398 int detectionFlag = perNetwork.dailyDetection(mFailureStatsDecrease, in dailyDetectionHandler()
407 connectionDurationSec += perNetwork.getRecentStats().getCount( in dailyDetectionHandler()
410 logd("before daily update: " + perNetwork); in dailyDetectionHandler()
412 perNetwork.updateAfterDailyDetection(); in dailyDetectionHandler()
413 logd("after daily update: " + perNetwork); in dailyDetectionHandler()
551 WifiScoreCard.PerNetwork perNetwork = mWifiScoreCard.fetchByNetwork(network.SSID); in requestReadAllNetworks() local
[all …]
DWifiScoreCard.java380 PerNetwork perNetwork = lookupNetwork(ssid); in updatePerNetwork() local
382 + ssid) + " ID: " + perNetwork.id + " RSSI " + rssi + " txSpeed " + txSpeed); in updatePerNetwork()
383 perNetwork.updateEventStats(event, rssi, txSpeed, failureReason, ifaceInfo); in updatePerNetwork()
433 PerNetwork perNetwork = lookupNetwork(wifiInfo.getSSID()); in noteIpConfiguration() local
434 perNetwork.initBandwidthFilter(wifiInfo); in noteIpConfiguration()
673 PerNetwork perNetwork = lookupNetwork(ssid); in detectAbnormalDisconnection() local
674 NetworkConnectionStats recentStats = perNetwork.getRecentStats(); in detectAbnormalDisconnection()
696 PerNetwork perNetwork = lookupNetwork(ssid); in detectAbnormalConnectionFailure() local
697 NetworkConnectionStats recentStats = perNetwork.getRecentStats(); in detectAbnormalConnectionFailure()
2211 void requestReadNetwork(final PerNetwork perNetwork) { in requestReadNetwork() argument
[all …]