/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
H A D | ApplicationFeatureProviderImplTest.java | 103 when(mContext.getSystemService(Context.LOCATION_SERVICE)).thenReturn(mLocationManager); in setUp() 275 when(spyContext.getSystemService(Context.LOCATION_SERVICE)).thenReturn(mLocationManager); in getKeepEnabledPackages_shouldContainDefaultPhoneAndSmsAndLocationHistory() 306 when(spyContext.getSystemService(Context.LOCATION_SERVICE)).thenReturn(mLocationManager); in getKeepEnabledPackages_hasEuiccComponent_shouldContainEuiccPackage() 328 when(spyContext.getSystemService(Context.LOCATION_SERVICE)).thenReturn(mLocationManager); in getKeepEnabledPackages_shouldContainSettingsIntelligence() 350 when(spyContext.getSystemService(Context.LOCATION_SERVICE)).thenReturn(mLocationManager); in getKeepEnabledPackages_shouldContainPackageInstaller()
|
/aosp12/frameworks/base/location/java/android/location/ |
H A D | Geocoder.java | 67 IBinder b = ServiceManager.getService(Context.LOCATION_SERVICE); in isPresent() 88 ServiceManager.getService(Context.LOCATION_SERVICE)); in Geocoder()
|
/aosp12/packages/services/Car/car-lib/src/android/car/test/ |
H A D | CarLocationTestHelper.java | 37 (LocationManager) context.getSystemService(Context.LOCATION_SERVICE); in injectLocation()
|
/aosp12/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/ |
H A D | ExternalSharedPermsFLTest.java | 34 ).getSystemService(Context.LOCATION_SERVICE); in testRunFineLocation()
|
/aosp12/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/ |
H A D | ExternalSharedPermsTest.java | 39 ).getSystemService(Context.LOCATION_SERVICE); in testRunLocationAndBluetooth()
|
/aosp12/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/ |
H A D | ExternalSharedPermsDiffKeyTest.java | 37 ).getSystemService(Context.LOCATION_SERVICE); in testRunBluetoothAndFineLocation()
|
/aosp12/packages/services/Car/service/src/com/android/car/ |
H A D | LocationManagerProxy.java | 42 mLocationManager = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE); in LocationManagerProxy()
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
H A D | LocationManagerProxyTest.java | 51 when(mMockContext.getSystemService(Context.LOCATION_SERVICE)) in setUp()
|
/aosp12/system/extras/power_profile/gps_on/Application/src/main/java/com/example/android/powerprofile/gpson/ |
H A D | GpsActivity.java | 67 mLocationManager = (LocationManager) this.getSystemService(Context.LOCATION_SERVICE); in initLocation()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
H A D | TopLevelLocationPreferenceControllerTest.java | 43 mLocationManager = (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE); in setUp()
|
H A D | AppLocationPermissionPreferenceControllerTest.java | 48 mLocationManager = (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE); in setUp()
|
/aosp12/system/chre/java/test/utils/src/com/google/android/utils/chre/ |
H A D | SettingsUtil.java | 58 mLocationManager = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE); in SettingsUtil()
|
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
H A D | WifiP2pPreferenceController.java | 74 mLocationManager = (LocationManager) context.getSystemService(Service.LOCATION_SERVICE); in WifiP2pPreferenceController()
|
/aosp12/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
H A D | TmaForegroundService.java | 104 mLocationManager = (LocationManager) getSystemService(LOCATION_SERVICE); in doWork()
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | SystemClock.java | 334 .asInterface(ServiceManager.getService(Context.LOCATION_SERVICE));
|
/aosp12/packages/apps/Settings/src/com/android/settings/location/ |
H A D | AppLocationPermissionPreferenceController.java | 43 mLocationManager = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE); in AppLocationPermissionPreferenceController()
|
H A D | TopLevelLocationPreferenceController.java | 43 mLocationManager = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE); in TopLevelLocationPreferenceController()
|
/aosp12/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
H A D | NetworkPolicyTestUtils.java | 152 Context.LOCATION_SERVICE); in isLocationEnabled() 158 Context.LOCATION_SERVICE); in setLocationEnabled()
|
/aosp12/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | LocationManager.java | 77 mContext.getSystemService(Context.LOCATION_SERVICE); in startReceivingLocationUpdates()
|
/aosp12/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | AndroidServices.java | 111 return (LocationManager) getSystemService(Context.LOCATION_SERVICE); in provideLocationManager()
|
/aosp12/frameworks/base/services/core/java/com/android/server/ |
H A D | SensorNotificationService.java | 85 (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE); in onBootPhase()
|
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | WifiWakeupPreferenceController.java | 76 mLocationManager = (LocationManager) context.getSystemService(Service.LOCATION_SERVICE); in WifiWakeupPreferenceController()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/ |
H A D | WifiP2PPreferenceControllerTest.java | 77 when(mContext.getSystemService(eq(Service.LOCATION_SERVICE))).thenReturn(mLocationManager); in setUp()
|
/aosp12/packages/apps/TV/common/src/com/android/tv/common/util/ |
H A D | LocationUtils.java | 207 sApplicationContext.getSystemService(Context.LOCATION_SERVICE); in startLocationUpdates()
|
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/ |
H A D | LocationListeners.java | 123 mLocationMgr = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE); in LocationListeners()
|