Home
last modified time | relevance | path

Searched refs:txDurationMs (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/
H A DMobileRadioPowerCalculator.java338 final long txDurationMs = bs.getActiveTxRadioDurationMs(rat, freq, txLvl, in calculateActiveModemPowerMah() local
340 if (txDurationMs == BatteryStats.DURATION_UNAVAILABLE) { in calculateActiveModemPowerMah()
344 txDurationMs); in calculateActiveModemPowerMah()
497 @ServiceState.FrequencyRange int freqRange, int txLevel, long txDurationMs) { in calcTxStatePowerMah() argument
507 final double consumptionMah = drainRateMa * txDurationMs / MILLIS_IN_HOUR; in calcTxStatePowerMah()
510 + drainRateMa + " mA and a duration of " + txDurationMs + " ms for " in calcTxStatePowerMah()
H A DBatteryStatsImpl.java12445 public final long txDurationMs; field in BatteryStatsImpl.RxTxConsumption
12456 txDurationMs = txMs; in RxTxConsumption()
12458 final long activeDurationMs = txDurationMs + rxDurationMs; in RxTxConsumption()
12462 txToTotalRatio = ((double) txDurationMs) / activeDurationMs; in RxTxConsumption()
12474 long txDurationMs = 0; in incrementPerRatDataLocked() local
12534 txDurationMs += proportionalTxDurationMs; in incrementPerRatDataLocked()
12594 txDurationMs += txTimeMs; in incrementPerRatDataLocked()
12608 txDurationMs); in incrementPerRatDataLocked()