Searched refs:powerMah (Results 1 – 6 of 6) sorted by relevance
49 double powerMah = counter.getPowerCounter().getCountLocked(statsType) in calculateApp() local52 if (powerMah == 0) { in calculateApp()53 powerMah = ((idleTimeMs * mIdleMa) + (rxTimeMs * mRxMa) + (txTimeMs * mTxMa)) in calculateApp()57 app.bluetoothPowerMah = powerMah; in calculateApp()62 mAppTotalPowerMah += powerMah; in calculateApp()76 double powerMah = counter.getPowerCounter().getCountLocked(statsType) in calculateRemaining() local79 if (powerMah == 0) { in calculateRemaining()81 powerMah = ((idleTimeMs * mIdleMa) + (rxTimeMs * mRxMa) + (txTimeMs * mTxMa)) in calculateRemaining()86 powerMah = Math.max(0, powerMah - mAppTotalPowerMah); in calculateRemaining()88 if (DEBUG && powerMah != 0) { in calculateRemaining()[all …]
72 result.powerMah += result.strengthMah[i]; in applyProfile()77 result.powerMah += result.scanningMah; in applyProfile()82 result.powerMah += result.activeMah; in applyProfile()
70 result.powerMah = Conversion.msToHr( in applyProfile()
40 public double powerMah; field in ComponentPower
75 appPowerMah += componentPower.powerMah; in build()
77 Assert.assertEquals(GMAIL_MODEM_MAH, modem.powerMah, EPSILON); in testModemApp()100 Assert.assertEquals(REMAINDER_MODEM_MAH, modem.powerMah, EPSILON); in testModemRemainder()