Home
last modified time | relevance | path

Searched refs:startMillis (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/cmds/statsd/tests/anomaly/
DAlarmTracker_test.cpp42 int64_t startMillis = 100000000 * MS_PER_SEC; in TEST() local
43 AlarmTracker tracker(startMillis, startMillis, alarm, kConfigKey, subscriberAlarmMonitor); in TEST()
45 EXPECT_EQ(tracker.mAlarmSec, (int64_t)(startMillis / MS_PER_SEC + 15)); in TEST()
47 uint64_t currentTimeSec = startMillis / MS_PER_SEC + 10; in TEST()
52 EXPECT_EQ(tracker.mAlarmSec, (int64_t)(startMillis / MS_PER_SEC + 15)); in TEST()
54 currentTimeSec = startMillis / MS_PER_SEC + 7000; in TEST()
59 EXPECT_EQ(tracker.mAlarmSec, (int64_t)(startMillis / MS_PER_SEC + 15 + 2 * 60 * 60)); in TEST()
/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java292 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/
DErrorCalculator.java70 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/
DTimedRemoteCaller.java138 final long startMillis = SystemClock.uptimeMillis(); in getResultTimed() local
145 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis; in getResultTimed()
/frameworks/base/cmds/statsd/src/anomaly/
DAlarmTracker.cpp33 AlarmTracker::AlarmTracker(const int64_t startMillis, in AlarmTracker() argument
41 mAlarmSec = (startMillis + mAlarmConfig.offset_millis()) / MS_PER_SEC; in AlarmTracker()
DAlarmTracker.h37 AlarmTracker(const int64_t startMillis,
/frameworks/base/core/java/android/text/format/
DDateUtils.java537 public static String formatDateRange(Context context, long startMillis, in formatDateRange() argument
540 return formatDateRange(context, f, startMillis, endMillis, flags).toString(); in formatDateRange()
561 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange() argument
563 return formatDateRange(context, formatter, startMillis, endMillis, flags, null); in formatDateRange()
729 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange() argument
738 String range = DateIntervalFormat.formatDateRange(startMillis, endMillis, flags, timeZone); in formatDateRange()
/frameworks/base/core/tests/utiltests/src/android/util/
DRemoteIntArray.java122 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/
DSettingsInjector.java474 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/
DNetworkStatsRecorder.java443 final long startMillis = collection.getStartMillis(); in importLegacyNetworkLocked() local
449 mRotator.rewriteActive(new CombiningRewriter(collection), startMillis); in importLegacyNetworkLocked()
463 final long startMillis = collection.getStartMillis(); in importLegacyUidLocked() local
469 mRotator.rewriteActive(new CombiningRewriter(collection), startMillis); in importLegacyUidLocked()
DNetworkStatsCollection.java657 private void noteRecordedHistory(long startMillis, long endMillis, long totalBytes) { in noteRecordedHistory() argument
658 if (startMillis < mStartMillis) mStartMillis = startMillis; in noteRecordedHistory()
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppResolverConnection.java153 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/
DRemotePrintSpooler.java626 final long startMillis = SystemClock.uptimeMillis(); in bindLocked() local
631 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis; in bindLocked()
/frameworks/base/cmds/statsd/src/metrics/
Dmetrics_manager_util.cpp668 int64_t startMillis = timeBaseNs / 1000 / 1000; in initAlarms() local
682 new AlarmTracker(startMillis, currentTimeMillis, in initAlarms()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java2453 final long startMillis = 1_500_000_000_100L; in verifyConnectedModeRssiPolling() local
2464 when(mClock.getWallClockMillis()).thenReturn(startMillis + 0); in verifyConnectedModeRssiPolling()
2468 when(mClock.getWallClockMillis()).thenReturn(startMillis + 3333); in verifyConnectedModeRssiPolling()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java2770 final long startMillis = SystemClock.uptimeMillis(); in ensureWindowsAvailableTimed() local
2772 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis; in ensureWindowsAvailableTimed()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java745 final long startMillis = SystemClock.elapsedRealtime(); in waitForLatch() local
757 if (timeoutMillis > 0 && SystemClock.elapsedRealtime() > startMillis + timeoutMillis) { in waitForLatch()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...