Home
last modified time | relevance | path

Searched refs:getUserRestrictionSource (Results 1 – 13 of 13) sorted by relevance

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DRestrictionsSetTest.java151 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 DExternalSourcesDetails.java85 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 DInstallNonMarketAppsDeprecationTest.java93 mSystemSetUserRestriction = mUm.getUserRestrictionSource( in setUp()
/aosp12/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
H A DPackageInstallerActivity.java450 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 DIUserManager.aidl76 int getUserRestrictionSource(String restrictionKey, int userId); in getUserRestrictionSource() method
H A DUserManager.java2623 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 DRestrictedLockUtilsInternal.java118 final int restrictionSource = enforcingUsers.get(0).getUserRestrictionSource(); in checkIfRestrictionEnforced()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerTest.java3716 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 DUserManagerService.java2124 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 DDevicePolicyManagerService.java10857 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 Dsystem-current.txt8678 …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 Dhiddenapi-max-target-o.txt40552 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 Dart-profile33363 HPLcom/android/server/pm/UserManagerService;->getUserRestrictionSource(Ljava/lang/String;I)I