Searched refs:DevelopmentSettingsEnabler (Results 1 – 4 of 4) sorted by relevance
51 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()
27 public class DevelopmentSettingsEnabler { class32 private DevelopmentSettingsEnabler() { in DevelopmentSettingsEnabler() method in DevelopmentSettingsEnabler
132 } else if (DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext)) { in onLogdSizeSettingUpdate()
53 import com.android.settingslib.development.DevelopmentSettingsEnabler;167 if (DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext)) { in setBuildText()