Home
last modified time | relevance | path

Searched refs:WEEK_IN_MILLIS (Results 1 – 13 of 13) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/
DFormattedDateBuilder.java79 2 * DateUtils.WEEK_IN_MILLIS, in formatLongDateTime()
142 if (transitionResolution > DateUtils.WEEK_IN_MILLIS) { in getRelativeDateTimeString()
143 transitionResolution = DateUtils.WEEK_IN_MILLIS; in getRelativeDateTimeString()
/packages/apps/Messaging/src/com/android/messaging/util/
DDates.java39 public static final long WEEK_IN_MILLIS = DAY_IN_MILLIS * 7; field in Dates
138 } else if (timeDiff < DateUtils.WEEK_IN_MILLIS) { in getTimestamp()
253 } else if (duration < WEEK_IN_MILLIS) { in getShortRelativeTimeSpanString()
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsReleaseStorage.java109 private static final long WEEK_IN_MILLIS = 7 * 24 * 3600 * 1000L; field in SmsReleaseStorage
122 return duration.mCount * WEEK_IN_MILLIS; in durationToTimeInMillis()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DAppDataUsageFragmentTest.java93 assertThat(timeDiff).isEqualTo(DateUtils.WEEK_IN_MILLIS * 4); in onActivityCreated_policyIsNull_startAndEndDateShouldHaveFourWeeksDifference()
110 assertThat(timeDiff).isEqualTo(DateUtils.WEEK_IN_MILLIS * 4); in onActivityCreated_iteratorIsEmpty_startAndEndDateShouldHaveFourWeeksDifference()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppDataUsageFragment.java131 long cycleStart = cycleEnd - (DateUtils.WEEK_IN_MILLIS * 4); in getBundleForNetworkStats()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DAppDataUsageTest.java311 final long start = end - (DateUtils.WEEK_IN_MILLIS * 4); in onCreateLoader_categoryApp_shouldQueryDataUsageUsingAppKey()
336 final long start = end - (DateUtils.WEEK_IN_MILLIS * 4); in onCreateLoader_categoryUser_shouldQueryDataUsageUsingAssociatedUids()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadIdleService.java117 final long modifiedBefore = System.currentTimeMillis() - DateUtils.WEEK_IN_MILLIS; in cleanStale()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DCycleAdapter.java119 final long cycleStart = cycleEnd - (DateUtils.WEEK_IN_MILLIS * 4); in updateCycleList()
/packages/apps/Settings/src/com/android/settings/datausage/
DCycleAdapter.java119 final long cycleStart = cycleEnd - (DateUtils.WEEK_IN_MILLIS * 4); in updateCycleList()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlarmScheduler.java92 private static final long EVENT_LOOKAHEAD_WINDOW_MS = DateUtils.WEEK_IN_MILLIS;
/packages/apps/Calendar/src/com/android/calendar/
DCalendarViewAdapter.java388 long weekEndTime = weekStartTime + DateUtils.WEEK_IN_MILLIS - DateUtils.DAY_IN_MILLIS; in buildWeekDate()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthByWeekFragment.java459 long offset = useSelected ? 0 : DateUtils.WEEK_IN_MILLIS * mNumWeeks / 3; in setMonthDisplayed()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java882 final long from = ((System.currentTimeMillis() - DateUtils.WEEK_IN_MILLIS) / 1000); in onIdleMaintenance()
896 final long lastWeek = System.currentTimeMillis() - DateUtils.WEEK_IN_MILLIS; in onIdleMaintenance()