/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkStatsHistoryTest.java | 33 import static android.text.format.DateUtils.WEEK_IN_MILLIS; 143 final long lastStart = TEST_START + WEEK_IN_MILLIS; in testRecordGapBuckets() 200 assertValues(stats, TEST_START - WEEK_IN_MILLIS, TEST_START + WEEK_IN_MILLIS, 3000L, 1500L); in testRecordEntireGapIdentical() 224 assertValues(stats, TEST_START - WEEK_IN_MILLIS, TEST_START + WEEK_IN_MILLIS, 650L, 650L); in testRecordEntireOverlapVaryingBuckets() 241 assertValues(stats, TEST_START - WEEK_IN_MILLIS, TEST_START + WEEK_IN_MILLIS, 650L, 650L); in testRecordEntireOverlapVaryingBuckets() 291 assertValues(stats, TEST_START - WEEK_IN_MILLIS, TEST_START - DAY_IN_MILLIS, 0L, 0L); in testTotalData() 300 … assertValues(stats, TEST_START + (23 * HOUR_IN_MILLIS), TEST_START + WEEK_IN_MILLIS, 100L, 200L); in testTotalData() 303 assertValues(stats, TEST_START - WEEK_IN_MILLIS, TEST_START + WEEK_IN_MILLIS, 2400L, 4800L); in testTotalData() 418 final long SECOND_START = TEST_START + WEEK_IN_MILLIS; in testIndexBeforeAfter() 420 final long THIRD_START = TEST_START + (2 * WEEK_IN_MILLIS); in testIndexBeforeAfter() [all …]
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UnixCalendar.java | 25 public static final long WEEK_IN_MILLIS = 7 * DAY_IN_MILLIS; field in UnixCalendar 39 mTime += val * WEEK_IN_MILLIS; in addWeeks()
|
D | UserUsageStatsService.java | 69 UnixCalendar.DAY_IN_MILLIS, UnixCalendar.WEEK_IN_MILLIS,
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | FileRotatorTest.java | 23 import static android.text.format.DateUtils.WEEK_IN_MILLIS; 75 mBasePath, PREFIX, DAY_IN_MILLIS, WEEK_IN_MILLIS); in testEmpty() 77 mBasePath, ANOTHER_PREFIX, DAY_IN_MILLIS, WEEK_IN_MILLIS); in testEmpty() 93 mBasePath, PREFIX, DAY_IN_MILLIS, WEEK_IN_MILLIS); in testCombine() 114 mBasePath, PREFIX, DAY_IN_MILLIS, WEEK_IN_MILLIS); in testRotate() 169 currentTime += WEEK_IN_MILLIS; in testDelete()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 21 import static android.text.format.DateUtils.WEEK_IN_MILLIS; 140 FileUtils.deleteOlderFiles(mDir, 10, WEEK_IN_MILLIS); in testDeleteOlderEmptyDir() 157 touch("file3", WEEK_IN_MILLIS); in testDeleteOlderInFuture() 163 touch("file3", WEEK_IN_MILLIS); in testDeleteOlderInFuture()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportReceiver.java | 51 private static final long MIN_KEEP_AGE = DateUtils.WEEK_IN_MILLIS;
|
/frameworks/base/core/java/android/text/format/ |
D | DateUtils.java | 52 public static final long WEEK_IN_MILLIS = DAY_IN_MILLIS * 7; field in DateUtils 56 public static final long YEAR_IN_MILLIS = WEEK_IN_MILLIS * 52;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 42 import static android.text.format.DateUtils.WEEK_IN_MILLIS; 378 expectSettings(0L, HOUR_IN_MILLIS, WEEK_IN_MILLIS); in testStatsBucketResize() 392 expectSettings(0L, HOUR_IN_MILLIS, WEEK_IN_MILLIS); in testStatsBucketResize() 411 expectSettings(0L, 30 * MINUTE_IN_MILLIS, WEEK_IN_MILLIS); in testStatsBucketResize() 1108 expectSettings(0L, HOUR_IN_MILLIS, WEEK_IN_MILLIS); in expectDefaultSettings()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 27 import static android.text.format.DateUtils.WEEK_IN_MILLIS; 528 return (int) (Math.min(mEndMillis - mStartMillis, WEEK_IN_MILLIS * 5) in estimateBuckets()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | DataUsageController.java | 152 start = now - DateUtils.WEEK_IN_MILLIS * 4; in getDataUsageInfo()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MountService.java | 373 / DateUtils.WEEK_IN_MILLIS) + "w"; in scrubPath() 390 Settings.Global.STORAGE_BENCHMARK_INTERVAL, DateUtils.WEEK_IN_MILLIS); in shouldBenchmark()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 30098 field public static final long WEEK_IN_MILLIS = 604800000L; // 0x240c8400L
|
/frameworks/base/api/ |
D | current.txt | 38721 field public static final long WEEK_IN_MILLIS = 604800000L; // 0x240c8400L
|
D | system-current.txt | 41721 field public static final long WEEK_IN_MILLIS = 604800000L; // 0x240c8400L
|
D | test-current.txt | 38800 field public static final long WEEK_IN_MILLIS = 604800000L; // 0x240c8400L
|