Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedTopLevelPreference.java93 if (enabled && isDisabledByAdmin()) { in setEnabled()
105 public boolean isDisabledByAdmin() { in isDisabledByAdmin() method in RestrictedTopLevelPreference
106 return mHelper.isDisabledByAdmin(); in isDisabledByAdmin()
DRestrictedSelectorWithWidgetPreference.java141 if (enabled && isDisabledByAdmin()) { in setEnabled()
153 public boolean isDisabledByAdmin() { in isDisabledByAdmin() method in RestrictedSelectorWithWidgetPreference
154 return mHelper.isDisabledByAdmin(); in isDisabledByAdmin()
DRestrictedPreference.java113 if (enabled && isDisabledByAdmin()) { in setEnabled()
132 public boolean isDisabledByAdmin() { in isDisabledByAdmin() method in RestrictedPreference
133 return mHelper.isDisabledByAdmin(); in isDisabledByAdmin()
DRestrictedSwitchPreference.java145 if (isDisabledByAdmin()) { in onBindViewHolder()
155 if (isDisabledByAdmin()) { in onBindViewHolder()
214 if (enabled && isDisabledByAdmin()) { in setEnabled()
233 public boolean isDisabledByAdmin() { in isDisabledByAdmin() method in RestrictedSwitchPreference
234 return mHelper.isDisabledByAdmin(); in isDisabledByAdmin()
DRestrictedPreferenceHelper.java267 public boolean isDisabledByAdmin() { in isDisabledByAdmin() method in RestrictedPreferenceHelper
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedTopLevelPreferenceTest.java52 when(mHelper.isDisabledByAdmin()).thenReturn(true); in setEnabled_disabledByAdmin_shouldCallSetDisabledByAdmin()
61 when(mHelper.isDisabledByAdmin()).thenReturn(false); in setEnabled_notDisabledByAdmin_shouldNotCallSetDisabledByAdmin()
DRestrictedPreferenceHelperTest.java158 assertThat(mHelper.isDisabledByAdmin()).isTrue(); in setDisabledByAdmin_disablePreference_receivedEnforcedAdminIsNotAReference()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailView.java148 v.setDisabledByAdmin(item.isDisabledByAdmin()); in createUserDetailItemView()
187 if (userRecord.isDisabledByAdmin()) { in onClick()
196 && !userRecord.isDisabledByAdmin()) { in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/source/
DUserRecord.kt75 fun isDisabledByAdmin(): Boolean { in isDisabledByAdmin() method
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java232 if (!isDisabledByAdmin()) { in updatePreferenceViews()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherController.java511 v.setDisabledByAdmin(item.isDisabledByAdmin()); in createUserDetailItemView()