Home
last modified time | relevance | path

Searched refs:accuracy (Results 1 – 25 of 75) sorted by relevance

123

/frameworks/base/location/java/android/location/
DCriteria.java151 public void setHorizontalAccuracy(@AccuracyRequirement int accuracy) { in setHorizontalAccuracy() argument
152 mHorizontalAccuracy = Preconditions.checkArgumentInRange(accuracy, NO_REQUIREMENT, in setHorizontalAccuracy()
173 public void setVerticalAccuracy(@AccuracyRequirement int accuracy) { in setVerticalAccuracy() argument
174 mVerticalAccuracy = Preconditions.checkArgumentInRange(accuracy, NO_REQUIREMENT, in setVerticalAccuracy()
195 public void setSpeedAccuracy(@AccuracyRequirement int accuracy) { in setSpeedAccuracy() argument
196 mSpeedAccuracy = Preconditions.checkArgumentInRange(accuracy, NO_REQUIREMENT, ACCURACY_HIGH, in setSpeedAccuracy()
217 public void setBearingAccuracy(@AccuracyRequirement int accuracy) { in setBearingAccuracy() argument
218 mBearingAccuracy = Preconditions.checkArgumentInRange(accuracy, NO_REQUIREMENT, in setBearingAccuracy()
239 public void setAccuracy(@LocationAccuracyRequirement int accuracy) { in setAccuracy() argument
240 Preconditions.checkArgumentInRange(accuracy, NO_REQUIREMENT, ACCURACY_COARSE, "accuracy"); in setAccuracy()
[all …]
/frameworks/base/core/java/android/hardware/
DSensorEvent.java819 public int accuracy; field in SensorEvent
853 public SensorEvent(@NonNull Sensor sensor, int accuracy, long timestamp, float[] values) { in SensorEvent() argument
855 this.accuracy = accuracy; in SensorEvent()
DSystemSensorManager.java345 protected boolean injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, in injectSensorDataImpl() argument
352 int ret = sInjectEventQueue.injectSensorData(sensor.getHandle(), values, accuracy, in injectSensorDataImpl()
674 float[] values, int accuracy, long timestamp); in nativeInjectSensorData() argument
797 protected int injectSensorDataBase(int handle, float[] values, int accuracy, in injectSensorDataBase() argument
800 mNativeSensorEventQueue, handle, values, accuracy, timestamp); in injectSensorDataBase()
809 protected abstract void dispatchSensorEvent(int handle, float[] values, int accuracy, in dispatchSensorEvent() argument
874 t.accuracy = inAccuracy; in dispatchSensorEvent()
878 final int accuracy = mSensorAccuracies.get(handle); in dispatchSensorEvent() local
879 if (t.accuracy >= 0 && accuracy != t.accuracy) { in dispatchSensorEvent()
880 mSensorAccuracies.put(handle, t.accuracy); in dispatchSensorEvent()
[all …]
DSensorEventListener.java55 public void onAccuracyChanged(Sensor sensor, int accuracy); in onAccuracyChanged() argument
DSensorListener.java100 public void onAccuracyChanged(int sensor, int accuracy); in onAccuracyChanged() argument
DSensorEventCallback.java38 public void onAccuracyChanged(Sensor sensor, int accuracy) {} in onAccuracyChanged() argument
DSensorManager.java1847 public boolean injectSensorData(Sensor sensor, float[] values, int accuracy, in injectSensorData() argument
1864 if (accuracy < SENSOR_STATUS_NO_CONTACT || accuracy > SENSOR_STATUS_ACCURACY_HIGH) { in injectSensorData()
1870 return injectSensorDataImpl(sensor, values, accuracy, timestamp); in injectSensorData()
1876 protected abstract boolean injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, in injectSensorDataImpl() argument
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/
DLocationUtils.java57 float accuracy) { in createLocation() argument
61 location.setAccuracy(accuracy); in createLocation()
68 double longitude, float accuracy) { in createLocationResult() argument
69 return LocationResult.wrap(createLocation(provider, latitude, longitude, accuracy)); in createLocationResult()
/frameworks/base/core/java/android/hardware/input/
DInputDeviceSensorManager.java192 private void onInputSensorChanged(int deviceId, int sensorType, int accuracy, long timestamp, in onInputSensorChanged() argument
210 event.accuracy = accuracy; in onInputSensorChanged()
220 private void onInputSensorAccuracyChanged(int deviceId, int sensorType, int accuracy) { in onInputSensorAccuracyChanged() argument
223 + "accuracy=" + accuracy + ", sensorType=" + sensorType); in onInputSensorAccuracyChanged()
230 listener.sendSensorAccuracyChanged(deviceId, sensorType, accuracy); in onInputSensorAccuracyChanged()
238 public void onInputSensorChanged(int deviceId, int sensorType, int accuracy, long timestamp, in onInputSensorChanged() argument
241 deviceId, sensorType, accuracy, timestamp, values); in onInputSensorChanged()
245 public void onInputSensorAccuracyChanged(int deviceId, int sensorType, int accuracy) in onInputSensorAccuracyChanged() argument
248 accuracy); in onInputSensorAccuracyChanged()
355 public void sendSensorAccuracyChanged(int deviceId, int sensorType, int accuracy) { in sendSensorAccuracyChanged() argument
[all …]
DIInputSensorEventListener.aidl22 oneway void onInputSensorChanged(int deviceId, int sensorId, int accuracy, long timestamp, in onInputSensorChanged() argument
26 oneway void onInputSensorAccuracyChanged(int deviceId, int sensorId, int accuracy); in onInputSensorAccuracyChanged() argument
/frameworks/base/location/java/android/location/provider/
DProviderProperties.java84 @PowerUsage int powerUsage, @Accuracy int accuracy) { in ProviderProperties() argument
93 mAccuracy = accuracy; in ProviderProperties()
280 private static String accuracyToString(@Accuracy int accuracy) { in accuracyToString() argument
281 switch (accuracy) { in accuracyToString()
399 public @NonNull Builder setAccuracy(@Accuracy int accuracy) { in setAccuracy() argument
400 mAccuracy = Preconditions.checkArgumentInRange(accuracy, ACCURACY_FINE, in setAccuracy()
/frameworks/base/location/lib/java/com/android/location/provider/
DProviderPropertiesUnbundled.java38 int powerUsage, int accuracy) { in create() argument
48 .setAccuracy(accuracy) in create()
/frameworks/base/proto/src/
Dgnss.proto28 // Number of position accuracy processed
31 // Mean position accuracy (in meters)
34 // Standard deviation of position accuracy (in meters)
/frameworks/native/include/input/
DInputDevice.h117 InputDeviceSensorType type, InputDeviceSensorAccuracy accuracy, in InputDeviceSensorInfo()
126 accuracy(accuracy), in InputDeviceSensorInfo()
146 InputDeviceSensorAccuracy accuracy; member
/frameworks/native/services/inputflinger/dispatcher/include/
DInputDispatcherPolicyInterface.h72 InputDeviceSensorAccuracy accuracy, nsecs_t timestamp,
75 InputDeviceSensorAccuracy accuracy) = 0;
/frameworks/native/services/inputflinger/
DInputListener.cpp255 InputDeviceSensorAccuracy accuracy, bool accuracyChanged, in NotifySensorArgs() argument
261 accuracy(accuracy), in NotifySensorArgs()
271 accuracy(other.accuracy), in NotifySensorArgs()
278 accuracy == rhs.accuracy && accuracyChanged == rhs.accuracyChanged && in operator ==()
/frameworks/native/services/inputflinger/reader/mapper/
DSensorInputMapper.cpp409 AINPUT_SOURCE_SENSOR, sensorType, sensor.sensorInfo.accuracy, in sync()
410 sensor.accuracy != in sync()
411 sensor.sensorInfo.accuracy /* accuracyChanged */, in sync()
416 sensor.accuracy = sensor.sensorInfo.accuracy; in sync()
DSensorInputMapper.h87 InputDeviceSensorAccuracy accuracy; member
97 this->accuracy = InputDeviceSensorAccuracy::ACCURACY_NONE; in resetValue()
/frameworks/native/services/inputflinger/dispatcher/
DEntry.cpp274 InputDeviceSensorType sensorType, InputDeviceSensorAccuracy accuracy, in SensorEntry() argument
280 accuracy(accuracy), in SensorEntry()
292 ftl::enum_string(sensorType).c_str(), accuracy, hwTimestamp); in getDescription()
DEntry.h197 InputDeviceSensorAccuracy accuracy; member
205 InputDeviceSensorAccuracy accuracy, bool accuracyChanged,
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerEntry.java221 Float accuracy = getNullableFloat(cursor, ACCURACY); in createEntry() local
222 if (accuracy != null) { in createEntry()
223 location.setAccuracy(accuracy); in createEntry()
/frameworks/base/services/core/java/com/android/server/location/
DLocationShellCommand.java229 int accuracy = Criteria.ACCURACY_FINE; in handleAddTestProvider() local
272 accuracy = Integer.parseInt(getNextArgRequired()); in handleAddTestProvider()
294 .setAccuracy(accuracy) in handleAddTestProvider()
/frameworks/base/core/java/android/view/
DOrientationListener.java93 public void onAccuracyChanged(int sensor, int accuracy) { in onAccuracyChanged() argument
/frameworks/base/packages/FusedLocation/test/src/com/android/location/fused/tests/
DFusedLocationServiceTest.java197 float accuracy) { in createLocation() argument
201 location.setAccuracy(accuracy); in createLocation()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/updates/hinge/
DHingeSensorAngleProvider.kt72 override fun onAccuracyChanged(sensor: Sensor?, accuracy: Int) {} in onAccuracyChanged()

123