Home
last modified time | relevance | path

Searched refs:SETTING_VALUE_ON (Results 1 – 25 of 85) sorted by relevance

1234

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DSimulateColorSpacePreferenceControllerTest.java22 .SETTING_VALUE_ON;
97 assertThat(enabled).isEqualTo(SETTING_VALUE_ON); in onPreferenceChange_monochromacySelected_shouldEnableAndSelectPreference()
114 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, SETTING_VALUE_ON); in updateState_settingOnMonochromacyEnabled_shouldSelectMonochromacy() local
128 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, SETTING_VALUE_ON); in updateState_settingOnControlledByAccessibility_shouldSetOverridedSummary() local
141 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, SETTING_VALUE_ON); in onDeveloperOptionsSwitchDisabled_notControlledByDevOptions_shouldDisableAndReset() local
148 assertThat(settingValue).isEqualTo(SETTING_VALUE_ON); in onDeveloperOptionsSwitchDisabled_notControlledByDevOptions_shouldDisableAndReset()
156 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, SETTING_VALUE_ON); in onDeveloperOptionsSwitchDisabled_controlledByDevOptions_shouldDisableAndNotReset() local
DShowFirstCrashDialogPreferenceControllerTest.java22 .SETTING_VALUE_ON;
70 assertThat(mode).isEqualTo(SETTING_VALUE_ON); in onPreferenceChange_settingEnabled_showFirstCrashDialogShouldBeOn()
95 Settings.Secure.SHOW_FIRST_CRASH_DIALOG_DEV_OPTION, SETTING_VALUE_ON); in updateState_settingEnabled_preferenceShouldBeChecked() local
127 Settings.Global.SHOW_FIRST_CRASH_DIALOG, SETTING_VALUE_ON); in onShowFirstCrashDialogGlobalOn_shouldDisablePreference() local
DStayAwakePreferenceControllerTest.java78 assertThat(mode).isEqualTo(StayAwakePreferenceController.SETTING_VALUE_ON); in onPreferenceChanged_turnOnStayAwake()
94 StayAwakePreferenceController.SETTING_VALUE_ON); in updateState_preferenceShouldBeChecked()
123 StayAwakePreferenceController.SETTING_VALUE_ON); in observerOnChangeCalledWithSameUri_preferenceShouldBeUpdated()
134 StayAwakePreferenceController.SETTING_VALUE_ON); in observerOnChangeCalledWithDifferentUri_preferenceShouldNotBeUpdated()
DWaitForDebuggerPreferenceControllerTest.java23 import static com.android.settings.development.WaitForDebuggerPreferenceController.SETTING_VALUE_ON;
105 .putInt(mContentResolver, Settings.Global.WAIT_FOR_DEBUGGER, SETTING_VALUE_ON); in updateState_settingEnabledNullDebugApp_preferenceShouldBeCheckedAndDisabled()
117 .putInt(mContentResolver, Settings.Global.WAIT_FOR_DEBUGGER, SETTING_VALUE_ON); in updateState_settingEnabledFoobarApp_preferenceShouldBeCheckedAndDisabled()
152 .putInt(mContentResolver, Settings.Global.WAIT_FOR_DEBUGGER, SETTING_VALUE_ON); in onActivityResult_requestCodeAndSettingEnabled_waitForDebuggerShouldBeChecked()
DArtVerifierPreferenceControllerTest.java66 assertThat(mode).isEqualTo(ArtVerifierPreferenceController.SETTING_VALUE_ON); in onPreferenceChanged_settingEnabled_turnOnArtVerifier()
83 ArtVerifierPreferenceController.SETTING_VALUE_ON); in updateState_settingEnabled_preferenceShouldBeChecked()
105 assertThat(mode).isEqualTo(ArtVerifierPreferenceController.SETTING_VALUE_ON); in onDeveloperOptionsSwitchDisabled_shouldDisablePreference()
DMobileDataAlwaysOnPreferenceControllerTest.java66 assertThat(mode).isEqualTo(MobileDataAlwaysOnPreferenceController.SETTING_VALUE_ON); in onPreferenceChanged_turnOnPreference_shouldEnableMobileDataAlwaysOn()
82 MobileDataAlwaysOnPreferenceController.SETTING_VALUE_ON); in updateState_settingEnabled_preferenceShouldBeChecked()
103 assertThat(mode).isEqualTo(MobileDataAlwaysOnPreferenceController.SETTING_VALUE_ON); in onDeveloperOptionsSwitchDisabled_shouldDisableMobileDataAlwaysOn()
DAllowAppsOnExternalPreferenceControllerTest.java22 .SETTING_VALUE_ON;
71 assertThat(mode).isEqualTo(SETTING_VALUE_ON); in onPreferenceChange_settingEnabled_allowAppsOnExternalShouldBeOn()
96 Settings.Global.FORCE_ALLOW_ON_EXTERNAL, SETTING_VALUE_ON); in updateState_settingEnabled_preferenceShouldBeChecked() local
DEnableGpuDebugLayersPreferenceControllerTest.java22 .SETTING_VALUE_ON;
71 assertThat(mode).isEqualTo(SETTING_VALUE_ON); in onPreferenceChange_settingEnabled_enableGpuDebugLayersShouldBeOn()
96 Settings.Global.ENABLE_GPU_DEBUG_LAYERS, SETTING_VALUE_ON); in updateState_settingEnabled_preferenceShouldBeChecked() local
DEnableGnssRawMeasFullTrackingPreferenceControllerTest.java22 .SETTING_VALUE_ON;
71 assertThat(mode).isEqualTo(SETTING_VALUE_ON); in onPreferenceChange_settingEnabled_enableGnssRawMeasFullTrackingShouldBeOn()
96 Settings.Global.ENABLE_GNSS_RAW_MEAS_FULL_TRACKING, SETTING_VALUE_ON); in updateState_settingEnabled_preferenceShouldBeChecked() local
DAppsNotRespondingPreferenceControllerTest.java22 .SETTING_VALUE_ON;
71 assertThat(mode).isEqualTo(SETTING_VALUE_ON); in onPreferenceChange_settingEnabled_appsNotRespondingDialogShouldBeOn()
96 Settings.Secure.ANR_SHOW_BACKGROUND, SETTING_VALUE_ON); in updateState_settingEnabled_preferenceShouldBeChecked() local
DDesktopModePreferenceControllerTest.java22 import static com.android.settings.development.DesktopModePreferenceController.SETTING_VALUE_ON;
90 assertThat(mode).isEqualTo(SETTING_VALUE_ON); in onPreferenceChange_switchEnabled_shouldEnableFreeformWindows()
105 DEVELOPMENT_FORCE_DESKTOP_MODE_ON_EXTERNAL_DISPLAYS, SETTING_VALUE_ON); in updateState_settingEnabled_preferenceShouldBeChecked() local
DFreeformWindowsPreferenceControllerTest.java21 import static com.android.settings.development.FreeformWindowsPreferenceController.SETTING_VALUE_ON;
89 assertThat(mode).isEqualTo(SETTING_VALUE_ON); in onPreferenceChange_switchEnabled_shouldEnableFreeformWindows()
104 Settings.Global.DEVELOPMENT_ENABLE_FREEFORM_WINDOWS_SUPPORT, SETTING_VALUE_ON); in updateState_settingEnabled_preferenceShouldBeChecked() local
DBugReportInPowerPreferenceControllerTest.java22 .SETTING_VALUE_ON;
116 assertThat(mode).isEqualTo(SETTING_VALUE_ON); in onPreferenceChanged_settingEnabled_shouldEnableBugReportInPowerSetting()
124 Settings.Global.BUGREPORT_IN_POWER_MENU, SETTING_VALUE_ON); in updateState_settingsOn_preferenceShouldBeChecked() local
/packages/apps/Settings/src/com/android/settings/development/
DArtVerifierPreferenceController.java35 static final int SETTING_VALUE_ON = 1; field in ArtVerifierPreferenceController
53 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
61 Settings.Global.ART_VERIFIER_VERIFY_DEBUGGABLE, SETTING_VALUE_ON); in updateState()
69 Settings.Global.ART_VERIFIER_VERIFY_DEBUGGABLE, SETTING_VALUE_ON); in onDeveloperOptionsSwitchDisabled() local
DMobileDataAlwaysOnPreferenceController.java36 static final int SETTING_VALUE_ON = 1; field in MobileDataAlwaysOnPreferenceController
53 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
60 Settings.Global.MOBILE_DATA_ALWAYS_ON, SETTING_VALUE_ON); in updateState()
69 SETTING_VALUE_ON); in onDeveloperOptionsSwitchDisabled() local
DVerifyAppsOverUsbPreferenceController.java48 static final int SETTING_VALUE_ON = 1; field in VerifyAppsOverUsbPreferenceController
94 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
119 Settings.Global.PACKAGE_VERIFIER_INCLUDE_ADB, SETTING_VALUE_ON) in updateState()
149 if (Settings.Global.getInt(cr, Settings.Global.PACKAGE_VERIFIER_ENABLE, SETTING_VALUE_ON) in shouldBeEnabled()
DAutomaticSystemServerHeapDumpPreferenceController.java38 private static final int SETTING_VALUE_ON = 1; field in AutomaticSystemServerHeapDumpPreferenceController
66 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
73 Settings.Global.ENABLE_AUTOMATIC_SYSTEM_SERVER_HEAP_DUMPS, SETTING_VALUE_ON); in updateState()
DWifiVerboseLoggingPreferenceController.java35 static final int SETTING_VALUE_ON = 1; field in WifiVerboseLoggingPreferenceController
55 mWifiManager.enableVerboseLogging(isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DMobileDataAlwaysOnPreferenceController.java36 static final int SETTING_VALUE_ON = 1; field in MobileDataAlwaysOnPreferenceController
53 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
60 Settings.Global.MOBILE_DATA_ALWAYS_ON, SETTING_VALUE_ON); in updateState()
69 SETTING_VALUE_ON); in onDeveloperOptionsSwitchDisabled() local
DArtVerifierPreferenceController.java35 static final int SETTING_VALUE_ON = 1; field in ArtVerifierPreferenceController
53 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
61 Settings.Global.ART_VERIFIER_VERIFY_DEBUGGABLE, SETTING_VALUE_ON); in updateState()
69 Settings.Global.ART_VERIFIER_VERIFY_DEBUGGABLE, SETTING_VALUE_ON); in onDeveloperOptionsSwitchDisabled() local
DVerifyAppsOverUsbPreferenceController.java48 static final int SETTING_VALUE_ON = 1; field in VerifyAppsOverUsbPreferenceController
94 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
119 Settings.Global.PACKAGE_VERIFIER_INCLUDE_ADB, SETTING_VALUE_ON) in updateState()
149 if (Settings.Global.getInt(cr, Settings.Global.PACKAGE_VERIFIER_ENABLE, SETTING_VALUE_ON) in shouldBeEnabled()
DEnableUserSwitchMessageController.java36 private static final String SETTING_VALUE_ON = "true"; field in EnableUserSwitchMessageController
53 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
63 .setChecked(SETTING_VALUE_ON.equals(enableUserSwitchDeveloperMessage)); in updateState()
DAutomaticSystemServerHeapDumpPreferenceController.java38 private static final int SETTING_VALUE_ON = 1; field in AutomaticSystemServerHeapDumpPreferenceController
66 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
73 Settings.Global.ENABLE_AUTOMATIC_SYSTEM_SERVER_HEAP_DUMPS, SETTING_VALUE_ON); in updateState()
DWifiVerboseLoggingPreferenceController.java35 static final int SETTING_VALUE_ON = 1; field in WifiVerboseLoggingPreferenceController
55 mWifiManager.enableVerboseLogging(isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
DSecureSettingSwitchPreferenceController.java36 private static final int SETTING_VALUE_ON = 1; field in SecureSettingSwitchPreferenceController
49 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()

1234