Home
last modified time | relevance | path

Searched refs:getLocationManager (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/location/
DAdasLocationSwitchPreferenceController.java67 if (!getIsPowerPolicyOn() || getLocationManager().isLocationEnabled()) { in getDefaultAvailabilityStatus()
72 return mIsClickable && getIsPowerPolicyOn() && !getLocationManager().isLocationEnabled() in getDefaultAvailabilityStatus()
80 preference.setChecked(getLocationManager().isAdasGnssLocationEnabled()); in updateState()
86 getLocationManager().setAdasGnssLocationEnabled((Boolean) newValue); in handlePreferenceChanged()
89 if (getLocationManager().isAdasGnssLocationEnabled()) { in handlePreferenceChanged()
94 getLocationManager().setAdasGnssLocationEnabled((Boolean) newValue); in handlePreferenceChanged()
107 getLocationManager().setAdasGnssLocationEnabled(true); in onCreateInternal()
169 getLocationManager().setAdasGnssLocationEnabled(false); in getConfirmationDialog()
DAdasPrivacyPolicyDisclosurePreferenceController.java70 Collection<String> adasApps = getLocationManager().getAdasAllowlist().getPackages(); in loadAppsWithLocationPermission()
71 boolean showSummary = getLocationManager().isAdasGnssLocationEnabled(); in loadAppsWithLocationPermission()
DLocationInfotainmentAppsPreferenceController.java77 getLocationManager().getAdasAllowlist().getPackages(); in loadInfotainmentAppsWithLocationPermission()
78 boolean showSummary = getLocationManager().isLocationEnabled(); in loadInfotainmentAppsWithLocationPermission()
DLocationRecentAccessesPreferenceController.java97 boolean isVisible = getLocationManager().isLocationEnabled(); in getVisibility()
99 isVisible = isVisible || getLocationManager().isAdasGnssLocationEnabled(); in getVisibility()
DLocationStateSwitchPreferenceController.java70 preference.setChecked(getLocationManager().isLocationEnabled() in updateState()
DLocationStateListenerBasePreferenceController.java175 protected LocationManager getLocationManager() { in getLocationManager() method in LocationStateListenerBasePreferenceController
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/location/
DLocationStateListenerBasePreferenceControllerTest.java92 return getLocationManager().isAdasGnssLocationEnabled() in onAdasIntentReceived_refreshUi()
136 return getLocationManager().isLocationEnabled() in onLocationIntentReceived_refreshUi()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DAfcManager.java286 getLocationManager(); in onCountryCodeChange()
400 LocationManager getLocationManager() { in getLocationManager() method in AfcManager
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/
DResourceConstructed.java102 public LocationManager getLocationManager(); in getLocationManager() method
DResourceConstructedImpl.java167 public LocationManager getLocationManager() { in getLocationManager() method in ResourceConstructedImpl
/packages/apps/Camera2/src/com/android/camera/app/
DAppController.java359 public LocationManager getLocationManager(); in getLocationManager() method
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentModule.java95 appController.getLocationManager(), in CaptureIntentModule()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DAfcManagerTest.java161 assertThat(mAfcManager.getLocationManager()).isEqualTo(mLocationManager); in testUpdateLastKnownLocationOnLocationChange()
/packages/apps/Camera2/src/com/android/camera/
DCaptureModule.java367 mLocationManager = mAppController.getLocationManager(); in CaptureModule()
DVideoModule.java356 mLocationManager = mActivity.getLocationManager(); in init()
DPhotoModule.java1134 Location loc = mActivity.getLocationManager().getCurrentLocation(); in capture()
DCameraActivity.java1178 public LocationManager getLocationManager() { in getLocationManager() method in CameraActivity