/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | SimulateColorSpacePreferenceControllerTest.java | 22 .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
|
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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | DesktopModePreferenceControllerTest.java | 22 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
|
D | FreeformWindowsPreferenceControllerTest.java | 21 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
|
D | BugReportInPowerPreferenceControllerTest.java | 22 .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/ |
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 | 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() 149 if (Settings.Global.getInt(cr, Settings.Global.PACKAGE_VERIFIER_ENABLE, SETTING_VALUE_ON) in shouldBeEnabled()
|
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 | WifiVerboseLoggingPreferenceController.java | 35 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/ |
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 | 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 | 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() 149 if (Settings.Global.getInt(cr, Settings.Global.PACKAGE_VERIFIER_ENABLE, SETTING_VALUE_ON) in shouldBeEnabled()
|
D | EnableUserSwitchMessageController.java | 36 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()
|
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 | WifiVerboseLoggingPreferenceController.java | 35 static final int SETTING_VALUE_ON = 1; field in WifiVerboseLoggingPreferenceController 55 mWifiManager.enableVerboseLogging(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()
|