Home
last modified time | relevance | path

Searched refs:isOverheated (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/
DBatteryDefenderDetectorTest.java49 mBatteryInfo.isOverheated = false; in testDetect_notOverheated_tipInvisible()
56 mBatteryInfo.isOverheated = true; in testDetect_isOverheated_tipNew()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryUtilsTest.java525 mBatteryInfo.isOverheated = true; in testIsBatteryDefenderOn_isOverheatedAndIsCharging_returnTrue()
533 mBatteryInfo.isOverheated = true; in testIsBatteryDefenderOn_isOverheatedAndDischarging_returnFalse()
541 mBatteryInfo.isOverheated = false; in testIsBatteryDefenderOn_notOverheatedAndDischarging_returnFalse()
549 mBatteryInfo.isOverheated = false; in testIsBatteryDefenderOn_notOverheatedAndIsCharging_returnFalse()
DBatteryHeaderPreferenceControllerTest.java285 mBatteryInfo.isOverheated = true; in updatePreference_isOverheat_showEmptyText()
DBatteryInfoTest.java260 assertThat(info.isOverheated).isTrue(); in testGetBatteryInfo_chargingWithOverheated_updateChargeLabel()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryInfo.java51 public boolean isOverheated; field in BatteryInfo
237 info.isOverheated = batteryBroadcast.getIntExtra( in getBatteryInfo()
262 if (info.isOverheated && status != BatteryManager.BATTERY_STATUS_FULL) { in updateBatteryInfoCharging()
DBatteryUtils.java310 return batteryInfo.isOverheated && !batteryInfo.discharging; in isBatteryDefenderOn()