Home
last modified time | relevance | path

Searched refs:estimate (Results 1 – 20 of 20) sorted by relevance

/packages/modules/Uwb/generic_ranging/src/com/android/ranging/generic/ranging/
DFusionData.java75 public static FusionData fromFusionAlgorithmEstimate(Estimate estimate) { in fromFusionAlgorithmEstimate() argument
77 .setFusionRange(estimate.getRangeM()) in fromFusionAlgorithmEstimate()
78 .setFusionRangeErrorStdDev(estimate.getRangeErrorStdDevM()) in fromFusionAlgorithmEstimate()
79 .setFusionBearing(estimate.getBearingRad()) in fromFusionAlgorithmEstimate()
80 .setFusionBearingErrorStdDev(estimate.getBearingErrorStdDevRad()) in fromFusionAlgorithmEstimate()
81 .setArCoreState(convertToArCoreStateFromStatus(estimate.getStatus())) in fromFusionAlgorithmEstimate()
83 estimate.getEstimatedBeaconPositionErrorStdDevM()) in fromFusionAlgorithmEstimate()
DPrecisionRangingImpl.java721 public void onUpdatedEstimate(Estimate estimate) { in onUpdatedEstimate() argument
733 FusionData fusionData = FusionData.fromFusionAlgorithmEstimate(estimate); in onUpdatedEstimate()
/packages/modules/Uwb/generic_ranging/src/com/android/sensor/
DArCoreMultiSensorFinder.java346 private void publishEstimate(Estimate estimate) { in publishEstimate() argument
348 listener.onUpdatedEstimate(estimate); in publishEstimate()
418 private void checkForErrors(Estimate estimate) { in checkForErrors() argument
422 if (estimate.getStatus() == Status.OK in checkForErrors()
423 || estimate.getStatus() == Status.ESTIMATE_NOT_AVAILABLE in checkForErrors()
424 || estimate.getStatus() == Status.RECOVERING_FROM_FAILURE_DUE_TO_INSUFFICIENT_LIGHT in checkForErrors()
425 || estimate.getStatus() == Status.RECOVERING_FROM_FAILURE_DUE_TO_EXCESSIVE_MOTION in checkForErrors()
426 || estimate.getStatus() in checkForErrors()
428 || estimate.getStatus() in checkForErrors()
430 || estimate.getStatus() in checkForErrors()
[all …]
DMultiSensorFinderListener.java21 void onUpdatedEstimate(Estimate estimate); in onUpdatedEstimate() argument
DSessionWithArCoreNative.java80 public native void getEstimate(long sessionPointer, Estimate estimate); in getEstimate() argument
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryInfo.java240 Estimate estimate = provider.getEnhancedBatteryPrediction(context); in getBatteryInfo() local
241 if (estimate != null) { in getBatteryInfo()
242 Estimate.storeCachedEstimate(context, estimate); in getBatteryInfo()
248 estimate, in getBatteryInfo()
254 final Estimate estimate = in getBatteryInfo() local
264 estimate, in getBatteryInfo()
276 Estimate estimate = in getBatteryInfoOld() local
285 estimate, in getBatteryInfoOld()
295 Estimate estimate, in getBatteryInfo() argument
308 info.averageTimeToDischarge = estimate.getAverageDischargeTime(); in getBatteryInfo()
[all …]
DDebugEstimatesLoader.java73 Estimate estimate = powerUsageFeatureProvider.getEnhancedBatteryPrediction(context); in loadInBackground() local
74 if (estimate == null) { in loadInBackground()
75 estimate = new Estimate(0, false, EstimateKt.AVERAGE_TIME_TO_DISCHARGE_UNKNOWN); in loadInBackground()
82 estimate, in loadInBackground()
DBatteryUtils.java457 Estimate estimate = getEnhancedEstimate(); in getBatteryInfo() local
460 if (estimate == null) { in getBatteryInfo()
461 estimate = in getBatteryInfo()
474 estimate, in getBatteryInfo()
490 Estimate estimate = Estimate.getCachedEstimateIfAvailable(mContext); in getEnhancedEstimate() local
491 if (estimate == null in getEnhancedEstimate()
494 estimate = mPowerUsageFeatureProvider.getEnhancedBatteryPrediction(mContext); in getEnhancedEstimate()
495 if (estimate != null) { in getEnhancedEstimate()
496 Estimate.storeCachedEstimate(mContext, estimate); in getEnhancedEstimate()
499 return estimate; in getEnhancedEstimate()
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/filtering/
DPositionFilterImpl.java127 private void updatePoseFromDelta(@NonNull Pose deltaPose, @NonNull SphericalVector estimate) { in updatePoseFromDelta() argument
133 Vector3 vecFromOldCam = estimate.toCartesian(); in updatePoseFromDelta()
142 mAzimuthFilter.compensate(newEstimate.azimuth - estimate.azimuth); in updatePoseFromDelta()
143 mElevationFilter.compensate(newEstimate.elevation - estimate.elevation); in updatePoseFromDelta()
144 mDistanceFilter.compensate(newEstimate.distance - estimate.distance); in updatePoseFromDelta()
/packages/modules/Uwb/generic_ranging/proto/src/
Destimate.proto28 // An estimate was successfully computed.
30 // Could not produce an estimate. For example, no synchronized set of data
46 // an estimate when possible.
49 // recover and produce an estimate when possible.
53 // recover and produce an estimate when possible.
59 // automatically recover and produce an estimate when possible.
Ddebug_log.proto21 import "packages/modules/Uwb/generic_ranging/proto/src/estimate.proto";
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryUtilsTest.java442 Estimate estimate = new Estimate(1000, true, 1000); in getEnhancedEstimate_doesNotUpdateCache_ifEstimateFresh() local
443 Estimate.storeCachedEstimate(mContext, estimate); in getEnhancedEstimate_doesNotUpdateCache_ifEstimateFresh()
445 estimate = mBatteryUtils.getEnhancedEstimate(); in getEnhancedEstimate_doesNotUpdateCache_ifEstimateFresh()
448 assertThat(estimate).isNotNull(); in getEnhancedEstimate_doesNotUpdateCache_ifEstimateFresh()
449 assertThat(estimate.isBasedOnUsage()).isTrue(); in getEnhancedEstimate_doesNotUpdateCache_ifEstimateFresh()
450 assertThat(estimate.getAverageDischargeTime()).isEqualTo(1000); in getEnhancedEstimate_doesNotUpdateCache_ifEstimateFresh()
DBatteryInfoTest.java200 Estimate estimate = in getBatteryInfo_basedOnUsageTrueMoreThanFifteenMinutes_usesCorrectString() local
210 estimate, in getBatteryInfo_basedOnUsageTrueMoreThanFifteenMinutes_usesCorrectString()
218 estimate, in getBatteryInfo_basedOnUsageTrueMoreThanFifteenMinutes_usesCorrectString()
232 Estimate estimate = in getBatteryInfo_MoreThanOneDay_suggestionLabelIsCorrectString() local
242 estimate, in getBatteryInfo_MoreThanOneDay_suggestionLabelIsCorrectString()
940 private BatteryInfo getBatteryInfo(boolean charging, boolean enhanced, boolean estimate) { in getBatteryInfo() argument
941 if (charging && estimate) { in getBatteryInfo()
948 estimate ? 1000 : 0, in getBatteryInfo()
/packages/modules/Uwb/generic_ranging/proto/
DAndroid.bp29 "src/estimate.proto",
/packages/modules/Virtualization/zipfuse/src/
Dmain.rs424 let mut estimate: usize = 0; // estimated number of bytes we will be writing in readdir() localVariable
426 while estimate < size as usize && end < buf.len() { in readdir()
429 estimate += (dirent_size + name_size + 7) & !7; // round to 8 byte boundary in readdir()
/packages/modules/AdServices/adservices/libraries/cobalt/proto/
Dreport_definition.proto435 // parser as a function of other privacy-related fields and an estimate of the
447 // parser as a function of other privacy-related fields and an estimate of the
459 // parser as a function of other privacy-related fields and an estimate of the
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...