Home
last modified time | relevance | path

Searched refs:restrictionKey (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/os/
DIUserManager.aidl75 int getUserRestrictionSource(String restrictionKey, int userId); in getUserRestrictionSource() argument
76 List<UserManager.EnforcingUser> getUserRestrictionSources(String restrictionKey, int userId); in getUserRestrictionSources() argument
78 boolean hasBaseUserRestriction(String restrictionKey, int userId); in hasBaseUserRestriction() argument
79 boolean hasUserRestriction(in String restrictionKey, int userId); in hasUserRestriction() argument
80 boolean hasUserRestrictionOnAnyUser(in String restrictionKey); in hasUserRestrictionOnAnyUser() argument
DUserManager.java2416 public int getUserRestrictionSource(@UserRestrictionKey String restrictionKey, in getUserRestrictionSource() argument
2419 return mService.getUserRestrictionSource(restrictionKey, userHandle.getIdentifier()); in getUserRestrictionSource()
2436 @UserRestrictionKey String restrictionKey, UserHandle userHandle) { in getUserRestrictionSources()
2438 return mService.getUserRestrictionSources(restrictionKey, userHandle.getIdentifier()); in getUserRestrictionSources()
2485 public boolean hasBaseUserRestriction(@UserRestrictionKey @NonNull String restrictionKey, in hasBaseUserRestriction() argument
2488 return mService.hasBaseUserRestriction(restrictionKey, userHandle.getIdentifier()); in hasBaseUserRestriction()
2558 public boolean hasUserRestriction(@UserRestrictionKey String restrictionKey) { in hasUserRestriction() argument
2559 return hasUserRestrictionForUser(restrictionKey, Process.myUserHandle()); in hasUserRestriction()
2570 public boolean hasUserRestriction(@UserRestrictionKey String restrictionKey, in hasUserRestriction() argument
2572 return hasUserRestrictionForUser(restrictionKey, userHandle); in hasUserRestriction()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1935 public boolean hasUserRestriction(String restrictionKey, @UserIdInt int userId) { in hasUserRestriction() argument
1937 return mLocalService.hasUserRestriction(restrictionKey, userId); in hasUserRestriction()
1942 public boolean hasUserRestrictionOnAnyUser(String restrictionKey) { in hasUserRestrictionOnAnyUser() argument
1943 if (!UserRestrictionsUtils.isValidRestriction(restrictionKey)) { in hasUserRestrictionOnAnyUser()
1950 if (restrictions != null && restrictions.getBoolean(restrictionKey)) { in hasUserRestrictionOnAnyUser()
2001 public int getUserRestrictionSource(String restrictionKey, @UserIdInt int userId) { in getUserRestrictionSource() argument
2002 List<EnforcingUser> enforcingUsers = getUserRestrictionSources(restrictionKey, userId); in getUserRestrictionSource()
2013 String restrictionKey, @UserIdInt int userId) { in getUserRestrictionSources() argument
2017 if (!hasUserRestriction(restrictionKey, userId)) { in getUserRestrictionSources()
2024 if (hasBaseUserRestriction(restrictionKey, userId)) { in getUserRestrictionSources()
[all …]
DUserRestrictionsUtils.java848 public static void moveRestriction(String restrictionKey, in moveRestriction() argument
853 sourceRestrictionsSet.moveRestriction(destRestrictionSet, restrictionKey); in moveRestriction()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java1264 private boolean hasUserRestriction(String restrictionKey, UserHandle userHandle) { in hasUserRestriction() argument
1266 .getUserRestrictionSources(restrictionKey, userHandle); in hasUserRestriction()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...