/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/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/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/cmds/input/src/com/android/commands/input/ |
D | Input.java | 224 long elapsedTime = now - startTime; in sendSwipe() local 225 float alpha = (float) elapsedTime / duration; in sendSwipe() 249 long elapsedTime = now - startTime; in sendDragAndDrop() local 250 float alpha = (float) elapsedTime / dragDuration; in sendDragAndDrop()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 2002 final long elapsedTime = item.elapsedTime; in dumpRecentHistory() local 2003 totalElapsedTime += elapsedTime; in dumpRecentHistory() 2010 authoritySyncStats.elapsedTime += elapsedTime; in dumpRecentHistory() 2018 accountSyncStats.elapsedTime += elapsedTime; in dumpRecentHistory() 2037 compare = Long.compare(rhs.elapsedTime, lhs.elapsedTime); in dumpRecentHistory() 2057 long elapsedTime; in dumpRecentHistory() local 2062 elapsedTime = authoritySyncStats.elapsedTime; in dumpRecentHistory() 2065 elapsedTime / 1000, in dumpRecentHistory() 2066 elapsedTime * 100 / totalElapsedTime); in dumpRecentHistory() 2081 compare = Long.compare(rhs.elapsedTime, lhs.elapsedTime); in dumpRecentHistory() [all …]
|
D | SyncStorageEngine.java | 316 long elapsedTime; field in SyncStorageEngine.SyncHistoryItem 1096 public void stopSyncEvent(long historyId, long elapsedTime, String resultMessage, in stopSyncEvent() argument 1118 item.elapsedTime = elapsedTime; in stopSyncEvent() 1127 status.totalElapsedTime += elapsedTime; in stopSyncEvent() 1158 final long lastSyncTime = (item.eventTime + elapsedTime); in stopSyncEvent() 1172 ds.successTime += elapsedTime; in stopSyncEvent() 1184 ds.failureTime += elapsedTime; in stopSyncEvent()
|
/frameworks/base/core/java/android/widget/ |
D | OverScroller.java | 308 final long elapsedTime = time - mScrollerX.mStartTime; in computeScrollOffset() local 311 if (elapsedTime < duration) { in computeScrollOffset() 312 final float q = mInterpolator.getInterpolation(elapsedTime / (float) duration); in computeScrollOffset() 709 final int elapsedTime = (int) (time - mStartTime); in extendDuration() local 710 mDuration = elapsedTime + extend; in extendDuration()
|
/frameworks/base/telecomm/java/android/telecom/Logging/ |
D | EventManager.java | 212 long elapsedTime = event.time - pendingResponse.requestEventTimeMillis; in extractEventTimings() local 213 if (elapsedTime < pendingResponse.timeoutMillis) { in extractEventTimings() 214 result.add(new EventTiming(pendingResponse.name, elapsedTime)); in extractEventTimings()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UserUsageStatsService.java | 500 private String formatElapsedTime(long elapsedTime, boolean pretty) { in formatElapsedTime() argument 502 return "\"" + DateUtils.formatElapsedTime(elapsedTime / 1000) + "\""; in formatElapsedTime() 504 return Long.toString(elapsedTime); in formatElapsedTime()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | RecentsImpl.java | 375 long elapsedTime = SystemClock.elapsedRealtime() - mLastToggleTime; in toggleRecents() local 383 boolean isQuickTap = elapsedTime < ViewConfiguration.getDoubleTapTimeout(); in toggleRecents() 404 if (elapsedTime < MIN_TOGGLE_DELAY_MS) { in toggleRecents() 417 if (elapsedTime < MIN_TOGGLE_DELAY_MS) { in toggleRecents()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger_hwc1.cpp | 1336 nsecs_t elapsedTime = currentTime - mLastSwapTime; in postComposition() local 1337 size_t numPeriods = static_cast<size_t>(elapsedTime / period); in postComposition() 1339 mFrameBuckets[numPeriods] += elapsedTime; in postComposition() 1341 mFrameBuckets[NUM_BUCKETS - 1] += elapsedTime; in postComposition() 1343 mTotalTime += elapsedTime; in postComposition()
|
D | SurfaceFlinger.cpp | 1617 nsecs_t elapsedTime = currentTime - mLastSwapTime; in postComposition() local 1618 size_t numPeriods = static_cast<size_t>(elapsedTime / vsyncInterval); in postComposition() 1620 mFrameBuckets[numPeriods] += elapsedTime; in postComposition() 1622 mFrameBuckets[NUM_BUCKETS - 1] += elapsedTime; in postComposition() 1624 mTotalTime += elapsedTime; in postComposition()
|