Home
last modified time | relevance | path

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

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/
DRestrictionsSetTest.java153 enforcingUser1.getUserRestrictionSource()); in testGetEnforcingUsers_hasEnforcingUser()
173 enforcingUser.getUserRestrictionSource()); in testGetEnforcingUsers_hasMultipleEnforcingUsers()
177 enforcingUser.getUserRestrictionSource()); in testGetEnforcingUsers_hasMultipleEnforcingUsers()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DInstallNonMarketAppsDeprecationTest.java93 mSystemSetUserRestriction = mUm.getUserRestrictionSource( in setUp()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
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()
/frameworks/base/core/java/android/os/
DIUserManager.aidl83 int getUserRestrictionSource(String restrictionKey, int userId); in getUserRestrictionSource() method
DUserManager.java2988 public int getUserRestrictionSource(@UserRestrictionKey String restrictionKey, in getUserRestrictionSource() method in UserManager
2991 return mService.getUserRestrictionSource(restrictionKey, userHandle.getIdentifier()); in getUserRestrictionSource()
5427 public @UserRestrictionSource int getUserRestrictionSource() { in getUserRestrictionSource() method in UserManager.EnforcingUser
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java122 final int restrictionSource = enforcingUsers.get(0).getUserRestrictionSource(); in checkIfRestrictionEnforced()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java3742 when(getServices().userManager.getUserRestrictionSource( in testProvisioning_withDo_systemUser_restrictedBySystem()
3802 when(getServices().userManager.getUserRestrictionSource( in testCheckProvisioningPreCondition_comp_cannot_remove_profile()
5077 when(getServices().userManager.getUserRestrictionSource( in testWipeDataManagedProfileDisallowed()
5094 when(getServices().userManager.getUserRestrictionSource( in testWipeDataDeviceOwner()
5109 when(getServices().userManager.getUserRestrictionSource( in testWipeEuiccDataEnabled()
5124 when(getServices().userManager.getUserRestrictionSource( in testWipeDataDeviceOwnerDisallowed()
5146 when(getServices().userManager.getUserRestrictionSource( in testMaximumFailedPasswordAttemptsReachedManagedProfile()
5180 when(getServices().userManager.getUserRestrictionSource( in testMaximumFailedPasswordAttemptsReachedManagedProfileDisallowed()
5206 when(getServices().userManager.getUserRestrictionSource( in testMaximumFailedPasswordAttemptsReachedDeviceOwner()
5227 when(getServices().userManager.getUserRestrictionSource( in testMaximumFailedPasswordAttemptsReachedDeviceOwnerDisallowed()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java2342 public int getUserRestrictionSource(String restrictionKey, @UserIdInt int userId) { in getUserRestrictionSource() method in UserManagerService
2347 result |= enforcingUsers.get(i).getUserRestrictionSource(); in getUserRestrictionSource()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java10998 switch(mUserManager.getUserRestrictionSource(userRestriction, UserHandle.of(userId))) {
13529 final int sourceType = enforcingUser.getUserRestrictionSource();
13577 int type = source.getUserRestrictionSource();
/frameworks/base/core/api/
Dsystem-current.txt9809 …AGE_USERS, android.Manifest.permission.QUERY_USERS}) public int getUserRestrictionSource(String, a…
9864 method @android.os.UserManager.UserRestrictionSource public int getUserRestrictionSource();
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37229 Landroid/os/IUserManager$Stub$Proxy;->getUserRestrictionSource(Ljava/lang/String;I)I
37351 Landroid/os/IUserManager;->getUserRestrictionSource(Ljava/lang/String;I)I
/frameworks/base/services/
Dart-profile37582 PLcom/android/server/pm/UserManagerService;->getUserRestrictionSource(Ljava/lang/String;I)I