/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/ |
D | ExternalSharedPermsFLTest.java | 33 LocationManager locationManager = (LocationManager)getInstrumentation().getContext( in testRunFineLocation() local 35 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, in testRunFineLocation()
|
/frameworks/base/location/java/android/location/ |
D | BatchedLocationCallbackTransport.java | 35 public BatchedLocationCallbackTransport(Context context, ILocationManager locationManager) { in BatchedLocationCallbackTransport() argument 37 mLocationManager = locationManager; in BatchedLocationCallbackTransport()
|
D | GnssNavigationMessageCallbackTransport.java | 35 ILocationManager locationManager) { in GnssNavigationMessageCallbackTransport() argument 37 mLocationManager = locationManager; in GnssNavigationMessageCallbackTransport()
|
D | GnssMeasurementCallbackTransport.java | 36 public GnssMeasurementCallbackTransport(Context context, ILocationManager locationManager) { in GnssMeasurementCallbackTransport() argument 38 mLocationManager = locationManager; in GnssMeasurementCallbackTransport()
|
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/ |
D | ExternalSharedPermsTest.java | 38 LocationManager locationManager = (LocationManager)getInstrumentation().getContext( in testRunLocationAndBluetooth() local 40 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, in testRunLocationAndBluetooth()
|
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/ |
D | ExternalSharedPermsDiffKeyTest.java | 36 LocationManager locationManager = (LocationManager)getInstrumentation().getContext( in testRunBluetoothAndFineLocation() local 38 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, in testRunBluetoothAndFineLocation()
|
/frameworks/base/telephony/java/android/telephony/ |
D | LocationAccessPolicy.java | 293 LocationManager locationManager = context.getSystemService(LocationManager.class); in isLocationModeEnabled() local 294 if (locationManager == null) { in isLocationModeEnabled() 298 return locationManager.isLocationEnabledForUser(UserHandle.of(userId)); in isLocationModeEnabled()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | NetInitiatedActivity.java | 140 LocationManager locationManager = (LocationManager) in sendUserResponse() local 142 locationManager.sendNiResponse(notificationId, response); in sendUserResponse()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | LocationControllerImpl.java | 129 LocationManager locationManager = in isLocationEnabled() local 131 return locationManager.isLocationEnabledForUser( in isLocationEnabled()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 59 LocationManager locationManager = context.getSystemService(LocationManager.class); in updateLocationEnabled() local 66 final int oldMode = locationManager.isLocationEnabled() in updateLocationEnabled() 77 locationManager.setLocationEnabledForUser(enabled, UserHandle.of(userId)); in updateLocationEnabled()
|
/frameworks/base/services/core/java/com/android/server/testharness/ |
D | TestHarnessModeService.java | 188 LocationManager locationManager = getContext().getSystemService(LocationManager.class); in configureUser() local 189 locationManager.setLocationEnabledForUser(true, primaryUser.getUserHandle()); in configureUser()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | DeviceIdleControllerTest.java | 129 LocationManager locationManager; field in DeviceIdleControllerTest.InjectorForTest 159 return locationManager; in getLocationManager() 642 mInjector.locationManager = null; in testStepIdleStateLocked_ValidStates_NoLocationManager() 708 mInjector.locationManager = mLocationManager; in testStepIdleStateLocked_ValidStates_WithLocationManager_WithProviders() 1625 mInjector.locationManager = mLocationManager; in enterDeepState()
|
/frameworks/base/services/core/java/com/android/server/ |
D | DeviceIdleController.java | 2960 LocationManager locationManager = mInjector.getLocationManager(); in stepIdleStateLocked() local 2961 if (locationManager != null in stepIdleStateLocked() 2962 && locationManager.getProvider(LocationManager.NETWORK_PROVIDER) != null) { in stepIdleStateLocked() 2963 locationManager.requestLocationUpdates(mLocationRequest, in stepIdleStateLocked() 2969 if (locationManager != null in stepIdleStateLocked() 2970 && locationManager.getProvider(LocationManager.GPS_PROVIDER) != null) { in stepIdleStateLocked() 2972 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1000, 5, in stepIdleStateLocked() 3350 LocationManager locationManager = mInjector.getLocationManager(); in cancelLocatingLocked() local 3351 locationManager.removeUpdates(mGenericLocationListener); in cancelLocatingLocked() 3352 locationManager.removeUpdates(mGpsLocationListener); in cancelLocatingLocked()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssLocationProvider.java | 725 LocationManager locationManager = (LocationManager) mContext.getSystemService( in handleRequestLocation() local 759 locationManager.requestLocationUpdates(locationRequest, in handleRequestLocation() 766 locationManager.removeUpdates(locationListener); in handleRequestLocation()
|