Searched refs:LOCATION_MODE_OFF (Results 1 – 9 of 9) sorted by relevance
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | LocationFragment.java | 61 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/ |
D | ShadowLocationManager.java | 35 : 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/ |
D | LocationEnablerTest.java | 120 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()
|
D | LocationSwitchBarControllerTest.java | 149 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_OFF, false); in onLocationModeChanged_locationOff_shouldUncheckSwitch()
|
D | LocationForWorkPreferenceControllerTest.java | 133 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_OFF, false); in onLocationModeChanged_locationOff_shouldDisablePreference()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | LocationEnabler.java | 97 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/ |
D | LocationEnabler.java | 97 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/ |
D | GoogleLocationSettingHelper.java | 109 != Secure.LOCATION_MODE_OFF; in isSystemLocationSettingEnabled()
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
D | LocationSettingsTests.java | 189 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in verifyLocationSettingsOnOrOff()
|