Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsReleaseStorage.java111 private static final long YEAR_IN_MILLIS = 365 * 24 * 3600 * 1000L; field in SmsReleaseStorage
126 return duration.mCount * YEAR_IN_MILLIS; in durationToTimeInMillis()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsHistoryTest.java41 import static android.text.format.DateUtils.YEAR_IN_MILLIS;
301 stats.removeBucketsStartingBefore(TEST_START - YEAR_IN_MILLIS); in testRemoveStartingBefore()
318 stats.removeBucketsStartingBefore(TEST_START + YEAR_IN_MILLIS); in testRemoveStartingBefore()
533 assertFalse(stats.intersects(TEST_START + YEAR_IN_MILLIS, TEST_START + YEAR_IN_MILLIS + 1)); in testIntersects()
537 assertTrue(stats.intersects(10, TEST_START + YEAR_IN_MILLIS)); in testIntersects()
DNetworkStatsCollectionTest.java332 .setDataUsage(1000L, TIME_A - DateUtils.YEAR_IN_MILLIS).build()); in testAugmentPlan()
336 .setDataUsage(1000L, TIME_A + DateUtils.YEAR_IN_MILLIS).build()); in testAugmentPlan()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1963 startMs - DateUtils.YEAR_IN_MILLIS, in testInstanceSearchQuery()
1975 startMs - DateUtils.YEAR_IN_MILLIS, in testInstanceSearchQuery()
1987 startMs - DateUtils.YEAR_IN_MILLIS, in testInstanceSearchQuery()
1999 startMs - DateUtils.YEAR_IN_MILLIS, in testInstanceSearchQuery()
2011 startMs - DateUtils.YEAR_IN_MILLIS, in testInstanceSearchQuery()
2023 startMs - DateUtils.YEAR_IN_MILLIS, in testInstanceSearchQuery()
2035 startMs - DateUtils.YEAR_IN_MILLIS, in testInstanceSearchQuery()
2047 startMs - DateUtils.YEAR_IN_MILLIS, in testInstanceSearchQuery()
2770 startMs - DateUtils.YEAR_IN_MILLIS, startMs + DateUtils.HOUR_IN_MILLIS, in testInstanceQuery()
2780 startMs - DateUtils.YEAR_IN_MILLIS, startMs + 2 * DateUtils.HOUR_IN_MILLIS, in testInstanceQuery()
[all …]
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsRecorder.java22 import static android.text.format.DateUtils.YEAR_IN_MILLIS;
112 mBucketDuration = YEAR_IN_MILLIS; in NetworkStatsRecorder()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppStateUsageStatsBridge.java125 long startTime = now - DateUtils.YEAR_IN_MILLIS; in getAggregatedUsageStats()
DAppsAsyncLoader.java103 long startTime = now - DateUtils.YEAR_IN_MILLIS; in loadApps()
/packages/apps/Messaging/src/com/android/messaging/util/
DDates.java143 } else if (timeDiff < DateUtils.YEAR_IN_MILLIS) { in getTimestamp()