Home
last modified time | relevance | path

Searched refs:isBatteryDefenderOn (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryUtilsTest.java528 assertThat(mBatteryUtils.isBatteryDefenderOn(mBatteryInfo)).isTrue(); in testIsBatteryDefenderOn_isOverheatedAndIsCharging_returnTrue()
536 assertThat(mBatteryUtils.isBatteryDefenderOn(mBatteryInfo)).isFalse(); in testIsBatteryDefenderOn_isOverheatedAndDischarging_returnFalse()
544 assertThat(mBatteryUtils.isBatteryDefenderOn(mBatteryInfo)).isFalse(); in testIsBatteryDefenderOn_notOverheatedAndDischarging_returnFalse()
552 assertThat(mBatteryUtils.isBatteryDefenderOn(mBatteryInfo)).isFalse(); in testIsBatteryDefenderOn_notOverheatedAndIsCharging_returnFalse()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/
DBatteryDefenderDetector.java37 BatteryUtils.isBatteryDefenderOn(mBatteryInfo) in detect()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHeaderPreferenceController.java112 if (BatteryUtils.isBatteryDefenderOn(info)) { in generateLabel()
DBatteryUtils.java309 public static boolean isBatteryDefenderOn(BatteryInfo batteryInfo) { in isBatteryDefenderOn() method in BatteryUtils