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

/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/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/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/
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) {

Completed in 69 milliseconds