Home
last modified time | relevance | path

Searched refs:YEAR_IN_MILLIS (Results 1 – 11 of 11) 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.java70 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;
255 } else if (duration < YEAR_IN_MILLIS) {
272 count = (int)(duration / YEAR_IN_MILLIS);
278 millisIncrease = YEAR_IN_MILLIS;
367 } else if (duration < YEAR_IN_MILLIS) { in onInitializeAccessibilityNodeInfoInternal()
380 count = (int)(duration / YEAR_IN_MILLIS); in onInitializeAccessibilityNodeInfoInternal()
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkStatsHistoryTest.java34 import static android.text.format.DateUtils.YEAR_IN_MILLIS;
262 stats.removeBucketsBefore(TEST_START - YEAR_IN_MILLIS); in testRemove()
279 stats.removeBucketsBefore(TEST_START + YEAR_IN_MILLIS); in testRemove()
473 assertFalse(stats.intersects(TEST_START + YEAR_IN_MILLIS, TEST_START + YEAR_IN_MILLIS + 1)); in testIntersects()
477 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;
102 mBucketDuration = YEAR_IN_MILLIS; in NetworkStatsRecorder()
/frameworks/base/core/java/android/text/format/
DDateUtils.java56 public static final long YEAR_IN_MILLIS = WEEK_IN_MILLIS * 52; field in DateUtils
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt30101 field public static final long YEAR_IN_MILLIS = 31449600000L; // 0x7528ad000L
/frameworks/base/api/
Dcurrent.txt38885 field public static final long YEAR_IN_MILLIS = 31449600000L; // 0x7528ad000L
Dsystem-current.txt42062 field public static final long YEAR_IN_MILLIS = 31449600000L; // 0x7528ad000L
Dtest-current.txt38971 field public static final long YEAR_IN_MILLIS = 31449600000L; // 0x7528ad000L