Home
last modified time | relevance | path

Searched refs:isChargingOptimizationMode (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryHeaderPreferenceControllerTest.java350 when(mFactory.batterySettingsFeatureProvider.isChargingOptimizationMode(mContext)) in updateBatteryStatus_chargingOptimizationMode_remainingLabel()
367 when(mFactory.batterySettingsFeatureProvider.isChargingOptimizationMode(mContext)) in updateBatteryStatus_chargingOptimizationModeNoRemainingLabel_statusLabel()
384 when(mFactory.batterySettingsFeatureProvider.isChargingOptimizationMode(mContext)) in updateBatteryStatus_notChargingOptimizationMode_statusWithRemainingLabel()
DBatterySettingsFeatureProviderImplTest.java92 assertThat(mImpl.isChargingOptimizationMode(mContext)).isFalse(); in isChargingOptimizationMode_default_returnFalse()
DBatteryInfoTest.java729 when(mFeatureFactory.batterySettingsFeatureProvider.isChargingOptimizationMode(mContext)) in getBatteryInfo_chargeOptimizationMode_updateRemainingAndStatusLabel()
755 when(mFeatureFactory.batterySettingsFeatureProvider.isChargingOptimizationMode(mContext)) in getBatteryInfo_notChargeOptimizationModeWithV1_updateRemainingAndStatusLabel()
777 when(mFeatureFactory.batterySettingsFeatureProvider.isChargingOptimizationMode(mContext)) in getBatteryInfo_notChargeOptimizationModeWithV2_updateRemainingAndStatusLabel()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatterySettingsFeatureProvider.java63 boolean isChargingOptimizationMode(@NonNull Context context); in isChargingOptimizationMode() method
DBatterySettingsFeatureProviderImpl.java79 public boolean isChargingOptimizationMode(@NonNull Context context) { in isChargingOptimizationMode() method in BatterySettingsFeatureProviderImpl
DBatteryHeaderPreferenceController.java89 && mBatterySettingsFeatureProvider.isChargingOptimizationMode(mContext)) { in generateLabel()
DTopLevelBatteryPreferenceController.java164 if (info.chargeLabel != null && featureProvider.isChargingOptimizationMode(mContext)) { in generateLabel()
DBatteryInfo.java397 if (featureProvider.isChargingOptimizationMode(context)) { in updateBatteryInfoCharging()