Searched defs:hasUserRestriction (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/core/java/android/os/ |
H A D | UserManager.java | 1396 public boolean hasUserRestriction(String restrictionKey) { method in class:UserManager 1397 return hasUserRestriction(restrictionKey, Process.myUserHandle()); 1407 public boolean hasUserRestriction(String restrictionKey, UserHandle userHandle) { method in class:UserManager 1409 return mService.hasUserRestriction(restrictionKey,
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | UserController.java | 1121 boolean disallowRunInBg = hasUserRestriction(UserManager.DISALLOW_RUN_IN_BACKGROUND, 1348 if (hasUserRestriction(UserManager.DISALLOW_DEBUGGING_FEATURES, targetUserId)) { 1552 boolean hasUserRestriction(String restriction, int userId) { method in class:UserController 1553 return mInjector.getUserManager().hasUserRestriction(restriction, userId);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserManagerService.java | 486 if (currentGuestUser != null && !hasUserRestriction( 1081 if (hasUserRestriction(UserManager.DISALLOW_SET_USER_ICON, userId)) { 1300 public boolean hasUserRestriction(String restrictionKey, int userId) { method in class:UserManagerService 1338 if (!hasUserRestriction(restrictionKey, userId)) { 2375 if (hasUserRestriction(restriction, UserHandle.getCallingUserId())) {
|
Completed in 110 milliseconds