Searched refs:totalActiveDurationMs (Results 1 – 1 of 1) sorted by relevance
204 long totalActiveDurationMs = batteryStats.getMobileRadioActiveTime(rawRealtimeUs, in calculate() local206 if (totalActiveDurationMs < total.totalAppDurationMs) { in calculate()207 totalActiveDurationMs = total.totalAppDurationMs; in calculate()220 if (totalActiveDurationMs == 0.0) { in calculate()224 (totalActivePowerMah * activeDurationMs) / totalActiveDurationMs; in calculate()259 total.remainingDurationMs = totalActiveDurationMs - total.totalAppDurationMs; in calculate()267 if (totalActiveDurationMs != 0) { in calculate()269 (totalActivePowerMah * total.remainingDurationMs) / totalActiveDurationMs; in calculate()