Searched refs:currentDate (Results 1 – 3 of 3) sorted by relevance
347 ZonedDateTime currentDate = mTimeSource.getCurrentDate(); in testGetHistoricalIoOveruseStats() local348 long startTime = currentDate.minus(4, STATS_TEMPORAL_UNIT).toEpochSecond(); in testGetHistoricalIoOveruseStats()349 long duration = currentDate.toEpochSecond() - startTime; in testGetHistoricalIoOveruseStats()391 ZonedDateTime currentDate = mTimeSource.getCurrentDate(); in testGetHistoricalIoOveruseStatsWithNoRecentStats() local392 long startTime = currentDate.minus(4, STATS_TEMPORAL_UNIT).toEpochSecond(); in testGetHistoricalIoOveruseStatsWithNoRecentStats()393 long duration = currentDate.toEpochSecond() - startTime; in testGetHistoricalIoOveruseStatsWithNoRecentStats()418 ZonedDateTime currentDate = mTimeSource.getCurrentDate(); in testGetDailySystemIoUsageSummaries() local423 /* includingStartEpochSeconds= */ currentDate.minusDays(15).toEpochSecond(), in testGetDailySystemIoUsageSummaries()424 /* excludingEndEpochSeconds= */ currentDate.minusDays(7).toEpochSecond()); in testGetDailySystemIoUsageSummaries()453 ZonedDateTime currentDate = mTimeSource.getCurrentDate(); in testGetDailySystemIoUsageSummariesWithLowSystemTotalWrittenBytes() local[all …]
308 ZonedDateTime currentDate = mTimeSource.getCurrentDate(); in getHistoricalIoOveruseStats() local309 long includingStartEpochSeconds = currentDate.minusDays(numDaysAgo).toEpochSecond(); in getHistoricalIoOveruseStats()310 long excludingEndEpochSeconds = currentDate.toEpochSecond(); in getHistoricalIoOveruseStats()392 ZonedDateTime currentDate = in getNotForgivenHistoricalIoOveruses() local394 long includingStartEpochSeconds = currentDate.minusDays(numDaysAgo).toEpochSecond(); in getNotForgivenHistoricalIoOveruses()395 long excludingEndEpochSeconds = currentDate.toEpochSecond(); in getNotForgivenHistoricalIoOveruses()427 ZonedDateTime currentDate = in forgiveHistoricalOveruses() local429 long includingStartEpochSeconds = currentDate.minusDays(numDaysAgo).toEpochSecond(); in forgiveHistoricalOveruses()430 long excludingEndEpochSeconds = currentDate.toEpochSecond(); in forgiveHistoricalOveruses()469 ZonedDateTime currentDate = mTimeSource.getCurrentDate(); in saveIoUsageStats() local[all …]
1512 ZonedDateTime currentDate = mTimeSource.getCurrentDate(); in checkAndResetUserPackageKillableStatesLocked() local1514 currentDate.minusDays(mPackageKillableStateResetDays).toInstant(); in checkAndResetUserPackageKillableStatesLocked()1523 usage.verifyAndSetKillableState(/* isKillable= */ true, currentDate); in checkAndResetUserPackageKillableStatesLocked()1556 ZonedDateTime currentDate = mTimeSource.getCurrentDate(); in checkAndHandleDateChange() local1557 if (currentDate.equals(mLatestStatsReportDate)) { in checkAndHandleDateChange()1560 mLatestStatsReportDate = currentDate; in checkAndHandleDateChange()