Searched refs:getCurrentDate (Results 1 – 9 of 9) sorted by relevance
197 long startTime = mTimeSource.getCurrentDate().toEpochSecond(); in testSaveAndGetIoOveruseStats()218 long startTime = mTimeSource.getCurrentDate().plusHours(12).toEpochSecond(); in testSaveAndGetIoOveruseStatsWithOffsettedStartTime()225 long expectedStartTime = mTimeSource.getCurrentDate().toEpochSecond(); in testSaveAndGetIoOveruseStatsWithOffsettedStartTime()241 long startTime = mTimeSource.getCurrentDate().toEpochSecond(); in testOverwriteIoOveruseStats()347 ZonedDateTime currentDate = mTimeSource.getCurrentDate(); in testGetHistoricalIoOveruseStats()391 ZonedDateTime currentDate = mTimeSource.getCurrentDate(); in testGetHistoricalIoOveruseStatsWithNoRecentStats()418 ZonedDateTime currentDate = mTimeSource.getCurrentDate(); in testGetDailySystemIoUsageSummaries()453 ZonedDateTime currentDate = mTimeSource.getCurrentDate(); in testGetDailySystemIoUsageSummariesWithLowSystemTotalWrittenBytes()479 ZonedDateTime currentDate = mTimeSource.getCurrentDate(); in testGetDailySystemIoUsageSummariesWithoutStats()505 ZonedDateTime currentDate = mTimeSource.getCurrentDate(); in testGetTopUsersDailyIoUsageSummaries()[all …]
702 .isEqualTo(mTimeSource.getCurrentDate()); in testWriteMetadataFile()705 .isEqualTo(mTimeSource.getCurrentDate().minus(RETENTION_PERIOD)); in testWriteMetadataFile()3628 mTimeSource.getCurrentDate().minus(RETENTION_PERIOD), in testPullUidIoUsageSummaryAtomsWithDateChange()3651 mTimeSource.getCurrentDate().minus(1, ChronoUnit.WEEKS), in testPullUidIoUsageSummaryAtomsWithDateChange()3669 mTimeSource.getCurrentDate().minus(RETENTION_PERIOD)); in testPullSystemIoUsageSummaryAtomsWithRestart()3698 mTimeSource.getCurrentDate().minus(RETENTION_PERIOD)); in testPullSystemIoUsageSummaryAtomsWithDateChange()3720 mTimeSource.getCurrentDate().minus(1, ChronoUnit.WEEKS)); in testPullSystemIoUsageSummaryAtomsWithDateChange()3745 mTimeSource.getCurrentDate().minus(RETENTION_PERIOD), in testPullUidIoUsageSummaryAtomsForTopUids()3768 mTimeSource.getCurrentDate().minus(RETENTION_PERIOD), in testPullUidIoUsageSummaryAtomsWithRestart()3845 ZonedDateTime endWeekStartDate = mTimeSource.getCurrentDate() in verifyAndGetSystemIoUsageSummaries()[all …]
1423 mTimeSource.getCurrentDate()); in sampleDailyIoUsageSummariesForAWeek()
369 setFirstLaunchDateSinceSetup(getCurrentDate()) in incrementAppLaunched()519 setFirstWallpaperApplyDateSinceSetup(getCurrentDate()) in setFirstWallpaperApplyDateIfNeeded()523 private fun getCurrentDate(): Int { in getCurrentDate() method
39 public ZonedDateTime getCurrentDate() { in getCurrentDate() method in TimeSource
716 if (!usage.verifyAndSetKillableState(isKillable, mTimeSource.getCurrentDate())) { in setKillablePackageAsUser()750 if (!usage.verifyAndSetKillableState(isKillable, mTimeSource.getCurrentDate())) { in setPackageKillableStateForAllUsers()1007 mTimeSource.getCurrentDate()); in resetResourceOveruseStats()1313 ZonedDateTime curReportDate = mTimeSource.getCurrentDate(); in readFromDatabase()1430 mTimeSource.getCurrentDate().toEpochSecond())); in writeToDatabase()1512 ZonedDateTime currentDate = mTimeSource.getCurrentDate(); in checkAndResetUserPackageKillableStatesLocked()1556 ZonedDateTime currentDate = mTimeSource.getCurrentDate(); in checkAndHandleDateChange()2165 mLastSystemIoUsageSummaryReportedDate = mTimeSource.getCurrentDate(); in onPullAtom()2175 mLastUidIoUsageSummaryReportedDate = mTimeSource.getCurrentDate(); in onPullAtom()2188 mTimeSource.getCurrentDate().minus(RETENTION_PERIOD); in readMetadataFileLocked()[all …]
265 long includingStartEpochSeconds = mTimeSource.getCurrentDate().toEpochSecond(); in getTodayIoUsageStats()308 ZonedDateTime currentDate = mTimeSource.getCurrentDate(); in getHistoricalIoOveruseStats()469 ZonedDateTime currentDate = mTimeSource.getCurrentDate(); in saveIoUsageStats()1316 ZonedDateTime currentDate = mTimeSource.getCurrentDate(); in onShrink()1401 .append(mTimeSource.getCurrentDate().toEpochSecond()).append(" FROM ") in upgradeToVersion3()
783 setFirstLaunchDateSinceSetup(getCurrentDate()) in <lambda>()962 setFirstWallpaperApplyDateSinceSetup(getCurrentDate()) in <lambda>()966 private fun getCurrentDate(): Int { in <lambda>() method in com.android.wallpaper.module.DefaultWallpaperPreferences
META-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...