Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryInfo.java42 import com.android.settingslib.fuelgauge.Estimate;
240 Estimate estimate = provider.getEnhancedBatteryPrediction(context); in getBatteryInfo()
242 Estimate.storeCachedEstimate(context, estimate); in getBatteryInfo()
254 final Estimate estimate = in getBatteryInfo()
255 new Estimate( in getBatteryInfo()
276 Estimate estimate = in getBatteryInfoOld()
277 new Estimate( in getBatteryInfoOld()
295 Estimate estimate, in getBatteryInfo()
349 Estimate estimate, in getBatteryInfo()
540 Context context, boolean shortString, Estimate estimate, BatteryInfo info) { in updateBatteryInfoDischarging()
DDebugEstimatesLoader.java27 import com.android.settingslib.fuelgauge.Estimate;
73 Estimate estimate = powerUsageFeatureProvider.getEnhancedBatteryPrediction(context); in loadInBackground()
75 estimate = new Estimate(0, false, EstimateKt.AVERAGE_TIME_TO_DISCHARGE_UNKNOWN); in loadInBackground()
DBatteryUtils.java51 import com.android.settingslib.fuelgauge.Estimate;
457 Estimate estimate = getEnhancedEstimate(); in getBatteryInfo()
462 new Estimate( in getBatteryInfo()
488 Estimate getEnhancedEstimate() { in getEnhancedEstimate()
490 Estimate estimate = Estimate.getCachedEstimateIfAvailable(mContext); in getEnhancedEstimate()
496 Estimate.storeCachedEstimate(mContext, estimate); in getEnhancedEstimate()
DPowerUsageFeatureProvider.java32 import com.android.settingslib.fuelgauge.Estimate;
74 Estimate getEnhancedBatteryPrediction(Context context); in getEnhancedBatteryPrediction()
DPowerUsageFeatureProviderImpl.java37 import com.android.settingslib.fuelgauge.Estimate;
122 public Estimate getEnhancedBatteryPrediction(Context context) { in getEnhancedBatteryPrediction()
/packages/modules/Uwb/generic_ranging/src/com/android/sensor/
DArCoreMultiSensorFinder.java126 private Estimate latestEstimate = new Estimate();
346 private void publishEstimate(Estimate estimate) { in publishEstimate()
418 private void checkForErrors(Estimate estimate) { in checkForErrors()
474 public void setEstimate(Estimate estimate) { in setEstimate()
DEstimate.java23 public class Estimate { class
41 public Estimate() { in Estimate() method in Estimate
DMultiSensorFinderListener.java21 void onUpdatedEstimate(Estimate estimate); in onUpdatedEstimate()
DSessionWithArCoreNative.java80 public native void getEstimate(long sessionPointer, Estimate estimate); in getEstimate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryInfoTest.java50 import com.android.settingslib.fuelgauge.Estimate;
87 private static final Estimate MOCK_ESTIMATE =
88 new Estimate(
200 Estimate estimate = in getBatteryInfo_basedOnUsageTrueMoreThanFifteenMinutes_usesCorrectString()
201 new Estimate( in getBatteryInfo_basedOnUsageTrueMoreThanFifteenMinutes_usesCorrectString()
232 Estimate estimate = in getBatteryInfo_MoreThanOneDay_suggestionLabelIsCorrectString()
233 new Estimate( in getBatteryInfo_MoreThanOneDay_suggestionLabelIsCorrectString()
946 Estimate batteryEstimate = in getBatteryInfo()
947 new Estimate( in getBatteryInfo()
DBatteryUtilsTest.java56 import com.android.settingslib.fuelgauge.Estimate;
442 Estimate estimate = new Estimate(1000, true, 1000); in getEnhancedEstimate_doesNotUpdateCache_ifEstimateFresh()
443 Estimate.storeCachedEstimate(mContext, estimate); in getEnhancedEstimate_doesNotUpdateCache_ifEstimateFresh()
/packages/modules/Uwb/generic_ranging/src/com/android/ranging/generic/ranging/
DFusionData.java19 import com.android.sensor.Estimate;
75 public static FusionData fromFusionAlgorithmEstimate(Estimate estimate) { in fromFusionAlgorithmEstimate()
DPrecisionRangingImpl.java35 import com.android.sensor.Estimate;
721 public void onUpdatedEstimate(Estimate estimate) { in onUpdatedEstimate()
/packages/modules/Uwb/generic_ranging/proto/src/
Ddebug_log.proto58 com.android.ranging.generic.proto.Estimate.Status status = 1;
Destimate.proto25 message Estimate { message