Home
last modified time | relevance | path

Searched refs:YEAR_IN_MILLIS (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/usage/java/com/android/server/usage/
DUnixCalendar.java27 public static final long YEAR_IN_MILLIS = 365 * DAY_IN_MILLIS; field in UnixCalendar
47 mTime += val * YEAR_IN_MILLIS; in addYears()
DUserUsageStatsService.java96 UnixCalendar.MONTH_IN_MILLIS, UnixCalendar.YEAR_IN_MILLIS
/frameworks/base/core/java/android/widget/
DDateTimeView.java22 import static android.text.format.DateUtils.YEAR_IN_MILLIS;
279 } else if (duration < YEAR_IN_MILLIS) {
298 count = (int)(duration / YEAR_IN_MILLIS);
303 millisIncrease = YEAR_IN_MILLIS;
397 } else if (duration < YEAR_IN_MILLIS) { in onInitializeAccessibilityNodeInfoInternal()
411 count = (int)(duration / YEAR_IN_MILLIS); in onInitializeAccessibilityNodeInfoInternal()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DFileRotatorTest.java24 import static android.text.format.DateUtils.YEAR_IN_MILLIS;
234 mBasePath, PREFIX, HOUR_IN_MILLIS, YEAR_IN_MILLIS); in testQueryMatch()
282 mBasePath, PREFIX, DAY_IN_MILLIS, YEAR_IN_MILLIS); in testClockRollingBackwards()
/frameworks/base/core/java/android/text/format/
DRelativeDateTimeFormatter.java54 public static final long YEAR_IN_MILLIS = WEEK_IN_MILLIS * 52; field in RelativeDateTimeFormatter
DDateUtils.java66 public static final long YEAR_IN_MILLIS = WEEK_IN_MILLIS * 52; field in DateUtils
/frameworks/base/core/tests/coretests/src/android/text/format/
DRelativeDateTimeFormatterTest.java29 import static android.text.format.RelativeDateTimeFormatter.YEAR_IN_MILLIS;
497 YEAR_IN_MILLIS, 0)); in test_getRelativeDateTimeString()
/frameworks/base/services/core/java/com/android/server/storage/
DCacheQuotaStrategy.java168 long oneYearAgo = timeNow - DateUtils.YEAR_IN_MILLIS; in getUnfulfilledRequests()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt30101 field public static final long YEAR_IN_MILLIS = 31449600000L; // 0x7528ad000L
/frameworks/base/core/api/
Dcurrent.txt45489 field @Deprecated public static final long YEAR_IN_MILLIS = 31449600000L; // 0x7528ad000L