Searched defs:restrictionKey (Results 1 - 3 of 3) sorted by last modified time
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 8276 boolean isUserRestricted(int userId, String restrictionKey) { argument 8278 if (restrictions.getBoolean(restrictionKey, false)) { 8279 Log.w(TAG, "User is restricted: " + restrictionKey);
|
H A D | UserManagerService.java | 499 public boolean hasUserRestriction(String restrictionKey, int userId) { argument 502 return restrictions != null ? restrictions.getBoolean(restrictionKey) : false; 1055 String restrictionKey) { 1056 String value = parser.getAttributeValue(null, restrictionKey); 1058 restrictions.putBoolean(restrictionKey, Boolean.parseBoolean(value)); 1062 private void writeBoolean(XmlSerializer xml, Bundle restrictions, String restrictionKey) argument 1064 if (restrictions.containsKey(restrictionKey)) { 1065 xml.attribute(null, restrictionKey, 1066 Boolean.toString(restrictions.getBoolean(restrictionKey))); 1054 readBoolean(XmlPullParser parser, Bundle restrictions, String restrictionKey) argument
|
/frameworks/base/core/java/android/os/ |
H A D | UserManager.java | 665 * @param restrictionKey The string key representing the restriction. 668 public boolean hasUserRestriction(String restrictionKey) { argument 669 return hasUserRestriction(restrictionKey, Process.myUserHandle()); 676 * @param restrictionKey the string key representing the restriction 679 public boolean hasUserRestriction(String restrictionKey, UserHandle userHandle) { argument 681 return mService.hasUserRestriction(restrictionKey,
|
Completed in 498 milliseconds