Searched refs:isDisabledByAdmin (Results 1 – 11 of 11) sorted by relevance
93 if (enabled && isDisabledByAdmin()) { in setEnabled()105 public boolean isDisabledByAdmin() { in isDisabledByAdmin() method in RestrictedTopLevelPreference106 return mHelper.isDisabledByAdmin(); in isDisabledByAdmin()
141 if (enabled && isDisabledByAdmin()) { in setEnabled()153 public boolean isDisabledByAdmin() { in isDisabledByAdmin() method in RestrictedSelectorWithWidgetPreference154 return mHelper.isDisabledByAdmin(); in isDisabledByAdmin()
113 if (enabled && isDisabledByAdmin()) { in setEnabled()132 public boolean isDisabledByAdmin() { in isDisabledByAdmin() method in RestrictedPreference133 return mHelper.isDisabledByAdmin(); in isDisabledByAdmin()
145 if (isDisabledByAdmin()) { in onBindViewHolder()155 if (isDisabledByAdmin()) { in onBindViewHolder()214 if (enabled && isDisabledByAdmin()) { in setEnabled()233 public boolean isDisabledByAdmin() { in isDisabledByAdmin() method in RestrictedSwitchPreference234 return mHelper.isDisabledByAdmin(); in isDisabledByAdmin()
267 public boolean isDisabledByAdmin() { in isDisabledByAdmin() method in RestrictedPreferenceHelper
52 when(mHelper.isDisabledByAdmin()).thenReturn(true); in setEnabled_disabledByAdmin_shouldCallSetDisabledByAdmin()61 when(mHelper.isDisabledByAdmin()).thenReturn(false); in setEnabled_notDisabledByAdmin_shouldNotCallSetDisabledByAdmin()
158 assertThat(mHelper.isDisabledByAdmin()).isTrue(); in setDisabledByAdmin_disablePreference_receivedEnforcedAdminIsNotAReference()
148 v.setDisabledByAdmin(item.isDisabledByAdmin()); in createUserDetailItemView()187 if (userRecord.isDisabledByAdmin()) { in onClick()196 && !userRecord.isDisabledByAdmin()) { in onClick()
75 fun isDisabledByAdmin(): Boolean { in isDisabledByAdmin() method
232 if (!isDisabledByAdmin()) { in updatePreferenceViews()
511 v.setDisabledByAdmin(item.isDisabledByAdmin()); in createUserDetailItemView()