Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedPreferenceHelperTest.java68 mHelper.setDisabledByAdmin(new RestrictedLockUtils.EnforcedAdmin()); in bindPreference_disabled_shouldDisplayDisabledSummary()
85 mHelper.setDisabledByAdmin(null); in bindPreference_notDisabled_shouldNotHideSummary()
94 mHelper.setDisabledByAdmin(new RestrictedLockUtils.EnforcedAdmin()); in setDisabledByAdmin_RestrictedPreference_shouldDisablePreference()
104 mHelper.setDisabledByAdmin(new RestrictedLockUtils.EnforcedAdmin()); in setDisabledByAdmin_TopLevelRestrictedPreference_shouldNotDisablePreference()
DRestrictedTopLevelPreferenceTest.java56 verify(mHelper).setDisabledByAdmin(any()); in setEnabled_disabledByAdmin_shouldCallSetDisabledByAdmin()
65 verify(mHelper, never()).setDisabledByAdmin(any()); in setEnabled_notDisabledByAdmin_shouldNotCallSetDisabledByAdmin()
70 mPreference.setDisabledByAdmin(new RestrictedLockUtils.EnforcedAdmin()); in setDisabledByAdmin_shouldNotCallSetEnabled()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedTopLevelPreference.java94 mHelper.setDisabledByAdmin(/* admin= */ null); in setEnabled()
115 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedTopLevelPreference
116 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin()
DRestrictedPreference.java106 mHelper.setDisabledByAdmin(null); in setEnabled()
112 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedPreference
113 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin()
DRestrictedSwitchPreference.java177 mHelper.setDisabledByAdmin(null); in setEnabled()
183 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedSwitchPreference
184 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin()
DRestrictedPreferenceHelper.java138 setDisabledByAdmin(admin); in checkRestrictionAndSetDisabled()
160 public boolean setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedPreferenceHelper
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
DAbstractEnableAdbPreferenceController.java84 ((RestrictedSwitchPreference) preference).setDisabledByAdmin( in updateState()
93 mPreference.setDisabledByAdmin( in onDeveloperOptionsSwitchEnabled()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java208 setDisabledByAdmin(null); in updatePreferenceViews()
214 setDisabledByAdmin(admin); in updatePreferenceViews()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailItemView.java98 public void setDisabledByAdmin(boolean disabled) { in setDisabledByAdmin() method in UserDetailItemView
DUserDetailView.java117 v.setDisabledByAdmin(item.isDisabledByAdmin); in createUserDetailItemView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherController.java512 v.setDisabledByAdmin(item.isDisabledByAdmin); in createUserDetailItemView()