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

/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiLogger.java111 long curTime = SystemClock.uptimeMillis();
113 if (shouldLogNow(timing, curTime)) {
115 cache.put(logMessage, new Pair<>(curTime, 1));
137 private static boolean shouldLogNow(@Nullable Pair<Long, Integer> timing, long curTime) { argument
138 return timing == null || curTime - timing.first > ERROR_LOG_DURATTION_MILLIS;
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyService.cpp403 nsecs_t curTime = systemTime(); local
405 if (mAudioCommands[0]->mTime <= curTime) {
570 waitTime = mAudioCommands[0]->mTime - curTime;
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp1079 String8 curTime = getFormattedCurrentTime(); local
1084 "(PID %d, score %d state %d) due to eviction policy", curTime.string(),
1857 String8 curTime = getFormattedCurrentTime(); local
1890 String8 curTime = getFormattedCurrentTime(); local
1892 mEventLog.add(String8::format("%s : %s", curTime.string(), event));
1944 String8 curTime = getFormattedCurrentTime(); local
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityRecord.java1861 final long curTime = SystemClock.uptimeMillis();
1863 reportLaunchTimeLocked(curTime);
1867 final long thisTime = curTime - fullyDrawnStartTime;
1869 ? (curTime - stack.mFullyDrawnStartTime) : thisTime;
1896 private void reportLaunchTimeLocked(final long curTime) { argument
1901 final long thisTime = curTime - displayStartTime;
1903 ? (curTime - stack.mLaunchStartTime) : thisTime;
/frameworks/base/core/java/android/os/
H A DBatteryStats.java2364 * @param curTime the amount of elapsed realtime in microseconds.
2366 public abstract long getBatteryUptime(long curTime); argument
2371 * @param curTime the amount of elapsed realtime in microseconds.
2373 public abstract long getBatteryRealtime(long curTime); argument
2431 * @param curTime the elapsed realtime in microseconds.
2434 public abstract long computeBatteryUptime(long curTime, int which); argument
2439 * @param curTime the current elapsed realtime in microseconds.
2442 public abstract long computeBatteryRealtime(long curTime, int which); argument
2447 * @param curTime the elapsed realtime in microseconds.
2450 public abstract long computeBatteryScreenOffUptime(long curTime, in argument
2458 computeBatteryScreenOffRealtime(long curTime, int which) argument
2466 computeUptime(long curTime, int which) argument
2474 computeRealtime(long curTime, int which) argument
2484 computeBatteryTimeRemaining(long curTime) argument
2600 computeChargeTimeRemaining(long curTime) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java731 public long computeUptime(long curTime, int which) { argument
734 return mUptime + getUptime(curTime);
736 return getUptime(curTime);
738 return getUptime(curTime) - mUnpluggedUptime;
743 public long computeRealtime(long curTime, int which) { argument
746 return mRealtime + getRealtime(curTime);
748 return getRealtime(curTime);
750 return getRealtime(curTime) - mUnpluggedRealtime;
755 public long getUptime(long curTime) { argument
758 time += curTime
763 getRealtime(long curTime) argument
1688 computeOverage(long curTime) argument
1695 recomputeLastDuration(long curTime, boolean abort) argument
10737 computeUptime(long curTime, int which) argument
10747 computeRealtime(long curTime, int which) argument
10757 computeBatteryUptime(long curTime, int which) argument
10762 computeBatteryRealtime(long curTime, int which) argument
10767 computeBatteryScreenOffUptime(long curTime, int which) argument
10772 computeBatteryScreenOffRealtime(long curTime, int which) argument
10815 computeBatteryTimeRemaining(long curTime) argument
10853 computeChargeTimeRemaining(long curTime) argument
10901 getBatteryUptime(long curTime) argument
10906 getBatteryRealtime(long curTime) argument
[all...]

Completed in 863 milliseconds