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.java1051 private int getSuplMode(Properties properties, boolean agpsEnabled, boolean singleShot) { in getSuplMode() argument
1071 if (singleShot in getSuplMode()
1182 boolean singleShot = false; in updateRequirements()
1189 singleShot = true; in updateRequirements()
1193 singleShot = false; in updateRequirements()
1220 startNavigating(singleShot); in updateRequirements()
1356 private void startNavigating(boolean singleShot) { in startNavigating() argument
1358 if (DEBUG) Log.d(TAG, "startNavigating, singleShot is " + singleShot); in startNavigating()
1362 mSingleShot = singleShot; in startNavigating()
1368 mPositionMode = getSuplMode(mProperties, agpsEnabled, singleShot); in startNavigating()