Home
last modified time | relevance | path

Searched refs:hasBaseUserRestriction (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DTetherUtil.java63 final boolean hasBaseUserRestriction = RestrictedLockUtilsInternal.hasBaseUserRestriction( in isTetherAvailable()
65 return (cm.isTetheringSupported() || tetherConfigDisallowed) && !hasBaseUserRestriction; in isTetherAvailable()
DRestrictedPreferenceHelper.java65 if (RestrictedLockUtilsInternal.hasBaseUserRestriction(mContext, mAttrUserRestriction, in RestrictedPreferenceHelper()
DRestrictedLockUtilsInternal.java131 public static boolean hasBaseUserRestriction(Context context, in hasBaseUserRestriction() method in RestrictedLockUtilsInternal
134 return um.hasBaseUserRestriction(userRestriction, UserHandle.of(userId)); in hasBaseUserRestriction()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DTetherUtilTest.java145 when(mUserManager.hasBaseUserRestriction( in setupIsTetherAvailable()
/frameworks/base/core/java/android/os/
DIUserManager.aidl74 boolean hasBaseUserRestriction(String restrictionKey, int userHandle); in hasBaseUserRestriction() method
DUserManager.java1873 public boolean hasBaseUserRestriction(String restrictionKey, UserHandle userHandle) { in hasBaseUserRestriction() method in UserManager
1875 return mService.hasBaseUserRestriction(restrictionKey, userHandle.getIdentifier()); in hasBaseUserRestriction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java239 boolean systemCanCreateUsers = !mUserManager.hasBaseUserRestriction( in refreshUsers()
698 if (admin != null && !RestrictedLockUtilsInternal.hasBaseUserRestriction(mContext, in checkIfAddUserDisallowedByAdminOnly()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java399 if (admin != null && !RestrictedLockUtilsInternal.hasBaseUserRestriction(mContext, in checkIfRestrictionEnforcedByAdminOnly()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1612 if (hasBaseUserRestriction(restrictionKey, userId)) { in getUserRestrictionSources()
1653 public boolean hasBaseUserRestriction(String restrictionKey, int userId) { in hasBaseUserRestriction() method in UserManagerService
/frameworks/base/services/
Dart-profile11804 HSPLcom/android/server/pm/UserManagerService;->hasBaseUserRestriction(Ljava/lang/String;I)Z