Lines Matching refs:time

129      * Include only the run since the last time the device was unplugged in the stats.
207 * Returns the total time in microseconds associated with this Timer for the
212 * @return a time in microseconds
353 * Returns the total time (in 1/100 sec) spent executing in user code.
360 * Returns the total time (in 1/100 sec) spent executing in system code.
374 * Returns the cpu time spent in microseconds while the process was in the foreground.
376 * @return foreground cpu time in microseconds
381 * Returns the approximate cpu time spent in microseconds, at a certain CPU speed.
418 * Returns the amount of time spent started.
449 public long time;
509 public HistoryItem(long time, Parcel src) {
510 this.time = time;
519 dest.writeLong(time);
545 // Part of initial delta int that specifies the time delta.
566 final long deltaTime = time - last.time;
644 time += deltaTimeToken;
646 time = src.readLong();
651 time += delta;
652 if (DEBUG) Slog.i(TAG, "READ DELTA: time delta=" + delta + " new time=" + time);
655 if (DEBUG) Slog.i(TAG, "READ DELTA: time delta=" + delta + " new time=" + time);
656 time += delta;
689 time = 0;
701 time = o.time;
712 public void setTo(long time, byte cmd, HistoryItem o) {
713 this.time = time;
769 * Return the base time offset for the battery history.
779 * Returns the time in microseconds that the screen has been on while the device was
799 * Returns the time in microseconds that the screen has been on with
810 * Returns the time in microseconds that the phone has been on while the device was
818 * Returns the time in microseconds that the phone has been running with
827 * Returns the time in microseconds that the phone has been trying to
869 * Returns the time in microseconds that the phone has been running with
917 * Returns the time in microseconds that wifi has been on while the device was
925 * Returns the time in microseconds that wifi has been on and the driver has
933 * Returns the time in microseconds that bluetooth has been on while the device was
974 * Returns the time that the radio was on for data transfers.
987 * Returns the battery percentage level at the last time the device was unplugged from power, or
988 * the last time it booted on battery power.
1012 * since the last time power was unplugged.
1018 * since the last time the device was charged.
1024 * since the last time power was unplugged.
1030 * since the last time the device was charged.
1099 private final static void formatTime(StringBuilder sb, long time) {
1100 long sec = time / 100;
1102 sb.append((time - (sec * 100)) * 10);
1106 private final static void formatTimeMs(StringBuilder sb, long time) {
1107 long sec = time / 1000;
1109 sb.append(time - (sec * 1000));
1154 * @param batteryRealtime the current on-battery time in microseconds.
1188 * @param now the current time in microseconds.
1507 startTime / 1000, // time spent started, in ms
1522 TimerEntry(String name, int id, BatteryStats.Timer timer, long time) {
1526 mTime = time;
1559 sb.append(" Total run time: ");
1585 final long time = getScreenBrightnessTime(i, batteryRealtime, which);
1586 if (time == 0) {
1593 formatTimeMs(sb, time/1000);
1595 sb.append(formatRatioLocked(time, screenOnTime));
1702 sb.append(" Total full wakelock time: "); formatTimeMs(sb,
1704 sb.append(", Total partial wakelock time: "); formatTimeMs(sb,
1713 final long time = getPhoneSignalStrengthTime(i, batteryRealtime, which);
1714 if (time == 0) {
1721 formatTimeMs(sb, time/1000);
1723 sb.append(formatRatioLocked(time, whichBatteryRealtime));
1733 sb.append(" Signal scanning time: ");
1742 final long time = getPhoneDataConnectionTime(i, batteryRealtime, which);
1743 if (time == 0) {
1750 formatTimeMs(sb, time/1000);
1752 sb.append(formatRatioLocked(time, whichBatteryRealtime));
2191 TimeUtils.formatDuration(rec.time-now, pw, TimeUtils.HUNDRED_DAY_FIELD_LEN);
2300 pw.print(rec.time-now);
2370 long time = pid.mWakeSum + (pid.mWakeStart != 0
2373 pw.print(" wake time: ");
2374 TimeUtils.formatDuration(time, pw);