/frameworks/base/cmds/statsd/tests/anomaly/ |
D | AlarmTracker_test.cpp | 42 int64_t startMillis = 100000000 * MS_PER_SEC; in TEST() local 43 int64_t nextAlarmTime = startMillis / MS_PER_SEC + 15; in TEST() 44 AlarmTracker tracker(startMillis, startMillis, alarm, kConfigKey, subscriberAlarmMonitor); in TEST() 48 uint64_t currentTimeSec = startMillis / MS_PER_SEC + 10; in TEST() 56 currentTimeSec = startMillis / MS_PER_SEC + 7000; in TEST() 57 nextAlarmTime = startMillis / MS_PER_SEC + 15 + 2 * 60 * 60; in TEST() 66 currentTimeSec = startMillis / MS_PER_SEC + 15 + 2 * 60 * 60; in TEST() 67 nextAlarmTime = startMillis / MS_PER_SEC + 15 + 3 * 60 * 60; in TEST() 76 currentTimeSec = startMillis / MS_PER_SEC + 15 + 4 * 60 * 60; in TEST() 77 nextAlarmTime = startMillis / MS_PER_SEC + 15 + 5 * 60 * 60; in TEST()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FileRotator.java | 292 if (info.startMillis <= matchEndMillis && matchStartMillis <= info.endMillis) { in readMatching() 313 if (info.isActive() && info.startMillis < currentTimeMillis in getActiveName() 314 && info.startMillis < oldestActiveStart) { in getActiveName() 316 oldestActiveStart = info.startMillis; in getActiveName() 324 info.startMillis = currentTimeMillis; in getActiveName() 348 if (info.startMillis <= rotateBefore) { in maybeRotate() 405 public long startMillis; field in FileRotator.FileInfo 418 startMillis = endMillis = -1; in parse() 430 startMillis = Long.parseLong(name.substring(dotIndex + 1, dashIndex)); in parse() 449 name.append(prefix).append('.').append(startMillis).append('-'); in build()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | ErrorCalculator.java | 70 private static long startMillis, middleMillis; field in ErrorCalculator 74 startMillis = System.currentTimeMillis(); in calcErrorRS() 108 Log.d(LOG_TAG, "rs: first part took " + (middleMillis - startMillis) + "ms"); in calcErrorRS() 134 startMillis = System.currentTimeMillis(); in calcError() 168 Log.d(LOG_TAG, "dvk: first part took " + (middleMillis - startMillis) + "ms"); in calcError()
|
/frameworks/base/core/java/android/util/ |
D | TimedRemoteCaller.java | 138 final long startMillis = SystemClock.uptimeMillis(); in getResultTimed() local 145 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis; in getResultTimed()
|
/frameworks/base/core/java/android/text/format/ |
D | DateUtils.java | 551 public static String formatDateRange(Context context, long startMillis, in formatDateRange() argument 554 return formatDateRange(context, f, startMillis, endMillis, flags).toString(); in formatDateRange() 575 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange() argument 577 return formatDateRange(context, formatter, startMillis, endMillis, flags, null); in formatDateRange() 743 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange() argument 752 String range = DateIntervalFormat.formatDateRange(startMillis, endMillis, flags, timeZone); in formatDateRange()
|
/frameworks/base/cmds/statsd/src/anomaly/ |
D | AlarmTracker.cpp | 33 AlarmTracker::AlarmTracker(const int64_t startMillis, in AlarmTracker() argument 41 mAlarmSec = (startMillis + mAlarmConfig.offset_millis()) / MS_PER_SEC; in AlarmTracker()
|
D | AlarmTracker.h | 37 AlarmTracker(const int64_t startMillis,
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | RemoteIntArray.java | 122 final long startMillis = SystemClock.uptimeMillis(); in bindLocked() local 127 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis; in bindLocked()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | SettingsInjector.java | 474 public long startMillis; field in SettingsInjector.Setting 513 startMillis = SystemClock.elapsedRealtime(); in startService() 515 startMillis = 0; in startService() 525 return end - startMillis; in getElapsedTime() 529 if (Log.isLoggable(TAG, Log.DEBUG) && startMillis != 0) { in maybeLogElapsedTime()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsRecorder.java | 428 final long startMillis = collection.getStartMillis(); in importLegacyNetworkLocked() local 434 mRotator.rewriteActive(new CombiningRewriter(collection), startMillis); in importLegacyNetworkLocked() 448 final long startMillis = collection.getStartMillis(); in importLegacyUidLocked() local 454 mRotator.rewriteActive(new CombiningRewriter(collection), startMillis); in importLegacyUidLocked()
|
D | NetworkStatsCollection.java | 633 private void noteRecordedHistory(long startMillis, long endMillis, long totalBytes) { in noteRecordedHistory() argument 634 if (startMillis < mStartMillis) mStartMillis = startMillis; in noteRecordedHistory()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | InstantAppResolverConnection.java | 153 final long startMillis = SystemClock.uptimeMillis(); in waitForBindLocked() local 158 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis; in waitForBindLocked()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | RemotePrintSpooler.java | 626 final long startMillis = SystemClock.uptimeMillis(); in bindLocked() local 631 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis; in bindLocked()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | metrics_manager_util.cpp | 666 int64_t startMillis = timeBaseNs / 1000 / 1000; in initAlarms() local 680 new AlarmTracker(startMillis, currentTimeMillis, in initAlarms()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ClientModeImplTest.java | 2589 final long startMillis = 1_500_000_000_100L; in verifyConnectedModeRssiPolling() local 2600 when(mClock.getWallClockMillis()).thenReturn(startMillis + 0); in verifyConnectedModeRssiPolling() 2604 when(mClock.getWallClockMillis()).thenReturn(startMillis + 3333); in verifyConnectedModeRssiPolling()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 2772 final long startMillis = SystemClock.uptimeMillis(); in ensureWindowsAvailableTimed() local 2774 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis; in ensureWindowsAvailableTimed()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 745 final long startMillis = SystemClock.elapsedRealtime(); in waitForLatch() local 757 if (timeoutMillis > 0 && SystemClock.elapsedRealtime() > startMillis + timeoutMillis) { in waitForLatch()
|