Searched defs:hasUserRestriction (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | UserController.java | 1058 boolean disallowRunInBg = hasUserRestriction(UserManager.DISALLOW_RUN_IN_BACKGROUND, 1277 if (hasUserRestriction(UserManager.DISALLOW_DEBUGGING_FEATURES, targetUserId)) { 1481 boolean hasUserRestriction(String restriction, int userId) { method in class:UserController 1482 return getUserManager().hasUserRestriction(restriction, userId);
|
/frameworks/base/core/java/android/os/ |
H A D | UserManager.java | 1221 public boolean hasUserRestriction(String restrictionKey) { method in class:UserManager 1222 return hasUserRestriction(restrictionKey, Process.myUserHandle()); 1232 public boolean hasUserRestriction(String restrictionKey, UserHandle userHandle) { method in class:UserManager 1234 return mService.hasUserRestriction(restrictionKey,
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserManagerService.java | 453 if (currentGuestUser != null && !hasUserRestriction( 986 if (hasUserRestriction(UserManager.DISALLOW_SET_USER_ICON, userId)) { 1192 public boolean hasUserRestriction(String restrictionKey, int userId) { method in class:UserManagerService 1219 if (!hasUserRestriction(restrictionKey, userId)) { 2184 if (hasUserRestriction(UserManager.DISALLOW_ADD_USER, UserHandle.getCallingUserId())) {
|
Completed in 118 milliseconds