Searched refs:LOCATION_MODE_OFF (Results 1 – 16 of 16) sorted by relevance
110 ? Settings.Secure.LOCATION_MODE_PREVIOUS : Settings.Secure.LOCATION_MODE_OFF; in setLocationEnabled()125 Settings.Secure.LOCATION_MODE_OFF, ActivityManager.getCurrentUser()); in isLocationEnabled()126 return mode != Settings.Secure.LOCATION_MODE_OFF; in isLocationEnabled()
235 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in getLocationModeSetting()
1153 if (mSettingsStore.getLocationModeSetting(mContext) == Settings.Secure.LOCATION_MODE_OFF) { in startLocalOnlyHotspot()
240 != Settings.Secure.LOCATION_MODE_OFF); in isLocationModeEnabled()
464 android.provider.Settings.Secure.LOCATION_MODE_OFF, in applyUserRestriction()
2568 android.provider.Settings.Secure.LOCATION_MODE_OFF, user.id); in createRestrictedProfile()
516 mLocationModeSetting = Settings.Secure.LOCATION_MODE_OFF;
327 + "LOCATION_MODE_OFF by default", locationMode, Settings.Secure.LOCATION_MODE_OFF); in testAddRestrictedProfile()
37 import static android.provider.Settings.Secure.LOCATION_MODE_OFF;815 when(mSettingsStore.getLocationModeSetting(mContext)).thenReturn(LOCATION_MODE_OFF); in testStartLocalOnlyHotspotThrowsSecurityExceptionWithoutLocationEnabled()
5317 public static final int LOCATION_MODE_OFF = 0; field in Settings.Secure7215 if (mode == LOCATION_MODE_OFF) { in restoreLocationModeForUser()7244 case LOCATION_MODE_OFF: in setLocationModeForUser()7300 return LOCATION_MODE_OFF; in getLocationModeForUser()
1662 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in privatizeCellInfoList()1663 if (mode == Settings.Secure.LOCATION_MODE_OFF) { in privatizeCellInfoList()
422 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in getCellLocation()423 if (mode == Settings.Secure.LOCATION_MODE_OFF) { in getCellLocation()
1521 if (String.valueOf(Settings.Secure.LOCATION_MODE_OFF).equals(value)) return false;
25347 field public static final int LOCATION_MODE_OFF = 0; // 0x0
34861 field public static final int LOCATION_MODE_OFF = 0; // 0x0
37918 field public static final int LOCATION_MODE_OFF = 0; // 0x0