Searched refs:isBatteryDefenderOn (Results 1 – 4 of 4) sorted by relevance
528 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()
37 BatteryUtils.isBatteryDefenderOn(mBatteryInfo) in detect()
112 if (BatteryUtils.isBatteryDefenderOn(info)) { in generateLabel()
309 public static boolean isBatteryDefenderOn(BatteryInfo batteryInfo) { in isBatteryDefenderOn() method in BatteryUtils