Home
last modified time | relevance | path

Searched refs:getCurrentDate (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DWatchdogStorageUnitTest.java197 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 …]
DWatchdogPerfHandlerUnitTest.java702 .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 …]
DCarWatchdogServiceUnitTest.java1423 mTimeSource.getCurrentDate()); in sampleDailyIoUsageSummariesForAWeek()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestWallpaperPreferences.kt369 setFirstLaunchDateSinceSetup(getCurrentDate()) in incrementAppLaunched()
519 setFirstWallpaperApplyDateSinceSetup(getCurrentDate()) in setFirstWallpaperApplyDateIfNeeded()
523 private fun getCurrentDate(): Int { in getCurrentDate() method
/packages/services/Car/service/src/com/android/car/watchdog/
DTimeSource.java39 public ZonedDateTime getCurrentDate() { in getCurrentDate() method in TimeSource
DWatchdogPerfHandler.java716 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 …]
DWatchdogStorage.java265 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()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPreferences.kt783 setFirstLaunchDateSinceSetup(getCurrentDate()) in <lambda>()
962 setFirstWallpaperApplyDateSinceSetup(getCurrentDate()) in <lambda>()
966 private fun getCurrentDate(): Int { in <lambda>() method in com.android.wallpaper.module.DefaultWallpaperPreferences
/packages/apps/Car/DebuggingRestrictionController/libs/
Dhttpcore-4.4.13.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...