/frameworks/base/location/java/android/location/ |
D | Criteria.java | 151 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/ |
D | SensorEvent.java | 819 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()
|
D | SystemSensorManager.java | 345 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 …]
|
D | SensorEventListener.java | 55 public void onAccuracyChanged(Sensor sensor, int accuracy); in onAccuracyChanged() argument
|
D | SensorListener.java | 100 public void onAccuracyChanged(int sensor, int accuracy); in onAccuracyChanged() argument
|
D | SensorEventCallback.java | 38 public void onAccuracyChanged(Sensor sensor, int accuracy) {} in onAccuracyChanged() argument
|
D | SensorManager.java | 1847 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/ |
D | LocationUtils.java | 57 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/ |
D | InputDeviceSensorManager.java | 192 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 …]
|
D | IInputSensorEventListener.aidl | 22 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/ |
D | ProviderProperties.java | 84 @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/ |
D | ProviderPropertiesUnbundled.java | 38 int powerUsage, int accuracy) { in create() argument 48 .setAccuracy(accuracy) in create()
|
/frameworks/base/proto/src/ |
D | gnss.proto | 28 // Number of position accuracy processed 31 // Mean position accuracy (in meters) 34 // Standard deviation of position accuracy (in meters)
|
/frameworks/native/include/input/ |
D | InputDevice.h | 117 InputDeviceSensorType type, InputDeviceSensorAccuracy accuracy, in InputDeviceSensorInfo() 126 accuracy(accuracy), in InputDeviceSensorInfo() 146 InputDeviceSensorAccuracy accuracy; member
|
/frameworks/native/services/inputflinger/dispatcher/include/ |
D | InputDispatcherPolicyInterface.h | 72 InputDeviceSensorAccuracy accuracy, nsecs_t timestamp, 75 InputDeviceSensorAccuracy accuracy) = 0;
|
/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 255 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/ |
D | SensorInputMapper.cpp | 409 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()
|
D | SensorInputMapper.h | 87 InputDeviceSensorAccuracy accuracy; member 97 this->accuracy = InputDeviceSensorAccuracy::ACCURACY_NONE; in resetValue()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | Entry.cpp | 274 InputDeviceSensorType sensorType, InputDeviceSensorAccuracy accuracy, in SensorEntry() argument 280 accuracy(accuracy), in SensorEntry() 292 ftl::enum_string(sensorType).c_str(), accuracy, hwTimestamp); in getDescription()
|
D | Entry.h | 197 InputDeviceSensorAccuracy accuracy; member 205 InputDeviceSensorAccuracy accuracy, bool accuracyChanged,
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | TrackerEntry.java | 221 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/ |
D | LocationShellCommand.java | 229 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/ |
D | OrientationListener.java | 93 public void onAccuracyChanged(int sensor, int accuracy) { in onAccuracyChanged() argument
|
/frameworks/base/packages/FusedLocation/test/src/com/android/location/fused/tests/ |
D | FusedLocationServiceTest.java | 197 float accuracy) { in createLocation() argument 201 location.setAccuracy(accuracy); in createLocation()
|
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/updates/hinge/ |
D | HingeSensorAngleProvider.kt | 72 override fun onAccuracyChanged(sensor: Sensor?, accuracy: Int) {} in onAccuracyChanged()
|