Home
last modified time | relevance | path

Searched refs:singleShot (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/location/java/android/location/
DLocationRequest.java173 float minDistance, boolean singleShot) { in createFromDeprecatedProvider() argument
192 if (singleShot) request.setNumUpdates(1); in createFromDeprecatedProvider()
199 float minDistance, boolean singleShot) { in createFromDeprecatedCriteria() argument
227 if (singleShot) request.setNumUpdates(1); in createFromDeprecatedCriteria()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java1135 private int getSuplMode(Properties properties, boolean agpsEnabled, boolean singleShot) { in getSuplMode() argument
1155 if (singleShot in getSuplMode()
1276 boolean singleShot = false; in updateRequirements()
1283 singleShot = true; in updateRequirements()
1287 singleShot = false; in updateRequirements()
1314 startNavigating(singleShot); in updateRequirements()
1450 private void startNavigating(boolean singleShot) { in startNavigating() argument
1452 if (DEBUG) Log.d(TAG, "startNavigating, singleShot is " + singleShot); in startNavigating()
1456 mSingleShot = singleShot; in startNavigating()
1468 mPositionMode = getSuplMode(mProperties, agpsEnabled, singleShot); in startNavigating()