Searched refs:perNetwork (Results 1 – 5 of 5) sorted by relevance
476 PerNetwork perNetwork = mWifiScoreCard.lookupNetwork(mWifiInfo.getSSID()); in makeSerializedAccessPointExample() local485 perNetwork.addFrequency(mWifiInfo.getFrequency()); in makeSerializedAccessPointExample()492 perNetwork.addFrequency(mWifiInfo.getFrequency()); in makeSerializedAccessPointExample()552 private void checkSerializationBssidExample(String diag, PerNetwork perNetwork) { in checkSerializationBssidExample() argument553 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() local661 checkSerializationBssidExample(diag, perNetwork); in testNetworksSerialization()854 PerNetwork perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testNetworkAssocTimeOut() local855 NetworkConnectionStats dailyStats = perNetwork.getRecentStats(); in testNetworkAssocTimeOut()[all …]
500 PerNetwork perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testTwoDailyDetections() local502 perNetwork.getStatsCurrBuild().getCount(WifiScoreCard.CNT_CONNECTION_ATTEMPT)); in testTwoDailyDetections()604 PerNetwork perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testAfterSwBuildChange() local606 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() local757 assertNotNull(perNetwork); in testRemoveSavedNetwork()761 perNetwork = mWifiScoreCard.fetchByNetwork(mWifiInfo.getSSID()); in testRemoveSavedNetwork()[all …]
3123 WifiScoreCard.PerNetwork perNetwork = mock(WifiScoreCard.PerNetwork.class); in linkScoreCardFreqsToNetwork() local3124 when(mWifiScoreCard.lookupNetwork(config.SSID)).thenReturn(perNetwork); in linkScoreCardFreqsToNetwork()3125 when(perNetwork.getFrequencies(anyLong())).thenReturn(channelList); in linkScoreCardFreqsToNetwork()
311 PerNetwork perNetwork = mWifiScoreCard.lookupNetwork(network.SSID); in dump() local313 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() local355 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 …]
315 PerNetwork perNetwork = lookupNetwork(ssid); in updatePerNetwork() local317 + 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() local594 NetworkConnectionStats recentStats = perNetwork.getRecentStats(); in detectAbnormalDisconnection()616 PerNetwork perNetwork = lookupNetwork(ssid); in detectAbnormalConnectionFailure() local617 NetworkConnectionStats recentStats = perNetwork.getRecentStats(); in detectAbnormalConnectionFailure()1593 void requestReadNetwork(final PerNetwork perNetwork) { in requestReadNetwork() argument1595 mMemoryStore.read(perNetwork.getL2Key(), PER_NETWORK_DATA_NAME, in requestReadNetwork()1596 (value) -> perNetwork.readBackListener(value)); in requestReadNetwork()[all …]