Home
last modified time | relevance | path

Searched refs:errorMeters (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Uwb/framework/java/android/uwb/
DDistanceMeasurement.java42 private DistanceMeasurement(double meters, double errorMeters, double confidenceLevel) { in DistanceMeasurement() argument
44 mErrorMeters = errorMeters; in DistanceMeasurement()
176 public Builder setErrorMeters(@FloatRange(from = 0.0) double errorMeters) { in setErrorMeters()
177 if (Double.isNaN(errorMeters) || errorMeters < 0.0) { in setErrorMeters()
179 "errorMeters must be >= 0.0 and not NaN: " + errorMeters); in setErrorMeters()
181 mErrorMeters = errorMeters; in setErrorMeters()
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DDistanceMeasurementResult.java146 double errorMeters, in DistanceMeasurementResult() argument
156 mErrorMeters = errorMeters; in DistanceMeasurementResult()
422 @FloatRange(from = 0.0) double meters, @FloatRange(from = 0.0) double errorMeters) { in Builder()
426 if (Double.isNaN(errorMeters) || errorMeters < 0.0) { in Builder()
428 "errorMeters must be >= 0.0 and not NaN: " + errorMeters); in Builder()
431 mErrorMeters = errorMeters; in Builder()