Searched refs:accuracy (Results 1 - 25 of 38) sorted by relevance

12

/frameworks/base/core/java/android/hardware/
H A DSensorEventListener.java46 * Called when the accuracy of the registered sensor has changed. Unlike
47 * onSensorChanged(), this is only called when this accuracy value changes.
52 * @param accuracy The new accuracy of this sensor, one of
55 public void onAccuracyChanged(Sensor sensor, int accuracy); argument
H A DSensorListener.java93 * Called when the accuracy of a sensor has changed.
98 * @param accuracy The new accuracy of this sensor.
100 public void onAccuracyChanged(int sensor, int accuracy); argument
H A DSensorEvent.java21 * holds information such as the sensor's type, the time-stamp, accuracy and of
453 * the estimated heading accuracy value.
591 * The accuracy of this event. See {@link android.hardware.SensorManager
594 public int accuracy; field in class:SensorEvent
H A DSensorEventCallback.java33 * Called when the accuracy of the registered sensor has changed.
38 public void onAccuracyChanged(Sensor sensor, int accuracy) {} argument
H A DSystemSensorManager.java288 protected boolean injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, argument
295 int ret = sInjectEventQueue.injectSensorData(sensor.getHandle(), values, accuracy,
505 float[] values,int accuracy, long timestamp);
617 protected int injectSensorDataBase(int handle, float[] values, int accuracy, argument
619 return nativeInjectSensorData(nSensorEventQueue, handle, values, accuracy, timestamp);
627 protected abstract void dispatchSensorEvent(int handle, float[] values, int accuracy, argument
690 t.accuracy = inAccuracy;
694 final int accuracy = mSensorAccuracies.get(handle);
695 if ((t.accuracy >= 0) && (accuracy !
504 nativeInjectSensorData(long eventQ, int handle, float[] values,int accuracy, long timestamp) argument
764 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument
802 injectSensorData(int handle, float[] values,int accuracy, long timestamp) argument
807 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument
[all...]
H A DSensorManager.java68 * public void onAccuracyChanged(Sensor sensor, int accuracy) {
339 * This sensor is reporting data with low accuracy, calibration with the
345 * This sensor is reporting data with an average level of accuracy,
350 /** This sensor is reporting data with maximum accuracy */
1754 * @param accuracy Accuracy of the sensor.
1762 * sensor accuracy is incorrect or timestamps are
1767 public boolean injectSensorData(Sensor sensor, float[] values, int accuracy, argument
1784 if (accuracy < SENSOR_STATUS_NO_CONTACT || accuracy > SENSOR_STATUS_ACCURACY_HIGH) {
1785 throw new IllegalArgumentException("Invalid sensor accuracy");
1796 injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, long timestamp) argument
[all...]
H A DLegacySensorManager.java248 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
250 mTarget.onAccuracyChanged(getLegacySensorType(sensor.getType()), accuracy);
/frameworks/base/location/java/android/location/
H A DCriteria.java24 * location provider. Providers maybe ordered according to accuracy,
51 * A constant indicating a finer location accuracy requirement
56 * A constant indicating an approximate accuracy requirement
61 * A constant indicating a low location accuracy requirement
62 * - may be used for horizontal, altitude, speed or bearing accuracy.
64 * an accuracy of greater than 500 meters.
69 * A constant indicating a medium accuracy requirement
70 * - currently used only for horizontal accuracy.
71 * For horizontal position this corresponds roughly to to an accuracy
77 * a constant indicating a high accuracy requiremen
125 setHorizontalAccuracy(int accuracy) argument
149 setVerticalAccuracy(int accuracy) argument
173 setSpeedAccuracy(int accuracy) argument
197 setBearingAccuracy(int accuracy) argument
221 setAccuracy(int accuracy) argument
383 accuracyToString(int accuracy) argument
[all...]
/frameworks/base/location/lib/java/com/android/location/provider/
H A DProviderPropertiesUnbundled.java34 int powerRequirement, int accuracy) {
37 supportsBearing, powerRequirement, accuracy));
31 create(boolean requiresNetwork, boolean requiresSatellite, boolean requiresCell, boolean hasMonetaryCost, boolean supportsAltitude, boolean supportsSpeed, boolean supportsBearing, int powerRequirement, int accuracy) argument
/frameworks/base/core/java/android/view/
H A DOrientationListener.java93 public void onAccuracyChanged(int sensor, int accuracy) { argument
H A DOrientationEventListener.java147 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
/frameworks/base/location/java/com/android/internal/location/
H A DProviderProperties.java89 * Constant describing the horizontal accuracy returned
92 * @return the horizontal accuracy for this provider, as one of the
124 int accuracy = in.readInt();
127 powerRequirement, accuracy);
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Doper_32b.h41 Word32 rsqrt(Word32 value, Word32 accuracy);
H A Doper_32b.c246 Word32 accuracy) /*!< Number of valid bits that will be calculated */
250 UNUSED(accuracy);
245 rsqrt(Word32 value, Word32 accuracy) argument
/frameworks/base/services/core/java/com/android/server/
H A DSensorNotificationService.java80 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DMotionSensor.java68 public final void onAccuracyChanged(Sensor sensor, int accuracy) { argument
69 // (Do we need to do something when sensor accuracy changes?)
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
H A DBalls.java70 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerEntry.java221 Float accuracy = getNullableFloat(cursor, ACCURACY);
222 if (accuracy != null) {
223 location.setAccuracy(accuracy);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DLocationStatsAggregator.java164 float accuracy = location.getAccuracy();
167 if (currTime - time < FRESH_THRESHOLD && accuracy < bestAccuracy) {
169 bestAccuracy = accuracy;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DMotionSensorWTime.java74 public final void onAccuracyChanged(Sensor sensor, int accuracy) { argument
75 // (Do we need to do something when sensor accuracy changes?)
/frameworks/base/services/core/java/com/android/server/location/
H A DLocationFudger.java42 * Default coarse accuracy in meters.
47 * Minimum coarse accuracy in meters.
52 * Secure settings key for coarse accuracy.
107 * Used to monitor coarse accuracy secure setting for changes.
112 * Used to resolve coarse accuracy setting.
122 * Best location accuracy allowed for coarse applications.
153 float accuracy = loadCoarseAccuracy();
155 setAccuracyInMetersLocked(accuracy);
343 * This is the main control: call this to set the best location accuracy
349 Log.d(TAG, "setAccuracyInMetersLocked: new accuracy
[all...]
H A DGnssLocationProvider.java1503 float speed, float bearing, float accuracy, long timestamp) {
1533 mLocation.setAccuracy(accuracy);
1788 float accuracy,
1807 location.setAccuracy(accuracy);
1839 double longitude, double altitude, float speed, float bearing, float accuracy,
1851 accuracy,
1866 double longitude, double altitude, float speed, float bearing, float accuracy,
1878 accuracy,
2488 private native void native_inject_location(double latitude, double longitude, float accuracy); argument
1502 reportLocation(int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
1781 buildLocation( int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
1838 reportGeofenceTransition(int geofenceId, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp, int transition, long transitionTimestamp) argument
1865 reportGeofenceStatus(int status, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DFalsingManager.java199 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
200 mDataCollector.onAccuracyChanged(sensor, accuracy);
/frameworks/base/services/core/java/com/android/server/policy/
H A DWindowOrientationListener.java292 public abstract void onAccuracyChanged(Sensor sensor, int accuracy); argument
569 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
1005 public void onAccuracyChanged(Sensor sensor, int accuracy) { } argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_location_GnssLocationProvider.cpp118 (jfloat)location->accuracy, (jlong)location->timestamp);
477 (jfloat)location->accuracy, (jlong)location->timestamp,
491 jfloat accuracy = 0; local
500 accuracy = location->accuracy;
505 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp);
836 jobject /* obj */, jdouble latitude, jdouble longitude, jfloat accuracy)
839 sGpsInterface->inject_location(latitude, longitude, accuracy);
835 android_location_GnssLocationProvider_inject_location(JNIEnv* , jobject , jdouble latitude, jdouble longitude, jfloat accuracy) argument

Completed in 850 milliseconds

12