/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | FileUtilsTest.java | 35 import static android.text.format.DateUtils.DAY_IN_MILLIS; 135 touch("file2", 1 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical() 136 touch("file3", 2 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical() 137 touch("file4", 3 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical() 138 touch("file5", 4 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical() 139 assertTrue(FileUtils.deleteOlderFiles(mDeleteTarget, 3, DAY_IN_MILLIS)); in testDeleteOlderTypical() 148 assertTrue(FileUtils.deleteOlderFiles(mDeleteTarget, 0, DAY_IN_MILLIS)); in testDeleteOlderInFuture() 154 assertTrue(FileUtils.deleteOlderFiles(mDeleteTarget, 0, DAY_IN_MILLIS)); in testDeleteOlderInFuture() 161 touch("file2", 1 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderOnlyAge() 162 touch("file3", 2 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderOnlyAge() [all …]
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/model/ |
D | SuggestionCategoryRegistry.java | 45 true /* exclusive */, 14 * DateUtils.DAY_IN_MILLIS)); in buildCategory() argument 47 true /* exclusive */, 3 * DateUtils.DAY_IN_MILLIS)); in buildCategory() argument 49 true /* exclusive */, 14 * DateUtils.DAY_IN_MILLIS)); in buildCategory() argument
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarAlarmManager.java | 102 private static final long CLEAR_OLD_ALARM_THRESHOLD = 7 * DateUtils.DAY_IN_MILLIS 110 static final long NEXT_ALARM_CHECK_TIME_MS = DateUtils.DAY_IN_MILLIS - 258 final long end = currentMillis + DateUtils.DAY_IN_MILLIS; in scheduleNextAlarmLocked() 355 start - DateUtils.DAY_IN_MILLIS, end + DateUtils.DAY_IN_MILLIS, false /* in scheduleNextAlarmLocked()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | Dates.java | 38 public static final long DAY_IN_MILLIS = HOUR_IN_MILLIS * 24; field in Dates 39 public static final long WEEK_IN_MILLIS = DAY_IN_MILLIS * 7; 250 } else if (duration < DAY_IN_MILLIS) { in getShortRelativeTimeSpanString()
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlarmScheduler.java | 93 private static final long MAX_ALARM_ELAPSED_MS = DateUtils.DAY_IN_MILLIS; 143 ContentUris.appendId(uriBuilder, localStartMin - DateUtils.DAY_IN_MILLIS); in queryUpcomingEvents() 144 ContentUris.appendId(uriBuilder, localStartMax + DateUtils.DAY_IN_MILLIS); in queryUpcomingEvents()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarSanityCheckerTest.java | 98 mInjectedRealtimeMillis += DateUtils.DAY_IN_MILLIS - (15 * DateUtils.MINUTE_IN_MILLIS); in testWithLastCheckTime() 112 mInjectedRealtimeMillis += DateUtils.DAY_IN_MILLIS - (15 * DateUtils.MINUTE_IN_MILLIS); in testWithLastCheckTime()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryDatabaseManagerTest.java | 52 private static long ONE_DAY_BEFORE = NOW - DateUtils.DAY_IN_MILLIS; 53 private static long TWO_DAYS_BEFORE = NOW - 2 * DateUtils.DAY_IN_MILLIS;
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetService.java | 100 private static final long SEARCH_DURATION = MAX_DAYS * DateUtils.DAY_IN_MILLIS; 403 long begin = now - DateUtils.DAY_IN_MILLIS; 404 long end = now + SEARCH_DURATION + DateUtils.DAY_IN_MILLIS;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | AppDataUsageTest.java | 382 final long tenDaysAgo = now - (DateUtils.DAY_IN_MILLIS * 10); in onLoadFinished_hasSelectedCycleSpecified_shouldSelectSpecifiedCycle() 383 final long twentyDaysAgo = now - (DateUtils.DAY_IN_MILLIS * 20); in onLoadFinished_hasSelectedCycleSpecified_shouldSelectSpecifiedCycle() 384 final long thirtyDaysAgo = now - (DateUtils.DAY_IN_MILLIS * 30); in onLoadFinished_hasSelectedCycleSpecified_shouldSelectSpecifiedCycle()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateNotificationBridge.java | 146 long startTime = now - (DateUtils.DAY_IN_MILLIS * DAYS_TO_CHECK); in getAggregatedUsageEvents() 183 long startTime = now - (DateUtils.DAY_IN_MILLIS * DAYS_TO_CHECK); in getAggregatedUsageEvents()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppStateNotificationBridge.java | 141 long startTime = now - (DateUtils.DAY_IN_MILLIS * DAYS_TO_CHECK); in getAggregatedUsageEvents() 178 long startTime = now - (DateUtils.DAY_IN_MILLIS * DAYS_TO_CHECK); in getAggregatedUsageEvents()
|
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/ |
D | AutomaticStorageBroadcastReceiver.java | 34 private static final long PERIOD = DateUtils.DAY_IN_MILLIS;
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | AppDeletionPreference.java | 67 lastUse, now, DateUtils.DAY_IN_MILLIS, 0)); in updateSummary()
|
D | FetchDownloadsLoader.java | 70 minimumAgeDays * DateUtils.DAY_IN_MILLIS; in collectFiles()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Event.java | 87 + DateUtils.DAY_IN_MILLIS + " AS " + DISPLAY_AS_ALLDAY, // 19 640 return allDay || endMillis - startMillis >= DateUtils.DAY_IN_MILLIS; in drawAsAllday()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/ |
D | DismissedChecker.java | 116 long days = daysDelay * DateUtils.DAY_IN_MILLIS; in getFirstAppearTimeMillis()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardFeatureProviderImpl.java | 46 final long threshold = System.currentTimeMillis() - DateUtils.DAY_IN_MILLIS; in getContextualCards()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | RecentsLoader.java | 39 private static final long REJECT_OLDER_THAN = 45 * DateUtils.DAY_IN_MILLIS;
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/ |
D | SuggestionParser.java | 150 Log.d(TAG, "Day " + elapsedTime / DateUtils.DAY_IN_MILLIS + " for " in isExclusiveCategoryExpired()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | PermissionActivity.java | 385 final long durationDays = (durationMillis + DateUtils.DAY_IN_MILLIS) in resolveMessageText() 386 / DateUtils.DAY_IN_MILLIS; in resolveMessageText()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenOnboardingActivity.java | 48 static final long ALWAYS_SHOW_THRESHOLD = DateUtils.DAY_IN_MILLIS * 14;
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenOnboardingActivity.java | 48 static final long ALWAYS_SHOW_THRESHOLD = DateUtils.DAY_IN_MILLIS * 14;
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | CellBroadcastHandlerTest.java | 134 (int) DateUtils.DAY_IN_MILLIS); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppStateNotificationBridgeTest.java | 19 import static android.text.format.DateUtils.DAY_IN_MILLIS; 386 sent.lastSent = System.currentTimeMillis() - (2 * DAY_IN_MILLIS); in testSummary_recency()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | FileUtils.java | 866 public static final long DEFAULT_DURATION_PENDING = 7 * DateUtils.DAY_IN_MILLIS; 872 public static final long DEFAULT_DURATION_TRASHED = 30 * DateUtils.DAY_IN_MILLIS;
|