Home
last modified time | relevance | path

Searched refs:YEAR_IN_MILLIS (Results 1 – 12 of 12) 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.java92 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.java295 .setDataUsage(1000L, TIME_A - DateUtils.YEAR_IN_MILLIS).build()); in testAugmentPlan()
299 .setDataUsage(1000L, TIME_A + DateUtils.YEAR_IN_MILLIS).build()); in testAugmentPlan()
/frameworks/base/services/core/java/com/android/server/storage/
DCacheQuotaStrategy.java169 long oneYearAgo = timeNow - DateUtils.YEAR_IN_MILLIS; in getUnfulfilledRequests()
/frameworks/base/core/java/android/text/format/
DDateUtils.java68 public static final long YEAR_IN_MILLIS = WEEK_IN_MILLIS * 52; field in DateUtils
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt30101 field public static final long YEAR_IN_MILLIS = 31449600000L; // 0x7528ad000L
/frameworks/base/api/
Dcurrent.txt49916 field @Deprecated public static final long YEAR_IN_MILLIS = 31449600000L; // 0x7528ad000L