Searched refs:hasBaseUserRestriction (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | TetherUtil.java | 63 final boolean hasBaseUserRestriction = RestrictedLockUtilsInternal.hasBaseUserRestriction( in isTetherAvailable() 65 return (cm.isTetheringSupported() || tetherConfigDisallowed) && !hasBaseUserRestriction; in isTetherAvailable()
|
D | RestrictedPreferenceHelper.java | 65 if (RestrictedLockUtilsInternal.hasBaseUserRestriction(mContext, mAttrUserRestriction, in RestrictedPreferenceHelper()
|
D | RestrictedLockUtilsInternal.java | 131 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/ |
D | TetherUtilTest.java | 145 when(mUserManager.hasBaseUserRestriction( in setupIsTetherAvailable()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 74 boolean hasBaseUserRestriction(String restrictionKey, int userHandle); in hasBaseUserRestriction() method
|
D | UserManager.java | 1873 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/ |
D | UserSwitcherController.java | 239 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/ |
D | QSTileImpl.java | 399 if (admin != null && !RestrictedLockUtilsInternal.hasBaseUserRestriction(mContext, in checkIfRestrictionEnforcedByAdminOnly()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 1612 if (hasBaseUserRestriction(restrictionKey, userId)) { in getUserRestrictionSources() 1653 public boolean hasBaseUserRestriction(String restrictionKey, int userId) { in hasBaseUserRestriction() method in UserManagerService
|
/frameworks/base/services/ |
D | art-profile | 11804 HSPLcom/android/server/pm/UserManagerService;->hasBaseUserRestriction(Ljava/lang/String;I)Z
|