Home
last modified time | relevance | path

Searched refs:isBatteryDefend (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DPowerUsageFeatureProviderImplTest.java166 assertThat(mPowerFeatureProvider.isBatteryDefend(mBatteryInfo)).isFalse(); in isBatteryDefend_defenderModeAndExtraDefendAreFalse_returnFalse()
174 assertThat(mPowerFeatureProvider.isBatteryDefend(mBatteryInfo)).isFalse(); in isBatteryDefend_defenderModeIsFalse_returnFalse()
182 assertThat(mPowerFeatureProvider.isBatteryDefend(mBatteryInfo)).isFalse(); in isBatteryDefend_defenderModeAndExtraDefendAreTrue_returnFalse()
190 assertThat(mPowerFeatureProvider.isBatteryDefend(mBatteryInfo)).isTrue(); in isBatteryDefend_extraDefendIsFalse_returnTrue()
DBatteryInfoTest.java313 .isBatteryDefend(any(BatteryInfo.class)); in getBatteryInfo_chargingWithDefender_updateChargeLabel()
372 .isBatteryDefend(any(BatteryInfo.class)); in getBatteryInfo_dockDefenderActive_updateChargeString()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/
DBatteryDefenderDetectorTest.java56 when(mFakeFeatureFactory.powerUsageFeatureProvider.isBatteryDefend(mBatteryInfo)) in detect_notBatteryDefend_tipInvisible()
64 when(mFakeFeatureFactory.powerUsageFeatureProvider.isBatteryDefend(mBatteryInfo)) in detect_isBatteryDefend_tipNew()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/
DBatteryDefenderDetector.java41 .isBatteryDefend(mBatteryInfo); in detect()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageFeatureProvider.java161 boolean isBatteryDefend(BatteryInfo info); in isBatteryDefend() method
DPowerUsageFeatureProviderImpl.java245 public boolean isBatteryDefend(BatteryInfo info) { in isBatteryDefend() method in PowerUsageFeatureProviderImpl
DBatteryInfo.java326 .isBatteryDefend(info); in getBatteryInfo()