/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | OomAdjusterTests.java | 93 final long elapsedTime = ZERO; in testMaybeUpdateUsageStats_ProcStatePersistentUI() local 95 sService.mOomAdjuster.maybeUpdateUsageStats(mProcessRecord, elapsedTime); in testMaybeUpdateUsageStats_ProcStatePersistentUI() 97 assertProcessRecordState(ZERO, true, elapsedTime); in testMaybeUpdateUsageStats_ProcStatePersistentUI() 102 final long elapsedTime = ZERO; in testMaybeUpdateUsageStats_ProcStateTop() local 104 sService.mOomAdjuster.maybeUpdateUsageStats(mProcessRecord, elapsedTime); in testMaybeUpdateUsageStats_ProcStateTop() 106 assertProcessRecordState(ZERO, true, elapsedTime); in testMaybeUpdateUsageStats_ProcStateTop() 111 final long elapsedTime = ZERO; in testMaybeUpdateUsageStats_ProcStateTop_PreviousInteraction() local 114 sService.mOomAdjuster.maybeUpdateUsageStats(mProcessRecord, elapsedTime); in testMaybeUpdateUsageStats_ProcStateTop_PreviousInteraction() 121 final long elapsedTime = 3 * USAGE_STATS_INTERACTION; in testMaybeUpdateUsageStats_ProcStateTop_PastUsageInterval() local 124 sService.mOomAdjuster.maybeUpdateUsageStats(mProcessRecord, elapsedTime); in testMaybeUpdateUsageStats_ProcStateTop_PastUsageInterval() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppTimeTracker.java | 57 long elapsedTime = now - mStartedTime; in start() local 58 mStartedPackageTime.value += elapsedTime; in start() 59 mTotalTime += elapsedTime; in start() 72 long elapsedTime = SystemClock.elapsedRealtime() - mStartedTime; in stop() local 73 mTotalTime += elapsedTime; in stop() 75 mStartedPackageTime.value += elapsedTime; in stop()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseLockTest.java | 130 long elapsedTime = endTime - startTime; in testLockLatency() local 131 if (maxTime < elapsedTime) { in testLockLatency() 132 maxTime = elapsedTime; in testLockLatency() 134 sumTime += elapsedTime; in testLockLatency()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | CachedDeviceState.java | 115 return mTotalTimeMillis + elapsedTime(); in getMillis() 138 mTotalTimeMillis += elapsedTime(); in stop() 144 private long elapsedTime() { in elapsedTime() method in CachedDeviceState.TimeInStateStopwatch
|
/frameworks/base/test-runner/src/junit/runner/ |
D | TestRunListener.java | 15 public void testRunEnded(long elapsedTime); in testRunEnded() argument 16 public void testRunStopped(long elapsedTime); in testRunStopped() argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WakeupLock.java | 117 long elapsedTime = timestampMillis - mLockTimestamp; in maybeSetInitializedByTimeout() local 118 boolean shouldBeInitialized = elapsedTime > MAX_LOCK_TIME_MILLIS; in maybeSetInitializedByTimeout() 123 Log.d(TAG, "Lock initialized by timeout. Elapsed time: " + elapsedTime); in maybeSetInitializedByTimeout()
|
D | WifiDataStall.java | 186 long elapsedTime = mClock.getElapsedSinceBootMillis() - mDataStallStartTimeMs; in checkForDataStall() local 187 if (elapsedTime >= mDataStallDurationMs) { in checkForDataStall() 189 if (elapsedTime <= VALIDITY_PERIOD_OF_DATA_STALL_START_MS) { in checkForDataStall()
|
D | WifiWakeMetrics.java | 350 public Event(int numScans, long elapsedTime) { in Event() argument 352 mElapsedTime = elapsedTime; in Event()
|
D | WifiMetrics.java | 4443 long elapsedTime = mClock.getElapsedSinceBootMillis() - mScoreBreachLowTimeMillis; 4444 if (elapsedTime >= MIN_SCORE_BREACH_TO_GOOD_STATS_WAIT_TIME_MS) { 4446 if (elapsedTime <= VALIDITY_PERIOD_OF_SCORE_BREACH_LOW_MS) {
|
D | ClientModeImpl.java | 5178 long elapsedTime = mClock.getElapsedSinceBootMillis() in processMessage() local 5180 if (elapsedTime >= DURATION_TO_WAIT_ADD_STATS_AFTER_DATA_STALL_MS) { in processMessage()
|
/frameworks/base/core/java/android/widget/ |
D | OverScroller.java | 314 final long elapsedTime = time - mScrollerX.mStartTime; in computeScrollOffset() local 317 if (elapsedTime < duration) { in computeScrollOffset() 318 final float q = mInterpolator.getInterpolation(elapsedTime / (float) duration); in computeScrollOffset() 717 final int elapsedTime = (int) (time - mStartTime); in extendDuration() local 718 mDuration = elapsedTime + extend; in extendDuration()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 2435 final long elapsedTime = item.elapsedTime; in dumpRecentHistory() local 2436 totalElapsedTime += elapsedTime; in dumpRecentHistory() 2443 authoritySyncStats.elapsedTime += elapsedTime; in dumpRecentHistory() 2451 accountSyncStats.elapsedTime += elapsedTime; in dumpRecentHistory() 2470 compare = Long.compare(rhs.elapsedTime, lhs.elapsedTime); in dumpRecentHistory() 2490 long elapsedTime; in dumpRecentHistory() local 2495 elapsedTime = authoritySyncStats.elapsedTime; in dumpRecentHistory() 2498 elapsedTime / 1000, in dumpRecentHistory() 2499 elapsedTime * 100 / totalElapsedTime); in dumpRecentHistory() 2514 compare = Long.compare(rhs.elapsedTime, lhs.elapsedTime); in dumpRecentHistory() [all …]
|
D | SyncStorageEngine.java | 345 long elapsedTime; field in SyncStorageEngine.SyncHistoryItem 1176 public void stopSyncEvent(long historyId, long elapsedTime, String resultMessage, in stopSyncEvent() argument 1198 item.elapsedTime = elapsedTime; in stopSyncEvent() 1210 status.totalStats.totalElapsedTime += elapsedTime; in stopSyncEvent() 1211 status.todayStats.totalElapsedTime += elapsedTime; in stopSyncEvent() 1251 final long lastSyncTime = (item.eventTime + elapsedTime); in stopSyncEvent() 1260 ds.successTime += elapsedTime; in stopSyncEvent() 1271 ds.failureTime += elapsedTime; in stopSyncEvent() 1281 SyncManager.formatDurationHMS(event, elapsedTime); in stopSyncEvent()
|
/frameworks/base/telecomm/java/android/telecom/Logging/ |
D | EventManager.java | 224 long elapsedTime = event.time - pendingResponse.requestEventTimeMillis; in extractEventTimings() local 225 if (elapsedTime < pendingResponse.timeoutMillis) { in extractEventTimings() 226 result.add(new EventTiming(pendingResponse.name, elapsedTime)); in extractEventTimings()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiWakeMetricsTest.java | 333 private void verifyEventProto(WifiWakeStats.Session.Event event, int scans, int elapsedTime) { in verifyEventProto() argument 336 assertEquals(event.elapsedTimeMillis, elapsedTime); in verifyEventProto()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppStandbyControllerTests.java | 507 private void assertTimeout(AppStandbyController controller, long elapsedTime, int bucket) { in assertTimeout() argument 508 mInjector.mElapsedRealtime = elapsedTime; in assertTimeout() 515 private void reportEvent(AppStandbyController controller, int eventType, long elapsedTime, in reportEvent() argument 518 mInjector.mElapsedRealtime = elapsedTime; in reportEvent() 522 controller.reportEvent(ev, elapsedTime, USER_ID); in reportEvent()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BinderCallsStatsTest.java | 347 bcs.elapsedTime += 5; in testMaxLatency() 351 bcs.elapsedTime += 1; in testMaxLatency() 511 bcs.elapsedTime += 20; in testGetExportedStatsWhenDetailedTrackingEnabled() 759 public long elapsedTime = 0; field in BinderCallsStatsTest.TestBinderCallsStats 794 return elapsedTime; in getElapsedRealtimeMicro()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerServiceImpl.java | 1414 long elapsedTime = 0; in isAutofillDisabledLocked() local 1416 elapsedTime = SystemClock.elapsedRealtime(); in isAutofillDisabledLocked() 1419 if (expiration >= elapsedTime) return true; in isAutofillDisabledLocked() 1436 if (elapsedTime == 0) { in isAutofillDisabledLocked() 1437 elapsedTime = SystemClock.elapsedRealtime(); in isAutofillDisabledLocked() 1440 if (expiration >= elapsedTime) return true; in isAutofillDisabledLocked()
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 270 final long elapsedTime = now - down; in sendSwipe() local 271 final float alpha = (float) elapsedTime / duration; in sendSwipe()
|
/frameworks/native/libs/input/ |
D | KeyLayoutMap.cpp | 71 nsecs_t elapsedTime = systemTime(SYSTEM_TIME_MONOTONIC) - startTime; in load() local 74 elapsedTime / 1000000.0); in load()
|
D | KeyCharacterMap.cpp | 153 nsecs_t elapsedTime = systemTime(SYSTEM_TIME_MONOTONIC) - startTime; in load() local 156 elapsedTime / 1000000.0); in load()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/ |
D | RecentsImpl.java | 438 long elapsedTime = SystemClock.elapsedRealtime() - mLastToggleTime; in toggleRecents() local 447 boolean isQuickTap = elapsedTime < ViewConfiguration.getDoubleTapTimeout(); in toggleRecents() 462 if (elapsedTime < MIN_TOGGLE_DELAY_MS) { in toggleRecents() 475 if (elapsedTime < MIN_TOGGLE_DELAY_MS) { in toggleRecents()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UserUsageStatsService.java | 712 private String formatElapsedTime(long elapsedTime, boolean pretty) { in formatElapsedTime() argument 714 return "\"" + DateUtils.formatElapsedTime(elapsedTime / 1000) + "\""; in formatElapsedTime() 716 return Long.toString(elapsedTime); in formatElapsedTime()
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.cpp | 454 int64_t elapsedTime = (curTime - mPowerTime.prevTime) / 1000000; in flushPowerTimeLocked() local 458 mTimeStats.displayOnTime += elapsedTime; in flushPowerTimeLocked()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 2149 nsecs_t elapsedTime = currentTime - getBE().mLastSwapTime; in postComposition() local 2150 size_t numPeriods = static_cast<size_t>(elapsedTime / stats.vsyncPeriod); in postComposition() 2152 getBE().mFrameBuckets[numPeriods] += elapsedTime; in postComposition() 2154 getBE().mFrameBuckets[SurfaceFlingerBE::NUM_BUCKETS - 1] += elapsedTime; in postComposition() 2156 getBE().mTotalTime += elapsedTime; in postComposition()
|