Home
last modified time | relevance | path

Searched refs:detectionFlag (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java1425 int detectionFlag = perNetwork.dailyDetection(statsDec, statsInc, statsHigh); in testDailyDetectionWithInsufficientRecentStats() local
1426 assertEquals(WifiScoreCard.INSUFFICIENT_RECENT_STATS, detectionFlag); in testDailyDetectionWithInsufficientRecentStats()
1470 int detectionFlag = perNetwork.dailyDetection(statsDec, statsInc, statsHigh); in testRegressionAfterSwBuildChange() local
1471 assertEquals(WifiScoreCard.SUFFICIENT_RECENT_PREV_STATS, detectionFlag); in testRegressionAfterSwBuildChange()
1501 int detectionFlag = perNetwork.dailyDetection(statsDec, statsInc, statsHigh); in testMissRegressionDetectionDuetoLowFailureCnt() local
1502 assertEquals(WifiScoreCard.SUFFICIENT_RECENT_PREV_STATS, detectionFlag); in testMissRegressionDetectionDuetoLowFailureCnt()
1558 int detectionFlag = perNetwork.dailyDetection(statsDec, statsInc, statsHigh); in testPoorConnectionWithoutHistory() local
1559 assertEquals(WifiScoreCard.SUFFICIENT_RECENT_STATS_ONLY, detectionFlag); in testPoorConnectionWithoutHistory()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiHealthMonitor.java398 int detectionFlag = perNetwork.dailyDetection(mFailureStatsDecrease, in dailyDetectionHandler() local
400 if (detectionFlag == WifiScoreCard.SUFFICIENT_RECENT_STATS_ONLY) { in dailyDetectionHandler()
403 if (detectionFlag == WifiScoreCard.SUFFICIENT_RECENT_PREV_STATS) { in dailyDetectionHandler()