Searched defs:estimate (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryInfoTest.java | 142 Estimate estimate = new Estimate(Duration.ofHours(4).toMillis(), in testGetBatteryInfo_basedOnUsageTrueMoreThanFifteenMinutes_usesCorrectString() local 162 Estimate estimate = new Estimate(Duration.ofMinutes(7).toMillis(), in testGetBatteryInfo_basedOnUsageTrueLessThanSevenMinutes_usesCorrectString() local 182 Estimate estimate = new Estimate(Duration.ofDays(3).toMillis(), in getBatteryInfo_MoreThanOneDay_suggestionLabelIsCorrectString() local 195 Estimate estimate = new Estimate(Duration.ofMinutes(10).toMillis(), in testGetBatteryInfo_basedOnUsageTrueBetweenSevenAndFifteenMinutes_usesCorrectString() local 322 private BatteryInfo getBatteryInfo(boolean charging, boolean enhanced, boolean estimate) { in getBatteryInfo()
|
D | BatteryUtilsTest.java | 744 Estimate estimate = new Estimate(1000, true, 1000); in getEnhancedEstimate_doesNotUpdateCache_ifEstimateFresh() local
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryInfo.java | 194 Estimate estimate = provider.getEnhancedBatteryPrediction(context); in getBatteryInfo() local 205 final Estimate estimate = new Estimate( in getBatteryInfo() local 217 Estimate estimate = new Estimate( in getBatteryInfoOld() local 227 BatteryStats stats, Estimate estimate, long elapsedRealtimeUs, boolean shortString) { in getBatteryInfo() 274 Estimate estimate, BatteryInfo info) { in updateBatteryInfoDischarging()
|
D | DebugEstimatesLoader.java | 63 Estimate estimate = powerUsageFeatureProvider.getEnhancedBatteryPrediction(context); in loadInBackground() local
|
D | BatteryUtils.java | 478 Estimate estimate = getEnhancedEstimate(); in getBatteryInfo() local 498 Estimate estimate = null; in getEnhancedEstimate() local
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryInfo.java | 192 Estimate estimate = provider.getEnhancedBatteryPrediction(context); in getBatteryInfo() local 202 final Estimate estimate = new Estimate( in getBatteryInfo() local 214 Estimate estimate = new Estimate( in getBatteryInfoOld() local 224 BatteryStats stats, Estimate estimate, long elapsedRealtimeUs, boolean shortString) { in getBatteryInfo() 271 Estimate estimate, BatteryInfo info) { in updateBatteryInfoDischarging()
|
D | DebugEstimatesLoader.java | 61 Estimate estimate = powerUsageFeatureProvider.getEnhancedBatteryPrediction(context); in loadInBackground() local
|
D | BatteryUtils.java | 452 Estimate estimate = null; in getBatteryInfo() local
|