/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | RestrictionsSetTest.java | 151 enforcingUser1.getUserRestrictionSource()); in testGetEnforcingUsers_hasEnforcingUser() 171 enforcingUser.getUserRestrictionSource()); in testGetEnforcingUsers_hasMultipleEnforcingUsers() 175 enforcingUser.getUserRestrictionSource()); in testGetEnforcingUsers_hasMultipleEnforcingUsers()
|
/aosp12/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
H A D | ExternalSourcesDetails.java | 85 final int userRestrictionSource = um.getUserRestrictionSource( in getPreferenceSummary() 87 | um.getUserRestrictionSource( in getPreferenceSummary()
|
/aosp12/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
H A D | InstallNonMarketAppsDeprecationTest.java | 93 mSystemSetUserRestriction = mUm.getUserRestrictionSource( in setUp()
|
/aosp12/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
H A D | PackageInstallerActivity.java | 450 final int installAppsRestrictionSource = mUserManager.getUserRestrictionSource( in checkIfAllowedAndInitiateInstall() 471 final int unknownSourcesRestrictionSource = mUserManager.getUserRestrictionSource( in checkIfAllowedAndInitiateInstall() 473 final int unknownSourcesGlobalRestrictionSource = mUserManager.getUserRestrictionSource( in checkIfAllowedAndInitiateInstall()
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | IUserManager.aidl | 76 int getUserRestrictionSource(String restrictionKey, int userId); in getUserRestrictionSource() method
|
H A D | UserManager.java | 2623 public int getUserRestrictionSource(@UserRestrictionKey String restrictionKey, in getUserRestrictionSource() method in UserManager 2626 return mService.getUserRestrictionSource(restrictionKey, userHandle.getIdentifier()); in getUserRestrictionSource() 4714 public @UserRestrictionSource int getUserRestrictionSource() { in getUserRestrictionSource() method in UserManager.EnforcingUser
|
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | RestrictedLockUtilsInternal.java | 118 final int restrictionSource = enforcingUsers.get(0).getUserRestrictionSource(); in checkIfRestrictionEnforced()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerTest.java | 3716 when(getServices().userManager.getUserRestrictionSource( in testProvisioning_withDo_systemUser_restrictedBySystem() 3776 when(getServices().userManager.getUserRestrictionSource( in testCheckProvisioningPreCondition_comp_cannot_remove_profile() 4879 when(getServices().userManager.getUserRestrictionSource( in testWipeDataManagedProfileDisallowed() 4896 when(getServices().userManager.getUserRestrictionSource( in testWipeDataDeviceOwner() 4911 when(getServices().userManager.getUserRestrictionSource( in testWipeEuiccDataEnabled() 4926 when(getServices().userManager.getUserRestrictionSource( in testWipeDataDeviceOwnerDisallowed() 4948 when(getServices().userManager.getUserRestrictionSource( in testMaximumFailedPasswordAttemptsReachedManagedProfile() 4982 when(getServices().userManager.getUserRestrictionSource( in testMaximumFailedPasswordAttemptsReachedManagedProfileDisallowed() 5008 when(getServices().userManager.getUserRestrictionSource( in testMaximumFailedPasswordAttemptsReachedDeviceOwner() 5029 when(getServices().userManager.getUserRestrictionSource( in testMaximumFailedPasswordAttemptsReachedDeviceOwnerDisallowed()
|
/aosp12/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserManagerService.java | 2124 public int getUserRestrictionSource(String restrictionKey, @UserIdInt int userId) { in getUserRestrictionSource() method in UserManagerService 2129 result |= enforcingUsers.get(i).getUserRestrictionSource(); in getUserRestrictionSource()
|
/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerService.java | 10857 switch(mUserManager.getUserRestrictionSource(userRestriction, UserHandle.of(userId))) { 13311 final int sourceType = enforcingUser.getUserRestrictionSource(); 13359 int type = source.getUserRestrictionSource();
|
/aosp12/frameworks/base/core/api/ |
H A D | system-current.txt | 8678 …Permission(android.Manifest.permission.MANAGE_USERS) public int getUserRestrictionSource(String, a… 8720 method @android.os.UserManager.UserRestrictionSource public int getUserRestrictionSource();
|
/aosp12/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 40552 Landroid/os/IUserManager$Stub$Proxy;->getUserRestrictionSource(Ljava/lang/String;I)I 40674 Landroid/os/IUserManager;->getUserRestrictionSource(Ljava/lang/String;I)I
|
/aosp12/frameworks/base/services/ |
H A D | art-profile | 33363 HPLcom/android/server/pm/UserManagerService;->getUserRestrictionSource(Ljava/lang/String;I)I
|