Home
last modified time | relevance | path

Searched refs:setDisabledByAdmin (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedPreference.java104 mHelper.setDisabledByAdmin(null); in setEnabled()
110 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedPreference
111 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin()
DRestrictedSwitchPreference.java164 mHelper.setDisabledByAdmin(null); in setEnabled()
170 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedSwitchPreference
171 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin()
DRestrictedPreferenceHelper.java138 setDisabledByAdmin(admin); in checkRestrictionAndSetDisabled()
148 public boolean setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedPreferenceHelper
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedPreferenceHelperTest.java66 mHelper.setDisabledByAdmin(new RestrictedLockUtils.EnforcedAdmin()); in bindPreference_disabled_shouldDisplayDisabledSummary()
83 mHelper.setDisabledByAdmin(null); in bindPreference_notDisabled_shouldNotHideSummary()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java207 setDisabledByAdmin(null); in updatePreferenceViews()
213 setDisabledByAdmin(admin); in updatePreferenceViews()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailView.java89 v.setDisabledByAdmin(item.isDisabledByAdmin); in createUserDetailItemView()
DUserDetailItemView.java103 public void setDisabledByAdmin(boolean disabled) { in setDisabledByAdmin() method in UserDetailItemView