Searched refs:WEEK_IN_MILLIS (Results 1 - 11 of 11) sorted by relevance
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UnixCalendar.java | 25 public static final long WEEK_IN_MILLIS = 7 * DAY_IN_MILLIS; field in class:UnixCalendar 39 mTime += val * WEEK_IN_MILLIS;
|
H A D | UserUsageStatsService.java | 68 UnixCalendar.DAY_IN_MILLIS, UnixCalendar.WEEK_IN_MILLIS,
|
/frameworks/base/tests/net/java/android/net/ |
H A D | NetworkStatsHistoryTest.java | 33 import static android.text.format.DateUtils.WEEK_IN_MILLIS; 158 final long lastStart = TEST_START + WEEK_IN_MILLIS; 217 assertValues(stats, TEST_START - WEEK_IN_MILLIS, TEST_START + WEEK_IN_MILLIS, 3000L, 1500L); 242 assertValues(stats, TEST_START - WEEK_IN_MILLIS, TEST_START + WEEK_IN_MILLIS, 650L, 650L); 259 assertValues(stats, TEST_START - WEEK_IN_MILLIS, TEST_START + WEEK_IN_MILLIS, 650L, 650L); 311 assertValues(stats, TEST_START - WEEK_IN_MILLIS, TEST_START - DAY_IN_MILLIS, 0L, 0L); 320 assertValues(stats, TEST_START + (23 * HOUR_IN_MILLIS), TEST_START + WEEK_IN_MILLIS, 10 [all...] |
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | FileRotatorTest.java | 23 import static android.text.format.DateUtils.WEEK_IN_MILLIS; 75 mBasePath, PREFIX, DAY_IN_MILLIS, WEEK_IN_MILLIS); 77 mBasePath, ANOTHER_PREFIX, DAY_IN_MILLIS, WEEK_IN_MILLIS); 93 mBasePath, PREFIX, DAY_IN_MILLIS, WEEK_IN_MILLIS); 114 mBasePath, PREFIX, DAY_IN_MILLIS, WEEK_IN_MILLIS); 169 currentTime += WEEK_IN_MILLIS;
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | BugreportReceiver.java | 50 private static final long MIN_KEEP_AGE = DateUtils.WEEK_IN_MILLIS;
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | FileUtilsTest.java | 22 import static android.text.format.DateUtils.WEEK_IN_MILLIS; 264 FileUtils.deleteOlderFiles(mDir, 10, WEEK_IN_MILLIS); 283 touch("file3", WEEK_IN_MILLIS); 289 touch("file3", WEEK_IN_MILLIS);
|
/frameworks/base/core/java/android/text/format/ |
H A D | DateUtils.java | 56 public static final long WEEK_IN_MILLIS = DAY_IN_MILLIS * 7; field in class:DateUtils 60 public static final long YEAR_IN_MILLIS = WEEK_IN_MILLIS * 52; 273 * 0, MINUTE_IN_MILLIS, HOUR_IN_MILLIS, DAY_IN_MILLIS, WEEK_IN_MILLIS 295 * WEEK_IN_MILLIS 327 * when using {@link #WEEK_IN_MILLIS}.
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
H A D | DataUsageController.java | 145 start = now - DateUtils.WEEK_IN_MILLIS * 4;
|
/frameworks/base/tests/net/java/com/android/server/net/ |
H A D | NetworkStatsServiceTest.java | 51 import static android.text.format.DateUtils.WEEK_IN_MILLIS; 368 expectSettings(0L, HOUR_IN_MILLIS, WEEK_IN_MILLIS); 379 expectSettings(0L, HOUR_IN_MILLIS, WEEK_IN_MILLIS); 394 expectSettings(0L, 30 * MINUTE_IN_MILLIS, WEEK_IN_MILLIS); 1130 expectSettings(0L, HOUR_IN_MILLIS, WEEK_IN_MILLIS);
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsCollection.java | 31 import static android.text.format.DateUtils.WEEK_IN_MILLIS; 665 return (int) (Math.min(mEndMillis - mStartMillis, WEEK_IN_MILLIS * 5)
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | StorageManagerService.java | 351 / DateUtils.WEEK_IN_MILLIS) + "w"; 368 Settings.Global.STORAGE_BENCHMARK_INTERVAL, DateUtils.WEEK_IN_MILLIS);
|
Completed in 132 milliseconds