Home
last modified time | relevance | path

Searched refs:LocationProvider (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/location/tests/locationtests/src/android/location/
DLocationManagerTest.java23 import android.location.LocationProvider;
42 LocationProvider p = manager.getProvider("bogus"); in testGetBogusProvider()
47 LocationProvider p = manager.getProvider("network"); in testGetNetworkProvider()
52 LocationProvider p = manager.getProvider("gps"); in testGetGpsProvider()
81 LocationProvider p = manager.getProvider("gps"); in testGpsTracklog()
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java24 import static android.location.LocationProvider.AVAILABLE;
215 private final ArrayList<LocationProvider> mProviders = new ArrayList<>();
220 private final ArrayList<LocationProvider> mRealProviders = new ArrayList<>();
482 for (LocationProvider p : mProviders) { in onAppOpChangedLocked()
489 for (LocationProvider p : mProviders) { in onPermissionsChangedLocked()
508 for (LocationProvider p : mProviders) { in onBatterySaverModeChangedLocked()
516 for (LocationProvider p : mProviders) { in onScreenStateChangedLocked()
528 for (LocationProvider p : mProviders) { in onLocationModeChangedLocked()
543 for (LocationProvider p : mProviders) { in onProviderAllowedChangedLocked()
642 for (LocationProvider provider : mProviders) { in onBackgroundThrottleIntervalChangedLocked()
[all …]
/frameworks/base/location/java/android/location/
DLocationProvider.java36 public class LocationProvider { class
74 public LocationProvider(String name, ProviderProperties properties) { in LocationProvider() method in LocationProvider
DLocationManager.java422 private LocationProvider createProvider(String name, ProviderProperties properties) { in createProvider()
423 return new LocationProvider(name, properties); in createProvider()
467 public @Nullable LocationProvider getProvider(@NonNull String name) { in getProvider()
1456 if (name.matches(LocationProvider.BAD_CHARS_REGEX)) { in addTestProvider()
1613 setTestProviderStatus(provider, LocationProvider.AVAILABLE, null, 0L); in clearTestProviderStatus()
/frameworks/base/services/core/java/com/android/server/location/
DAbstractLocationProvider.java21 import android.location.LocationProvider;
132 return LocationProvider.AVAILABLE; in getStatus()
DMockProvider.java22 import android.location.LocationProvider;
51 mStatus = LocationProvider.AVAILABLE; in MockProvider()
DLocationProviderProxy.java25 import android.location.LocationProvider;
197 }, LocationProvider.TEMPORARILY_UNAVAILABLE); in getStatus()
DGnssLocationProvider.java40 import android.location.LocationProvider;
284 private int mStatus = LocationProvider.TEMPORARILY_UNAVAILABLE;
1270 updateStatus(LocationProvider.TEMPORARILY_UNAVAILABLE); in startNavigating()
1294 updateStatus(LocationProvider.TEMPORARILY_UNAVAILABLE); in stopNavigating()
1385 if (mStarted && mStatus != LocationProvider.AVAILABLE) { in handleReportLocation()
1394 updateStatus(LocationProvider.AVAILABLE); in handleReportLocation()
1509 if (mNavigating && mStatus == LocationProvider.AVAILABLE && mLastFixTime > 0 && in handleReportSvStatus()
1511 updateStatus(LocationProvider.TEMPORARILY_UNAVAILABLE); in handleReportSvStatus()
/frameworks/base/location/lib/java/com/android/location/provider/
DLocationProviderBase.java24 import android.location.LocationProvider;
269 return LocationProvider.AVAILABLE; in onGetStatus()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java68 import android.location.LocationProvider;
709 doReturn(mock(LocationProvider.class)).when(mLocationManager).getProvider(anyString()); in testStepIdleStateLocked_ValidStates_WithLocationManager_WithProviders()
1626 doReturn(mock(LocationProvider.class)).when(mLocationManager).getProvider( in enterDeepState()
/frameworks/base/services/
Dart-profile278 PLcom/android/server/-$$Lambda$LocationManagerService$LocationProvider$R123rmQLJrCf8yBSKrQD6XPhpZs;…
279 HSPLcom/android/server/-$$Lambda$LocationManagerService$LocationProvider$nsL4uwojBLPzs1TzMfpQIBSm7p…
1240 HSPLcom/android/server/LocationManagerService$LocationProvider;-><init>(Lcom/android/server/Locatio…
1241 HSPLcom/android/server/LocationManagerService$LocationProvider;-><init>(Lcom/android/server/Locatio…
1242 HSPLcom/android/server/LocationManagerService$LocationProvider;-><init>(Lcom/android/server/Locatio…
1243 HSPLcom/android/server/LocationManagerService$LocationProvider;->attachLocked(Lcom/android/server/l…
1244 PLcom/android/server/LocationManagerService$LocationProvider;->dumpLocked(Ljava/io/FileDescriptor;L…
1245 HSPLcom/android/server/LocationManagerService$LocationProvider;->getName()Ljava/lang/String;
1246 HSPLcom/android/server/LocationManagerService$LocationProvider;->getPackagesLocked()Ljava/util/List;
1247 HSPLcom/android/server/LocationManagerService$LocationProvider;->getPropertiesLocked()Lcom/android/…
[all …]
/frameworks/base/config/
Dpreloaded-classes2181 android.location.LocationProvider
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...