Home
last modified time | relevance | path

Searched refs:DAY_IN_MILLIS (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/model/
DSuggestionCategoryRegistry.java45 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/
DCalendarAlarmManager.java102 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/
DDates.java38 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/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarSanityCheckerTest.java80 mInjectedRealtimeMillis += DateUtils.DAY_IN_MILLIS - (15 * DateUtils.MINUTE_IN_MILLIS); in testWithLastCheckTime()
94 mInjectedRealtimeMillis += DateUtils.DAY_IN_MILLIS - (15 * DateUtils.MINUTE_IN_MILLIS); in testWithLastCheckTime()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlarmScheduler.java93 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/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryDatabaseManagerTest.java52 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/
DCalendarAppWidgetService.java100 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/
DAppDataUsageTest.java379 final long tenDaysAgo = now - (DateUtils.DAY_IN_MILLIS * 10); in onLoadFinished_hasSelectedCycleSpecified_shouldSelectSpecifiedCycle()
380 final long twentyDaysAgo = now - (DateUtils.DAY_IN_MILLIS * 20); in onLoadFinished_hasSelectedCycleSpecified_shouldSelectSpecifiedCycle()
381 final long thirtyDaysAgo = now - (DateUtils.DAY_IN_MILLIS * 30); in onLoadFinished_hasSelectedCycleSpecified_shouldSelectSpecifiedCycle()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateNotificationBridge.java143 long startTime = now - (DateUtils.DAY_IN_MILLIS * DAYS_TO_CHECK); in getAggregatedUsageEvents()
180 long startTime = now - (DateUtils.DAY_IN_MILLIS * DAYS_TO_CHECK); in getAggregatedUsageEvents()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStateNotificationBridge.java141 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/
DAutomaticStorageBroadcastReceiver.java34 private static final long PERIOD = DateUtils.DAY_IN_MILLIS;
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppDeletionPreference.java67 lastUse, now, DateUtils.DAY_IN_MILLIS, 0)); in updateSummary()
DFetchDownloadsLoader.java70 minimumAgeDays * DateUtils.DAY_IN_MILLIS; in collectFiles()
/packages/apps/Calendar/src/com/android/calendar/
DEvent.java87 + DateUtils.DAY_IN_MILLIS + " AS " + DISPLAY_AS_ALLDAY, // 19
640 return allDay || endMillis - startMillis >= DateUtils.DAY_IN_MILLIS; in drawAsAllday()
DCalendarViewAdapter.java388 long weekEndTime = weekStartTime + DateUtils.WEEK_IN_MILLIS - DateUtils.DAY_IN_MILLIS; in buildWeekDate()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DRecentsLoader.java38 private static final long REJECT_OLDER_THAN = 45 * DateUtils.DAY_IN_MILLIS;
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/
DDismissedChecker.java116 long days = daysDelay * DateUtils.DAY_IN_MILLIS; in getFirstAppearTimeMillis()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/
DSuggestionParser.java150 Log.d(TAG, "Day " + elapsedTime / DateUtils.DAY_IN_MILLIS + " for " in isExclusiveCategoryExpired()
/packages/apps/Settings/src/com/android/settings/notification/
DZenOnboardingActivity.java48 static final long ALWAYS_SHOW_THRESHOLD = DateUtils.DAY_IN_MILLIS * 14;
DNotificationBackend.java372 long startTime = now - (DateUtils.DAY_IN_MILLIS * DAYS_TO_CHECK); in recordAggregatedUsageEvents()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenOnboardingActivity.java48 static final long ALWAYS_SHOW_THRESHOLD = DateUtils.DAY_IN_MILLIS * 14;
DNotificationBackend.java355 long startTime = now - (DateUtils.DAY_IN_MILLIS * DAYS_TO_CHECK); in recordAggregatedUsageEvents()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStateNotificationBridgeTest.java19 import static android.text.format.DateUtils.DAY_IN_MILLIS;
381 sent.lastSent = System.currentTimeMillis() - (2 * DAY_IN_MILLIS); in testSummary_recency()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCellBroadcastHandlerTest.java133 (int) DateUtils.DAY_IN_MILLIS); in setUp()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DGsmCellBroadcastHandler.java139 long lastReceivedTime = System.currentTimeMillis() - DateUtils.DAY_IN_MILLIS; in handleGeoFencingTriggerMessage()

12