Searched refs:estimate (Results 1 – 20 of 20) sorted by relevance
75 public static FusionData fromFusionAlgorithmEstimate(Estimate estimate) { in fromFusionAlgorithmEstimate() argument77 .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()
721 public void onUpdatedEstimate(Estimate estimate) { in onUpdatedEstimate() argument733 FusionData fusionData = FusionData.fromFusionAlgorithmEstimate(estimate); in onUpdatedEstimate()
346 private void publishEstimate(Estimate estimate) { in publishEstimate() argument348 listener.onUpdatedEstimate(estimate); in publishEstimate()418 private void checkForErrors(Estimate estimate) { in checkForErrors() argument422 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 …]
21 void onUpdatedEstimate(Estimate estimate); in onUpdatedEstimate() argument
80 public native void getEstimate(long sessionPointer, Estimate estimate); in getEstimate() argument
240 Estimate estimate = provider.getEnhancedBatteryPrediction(context); in getBatteryInfo() local241 if (estimate != null) { in getBatteryInfo()242 Estimate.storeCachedEstimate(context, estimate); in getBatteryInfo()248 estimate, in getBatteryInfo()254 final Estimate estimate = in getBatteryInfo() local264 estimate, in getBatteryInfo()276 Estimate estimate = in getBatteryInfoOld() local285 estimate, in getBatteryInfoOld()295 Estimate estimate, in getBatteryInfo() argument308 info.averageTimeToDischarge = estimate.getAverageDischargeTime(); in getBatteryInfo()[all …]
73 Estimate estimate = powerUsageFeatureProvider.getEnhancedBatteryPrediction(context); in loadInBackground() local74 if (estimate == null) { in loadInBackground()75 estimate = new Estimate(0, false, EstimateKt.AVERAGE_TIME_TO_DISCHARGE_UNKNOWN); in loadInBackground()82 estimate, in loadInBackground()
457 Estimate estimate = getEnhancedEstimate(); in getBatteryInfo() local460 if (estimate == null) { in getBatteryInfo()461 estimate = in getBatteryInfo()474 estimate, in getBatteryInfo()490 Estimate estimate = Estimate.getCachedEstimateIfAvailable(mContext); in getEnhancedEstimate() local491 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()
127 private void updatePoseFromDelta(@NonNull Pose deltaPose, @NonNull SphericalVector estimate) { in updatePoseFromDelta() argument133 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()
28 // An estimate was successfully computed.30 // Could not produce an estimate. For example, no synchronized set of data46 // 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.
21 import "packages/modules/Uwb/generic_ranging/proto/src/estimate.proto";
442 Estimate estimate = new Estimate(1000, true, 1000); in getEnhancedEstimate_doesNotUpdateCache_ifEstimateFresh() local443 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()
200 Estimate estimate = in getBatteryInfo_basedOnUsageTrueMoreThanFifteenMinutes_usesCorrectString() local210 estimate, in getBatteryInfo_basedOnUsageTrueMoreThanFifteenMinutes_usesCorrectString()218 estimate, in getBatteryInfo_basedOnUsageTrueMoreThanFifteenMinutes_usesCorrectString()232 Estimate estimate = in getBatteryInfo_MoreThanOneDay_suggestionLabelIsCorrectString() local242 estimate, in getBatteryInfo_MoreThanOneDay_suggestionLabelIsCorrectString()940 private BatteryInfo getBatteryInfo(boolean charging, boolean enhanced, boolean estimate) { in getBatteryInfo() argument941 if (charging && estimate) { in getBatteryInfo()948 estimate ? 1000 : 0, in getBatteryInfo()
29 "src/estimate.proto",
424 let mut estimate: usize = 0; // estimated number of bytes we will be writing in readdir() localVariable426 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()
435 // parser as a function of other privacy-related fields and an estimate of the447 // parser as a function of other privacy-related fields and an estimate of the459 // parser as a function of other privacy-related fields and an estimate of the
1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...