Searched refs:failureStats (Results 1 – 2 of 2) sorted by relevance
434 private void writeToWifiStatsLogPerStats(FailureStats failureStats, int abnormalityType) { in writeToWifiStatsLogPerStats() argument435 int cntAssocRejection = failureStats.getCount(REASON_ASSOC_REJECTION); in writeToWifiStatsLogPerStats()441 int cntAssocTimeout = failureStats.getCount(REASON_ASSOC_TIMEOUT); in writeToWifiStatsLogPerStats()447 int cntAuthFailure = failureStats.getCount(REASON_AUTH_FAILURE); in writeToWifiStatsLogPerStats()453 int cntConnectionFailure = failureStats.getCount(REASON_CONNECTION_FAILURE); in writeToWifiStatsLogPerStats()459 int cntDisconnectionNonlocal = failureStats.getCount(REASON_DISCONNECTION_NONLOCAL); in writeToWifiStatsLogPerStats()465 int cntShortConnectionNonlocal = failureStats.getCount(REASON_SHORT_CONNECTION_NONLOCAL); in writeToWifiStatsLogPerStats()491 private HealthMonitorFailureStats failureStatsToProto(FailureStats failureStats) { in failureStatsToProto() argument493 stats.cntAssocRejection = failureStats.getCount(REASON_ASSOC_REJECTION); in failureStatsToProto()494 stats.cntAssocTimeout = failureStats.getCount(REASON_ASSOC_TIMEOUT); in failureStatsToProto()[all …]
586 WifiHealthMonitor.FailureStats failureStats = new WifiHealthMonitor.FailureStats(); in testFailureStats() local587 failureStats.setCount(WifiHealthMonitor.REASON_AUTH_FAILURE, 10); in testFailureStats()588 failureStats.incrementCount(WifiHealthMonitor.REASON_AUTH_FAILURE); in testFailureStats()593 assertEquals(11, failureStats.getCount(WifiHealthMonitor.REASON_AUTH_FAILURE)); in testFailureStats()594 assertEquals(true, failureStats.toString().contains(expectedString)); in testFailureStats()595 assertEquals(false, failureStats.toString().contains(unexpectedString)); in testFailureStats()