/frameworks/base/services/core/java/com/android/server/am/ |
D | AppTimeTracker.java | 55 long elapsedTime = now - mStartedTime; in start() local 56 mStartedPackageTime.value += elapsedTime; in start() 57 mTotalTime += elapsedTime; in start() 70 long elapsedTime = SystemClock.elapsedRealtime() - mStartedTime; in stop() local 71 mTotalTime += elapsedTime; in stop() 73 mStartedPackageTime.value += elapsedTime; in stop()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseLockTest.java | 128 long elapsedTime = endTime - startTime; in testLockLatency() local 129 if (maxTime < elapsedTime) { in testLockLatency() 130 maxTime = elapsedTime; in testLockLatency() 132 sumTime += elapsedTime; in testLockLatency()
|
/frameworks/native/libs/input/ |
D | VirtualKeyMap.cpp | 68 nsecs_t elapsedTime = systemTime(SYSTEM_TIME_MONOTONIC) - startTime; in load() local 71 elapsedTime / 1000000.0); in load()
|
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/services/core/java/com/android/server/content/ |
D | SyncManager.java | 1726 final long elapsedTime = item.elapsedTime; in dumpRecentHistory() local 1727 totalElapsedTime += elapsedTime; in dumpRecentHistory() 1734 authoritySyncStats.elapsedTime += elapsedTime; in dumpRecentHistory() 1742 accountSyncStats.elapsedTime += elapsedTime; in dumpRecentHistory() 1761 compare = Long.compare(rhs.elapsedTime, lhs.elapsedTime); in dumpRecentHistory() 1781 long elapsedTime; in dumpRecentHistory() local 1786 elapsedTime = authoritySyncStats.elapsedTime; in dumpRecentHistory() 1789 elapsedTime / 1000, in dumpRecentHistory() 1790 elapsedTime * 100 / totalElapsedTime); in dumpRecentHistory() 1805 compare = Long.compare(rhs.elapsedTime, lhs.elapsedTime); in dumpRecentHistory() [all …]
|
D | SyncStorageEngine.java | 402 long elapsedTime; field in SyncStorageEngine.SyncHistoryItem 1341 public void stopSyncEvent(long historyId, long elapsedTime, String resultMessage, in stopSyncEvent() argument 1363 item.elapsedTime = elapsedTime; in stopSyncEvent() 1372 status.totalElapsedTime += elapsedTime; in stopSyncEvent() 1403 final long lastSyncTime = (item.eventTime + elapsedTime); in stopSyncEvent() 1417 ds.successTime += elapsedTime; in stopSyncEvent() 1429 ds.failureTime += elapsedTime; in stopSyncEvent()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | CopyService.java | 331 long elapsedTime = currentTime - mStartTime; in makeProgress() local 335 updateRemainingTimeEstimate(elapsedTime); in makeProgress() 354 private void updateRemainingTimeEstimate(long elapsedTime) { in updateRemainingTimeEstimate() argument 355 final long sampleDuration = elapsedTime - mSampleTime; in updateRemainingTimeEstimate() 369 mSampleTime = elapsedTime; in updateRemainingTimeEstimate()
|
/frameworks/base/core/java/android/widget/ |
D | OverScroller.java | 306 final long elapsedTime = time - mScrollerX.mStartTime; in computeScrollOffset() local 309 if (elapsedTime < duration) { in computeScrollOffset() 310 final float q = mInterpolator.getInterpolation(elapsedTime / (float) duration); in computeScrollOffset() 707 final int elapsedTime = (int) (time - mStartTime); in extendDuration() local 708 mDuration = elapsedTime + extend; in extendDuration()
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 210 long elapsedTime = now - startTime; in sendSwipe() local 211 float alpha = (float) elapsedTime / duration; in sendSwipe()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UserUsageStatsService.java | 564 private String formatElapsedTime(long elapsedTime, boolean pretty) { in formatElapsedTime() argument 566 return "\"" + DateUtils.formatElapsedTime(elapsedTime / 1000) + "\""; in formatElapsedTime() 568 return Long.toString(elapsedTime); in formatElapsedTime()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 1034 nsecs_t elapsedTime = currentTime - mLastSwapTime; in postComposition() local 1035 size_t numPeriods = static_cast<size_t>(elapsedTime / period); in postComposition() 1037 mFrameBuckets[numPeriods] += elapsedTime; in postComposition() 1039 mFrameBuckets[NUM_BUCKETS - 1] += elapsedTime; in postComposition() 1041 mTotalTime += elapsedTime; in postComposition()
|