Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/os/
H A DIUserManager.aidl89 int getUserRestrictionSource(String restrictionKey, int userId); in getUserRestrictionSource() argument
90 List<UserManager.EnforcingUser> getUserRestrictionSources(String restrictionKey, int userId); in getUserRestrictionSources() argument
92 boolean hasBaseUserRestriction(String restrictionKey, int userId); in hasBaseUserRestriction() argument
93 boolean hasUserRestriction(in String restrictionKey, int userId); in hasUserRestriction() argument
94 boolean hasUserRestrictionOnAnyUser(in String restrictionKey); in hasUserRestrictionOnAnyUser() argument
H A DUserManager.java3559 public int getUserRestrictionSource(@UserRestrictionKey String restrictionKey, in getUserRestrictionSource() argument
3581 @UserRestrictionKey String restrictionKey, UserHandle userHandle) { in getUserRestrictionSources()
3640 public boolean hasBaseUserRestriction(@UserRestrictionKey @NonNull String restrictionKey, in hasBaseUserRestriction() argument
3724 public boolean hasUserRestriction(@UserRestrictionKey String restrictionKey) { in hasUserRestriction() argument
3725 return hasUserRestrictionForUser(restrictionKey, getContextUserIfAppropriate()); in hasUserRestriction()
3741 public boolean hasUserRestriction(@UserRestrictionKey String restrictionKey, in hasUserRestriction() argument
3743 return hasUserRestrictionForUser(restrictionKey, userHandle); in hasUserRestriction()
3764 return hasUserRestrictionForUser(restrictionKey, userHandle.getIdentifier()); in hasUserRestrictionForUser()
3773 return mService.hasUserRestriction(restrictionKey, userId); in hasUserRestrictionForUser()
3783 public boolean hasUserRestrictionOnAnyUser(@UserRestrictionKey String restrictionKey) { in hasUserRestrictionOnAnyUser() argument
[all …]
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DWifiEnterpriseRestrictionUtils.java81 static boolean hasUserRestrictionFromT(Context context, String restrictionKey) { in hasUserRestrictionFromT() argument
85 return userManager.hasUserRestriction(restrictionKey); in hasUserRestrictionFromT()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DUserManagerService.java2767 return mLocalService.hasUserRestriction(restrictionKey, userId); in hasUserRestriction()
2772 public boolean hasUserRestrictionOnAnyUser(String restrictionKey) { in hasUserRestrictionOnAnyUser() argument
2773 if (!UserRestrictionsUtils.isValidRestriction(restrictionKey)) { in hasUserRestrictionOnAnyUser()
2780 if (restrictions != null && restrictions.getBoolean(restrictionKey)) { in hasUserRestrictionOnAnyUser()
2843 String restrictionKey, @UserIdInt int userId) { in getUserRestrictionSources() argument
2847 if (!hasUserRestriction(restrictionKey, userId)) { in getUserRestrictionSources()
2854 if (hasBaseUserRestriction(restrictionKey, userId)) { in getUserRestrictionSources()
2860 .getUserRestrictionSources(restrictionKey, userId)); in getUserRestrictionSources()
2877 if (!UserRestrictionsUtils.isValidRestriction(restrictionKey)) { in hasBaseUserRestriction()
2882 return (bundle != null && bundle.getBoolean(restrictionKey, false)); in hasBaseUserRestriction()
[all …]
H A DUserRestrictionsUtils.java861 public static void moveRestriction(String restrictionKey, in moveRestriction() argument
866 sourceRestrictionsSet.moveRestriction(destRestrictionSet, restrictionKey); in moveRestriction()
H A DPackageManagerService.java3199 boolean isUserRestricted(int userId, String restrictionKey) {
3201 if (restrictions.getBoolean(restrictionKey, false)) {
3202 Log.w(TAG, "User is restricted: " + restrictionKey);
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...