/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsHistoryTest.java | 33 import static android.text.format.DateUtils.WEEK_IN_MILLIS; 159 final long lastStart = TEST_START + WEEK_IN_MILLIS; in testRecordGapBuckets() 218 assertValues(stats, TEST_START - WEEK_IN_MILLIS, TEST_START + WEEK_IN_MILLIS, 3000L, 1500L); in testRecordEntireGapIdentical() 243 assertValues(stats, TEST_START - WEEK_IN_MILLIS, TEST_START + WEEK_IN_MILLIS, 650L, 650L); in testRecordEntireOverlapVaryingBuckets() 260 assertValues(stats, TEST_START - WEEK_IN_MILLIS, TEST_START + WEEK_IN_MILLIS, 650L, 650L); in testRecordEntireOverlapVaryingBuckets() 312 assertValues(stats, TEST_START - WEEK_IN_MILLIS, TEST_START - DAY_IN_MILLIS, 0L, 0L); in testTotalData() 321 … assertValues(stats, TEST_START + (23 * HOUR_IN_MILLIS), TEST_START + WEEK_IN_MILLIS, 100L, 200L); in testTotalData() 324 assertValues(stats, TEST_START - WEEK_IN_MILLIS, TEST_START + WEEK_IN_MILLIS, 2400L, 4800L); in testTotalData() 445 final long SECOND_START = TEST_START + WEEK_IN_MILLIS; in testIndexBeforeAfter() 447 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 | 91 UnixCalendar.DAY_IN_MILLIS, UnixCalendar.WEEK_IN_MILLIS,
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/ |
D | NetworkCycleDataForUidLoaderTest.java | 71 final long start = end - (DateUtils.WEEK_IN_MILLIS * 4); in recordUsage_shouldQueryNetworkDetailsForUidAndForegroundState() 89 final long start = end - (DateUtils.WEEK_IN_MILLIS * 4); in recordUsage_retrieveDetailIsFalse_shouldNotQueryNetworkForegroundState() 103 final long start = end - (DateUtils.WEEK_IN_MILLIS * 4); in recordUsage_multipleUids_shouldQueryNetworkDetailsForEachUid()
|
D | NetworkCycleChartDataLoaderTest.java | 64 final long start = end - (DateUtils.WEEK_IN_MILLIS * 4); in recordUsage_shouldQueryNetworkSummaryForDevice()
|
D | NetworkCycleDataLoaderTest.java | 145 final long fourWeeksAgo = now - (DateUtils.WEEK_IN_MILLIS * 4); in loadFourWeeksData_shouldRecordUsageForLast4Weeks()
|
/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/packages/SystemUI/src/com/android/systemui/controls/controller/ |
D | AuxiliaryPersistenceWrapper.kt | 113 private val WEEK_IN_MILLIS = TimeUnit.DAYS.toMillis(7) constant 118 .setMinimumLatency(WEEK_IN_MILLIS) in getJobForContext()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 43 import static android.text.format.DateUtils.WEEK_IN_MILLIS; 286 FileUtils.deleteOlderFiles(mDir, 10, WEEK_IN_MILLIS); in testDeleteOlderEmptyDir() 305 touch("file3", WEEK_IN_MILLIS); in testDeleteOlderInFuture() 311 touch("file3", WEEK_IN_MILLIS); in testDeleteOlderInFuture()
|
/frameworks/base/core/java/android/text/format/ |
D | DateUtils.java | 60 public static final long WEEK_IN_MILLIS = DAY_IN_MILLIS * 7; field in DateUtils 68 public static final long YEAR_IN_MILLIS = WEEK_IN_MILLIS * 52;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | NetworkCycleDataLoader.java | 124 final long cycleStart = cycleEnd - (DateUtils.WEEK_IN_MILLIS * 4); in loadFourWeeksData()
|
D | DataUsageController.java | 135 start = now - DateUtils.WEEK_IN_MILLIS * 4; in getDataUsageInfo()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | HeapDumpReceiver.java | 74 private static final long MIN_KEEP_AGE_MS = DateUtils.WEEK_IN_MILLIS;
|
D | BugreportProgressService.java | 210 private static final long MIN_KEEP_AGE = DateUtils.WEEK_IN_MILLIS;
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 53 import static android.text.format.DateUtils.WEEK_IN_MILLIS; 380 expectSettings(0L, HOUR_IN_MILLIS, WEEK_IN_MILLIS); 389 expectSettings(0L, HOUR_IN_MILLIS, WEEK_IN_MILLIS); 404 expectSettings(0L, 30 * MINUTE_IN_MILLIS, WEEK_IN_MILLIS); 1289 expectSettings(0L, HOUR_IN_MILLIS, WEEK_IN_MILLIS);
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 31 import static android.text.format.DateUtils.WEEK_IN_MILLIS; 665 return (int) (Math.min(mEndMillis - mStartMillis, WEEK_IN_MILLIS * 5) in estimateBuckets()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 510 / DateUtils.WEEK_IN_MILLIS) + "w"; in scrubPath() 527 Settings.Global.STORAGE_BENCHMARK_INTERVAL, DateUtils.WEEK_IN_MILLIS); in shouldBenchmark() 3675 final long lastWeek = System.currentTimeMillis() - DateUtils.WEEK_IN_MILLIS; in getVolumeList()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/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 | 49913 field public static final long WEEK_IN_MILLIS = 604800000L; // 0x240c8400L
|