Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageFeatureProvider.java87 boolean isEnhancedBatteryPredictionEnabled(Context context); in isEnhancedBatteryPredictionEnabled() method
DBatteryInfo.java106 if (!mCharging && provider.isEnhancedBatteryPredictionEnabled(context)) { in bindHistory()
195 && provider.isEnhancedBatteryPredictionEnabled(context)) { in getBatteryInfo()
DPowerUsageFeatureProviderImpl.java121 public boolean isEnhancedBatteryPredictionEnabled(Context context) { in isEnhancedBatteryPredictionEnabled() method in PowerUsageFeatureProviderImpl
DPowerUsageAdvanced.java169 if (mPowerUsageFeatureProvider.isEnhancedBatteryPredictionEnabled(context) && !plugged) { in updateHistPrefSummary()
DBatteryUtils.java410 mPowerUsageFeatureProvider.isEnhancedBatteryPredictionEnabled(mContext)) { in getEnhancedEstimate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryInfoTest.java352 .isEnhancedBatteryPredictionEnabled(mContext); in getBatteryInfo()
DBatteryUtilsTest.java501 when(mProvider.isEnhancedBatteryPredictionEnabled(mContext)).thenReturn(true); in getBatteryInfo_providerNull_shouldNotCrash()