Home
last modified time | relevance | path

Searched refs:idleTimeMs (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DBluetoothPowerCalculator.java45 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()
DWifiPowerCalculator.java79 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()
DBatteryStatsImpl.java10811 final long idleTimeMs = info.getControllerIdleTimeMillis(); in updateWifiState() local
10812 final long totalTimeMs = txTimeMs + rxTimeMs + idleTimeMs; in updateWifiState()
10821 Slog.d(TAG, " Idle Time: " + idleTimeMs + " ms"); in updateWifiState()
10908 final long myIdleTimeMs = (wifiLockTimeSinceMarkMs * idleTimeMs) in updateWifiState()
11215 long idleTimeMs; field in BatteryStatsImpl.BluetoothActivityInfoCache
11224 idleTimeMs = info.getControllerIdleTimeMillis(); in set()
11261 final long idleTimeMs = in updateBluetoothStateLocked() local
11262 info.getControllerIdleTimeMillis() - mLastBluetoothActivityInfo.idleTimeMs; in updateBluetoothStateLocked()
11268 Slog.d(TAG, " Idle Time: " + idleTimeMs + " ms"); in updateBluetoothStateLocked()
11403 mBluetoothActivity.getIdleTimeCounter().addCountLocked(idleTimeMs); in updateBluetoothStateLocked()
[all …]
/frameworks/base/telephony/java/android/telephony/
DModemActivityInfo.java61 public ModemActivityInfo(long timestamp, int sleepTimeMs, int idleTimeMs, in ModemActivityInfo() argument
65 mIdleTimeMs = idleTimeMs; in ModemActivityInfo()
102 int idleTimeMs = in.readInt();
108 return new ModemActivityInfo(timestamp, sleepTimeMs, idleTimeMs,
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiPowerMetrics.java69 m.idleTimeMs = stats.getIdleTimeMs(); in buildProto()
115 pw.println("Amount of time wifi is in idle (ms): " + s.idleTimeMs); in dump()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DModemPowerMetrics.java59 m.idleTimeMs = stats.getIdleTimeMs(); in buildProto()
DTelephonyMetrics.java586 pw.println("Amount of time modem is in idle (ms): " + s.idleTimeMs); in printAllMetrics()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryExternalStatsWorker.java566 final long idleTimeMs = latest.mControllerIdleTimeMs - lastIdleMs; in extractDeltaLocked() local
569 if (txTimeMs < 0 || rxTimeMs < 0 || scanTimeMs < 0 || idleTimeMs < 0) { in extractDeltaLocked()
631 delta.mControllerIdleTimeMs = Math.min(maxExpectedIdleTimeMs, Math.max(0, idleTimeMs)); in extractDeltaLocked()
/frameworks/base/core/java/android/os/
DBatteryStats.java3559 final long idleTimeMs = counter.getIdleTimeCounter().getCountLocked(which); in printControllerActivity() local
3586 = totalControllerActivityTimeMs - (idleTimeMs + rxTimeMs + totalTxTimeMs); in printControllerActivity()
3618 formatTimeMs(sb, idleTimeMs); in printControllerActivity()
3620 sb.append(formatRatioLocked(idleTimeMs, totalControllerActivityTimeMs)); in printControllerActivity()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt87851 Lcom/android/internal/os/BatteryStatsImpl$BluetoothActivityInfoCache;->idleTimeMs:J