/frameworks/base/location/java/android/location/ |
D | Criteria.java | 125 public void setHorizontalAccuracy(int accuracy) { in setHorizontalAccuracy() argument 126 if (accuracy < NO_REQUIREMENT || accuracy > ACCURACY_HIGH) { in setHorizontalAccuracy() 127 throw new IllegalArgumentException("accuracy=" + accuracy); in setHorizontalAccuracy() 129 mHorizontalAccuracy = accuracy; in setHorizontalAccuracy() 149 public void setVerticalAccuracy(int accuracy) { in setVerticalAccuracy() argument 150 if (accuracy < NO_REQUIREMENT || accuracy > ACCURACY_HIGH) { in setVerticalAccuracy() 151 throw new IllegalArgumentException("accuracy=" + accuracy); in setVerticalAccuracy() 153 mVerticalAccuracy = accuracy; in setVerticalAccuracy() 173 public void setSpeedAccuracy(int accuracy) { in setSpeedAccuracy() argument 174 if (accuracy < NO_REQUIREMENT || accuracy > ACCURACY_HIGH) { in setSpeedAccuracy() [all …]
|
/frameworks/base/core/java/android/hardware/ |
D | SystemSensorManager.java | 317 protected boolean injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, in injectSensorDataImpl() argument 324 int ret = sInjectEventQueue.injectSensorData(sensor.getHandle(), values, accuracy, in injectSensorDataImpl() 636 float[] values,int accuracy, long timestamp); in nativeInjectSensorData() argument 748 protected int injectSensorDataBase(int handle, float[] values, int accuracy, in injectSensorDataBase() argument 750 return nativeInjectSensorData(nSensorEventQueue, handle, values, accuracy, timestamp); in injectSensorDataBase() 758 protected abstract void dispatchSensorEvent(int handle, float[] values, int accuracy, in dispatchSensorEvent() argument 821 t.accuracy = inAccuracy; in dispatchSensorEvent() 825 final int accuracy = mSensorAccuracies.get(handle); in dispatchSensorEvent() local 826 if ((t.accuracy >= 0) && (accuracy != t.accuracy)) { in dispatchSensorEvent() 827 mSensorAccuracies.put(handle, t.accuracy); in dispatchSensorEvent() [all …]
|
D | SensorListener.java | 100 public void onAccuracyChanged(int sensor, int accuracy); in onAccuracyChanged() argument
|
D | SensorEventListener.java | 55 public void onAccuracyChanged(Sensor sensor, int accuracy); in onAccuracyChanged() argument
|
D | SensorEvent.java | 644 public int accuracy; field in SensorEvent
|
D | SensorEventCallback.java | 38 public void onAccuracyChanged(Sensor sensor, int accuracy) {} in onAccuracyChanged() argument
|
D | SensorManager.java | 1835 public boolean injectSensorData(Sensor sensor, float[] values, int accuracy, in injectSensorData() argument 1852 if (accuracy < SENSOR_STATUS_NO_CONTACT || accuracy > SENSOR_STATUS_ACCURACY_HIGH) { in injectSensorData() 1858 return injectSensorDataImpl(sensor, values, accuracy, timestamp); in injectSensorData() 1864 protected abstract boolean injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, in injectSensorDataImpl() argument
|
D | LegacySensorManager.java | 249 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument 251 mTarget.onAccuracyChanged(getLegacySensorType(sensor.getType()), accuracy); in onAccuracyChanged() local
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | ProviderPropertiesUnbundled.java | 34 int powerRequirement, int accuracy) { in create() argument 37 supportsBearing, powerRequirement, accuracy)); in create()
|
/frameworks/base/location/java/com/android/internal/location/ |
D | ProviderProperties.java | 124 int accuracy = in.readInt(); 127 powerRequirement, accuracy);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | LocationStatsAggregator.java | 164 float accuracy = location.getAccuracy(); in getLastKnownLocation() local 167 if (currTime - time < FRESH_THRESHOLD && accuracy < bestAccuracy) { in getLastKnownLocation() 169 bestAccuracy = accuracy; in getLastKnownLocation()
|
/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/av/media/libstagefright/codecs/aacenc/basic_op/ |
D | oper_32b.c | 246 Word32 accuracy) /*!< Number of valid bits that will be calculated */ in rsqrt() argument 250 UNUSED(accuracy); in rsqrt()
|
D | oper_32b.h | 41 Word32 rsqrt(Word32 value, Word32 accuracy);
|
/frameworks/base/core/java/android/view/ |
D | OrientationListener.java | 93 public void onAccuracyChanged(int sensor, int accuracy) { in onAccuracyChanged() argument
|
D | OrientationEventListener.java | 147 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationFudger.java | 153 float accuracy = loadCoarseAccuracy(); in LocationFudger() local 155 setAccuracyInMetersLocked(accuracy); in LocationFudger()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | MotionSensor.java | 68 public final void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
|
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/ |
D | Balls.java | 70 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | MotionSensorWTime.java | 74 public final void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | FalsingManager.java | 244 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument 245 mDataCollector.onAccuracyChanged(sensor, accuracy); in onAccuracyChanged()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WindowOrientationListener.java | 308 public abstract void onAccuracyChanged(Sensor sensor, int accuracy); in onAccuracyChanged() argument 585 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument 1023 public void onAccuracyChanged(Sensor sensor, int accuracy) { } in onAccuracyChanged() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | SensorNotificationService.java | 161 public void onAccuracyChanged(Sensor sensor, int accuracy) {} in onAccuracyChanged() argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/ |
D | FakeSensorManager.java | 156 protected boolean injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, in injectSensorDataImpl() argument
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | WirelessChargerDetector.java | 385 public void onAccuracyChanged(Sensor sensor, int accuracy) {
|