Searched refs:userRestriction (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedPreferenceHelper.java | 53 final TypedValue userRestriction = in RestrictedPreferenceHelper() local 56 if (userRestriction != null && userRestriction.type == TypedValue.TYPE_STRING) { in RestrictedPreferenceHelper() 57 if (userRestriction.resourceId != 0) { in RestrictedPreferenceHelper() 58 data = context.getText(userRestriction.resourceId); in RestrictedPreferenceHelper() 60 data = userRestriction.string; in RestrictedPreferenceHelper() 133 public void checkRestrictionAndSetDisabled(String userRestriction, int userId) { in checkRestrictionAndSetDisabled() argument 135 userRestriction, userId); in checkRestrictionAndSetDisabled()
|
D | RestrictedPreference.java | 85 public void checkRestrictionAndSetDisabled(String userRestriction) { in checkRestrictionAndSetDisabled() argument 86 mHelper.checkRestrictionAndSetDisabled(userRestriction, UserHandle.myUserId()); in checkRestrictionAndSetDisabled() 89 public void checkRestrictionAndSetDisabled(String userRestriction, int userId) { in checkRestrictionAndSetDisabled() argument 90 mHelper.checkRestrictionAndSetDisabled(userRestriction, userId); in checkRestrictionAndSetDisabled()
|
D | RestrictedSwitchPreference.java | 147 public void checkRestrictionAndSetDisabled(String userRestriction) { in checkRestrictionAndSetDisabled() argument 148 mHelper.checkRestrictionAndSetDisabled(userRestriction, UserHandle.myUserId()); in checkRestrictionAndSetDisabled() 151 public void checkRestrictionAndSetDisabled(String userRestriction, int userId) { in checkRestrictionAndSetDisabled() argument 152 mHelper.checkRestrictionAndSetDisabled(userRestriction, userId); in checkRestrictionAndSetDisabled()
|
D | RestrictedLockUtils.java | 70 String userRestriction, int userId) { in checkIfRestrictionEnforced() argument 77 int restrictionSource = um.getUserRestrictionSource(userRestriction, in checkIfRestrictionEnforced() 104 String userRestriction, int userId) { in hasBaseUserRestriction() argument 106 return um.hasBaseUserRestriction(userRestriction, UserHandle.of(userId)); in hasBaseUserRestriction()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSTile.java | 317 protected void checkIfRestrictionEnforcedByAdminOnly(State state, String userRestriction) { in checkIfRestrictionEnforcedByAdminOnly() argument 319 userRestriction, ActivityManager.getCurrentUser()); in checkIfRestrictionEnforcedByAdminOnly() 321 userRestriction, ActivityManager.getCurrentUser())) { in checkIfRestrictionEnforcedByAdminOnly()
|