Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/stats/
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()
419 @ServiceState.FrequencyRange int freqRange, int txLevel, long txDurationMs) { in calcTxStatePowerMah() argument
429 final double consumptionMah = drainRateMa * txDurationMs / MILLIS_IN_HOUR; in calcTxStatePowerMah()
432 + drainRateMa + " mA and a duration of " + txDurationMs + " ms for " in calcTxStatePowerMah()
DBatteryStatsImpl.java12960 public final long txDurationMs; field in BatteryStatsImpl.RxTxConsumption
12971 txDurationMs = txMs; in RxTxConsumption()
12973 final long activeDurationMs = txDurationMs + rxDurationMs; in RxTxConsumption()
12977 txToTotalRatio = ((double) txDurationMs) / activeDurationMs; in RxTxConsumption()
12989 long txDurationMs = 0; in incrementPerRatDataLocked() local
13049 txDurationMs += proportionalTxDurationMs; in incrementPerRatDataLocked()
13109 txDurationMs += txTimeMs; in incrementPerRatDataLocked()
13123 txDurationMs); in incrementPerRatDataLocked()