Searched refs:YEAR_IN_MILLIS (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UnixCalendar.java | 27 public static final long YEAR_IN_MILLIS = 365 * DAY_IN_MILLIS; field in UnixCalendar 47 mTime += val * YEAR_IN_MILLIS; in addYears()
|
D | UserUsageStatsService.java | 82 UnixCalendar.MONTH_IN_MILLIS, UnixCalendar.YEAR_IN_MILLIS
|
/frameworks/base/core/java/android/widget/ |
D | DateTimeView.java | 22 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/ |
D | NetworkStatsHistoryTest.java | 34 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/ |
D | FileRotatorTest.java | 24 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/ |
D | NetworkStatsRecorder.java | 22 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/ |
D | NetworkStatsCollectionTest.java | 296 .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/ |
D | RelativeDateTimeFormatter.java | 54 public static final long YEAR_IN_MILLIS = WEEK_IN_MILLIS * 52; field in RelativeDateTimeFormatter
|
D | DateUtils.java | 62 public static final long YEAR_IN_MILLIS = WEEK_IN_MILLIS * 52; field in DateUtils
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | RelativeDateTimeFormatterTest.java | 29 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/ |
D | CacheQuotaStrategy.java | 168 long oneYearAgo = timeNow - DateUtils.YEAR_IN_MILLIS; in getUnfulfilledRequests()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 30101 field public static final long YEAR_IN_MILLIS = 31449600000L; // 0x7528ad000L
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 47673 field @Deprecated public static final long YEAR_IN_MILLIS = 31449600000L; // 0x7528ad000L
|
/frameworks/base/api/ |
D | current.txt | 47817 field @Deprecated public static final long YEAR_IN_MILLIS = 31449600000L; // 0x7528ad000L
|