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

/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/java/com/android/server/wm/
H A DDimLayer.java178 long curTime = SystemClock.uptimeMillis();
188 mStartTime = curTime;
233 final long curTime = SystemClock.uptimeMillis();
235 float alpha = mStartAlpha + alphaDelta * (curTime - mStartTime) / mDuration;
241 if (DEBUG) Slog.v(TAG, "stepAnimation: curTime=" + curTime + " alpha=" + alpha);
265 pw.print(" curTime="); pw.println(SystemClock.uptimeMillis());
/frameworks/base/services/java/com/android/server/
H A DWatchdog.java355 * @param curTime The current system time.
359 String shouldWeBeBrutalLocked(long curTime) { argument
377 static long computeCalendarTime(Calendar c, long curTime, argument
381 c.setTimeInMillis(curTime);
392 if (newTime < curTime) {
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java913 private long computeOverage(long curTime) { argument
915 return mLastTime + mLastAddedDuration - curTime;
920 private void recomputeLastDuration(long curTime, boolean abort) { argument
921 final long overage = computeOverage(curTime);
932 mLastAddedTime = curTime;
1394 void addHistoryBufferLocked(long curTime) { argument
1399 final long timeDiff = (mHistoryBaseTime+curTime) - mHistoryLastWritten.time;
1418 curTime = mHistoryLastWritten.time - mHistoryBaseTime;
1428 addHistoryBufferLocked(curTime, HistoryItem.CMD_OVERFLOW);
1443 addHistoryBufferLocked(curTime, HistoryIte
1446 addHistoryBufferLocked(long curTime, byte cmd) argument
1467 addHistoryRecordLocked(long curTime) argument
1526 addHistoryRecordLocked(long curTime, byte cmd) argument
4701 computeUptime(long curTime, int which) argument
4712 computeRealtime(long curTime, int which) argument
4723 computeBatteryUptime(long curTime, int which) argument
4738 computeBatteryRealtime(long curTime, int which) argument
4752 getBatteryUptimeLocked(long curTime) argument
4765 getBatteryUptime(long curTime) argument
4769 getBatteryRealtimeLocked(long curTime) argument
4778 getBatteryRealtime(long curTime) argument
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DActivityRecord.java770 final long curTime = SystemClock.uptimeMillis();
771 final long thisTime = curTime - launchTime;
773 ? (curTime - stack.mInitialStartTime) : thisTime;
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java3974 long curTime = SystemClock.uptimeMillis();
3975 if ((mLastTime + MAX_TRACKBALL_DELAY) < curTime) {
3980 mLastTime = curTime;
3989 enqueueInputEvent(new KeyEvent(curTime, curTime,
3997 enqueueInputEvent(new KeyEvent(curTime, curTime,
4051 enqueueInputEvent(new KeyEvent(curTime, curTime,
4060 curTime
[all...]
/frameworks/base/core/java/android/os/
H A DBatteryStats.java936 * @param curTime the amount of elapsed realtime in microseconds.
938 public abstract long getBatteryUptime(long curTime); argument
956 * @param curTime the amount of elapsed realtime in microseconds.
958 public abstract long getBatteryRealtime(long curTime); argument
1011 * @param curTime the elapsed realtime in microseconds.
1014 public abstract long computeBatteryUptime(long curTime, int which); argument
1019 * @param curTime the current elapsed realtime in microseconds.
1022 public abstract long computeBatteryRealtime(long curTime, int which); argument
1027 * @param curTime the current elapsed realtime in microseconds.
1030 public abstract long computeUptime(long curTime, in argument
1038 computeRealtime(long curTime, int which) argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.cpp672 nsecs_t curTime = systemTime(); local
674 if (mAudioCommands[0]->mTime <= curTime) {
742 waitTime = mAudioCommands[0]->mTime - curTime;
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DPagedView.java2306 long curTime = AnimationUtils.currentAnimationTimeMillis();
2308 mFrom.left += (mVelocity.x * (curTime - mPrevTime) / 1000f);
2309 mFrom.top += (mVelocity.y * (curTime - mPrevTime) / 1000f);
2317 mPrevTime = curTime;
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java4870 long curTime = SystemClock.uptimeMillis();
4871 mPowerManager.userActivity(curTime, false);

Completed in 303 milliseconds