Searched refs:getTimeOnBattery (Results 1 – 8 of 8) sorted by relevance
57 if (processUsageItem != null && getTimeOnBattery() > 0) { in applyRule()70 final long alarmsPerMs = getTimeOnBattery()/usage.getAlarmWakeups(); in addAlarmAnalysis()77 final long sensorUsageThresholdMs = (long) (getTimeOnBattery() in addSensorAnalysis()
48 protected long getTimeOnBattery() { in getTimeOnBattery() method in AbstractPowerRule49 return mPowerDetailedAnalysisItem.getTimeOnBattery(); in getTimeOnBattery()
48 if (wakelockItem != null && getTimeOnBattery() > 0) { in applyRule()49 long wakelockThreshold = (long)(getTimeOnBattery() in applyRule()
51 if (mBugreportItem.getDumpsys() == null || getTimeOnBattery() <= 0) { in applyRule()59 final long observedWifiScanIntervalMs = getTimeOnBattery() / in applyRule()
49 if (interruptItem == null || getTimeOnBattery() < 0) { in applyRule()53 final long interruptsPerMs = getTimeOnBattery()/interrupts.getInterruptCount(); in applyRule()
52 if (mBugreportItem.getActivityService() == null || getTimeOnBattery() <= 0) { in applyRule()60 final long locationRequestThresholdMs = (long) (getTimeOnBattery() * in applyRule()
81 assertEquals(8465622, stats.getTimeOnBattery()); in testBatteryStatsDetailedInfoParser()122 assertEquals(8465622, stats.getTimeOnBattery()); in testMissingWakelockSection()
91 public long getTimeOnBattery() { in getTimeOnBattery() method in BatteryStatsDetailedInfoItem154 batteryStatsComponent.put(TIME_ON_BATTERY, getTimeOnBattery()); in toJson()