Searched refs:DAYS_TO_CHECK (Results 1 – 2 of 2) sorted by relevance
58 private static final int DAYS_TO_CHECK = 7; field in AppStateNotificationBridge137 stats.avgSentDaily = Math.round((float) stats.sentCount / DAYS_TO_CHECK); in calculateAvgSentCounts()138 if (stats.sentCount < DAYS_TO_CHECK) { in calculateAvgSentCounts()148 long startTime = now - (DateUtils.DAY_IN_MILLIS * DAYS_TO_CHECK); in getAggregatedUsageEvents()185 long startTime = now - (DateUtils.DAY_IN_MILLIS * DAYS_TO_CHECK); in getAggregatedUsageEvents()
75 private static final int DAYS_TO_CHECK = 7; field in NotificationBackend483 long startTime = now - (DateUtils.DAY_IN_MILLIS * DAYS_TO_CHECK); in recordAggregatedUsageEvents()548 stats.avgSentDaily = Math.round((float) stats.sentCount / DAYS_TO_CHECK); in calculateAvgSentCounts()549 if (stats.sentCount < DAYS_TO_CHECK) { in calculateAvgSentCounts()