Searched refs:idleTimeMs (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/com/android/internal/os/ |
D | BluetoothPowerCalculator.java | 45 final long idleTimeMs = counter.getIdleTimeCounter().getCountLocked(statsType); in calculateApp() local 48 final long totalTimeMs = idleTimeMs + txTimeMs + rxTimeMs; in calculateApp() 53 powerMah = ((idleTimeMs * mIdleMa) + (rxTimeMs * mRxMa) + (txTimeMs * mTxMa)) in calculateApp() 72 final long idleTimeMs = counter.getIdleTimeCounter().getCountLocked(statsType); in calculateRemaining() local 75 final long totalTimeMs = idleTimeMs + txTimeMs + rxTimeMs; in calculateRemaining() 81 powerMah = ((idleTimeMs * mIdleMa) + (rxTimeMs * mRxMa) + (txTimeMs * mTxMa)) in calculateRemaining()
|
D | WifiPowerCalculator.java | 79 final long idleTimeMs = counter.getIdleTimeCounter().getCountLocked(statsType); in calculateRemaining() local 84 (idleTimeMs + rxTimeMs + txTimeMs) - mTotalAppRunningTime); in calculateRemaining() 90 powerDrainMah = ((idleTimeMs * mIdleCurrentMa) + (txTimeMs * mTxCurrentMa) in calculateRemaining()
|
D | BatteryStatsImpl.java | 8447 final long idleTimeMs = info.getControllerIdleTimeMillis(); in updateWifiStateLocked() local 8448 final long totalTimeMs = txTimeMs + rxTimeMs + idleTimeMs; in updateWifiStateLocked() 8457 Slog.d(TAG, " Idle Time: " + idleTimeMs + " ms"); in updateWifiStateLocked() 8539 final long myIdleTimeMs = (wifiLockTimeSinceMarkMs * idleTimeMs) in updateWifiStateLocked()
|
/frameworks/base/telephony/java/android/telephony/ |
D | ModemActivityInfo.java | 46 public ModemActivityInfo(long timestamp, int sleepTimeMs, int idleTimeMs, in ModemActivityInfo() argument 50 mIdleTimeMs = idleTimeMs; in ModemActivityInfo() 79 int idleTimeMs = in.readInt(); 86 return new ModemActivityInfo(timestamp, sleepTimeMs, idleTimeMs,
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 1331 final long idleTimeMs = latest.mControllerIdleTimeMs - lastIdleMs; in extractDelta() local 1382 delta.mControllerIdleTimeMs = Math.min(maxExpectedIdleTimeMs, Math.max(0, idleTimeMs)); in extractDelta()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 2722 final long idleTimeMs = counter.getIdleTimeCounter().getCountLocked(which); in printControllerActivity() local 2730 final long totalTimeMs = idleTimeMs + rxTimeMs + totalTxTimeMs; in printControllerActivity() 2737 formatTimeMs(sb, idleTimeMs); in printControllerActivity() 2739 sb.append(formatRatioLocked(idleTimeMs, totalTimeMs)); in printControllerActivity()
|