Searched defs:restriction (Results 1 – 13 of 13) sorted by relevance
220 public static boolean isValidRestriction(@NonNull String restriction) { in isValidRestriction()281 public static boolean contains(@Nullable Bundle in, String restriction) { in contains()328 public static boolean canDeviceOwnerChange(String restriction) { in canDeviceOwnerChange()336 public static boolean canProfileOwnerChange(String restriction, int userId) { in canProfileOwnerChange()605 String restriction; in isSettingRestrictedForUser() local
367 public static void enforceShellRestriction(String restriction, int callingUid, int userHandle) { in enforceShellRestriction()
2590 String restriction = ((flags & UserInfo.FLAG_MANAGED_PROFILE) != 0) in createUserInternal() local2863 String restriction = isManagedProfile in removeUser() local
2096 String restriction = getNextArg(); in runSetUserRestriction() local
246 public boolean foregroundUserHasUserRestriction(String restriction) { in foregroundUserHasUserRestriction()288 public boolean currentProcessHasUserRestriction(String restriction) { in currentProcessHasUserRestriction()
562 RestrictionEntry restriction; in loadManifestRestrictions() local619 RestrictionEntry restriction = new RestrictionEntry(restrictionType, key); in loadRestriction() local
117 public void setRestriction(String restriction) { in setRestriction()
375 private boolean hasRestriction(String restriction, int userId) { in hasRestriction()
4690 Bundle restriction = new Bundle(); in testDisallowSharingIntoProfileSetRestriction() local4703 Bundle restriction = new Bundle(); in testDisallowSharingIntoProfileClearRestriction() local
221 Intent createAdminSupportIntent(in String restriction); in createAdminSupportIntent()
6870 public Intent createAdminSupportIntent(@NonNull String restriction) { in createAdminSupportIntent()
3743 public boolean hasRestriction(int restriction, String packageName, int userId) { in hasRestriction()
5984 final String restriction; in wipeDataNoLock() local8998 String restriction = isManagedProfile(userHandle.getIdentifier()) in removeUser() local10507 public Intent createAdminSupportIntent(String restriction) { in createAdminSupportIntent()