Home
last modified time | relevance | path

Searched refs:elapsedTime (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DAppTimeTracker.java55 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/
DDatabaseLockTest.java128 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/
DVirtualKeyMap.cpp68 nsecs_t elapsedTime = systemTime(SYSTEM_TIME_MONOTONIC) - startTime; in load() local
71 elapsedTime / 1000000.0); in load()
DKeyLayoutMap.cpp71 nsecs_t elapsedTime = systemTime(SYSTEM_TIME_MONOTONIC) - startTime; in load() local
74 elapsedTime / 1000000.0); in load()
DKeyCharacterMap.cpp153 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/
DSyncManager.java1726 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 …]
DSyncStorageEngine.java402 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/
DCopyService.java331 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/
DOverScroller.java306 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/
DInput.java210 long elapsedTime = now - startTime; in sendSwipe() local
211 float alpha = (float) elapsedTime / duration; in sendSwipe()
/frameworks/base/services/usage/java/com/android/server/usage/
DUserUsageStatsService.java564 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/
DSurfaceFlinger.cpp1034 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()