Home
last modified time | relevance | path

Searched refs:LOCATION_MODE_OFF (Results 1 – 9 of 9) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DLocationFragment.java61 private static final String LOCATION_MODE_OFF = "off"; field in LocationFragment
108 LOCATION_MODE_OFF in onCreatePreferences()
200 int mode = Settings.Secure.LOCATION_MODE_OFF; in onPreferenceChange()
203 } else if (TextUtils.equals((CharSequence) newValue, LOCATION_MODE_OFF)) { in onPreferenceChange()
204 mode = Settings.Secure.LOCATION_MODE_OFF; in onPreferenceChange()
228 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in writeLocationMode()
234 mode != Settings.Secure.LOCATION_MODE_OFF, in writeLocationMode()
245 mLocationMode.setValue(LOCATION_MODE_OFF); in refreshLocationMode()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowLocationManager.java35 : Settings.Secure.LOCATION_MODE_OFF; in setLocationEnabledForUser()
46 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF) in isLocationEnabled()
47 != Settings.Secure.LOCATION_MODE_OFF; in isLocationEnabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationEnablerTest.java120 assertThat(mEnabler.isEnabled(Settings.Secure.LOCATION_MODE_OFF)).isFalse(); in isEnabled_locationOff_shouldReturnFalse()
127 assertThat(mEnabler.isEnabled(Settings.Secure.LOCATION_MODE_OFF)).isFalse(); in isEnabled_restricted_shouldReturnFalse()
148 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in setLocationEnabled_notRestricted_shouldRefreshLocation()
158 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in setLocationEnabled_notRestricted_shouldBroadcastUpdateAndSetChanger()
DLocationSwitchBarControllerTest.java149 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_OFF, false); in onLocationModeChanged_locationOff_shouldUncheckSwitch()
DLocationForWorkPreferenceControllerTest.java133 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_OFF, false); in onLocationModeChanged_locationOff_shouldDisablePreference()
/packages/apps/Settings/src/com/android/settings/location/
DLocationEnabler.java97 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in refreshLocationMode()
108 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in setLocationEnabled()
127 return mode != Settings.Secure.LOCATION_MODE_OFF && !isRestricted(); in isEnabled()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/
DLocationEnabler.java97 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in refreshLocationMode()
108 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in setLocationEnabled()
127 return mode != Settings.Secure.LOCATION_MODE_OFF && !isRestricted(); in isEnabled()
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DGoogleLocationSettingHelper.java109 != Secure.LOCATION_MODE_OFF; in isSystemLocationSettingEnabled()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DLocationSettingsTests.java189 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in verifyLocationSettingsOnOrOff()