Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DLocationFragment.java68 private static final String LOCATION_MODE_OFF = "off"; field in LocationFragment
118 LOCATION_MODE_OFF in onCreatePreferences()
249 int mode = Settings.Secure.LOCATION_MODE_OFF; in onPreferenceChange()
253 } else if (TextUtils.equals((CharSequence) newValue, LOCATION_MODE_OFF)) { in onPreferenceChange()
254 mode = Settings.Secure.LOCATION_MODE_OFF; in onPreferenceChange()
282 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in writeLocationMode()
288 mode != Settings.Secure.LOCATION_MODE_OFF, in writeLocationMode()
299 mLocationMode.setValue(LOCATION_MODE_OFF); in refreshLocationMode()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/privacy/
DLocationState.java64 private static final String LOCATION_MODE_OFF = "off"; field in LocationState
181 int mode = Settings.Secure.LOCATION_MODE_OFF; in onPreferenceChange()
184 } else if (TextUtils.equals((CharSequence) newValue, LOCATION_MODE_OFF)) { in onPreferenceChange()
185 mode = Settings.Secure.LOCATION_MODE_OFF; in onPreferenceChange()
210 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in writeLocationMode()
216 mode != Settings.Secure.LOCATION_MODE_OFF, in writeLocationMode()
DLocationModePC.java37 private static final String LOCATION_MODE_OFF = "off"; field in LocationModePC
62 LOCATION_MODE_OFF in init()
105 mPreferenceCompat.setValue(LOCATION_MODE_OFF); in update()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationEnablerTest.java115 assertThat(mEnabler.isEnabled(Settings.Secure.LOCATION_MODE_OFF)).isFalse(); in isEnabled_locationOff_shouldReturnFalse()
122 assertThat(mEnabler.isEnabled(Settings.Secure.LOCATION_MODE_OFF)).isFalse(); in isEnabled_restricted_shouldReturnFalse()
143 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in setLocationEnabled_notRestricted_shouldRefreshLocation()
153 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in setLocationEnabled_notRestricted_shouldBroadcastUpdateAndSetChanger()
DLocationSwitchBarControllerTest.java162 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_OFF, false); in onLocationModeChanged_locationOff_shouldUncheckSwitch()
DLocationForPrivateProfilePreferenceControllerTest.java134 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_OFF, false); in onLocationModeChanged_locationOff_shouldDisablePreference()
DLocationForWorkPreferenceControllerTest.java133 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_OFF, false); in onLocationModeChanged_locationOff_shouldDisablePreference()
/packages/apps/Settings/src/com/android/settings/location/
DLocationEnabler.java100 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in refreshLocationMode()
114 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in setLocationEnabled()
136 return mode != Settings.Secure.LOCATION_MODE_OFF && !isRestricted(); in isEnabled()
/packages/modules/Bluetooth/framework/tests/util/src/android/bluetooth/test_utils/
DTestUtils.java114 Settings.Secure.LOCATION_MODE_OFF); in getLocationMode()
138 return getLocationMode(context) != Settings.Secure.LOCATION_MODE_OFF; in isLocationOn()
152 setLocationMode(context, Settings.Secure.LOCATION_MODE_OFF); in disableLocation()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DSettingsCompat.java65 public static int LOCATION_MODE_OFF = Settings.Secure.LOCATION_MODE_OFF; field in SettingsCompat
/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.java192 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in verifyLocationSettingsOnOrOff()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java787 mContext, Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF) in isLocationModeEnabled()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java1497 .thenReturn(Settings.Secure.LOCATION_MODE_OFF); in testIsLocationEnabledFallbackToLegacySetting()