Home
last modified time | relevance | path

Searched refs:LOCATION_SERVICE (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/location/java/android/location/
DGeocoder.java67 IBinder b = ServiceManager.getService(Context.LOCATION_SERVICE); in isPresent()
88 ServiceManager.getService(Context.LOCATION_SERVICE)); in Geocoder()
DLocationManager.java95 @SystemService(Context.LOCATION_SERVICE)
422 ServiceManager.getServiceOrThrow(Context.LOCATION_SERVICE)); in getService()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/
DExternalSharedPermsFLTest.java34 ).getSystemService(Context.LOCATION_SERVICE); in testRunFineLocation()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
DExternalSharedPermsTest.java39 ).getSystemService(Context.LOCATION_SERVICE); in testRunLocationAndBluetooth()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
DExternalSharedPermsDiffKeyTest.java37 ).getSystemService(Context.LOCATION_SERVICE); in testRunBluetoothAndFineLocation()
/frameworks/base/core/java/android/os/
DSystemClock.java334 .asInterface(ServiceManager.getService(Context.LOCATION_SERVICE));
/frameworks/base/services/core/java/com/android/server/
DSensorNotificationService.java85 (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE); in onBootPhase()
/frameworks/base/services/core/java/com/android/server/location/countrydetector/
DLocationBasedCountryDetector.java69 mLocationManager = (LocationManager) ctx.getSystemService(Context.LOCATION_SERVICE); in LocationBasedCountryDetector()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DLocationControllerImpl.java138 (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE); in isLocationEnabled()
/frameworks/base/location/lib/java/com/android/location/provider/
DLocationProviderBase.java139 ServiceManager.getService(Context.LOCATION_SERVICE)); in LocationProviderBase()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java124 mLocationManager = (LocationManager) c.getSystemService(Context.LOCATION_SERVICE); in onBootPhase()
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DLocationPermissionCheckerTest.java124 mockSystemService(Context.LOCATION_SERVICE, LocationManager.class, mLocationManager); in setupMocks()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java269 return (LocationManager) getSystemService(Context.LOCATION_SERVICE); in getLocationManager()
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java189 mLocationManager = (LocationManager)context.getSystemService(Context.LOCATION_SERVICE); in GpsNetInitiatedHandler()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java82 when(mContext.getSystemService(Context.LOCATION_SERVICE)).thenReturn(mLocationManager); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java287 case Context.LOCATION_SERVICE: in getSystemService()
313 return Context.LOCATION_SERVICE; in getSystemServiceName()
DTelephonyTest.java493 mLocationManager = (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE); in setUp()
/frameworks/base/core/java/android/content/
DContext.java3601 LOCATION_SERVICE,
4102 public static final String LOCATION_SERVICE = "location"; field in Context
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DFusedPrintersProvider.java139 mLocationManager = (LocationManager) activity.getSystemService(Context.LOCATION_SERVICE); in FusedPrintersProvider()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java537 registerService(Context.LOCATION_SERVICE, LocationManager.class, in registerService() argument
541 IBinder b = ServiceManager.getServiceOrThrow(Context.LOCATION_SERVICE); in registerService()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssLocationProvider.java558 Context.LOCATION_SERVICE); in handleRequestLocation()
/frameworks/base/services/core/java/com/android/server/location/
DLocationManagerService.java176 publishBinderService(Context.LOCATION_SERVICE, mService); in onStart()
/frameworks/base/core/java/android/provider/
DSettings.java10178 IBinder binder = ServiceManager.getService(Context.LOCATION_SERVICE); in isLocationProviderEnabled()
/frameworks/base/core/api/
Dcurrent.txt10654 field public static final String LOCATION_SERVICE = "location";
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt7255 field public static final java.lang.String LOCATION_SERVICE = "location";