/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 | 259 protected boolean injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, in injectSensorDataImpl() argument 266 int ret = mInjectEventQueue.injectSensorData(sensor.getHandle(), values, accuracy, in injectSensorDataImpl() 295 float[] values,int accuracy, long timestamp); in nativeInjectSensorData() argument 409 protected int injectSensorDataBase(int handle, float[] values, int accuracy, in injectSensorDataBase() argument 411 return nativeInjectSensorData(nSensorEventQueue, handle, values, accuracy, timestamp); in injectSensorDataBase() 419 protected abstract void dispatchSensorEvent(int handle, float[] values, int accuracy, in dispatchSensorEvent() argument 472 t.accuracy = inAccuracy; in dispatchSensorEvent() 476 final int accuracy = mSensorAccuracies.get(handle); in dispatchSensorEvent() local 477 if ((t.accuracy >= 0) && (accuracy != t.accuracy)) { in dispatchSensorEvent() 478 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 | 50 public void onAccuracyChanged(Sensor sensor, int accuracy); in onAccuracyChanged() argument
|
D | SensorEvent.java | 499 public int accuracy; field in SensorEvent
|
D | SensorManager.java | 1623 public boolean injectSensorData(Sensor sensor, float[] values, int accuracy, in injectSensorData() argument 1640 if (accuracy < SENSOR_STATUS_NO_CONTACT || accuracy > SENSOR_STATUS_ACCURACY_HIGH) { in injectSensorData() 1646 return injectSensorDataImpl(sensor, values, accuracy, timestamp); in injectSensorData() 1652 protected abstract boolean injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, in injectSensorDataImpl() argument
|
D | LegacySensorManager.java | 248 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument 250 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/docs/html/guide/topics/location/ |
D | strategies.jd | 39 providers, user movement, and location accuracy. It also handles 41 you'll get better battery performance, as well as more appropriate accuracy, by using the 69 and trust is a matter of trade-offs in accuracy, speed, and battery-efficiency.</p> 75 <li><b>Varying accuracy</b> 77 accuracy. A location obtained 10 seconds ago from one source might be more accurate than the newest 169 accuracy, user movement, the multitude of methods to obtain the location, and the desire to conserve 205 accuracy.</p> 237 when the location is used, improves the accuracy of the estimate. Always beware that listening for a 250 However, because the accuracy of a location fix varies, the most recent fix is not always the best. 254 <p>Here are a few steps you can take to validate the accuracy of a location fix:</p> [all …]
|
/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()
|
D | GpsLocationProvider.java | 1354 float speed, float bearing, float accuracy, long timestamp) { in reportLocation() argument 1384 mLocation.setAccuracy(accuracy); in reportLocation() 1635 float accuracy, in buildLocation() argument 1654 location.setAccuracy(accuracy); in buildLocation() 1686 double longitude, double altitude, float speed, float bearing, float accuracy, in reportGeofenceTransition() argument 1698 accuracy, in reportGeofenceTransition() 1713 double longitude, double altitude, float speed, float bearing, float accuracy, in reportGeofenceStatus() argument 1725 accuracy, in reportGeofenceStatus() 2270 private native void native_inject_location(double latitude, double longitude, float accuracy); in native_inject_location() argument
|
/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/java/tests/Balls/src/com/example/android/rs/balls/ |
D | Balls.java | 70 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
|
/frameworks/base/services/core/jni/ |
D | com_android_server_location_GpsLocationProvider.cpp | 94 (jfloat)location->accuracy, (jlong)location->timestamp); in location_callback() 360 (jfloat)location->accuracy, (jlong)location->timestamp, in gps_geofence_transition_callback() 374 jfloat accuracy = 0; in gps_geofence_status_callback() local 383 accuracy = location->accuracy; in gps_geofence_status_callback() 388 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp); in gps_geofence_status_callback() 721 jobject /* obj */, jdouble latitude, jdouble longitude, jfloat accuracy) in android_location_GpsLocationProvider_inject_location() argument 724 sGpsInterface->inject_location(latitude, longitude, accuracy); in android_location_GpsLocationProvider_inject_location()
|
/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/docs/html/training/location/ |
D | retrieve-current.jd | 43 you can specify requirements at a high level, like high accuracy or low power. 67 The permission you choose determines the accuracy of the location returned by 70 the API returns a location with an accuracy approximately equivalent to a city
|
D | receive-location-updates.jd | 58 as WiFi and GPS (Global Positioning System). The accuracy of the location is 108 The parameters determine the levels of accuracy requested. For details of all 154 block, which is an accuracy of approximately 100 meters. This is 155 considered a coarse level of accuracy, and is likely to consume less 167 an accuracy of approximately 10 kilometers. This is considered a 168 coarse level of accuracy, and is likely to consume less power.</li> 222 that contains the location in its extended data. The accuracy and frequency of
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WindowOrientationListener.java | 298 public abstract void onAccuracyChanged(Sensor sensor, int accuracy); in onAccuracyChanged() argument 575 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument 1011 public void onAccuracyChanged(Sensor sensor, int accuracy) { } in onAccuracyChanged() argument
|