Home
last modified time | relevance | path

Searched refs:isEnhancedBatteryPredictionEnabled (Results 1 – 15 of 15) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DPowerUsageFeatureProvider.java79 boolean isEnhancedBatteryPredictionEnabled(Context context); in isEnhancedBatteryPredictionEnabled() method
DBatteryInfo.java100 if (!mCharging && provider.isEnhancedBatteryPredictionEnabled(context)) { in bindHistory()
191 && provider.isEnhancedBatteryPredictionEnabled(context)) { in getBatteryInfo()
DPowerUsageFeatureProviderImpl.java103 public boolean isEnhancedBatteryPredictionEnabled(Context context) { in isEnhancedBatteryPredictionEnabled() method in PowerUsageFeatureProviderImpl
DPowerUsageAdvanced.java161 if (mPowerUsageFeatureProvider.isEnhancedBatteryPredictionEnabled(context) && !plugged) { in updateHistPrefSummary()
DPowerUsageSummary.java335 || !mPowerFeatureProvider.isEnhancedBatteryPredictionEnabled(context)) { in showBothEstimates()
DBatteryUtils.java455 mPowerUsageFeatureProvider.isEnhancedBatteryPredictionEnabled(mContext)) { in getBatteryInfo()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageFeatureProvider.java80 boolean isEnhancedBatteryPredictionEnabled(Context context); in isEnhancedBatteryPredictionEnabled() method
DBatteryInfo.java102 if (!mCharging && provider.isEnhancedBatteryPredictionEnabled(context)) { in bindHistory()
193 && provider.isEnhancedBatteryPredictionEnabled(context)) { in getBatteryInfo()
DPowerUsageFeatureProviderImpl.java104 public boolean isEnhancedBatteryPredictionEnabled(Context context) { in isEnhancedBatteryPredictionEnabled() method in PowerUsageFeatureProviderImpl
DPowerUsageAdvanced.java161 if (mPowerUsageFeatureProvider.isEnhancedBatteryPredictionEnabled(context) && !plugged) { in updateHistPrefSummary()
DPowerUsageSummary.java365 || !mPowerFeatureProvider.isEnhancedBatteryPredictionEnabled(context)) { in showBothEstimates()
DBatteryUtils.java504 mPowerUsageFeatureProvider.isEnhancedBatteryPredictionEnabled(mContext)) { in getEnhancedEstimate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryInfoTest.java336 .isEnhancedBatteryPredictionEnabled(mContext); in getBatteryInfo()
DPowerUsageSummaryTest.java251 when(mFeatureFactory.powerUsageFeatureProvider.isEnhancedBatteryPredictionEnabled(any())) in showBothEstimates_summariesAreBothModified()
DBatteryUtilsTest.java733 when(mProvider.isEnhancedBatteryPredictionEnabled(mContext)).thenReturn(true); in getBatteryInfo_providerNull_shouldNotCrash()