Home
last modified time | relevance | path

Searched refs:YEAR_IN_MILLIS (Results 1 – 14 of 14) 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.java82 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;
276 } else if (duration < YEAR_IN_MILLIS) {
296 count = (int)(duration / YEAR_IN_MILLIS);
302 millisIncrease = YEAR_IN_MILLIS;
385 } else if (duration < YEAR_IN_MILLIS) { in onInitializeAccessibilityNodeInfoInternal()
401 count = (int)(duration / YEAR_IN_MILLIS); in onInitializeAccessibilityNodeInfoInternal()
/frameworks/base/tests/net/java/android/net/
DNetworkStatsHistoryTest.java34 import static android.text.format.DateUtils.YEAR_IN_MILLIS;
282 stats.removeBucketsBefore(TEST_START - YEAR_IN_MILLIS); in testRemove()
299 stats.removeBucketsBefore(TEST_START + YEAR_IN_MILLIS); in testRemove()
501 assertFalse(stats.intersects(TEST_START + YEAR_IN_MILLIS, TEST_START + YEAR_IN_MILLIS + 1)); in testIntersects()
505 assertTrue(stats.intersects(10, TEST_START + YEAR_IN_MILLIS)); in testIntersects()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DFileRotatorTest.java24 import static android.text.format.DateUtils.YEAR_IN_MILLIS;
237 mBasePath, PREFIX, HOUR_IN_MILLIS, YEAR_IN_MILLIS); in testQueryMatch()
285 mBasePath, PREFIX, DAY_IN_MILLIS, YEAR_IN_MILLIS); in testClockRollingBackwards()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsRecorder.java22 import static android.text.format.DateUtils.YEAR_IN_MILLIS;
104 mBucketDuration = YEAR_IN_MILLIS; in NetworkStatsRecorder()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsCollectionTest.java296 .setDataUsage(1000L, TIME_A - DateUtils.YEAR_IN_MILLIS).build()); in testAugmentPlan()
300 .setDataUsage(1000L, TIME_A + DateUtils.YEAR_IN_MILLIS).build()); in testAugmentPlan()
/frameworks/base/core/java/android/text/format/
DRelativeDateTimeFormatter.java54 public static final long YEAR_IN_MILLIS = WEEK_IN_MILLIS * 52; field in RelativeDateTimeFormatter
DDateUtils.java62 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/non-updatable-api/
Dcurrent.txt47673 field @Deprecated public static final long YEAR_IN_MILLIS = 31449600000L; // 0x7528ad000L
/frameworks/base/api/
Dcurrent.txt47817 field @Deprecated public static final long YEAR_IN_MILLIS = 31449600000L; // 0x7528ad000L