Searched refs:curTime (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DThroughputFilter.java76 long curTime = SystemClock.elapsedRealtime();
79 if ((curTime - mLastTime) >= (mPeriod * 1000)) {
84 curTime - mLastTime,
89 mLastTime = curTime;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/
H A DThroughputFilter.java84 long curTime = SystemClock.elapsedRealtime();
87 if ((curTime - mLastTime) >= (mPeriod * 1000)) {
97 mLastTime = curTime;
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiLogger.java109 long curTime = SystemClock.uptimeMillis();
111 if (shouldLogNow(timing, curTime)) {
113 cache.put(logMessage, new Pair<>(curTime, 1));
135 private static boolean shouldLogNow(@Nullable Pair<Long, Integer> timing, long curTime) { argument
136 return timing == null || curTime - timing.first > ERROR_LOG_DURATTION_MILLIS;
/frameworks/base/services/core/java/com/android/server/wm/
H A DDimLayer.java231 long curTime = SystemClock.uptimeMillis();
241 mStartTime = curTime;
286 final long curTime = SystemClock.uptimeMillis();
288 float alpha = mStartAlpha + alphaDelta * (curTime - mStartTime) / mDuration;
294 if (DEBUG) Slog.v(TAG, "stepAnimation: curTime=" + curTime + " alpha=" + alpha);
319 pw.print(" curTime="); pw.println(SystemClock.uptimeMillis());
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DConsole.java96 long curTime = System.currentTimeMillis();
97 mTimeLogs.put(key, curTime);
99 "started @ " + curTime);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityRecord.java856 final long curTime = SystemClock.uptimeMillis();
858 reportLaunchTimeLocked(curTime);
862 final long thisTime = curTime - fullyDrawnStartTime;
864 ? (curTime - stack.mFullyDrawnStartTime) : thisTime;
891 private void reportLaunchTimeLocked(final long curTime) { argument
893 final long thisTime = curTime - displayStartTime;
895 ? (curTime - stack.mLaunchStartTime) : thisTime;
H A DProcessStatsService.java482 long curTime;
488 curTime = mProcessStats.mTimePeriodEndRealtime
491 if (curTime < minTime) {
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java531 public long computeUptime(long curTime, int which) { argument
534 return mUptime + getUptime(curTime);
536 return getUptime(curTime);
538 return getUptime(curTime) - mUnpluggedUptime;
543 public long computeRealtime(long curTime, int which) { argument
546 return mRealtime + getRealtime(curTime);
548 return getRealtime(curTime);
550 return getRealtime(curTime) - mUnpluggedRealtime;
555 public long getUptime(long curTime) { argument
558 time += curTime
563 getRealtime(long curTime) argument
1284 computeOverage(long curTime) argument
1291 recomputeLastDuration(long curTime, boolean abort) argument
7173 computeUptime(long curTime, int which) argument
7183 computeRealtime(long curTime, int which) argument
7193 computeBatteryUptime(long curTime, int which) argument
7198 computeBatteryRealtime(long curTime, int which) argument
7203 computeBatteryScreenOffUptime(long curTime, int which) argument
7208 computeBatteryScreenOffRealtime(long curTime, int which) argument
7251 computeBatteryTimeRemaining(long curTime) argument
7287 computeChargeTimeRemaining(long curTime) argument
7328 getBatteryUptime(long curTime) argument
7333 getBatteryRealtime(long curTime) argument
[all...]
/frameworks/av/services/audiopolicy/
H A DAudioPolicyService.cpp388 nsecs_t curTime = systemTime(); local
390 if (mAudioCommands[0]->mTime <= curTime) {
522 waitTime = mAudioCommands[0]->mTime - curTime;
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java4121 long curTime = SystemClock.uptimeMillis();
4122 if ((mLastTime + MAX_TRACKBALL_DELAY) < curTime) {
4127 mLastTime = curTime;
4136 enqueueInputEvent(new KeyEvent(curTime, curTime,
4144 enqueueInputEvent(new KeyEvent(curTime, curTime,
4198 enqueueInputEvent(new KeyEvent(curTime, curTime,
4207 curTime
[all...]
/frameworks/base/core/java/android/os/
H A DBatteryStats.java1493 * @param curTime the amount of elapsed realtime in microseconds.
1495 public abstract long getBatteryUptime(long curTime); argument
1500 * @param curTime the amount of elapsed realtime in microseconds.
1502 public abstract long getBatteryRealtime(long curTime); argument
1560 * @param curTime the elapsed realtime in microseconds.
1563 public abstract long computeBatteryUptime(long curTime, int which); argument
1568 * @param curTime the current elapsed realtime in microseconds.
1571 public abstract long computeBatteryRealtime(long curTime, int which); argument
1576 * @param curTime the elapsed realtime in microseconds.
1579 public abstract long computeBatteryScreenOffUptime(long curTime, in argument
1587 computeBatteryScreenOffRealtime(long curTime, int which) argument
1595 computeUptime(long curTime, int which) argument
1603 computeRealtime(long curTime, int which) argument
1613 computeBatteryTimeRemaining(long curTime) argument
1656 computeChargeTimeRemaining(long curTime) argument
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DPagedView.java2431 long curTime = AnimationUtils.currentAnimationTimeMillis();
2433 mFrom.left += (mVelocity.x * (curTime - mPrevTime) / 1000f);
2434 mFrom.top += (mVelocity.y * (curTime - mPrevTime) / 1000f);
2442 mPrevTime = curTime;

Completed in 1053 milliseconds