/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | SimulateColorSpacePreferenceControllerTest.java | 20 …rt static com.android.settings.development.SimulateColorSpacePreferenceController.SETTING_VALUE_ON; 94 assertThat(enabled).isEqualTo(SETTING_VALUE_ON); in onPreferenceChange_monochromacySelected_shouldEnableAndSelectPreference() 111 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, SETTING_VALUE_ON); in updateState_settingOnMonochromacyEnabled_shouldSelectMonochromacy() local 125 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, SETTING_VALUE_ON); in updateState_settingOnControlledByAccessibility_shouldSetOverridedSummary() local 140 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, SETTING_VALUE_ON); in onDeveloperOptionsSwitchDisabled_notControlledByDevOptions_shouldDisableAndReset() local 147 assertThat(settingValue).isEqualTo(SETTING_VALUE_ON); in onDeveloperOptionsSwitchDisabled_notControlledByDevOptions_shouldDisableAndReset() 155 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, SETTING_VALUE_ON); in onDeveloperOptionsSwitchDisabled_controlledByDevOptions_shouldDisableAndNotReset() local
|
D | ShowFirstCrashDialogPreferenceControllerTest.java | 22 .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
|
D | StayAwakePreferenceControllerTest.java | 78 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()
|
D | StylusHandwritingPreferenceControllerTest.java | 20 …ort static com.android.settings.development.StylusHandwritingPreferenceController.SETTING_VALUE_ON; 69 assertThat(mode).isEqualTo(SETTING_VALUE_ON); in onPreferenceChange_settingEnabled_stylusHandwritingShouldBeOn() 94 Settings.Secure.STYLUS_HANDWRITING_ENABLED, SETTING_VALUE_ON); in updateState_settingEnabled_preferenceShouldBeChecked() local
|
D | MobileDataAlwaysOnPreferenceControllerTest.java | 66 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()
|
D | NonResizableMultiWindowPreferenceControllerTest.java | 22 …atic com.android.settings.development.NonResizableMultiWindowPreferenceController.SETTING_VALUE_ON; 69 assertThat(mode).isEqualTo(SETTING_VALUE_ON); in onPreferenceChange_switchEnabled_shouldEnableNonResizableMultiWindow() 84 DEVELOPMENT_ENABLE_NON_RESIZABLE_MULTI_WINDOW, SETTING_VALUE_ON); in updateState_settingEnabled_preferenceShouldBeChecked() local
|
D | ArtVerifierPreferenceControllerTest.java | 66 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()
|
D | EnableGpuDebugLayersPreferenceControllerTest.java | 22 .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
|
D | AllowAppsOnExternalPreferenceControllerTest.java | 22 .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
|
D | AppsNotRespondingPreferenceControllerTest.java | 22 .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
|
D | EnableGnssRawMeasFullTrackingPreferenceControllerTest.java | 22 .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
|
D | WaitForDebuggerPreferenceControllerTest.java | 23 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()
|
D | BugReportInPowerPreferenceControllerTest.java | 22 .SETTING_VALUE_ON; 116 assertThat(mode).isEqualTo(SETTING_VALUE_ON); in onPreferenceChanged_settingEnabled_shouldEnableBugReportInPowerSetting() 124 Settings.Secure.BUGREPORT_IN_POWER_MENU, SETTING_VALUE_ON); in updateState_settingsOn_preferenceShouldBeChecked() local
|
D | FreeformWindowsPreferenceControllerTest.java | 21 import static com.android.settings.development.FreeformWindowsPreferenceController.SETTING_VALUE_ON; 108 assertThat(mode).isEqualTo(SETTING_VALUE_ON); in onPreferenceChange_switchEnabled_shouldEnableFreeformWindows() 125 Settings.Global.DEVELOPMENT_ENABLE_FREEFORM_WINDOWS_SUPPORT, SETTING_VALUE_ON); in updateState_settingEnabled_preferenceShouldBeChecked() local
|
D | DesktopModePreferenceControllerTest.java | 22 import static com.android.settings.development.DesktopModePreferenceController.SETTING_VALUE_ON; 109 assertThat(mode).isEqualTo(SETTING_VALUE_ON); in onPreferenceChange_switchEnabled_shouldEnableDesktopMode() 126 DEVELOPMENT_FORCE_DESKTOP_MODE_ON_EXTERNAL_DISPLAYS, SETTING_VALUE_ON); in updateState_settingEnabled_preferenceShouldBeChecked() local
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | ArtVerifierPreferenceController.java | 35 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
|
D | MobileDataAlwaysOnPreferenceController.java | 36 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
|
D | AutomaticSystemServerHeapDumpPreferenceController.java | 38 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()
|
D | VerifyAppsOverUsbPreferenceController.java | 48 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()
|
D | SystemSettingSwitchPreferenceController.java | 36 private static final int SETTING_VALUE_ON = 1; field in SystemSettingSwitchPreferenceController 49 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
|
D | SecureSettingSwitchPreferenceController.java | 36 private static final int SETTING_VALUE_ON = 1; field in SecureSettingSwitchPreferenceController 49 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
|
D | AllowAppsOnExternalPreferenceController.java | 37 static final int SETTING_VALUE_ON = 1; field in AllowAppsOnExternalPreferenceController 53 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
|
D | ShowTapsPreferenceController.java | 35 static final int SETTING_VALUE_ON = 1; field in ShowTapsPreferenceController 52 Settings.System.SHOW_TOUCHES, isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
|
D | WifiDisplayCertificationPreferenceController.java | 36 static final int SETTING_VALUE_ON = 1; field in WifiDisplayCertificationPreferenceController 54 isEnabled ? SETTING_VALUE_ON : SETTING_VALUE_OFF); in onPreferenceChange()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/development/ |
D | SensitiveContentProtectionPreferenceControllerTest.kt | 33 …roid.settings.development.SensitiveContentProtectionPreferenceController.Companion.SETTING_VALUE_ON 80 assertEquals(mode, SETTING_VALUE_ON) in onPreferenceChange_settingEnabled_shouldDisableSensitiveContentProtection() 100 SETTING_VALUE_ON in updateState_settingEnabled_preferenceShouldBeChecked()
|