Home
last modified time | relevance | path

Searched refs:SETTING_VALUE_OFF (Results 1 – 25 of 87) sorted by relevance

1234

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DShowFirstCrashDialogPreferenceController.java37 static final int SETTING_VALUE_OFF = 0; field in ShowFirstCrashDialogPreferenceController
53 Settings.Global.SHOW_FIRST_CRASH_DIALOG, SETTING_VALUE_OFF) == SETTING_VALUE_OFF; in isAvailable()
61 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
68 Settings.Secure.SHOW_FIRST_CRASH_DIALOG_DEV_OPTION, SETTING_VALUE_OFF); in updateState()
69 ((SwitchPreference) mPreference).setChecked(mode != SETTING_VALUE_OFF); in updateState()
76 Settings.Secure.SHOW_FIRST_CRASH_DIALOG_DEV_OPTION, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DSimulateColorSpacePreferenceController.java39 static final int SETTING_VALUE_OFF = 0; field in SimulateColorSpacePreferenceController
74 cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, SETTING_VALUE_OFF) in updateSimulateColorSpace()
75 != SETTING_VALUE_OFF; in updateSimulateColorSpace()
102 SETTING_VALUE_OFF); in writeSimulateColorSpace()
117 cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, SETTING_VALUE_OFF) in usingDevelopmentColorSpace()
118 != SETTING_VALUE_OFF; in usingDevelopmentColorSpace()
DSecureSettingSwitchPreferenceController.java35 private static final int SETTING_VALUE_OFF = 0; field in SecureSettingSwitchPreferenceController
49 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
56 mContext.getContentResolver(), mSettingsKey, SETTING_VALUE_OFF); in updateState()
57 ((SwitchPreference) mPreference).setChecked(mode != SETTING_VALUE_OFF); in updateState()
63 Settings.Secure.putInt(mContext.getContentResolver(), mSettingsKey, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DSystemSettingSwitchPreferenceController.java35 private static final int SETTING_VALUE_OFF = 0; field in SystemSettingSwitchPreferenceController
49 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
56 mContext.getContentResolver(), mSettingsKey, SETTING_VALUE_OFF); in updateState()
57 ((SwitchPreference) mPreference).setChecked(mode != SETTING_VALUE_OFF); in updateState()
63 Settings.System.putInt(mContext.getContentResolver(), mSettingsKey, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DEnableGnssRawMeasFullTrackingPreferenceController.java36 static final int SETTING_VALUE_OFF = 0; field in EnableGnssRawMeasFullTrackingPreferenceController
52 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
61 Settings.Global.ENABLE_GNSS_RAW_MEAS_FULL_TRACKING, SETTING_VALUE_OFF); in updateState()
62 …(SwitchPreference) mPreference).setChecked(enableGnssRawMeasFullTrackingMode != SETTING_VALUE_OFF); in updateState()
69 Settings.Global.ENABLE_GNSS_RAW_MEAS_FULL_TRACKING, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DResizableActivityPreferenceController.java37 final static int SETTING_VALUE_OFF = 0; field in ResizableActivityPreferenceController
53 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
60 Settings.Global.DEVELOPMENT_FORCE_RESIZABLE_ACTIVITIES, SETTING_VALUE_OFF); in updateState()
61 ((SwitchPreference) mPreference).setChecked(mode != SETTING_VALUE_OFF); in updateState()
68 Settings.Global.DEVELOPMENT_FORCE_RESIZABLE_ACTIVITIES, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DAllowAppsOnExternalPreferenceController.java35 static final int SETTING_VALUE_OFF = 0; field in AllowAppsOnExternalPreferenceController
53 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
60 Settings.Global.FORCE_ALLOW_ON_EXTERNAL, SETTING_VALUE_OFF); in updateState()
62 ((SwitchPreference) mPreference).setChecked(mode != SETTING_VALUE_OFF); in updateState()
69 Settings.Global.FORCE_ALLOW_ON_EXTERNAL, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DAppsNotRespondingPreferenceController.java36 static final int SETTING_VALUE_OFF = 0; field in AppsNotRespondingPreferenceController
52 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
59 Settings.Secure.ANR_SHOW_BACKGROUND, SETTING_VALUE_OFF); in updateState()
60 ((SwitchPreference) mPreference).setChecked(mode != SETTING_VALUE_OFF); in updateState()
67 Settings.Secure.ANR_SHOW_BACKGROUND, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DEnableGpuDebugLayersPreferenceController.java37 static final int SETTING_VALUE_OFF = 0; field in EnableGpuDebugLayersPreferenceController
53 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
60 Settings.Global.ENABLE_GPU_DEBUG_LAYERS, SETTING_VALUE_OFF); in updateState()
61 ((SwitchPreference) mPreference).setChecked(enableGpuDebugLayersMode != SETTING_VALUE_OFF); in updateState()
68 Settings.Global.ENABLE_GPU_DEBUG_LAYERS, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DWifiDisplayCertificationPreferenceController.java38 static final int SETTING_VALUE_OFF = 0; field in WifiDisplayCertificationPreferenceController
54 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
62 SETTING_VALUE_OFF); in updateState()
64 wifiDisplayCertificationMode != SETTING_VALUE_OFF); in updateState()
71 Settings.Global.WIFI_DISPLAY_CERTIFICATION_ON, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DPointerLocationPreferenceController.java37 static final int SETTING_VALUE_OFF = 0; field in PointerLocationPreferenceController
52 Settings.System.POINTER_LOCATION, isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
59 Settings.System.POINTER_LOCATION, SETTING_VALUE_OFF); in updateState()
60 ((SwitchPreference) mPreference).setChecked(pointerLocationMode != SETTING_VALUE_OFF); in updateState()
67 SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
/packages/apps/Settings/src/com/android/settings/development/
DShowFirstCrashDialogPreferenceController.java37 static final int SETTING_VALUE_OFF = 0; field in ShowFirstCrashDialogPreferenceController
53 Settings.Global.SHOW_FIRST_CRASH_DIALOG, SETTING_VALUE_OFF) == SETTING_VALUE_OFF; in isAvailable()
61 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
68 Settings.Secure.SHOW_FIRST_CRASH_DIALOG_DEV_OPTION, SETTING_VALUE_OFF); in updateState()
69 ((SwitchPreference) mPreference).setChecked(mode != SETTING_VALUE_OFF); in updateState()
76 Settings.Secure.SHOW_FIRST_CRASH_DIALOG_DEV_OPTION, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DSimulateColorSpacePreferenceController.java39 static final int SETTING_VALUE_OFF = 0; field in SimulateColorSpacePreferenceController
74 cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, SETTING_VALUE_OFF) in updateSimulateColorSpace()
75 != SETTING_VALUE_OFF; in updateSimulateColorSpace()
102 SETTING_VALUE_OFF); in writeSimulateColorSpace()
117 cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, SETTING_VALUE_OFF) in usingDevelopmentColorSpace()
118 != SETTING_VALUE_OFF; in usingDevelopmentColorSpace()
DSystemSettingSwitchPreferenceController.java35 private static final int SETTING_VALUE_OFF = 0; field in SystemSettingSwitchPreferenceController
49 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
56 mContext.getContentResolver(), mSettingsKey, SETTING_VALUE_OFF); in updateState()
57 ((SwitchPreference) mPreference).setChecked(mode != SETTING_VALUE_OFF); in updateState()
63 Settings.System.putInt(mContext.getContentResolver(), mSettingsKey, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DSecureSettingSwitchPreferenceController.java35 private static final int SETTING_VALUE_OFF = 0; field in SecureSettingSwitchPreferenceController
49 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
56 mContext.getContentResolver(), mSettingsKey, SETTING_VALUE_OFF); in updateState()
57 ((SwitchPreference) mPreference).setChecked(mode != SETTING_VALUE_OFF); in updateState()
63 Settings.Secure.putInt(mContext.getContentResolver(), mSettingsKey, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DWifiDisplayCertificationPreferenceController.java38 static final int SETTING_VALUE_OFF = 0; field in WifiDisplayCertificationPreferenceController
54 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
62 SETTING_VALUE_OFF); in updateState()
64 wifiDisplayCertificationMode != SETTING_VALUE_OFF); in updateState()
71 Settings.Global.WIFI_DISPLAY_CERTIFICATION_ON, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DAppsNotRespondingPreferenceController.java36 static final int SETTING_VALUE_OFF = 0; field in AppsNotRespondingPreferenceController
52 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
59 Settings.Secure.ANR_SHOW_BACKGROUND, SETTING_VALUE_OFF); in updateState()
60 ((SwitchPreference) mPreference).setChecked(mode != SETTING_VALUE_OFF); in updateState()
67 Settings.Secure.ANR_SHOW_BACKGROUND, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DEnableGnssRawMeasFullTrackingPreferenceController.java36 static final int SETTING_VALUE_OFF = 0; field in EnableGnssRawMeasFullTrackingPreferenceController
52 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
61 Settings.Global.ENABLE_GNSS_RAW_MEAS_FULL_TRACKING, SETTING_VALUE_OFF); in updateState()
62 …(SwitchPreference) mPreference).setChecked(enableGnssRawMeasFullTrackingMode != SETTING_VALUE_OFF); in updateState()
69 Settings.Global.ENABLE_GNSS_RAW_MEAS_FULL_TRACKING, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DUsbAudioRoutingPreferenceController.java37 static final int SETTING_VALUE_OFF = 0; field in UsbAudioRoutingPreferenceController
53 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
60 Settings.Secure.USB_AUDIO_AUTOMATIC_ROUTING_DISABLED, SETTING_VALUE_OFF); in updateState()
61 ((SwitchPreference) mPreference).setChecked(usbAudioRoutingMode != SETTING_VALUE_OFF); in updateState()
68 Settings.Secure.USB_AUDIO_AUTOMATIC_ROUTING_DISABLED, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DEnableGpuDebugLayersPreferenceController.java37 static final int SETTING_VALUE_OFF = 0; field in EnableGpuDebugLayersPreferenceController
53 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
60 Settings.Global.ENABLE_GPU_DEBUG_LAYERS, SETTING_VALUE_OFF); in updateState()
61 ((SwitchPreference) mPreference).setChecked(enableGpuDebugLayersMode != SETTING_VALUE_OFF); in updateState()
68 Settings.Global.ENABLE_GPU_DEBUG_LAYERS, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DPointerLocationPreferenceController.java37 static final int SETTING_VALUE_OFF = 0; field in PointerLocationPreferenceController
52 Settings.System.POINTER_LOCATION, isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
59 Settings.System.POINTER_LOCATION, SETTING_VALUE_OFF); in updateState()
60 ((SwitchPreference) mPreference).setChecked(pointerLocationMode != SETTING_VALUE_OFF); in updateState()
67 SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DResizableActivityPreferenceController.java37 final static int SETTING_VALUE_OFF = 0; field in ResizableActivityPreferenceController
53 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
60 Settings.Global.DEVELOPMENT_FORCE_RESIZABLE_ACTIVITIES, SETTING_VALUE_OFF); in updateState()
61 ((SwitchPreference) mPreference).setChecked(mode != SETTING_VALUE_OFF); in updateState()
68 Settings.Global.DEVELOPMENT_FORCE_RESIZABLE_ACTIVITIES, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DAllowAppsOnExternalPreferenceController.java35 static final int SETTING_VALUE_OFF = 0; field in AllowAppsOnExternalPreferenceController
53 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
60 Settings.Global.FORCE_ALLOW_ON_EXTERNAL, SETTING_VALUE_OFF); in updateState()
62 ((SwitchPreference) mPreference).setChecked(mode != SETTING_VALUE_OFF); in updateState()
69 Settings.Global.FORCE_ALLOW_ON_EXTERNAL, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DShowTapsPreferenceController.java37 static final int SETTING_VALUE_OFF = 0; field in ShowTapsPreferenceController
52 Settings.System.SHOW_TOUCHES, isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
59 Settings.System.SHOW_TOUCHES, SETTING_VALUE_OFF); in updateState()
60 ((SwitchPreference) mPreference).setChecked(showTapsMode != SETTING_VALUE_OFF); in updateState()
67 SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DDesktopModePreferenceController.java38 static final int SETTING_VALUE_OFF = 0; field in DesktopModePreferenceController
56 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
63 DEVELOPMENT_FORCE_DESKTOP_MODE_ON_EXTERNAL_DISPLAYS, SETTING_VALUE_OFF); in updateState()
64 ((SwitchPreference) mPreference).setChecked(mode != SETTING_VALUE_OFF); in updateState()
71 DEVELOPMENT_FORCE_DESKTOP_MODE_ON_EXTERNAL_DISPLAYS, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local

1234