Searched refs:curTime (Results 1 - 9 of 9) 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/
H A DWatchdog.java328 * @param curTime The current system time.
332 String shouldWeBeBrutalLocked(long curTime) { argument
350 static long computeCalendarTime(Calendar c, long curTime, argument
354 c.setTimeInMillis(curTime);
365 if (newTime < curTime) {
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java1267 void addHistoryBufferLocked(long curTime) { argument
1272 final long timeDiff = (mHistoryBaseTime+curTime) - mHistoryLastWritten.time;
1291 curTime = mHistoryLastWritten.time - mHistoryBaseTime;
1301 addHistoryBufferLocked(curTime, HistoryItem.CMD_OVERFLOW);
1316 addHistoryBufferLocked(curTime, HistoryItem.CMD_UPDATE);
1319 void addHistoryBufferLocked(long curTime, byte cmd) { argument
1327 mHistoryLastWritten.setTo(mHistoryBaseTime + curTime, cmd, mHistoryCur);
1329 mLastHistoryTime = curTime;
1340 void addHistoryRecordLocked(long curTime) { argument
1341 addHistoryBufferLocked(curTime);
1399 addHistoryRecordLocked(long curTime, byte cmd) argument
4514 computeUptime(long curTime, int which) argument
4525 computeRealtime(long curTime, int which) argument
4536 computeBatteryUptime(long curTime, int which) argument
4551 computeBatteryRealtime(long curTime, int which) argument
4565 getBatteryUptimeLocked(long curTime) argument
4578 getBatteryUptime(long curTime) argument
4582 getBatteryRealtimeLocked(long curTime) argument
4591 getBatteryRealtime(long curTime) argument
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DActivityRecord.java759 final long curTime = SystemClock.uptimeMillis();
760 final long thisTime = curTime - launchTime;
762 ? (curTime - stack.mInitialStartTime) : thisTime;
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java3289 long curTime = SystemClock.uptimeMillis();
3290 if ((mLastTrackballTime + MAX_TRACKBALL_DELAY) < curTime) {
3295 mLastTrackballTime = curTime;
3304 enqueueInputEvent(new KeyEvent(curTime, curTime,
3312 enqueueInputEvent(new KeyEvent(curTime, curTime,
3366 enqueueInputEvent(new KeyEvent(curTime, curTime,
3375 curTime
[all...]
/frameworks/base/core/java/android/os/
H A DBatteryStats.java922 * @param curTime the amount of elapsed realtime in microseconds.
924 public abstract long getBatteryUptime(long curTime); argument
942 * @param curTime the amount of elapsed realtime in microseconds.
944 public abstract long getBatteryRealtime(long curTime); argument
997 * @param curTime the elapsed realtime in microseconds.
1000 public abstract long computeBatteryUptime(long curTime, int which); argument
1005 * @param curTime the current elapsed realtime in microseconds.
1008 public abstract long computeBatteryRealtime(long curTime, int which); argument
1013 * @param curTime the current elapsed realtime in microseconds.
1016 public abstract long computeUptime(long curTime, in argument
1024 computeRealtime(long curTime, int which) argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.cpp662 nsecs_t curTime = systemTime(); local
664 if (mAudioCommands[0]->mTime <= curTime) {
732 waitTime = mAudioCommands[0]->mTime - curTime;
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DPagedView.java2293 long curTime = AnimationUtils.currentAnimationTimeMillis();
2295 mFrom.left += (mVelocity.x * (curTime - mPrevTime) / 1000f);
2296 mFrom.top += (mVelocity.y * (curTime - mPrevTime) / 1000f);
2304 mPrevTime = curTime;
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java4453 long curTime = SystemClock.uptimeMillis();
4454 mPowerManager.userActivity(curTime, false);

Completed in 2164 milliseconds