Searched defs:curTime (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiLogger.java110 long curTime = SystemClock.uptimeMillis();
112 if (shouldLogNow(timing, curTime)) {
114 cache.put(logMessage, new Pair<>(curTime, 1));
136 private static boolean shouldLogNow(@Nullable Pair<Long, Integer> timing, long curTime) { argument
137 return timing == null || curTime - timing.first > ERROR_LOG_DURATTION_MILLIS;
/frameworks/av/services/audiopolicy/
H A DAudioPolicyService.cpp391 nsecs_t curTime = systemTime(); local
393 if (mAudioCommands[0]->mTime <= curTime) {
525 waitTime = mAudioCommands[0]->mTime - curTime;
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityRecord.java861 final long curTime = SystemClock.uptimeMillis();
863 reportLaunchTimeLocked(curTime);
867 final long thisTime = curTime - fullyDrawnStartTime;
869 ? (curTime - stack.mFullyDrawnStartTime) : thisTime;
896 private void reportLaunchTimeLocked(final long curTime) { argument
898 final long thisTime = curTime - displayStartTime;
900 ? (curTime - stack.mLaunchStartTime) : thisTime;
/frameworks/base/core/java/android/os/
H A DBatteryStats.java1517 * @param curTime the amount of elapsed realtime in microseconds.
1519 public abstract long getBatteryUptime(long curTime); argument
1524 * @param curTime the amount of elapsed realtime in microseconds.
1526 public abstract long getBatteryRealtime(long curTime); argument
1584 * @param curTime the elapsed realtime in microseconds.
1587 public abstract long computeBatteryUptime(long curTime, int which); argument
1592 * @param curTime the current elapsed realtime in microseconds.
1595 public abstract long computeBatteryRealtime(long curTime, int which); argument
1600 * @param curTime the elapsed realtime in microseconds.
1603 public abstract long computeBatteryScreenOffUptime(long curTime, in argument
1611 computeBatteryScreenOffRealtime(long curTime, int which) argument
1619 computeUptime(long curTime, int which) argument
1627 computeRealtime(long curTime, int which) argument
1637 computeBatteryTimeRemaining(long curTime) argument
1680 computeChargeTimeRemaining(long curTime) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java535 public long computeUptime(long curTime, int which) { argument
538 return mUptime + getUptime(curTime);
540 return getUptime(curTime);
542 return getUptime(curTime) - mUnpluggedUptime;
547 public long computeRealtime(long curTime, int which) { argument
550 return mRealtime + getRealtime(curTime);
552 return getRealtime(curTime);
554 return getRealtime(curTime) - mUnpluggedRealtime;
559 public long getUptime(long curTime) { argument
562 time += curTime
567 getRealtime(long curTime) argument
1288 computeOverage(long curTime) argument
1295 recomputeLastDuration(long curTime, boolean abort) argument
7271 computeUptime(long curTime, int which) argument
7281 computeRealtime(long curTime, int which) argument
7291 computeBatteryUptime(long curTime, int which) argument
7296 computeBatteryRealtime(long curTime, int which) argument
7301 computeBatteryScreenOffUptime(long curTime, int which) argument
7306 computeBatteryScreenOffRealtime(long curTime, int which) argument
7349 computeBatteryTimeRemaining(long curTime) argument
7385 computeChargeTimeRemaining(long curTime) argument
7426 getBatteryUptime(long curTime) argument
7431 getBatteryRealtime(long curTime) argument
[all...]

Completed in 1193 milliseconds