Home
last modified time | relevance | path

Searched refs:DevelopmentSettingsEnabler (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
DDevelopmentSettingsEnablerTest.java51 assertThat(DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext)).isFalse(); in isEnabled_settingsOn_noRestriction_isAdmin_shouldReturnTrue()
53 DevelopmentSettingsEnabler.setDevelopmentSettingsEnabled(mContext, true); in isEnabled_settingsOn_noRestriction_isAdmin_shouldReturnTrue()
55 assertThat(DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext)).isTrue(); in isEnabled_settingsOn_noRestriction_isAdmin_shouldReturnTrue()
63 assertThat(DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext)).isTrue(); in isEnabled_settingsOff_noRestriction_isAdmin_shouldReturnFalse()
65 DevelopmentSettingsEnabler.setDevelopmentSettingsEnabled(mContext, false); in isEnabled_settingsOff_noRestriction_isAdmin_shouldReturnFalse()
67 assertThat(DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext)).isFalse(); in isEnabled_settingsOff_noRestriction_isAdmin_shouldReturnFalse()
76 assertThat(DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext)).isFalse(); in isEnabled_settingsOn_noRestriction_notAdmin_shouldReturnFalse()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
DDevelopmentSettingsEnabler.java27 public class DevelopmentSettingsEnabler { class
32 private DevelopmentSettingsEnabler() { in DevelopmentSettingsEnabler() method in DevelopmentSettingsEnabler
DAbstractLogpersistPreferenceController.java132 } else if (DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext)) { in onLogdSizeSettingUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooterImpl.java53 import com.android.settingslib.development.DevelopmentSettingsEnabler;
168 if (DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext)) { in setBuildText()