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

/frameworks/base/services/java/com/android/server/
H A DWatchdog.java336 * @param curTime The current system time.
340 String shouldWeBeBrutalLocked(long curTime) { argument
358 static long computeCalendarTime(Calendar c, long curTime, argument
362 c.setTimeInMillis(curTime);
373 if (newTime < curTime) {
/frameworks/base/services/audioflinger/
H A DAudioPolicyService.cpp660 nsecs_t curTime = systemTime(); local
662 if (mAudioCommands[0]->mTime <= curTime) {
731 waitTime = mAudioCommands[0]->mTime - curTime;
/frameworks/base/core/java/android/os/
H A DBatteryStats.java756 * @param curTime the amount of elapsed realtime in microseconds.
758 public abstract long getBatteryUptime(long curTime); argument
776 * @param curTime the amount of elapsed realtime in microseconds.
778 public abstract long getBatteryRealtime(long curTime); argument
831 * @param curTime the elapsed realtime in microseconds.
834 public abstract long computeBatteryUptime(long curTime, int which); argument
839 * @param curTime the current elapsed realtime in microseconds.
842 public abstract long computeBatteryRealtime(long curTime, int which); argument
847 * @param curTime the current elapsed realtime in microseconds.
850 public abstract long computeUptime(long curTime, in argument
858 computeRealtime(long curTime, int which) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java1187 void addHistoryRecordLocked(long curTime) { argument
1197 && (mHistoryBaseTime+curTime) < (mHistoryEnd.time+2000)
1219 addHistoryRecordLocked(curTime, HistoryItem.CMD_OVERFLOW);
1236 addHistoryRecordLocked(curTime, HistoryItem.CMD_UPDATE);
1239 void addHistoryRecordLocked(long curTime, byte cmd) { argument
1246 rec.setTo(mHistoryBaseTime + curTime, cmd, mHistoryCur);
4246 public long computeUptime(long curTime, int which) { argument
4248 case STATS_SINCE_CHARGED: return mUptime + (curTime-mUptimeStart);
4250 case STATS_CURRENT: return (curTime-mUptimeStart);
4251 case STATS_SINCE_UNPLUGGED: return (curTime
4257 computeRealtime(long curTime, int which) argument
4268 computeBatteryUptime(long curTime, int which) argument
4283 computeBatteryRealtime(long curTime, int which) argument
4297 getBatteryUptimeLocked(long curTime) argument
4310 getBatteryUptime(long curTime) argument
4314 getBatteryRealtimeLocked(long curTime) argument
4323 getBatteryRealtime(long curTime) argument
[all...]

Completed in 170 milliseconds