Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DIUserManager.aidl71 int getUserRestrictionSource(String restrictionKey, int userHandle); in getUserRestrictionSource() method
DUserManager.java1815 public int getUserRestrictionSource(String restrictionKey, UserHandle userHandle) { in getUserRestrictionSource() method in UserManager
1817 return mService.getUserRestrictionSource(restrictionKey, userHandle.getIdentifier()); in getUserRestrictionSource()
3211 public @UserRestrictionSource int getUserRestrictionSource() { in getUserRestrictionSource() method in UserManager.EnforcingUser
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DInstallNonMarketAppsDeprecationTest.java91 mSystemSetUserRestriction = mUm.getUserRestrictionSource( in setUp()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java416 final int installAppsRestrictionSource = mUserManager.getUserRestrictionSource( in checkIfAllowedAndInitiateInstall()
431 final int unknownSourcesRestrictionSource = mUserManager.getUserRestrictionSource( in checkIfAllowedAndInitiateInstall()
433 final int unknownSourcesGlobalRestrictionSource = mUserManager.getUserRestrictionSource( in checkIfAllowedAndInitiateInstall()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java2962 when(getServices().userManager.getUserRestrictionSource( in testProvisioning_nonSplitUser_withDo_primaryUser_restrictedByDo()
2988 when(getServices().userManager.getUserRestrictionSource( in testProvisioning_nonSplitUser_withDo_primaryUser_restrictedBySystem()
3030 when(getServices().userManager.getUserRestrictionSource( in testCheckProvisioningPreCondition_nonSplitUser_comp_cannot_remove_profile()
3952 when(getServices().userManager.getUserRestrictionSource( in testWipeDataManagedProfileDisallowed()
3968 when(getServices().userManager.getUserRestrictionSource( in testWipeDataDeviceOwner()
3983 when(getServices().userManager.getUserRestrictionSource( in testWipeEuiccDataEnabled()
3998 when(getServices().userManager.getUserRestrictionSource( in testWipeDataDeviceOwnerDisallowed()
4019 when(getServices().userManager.getUserRestrictionSource( in testMaximumFailedPasswordAttemptsReachedManagedProfile()
4052 when(getServices().userManager.getUserRestrictionSource( in testMaximumFailedPasswordAttemptsReachedManagedProfileDisallowed()
4077 when(getServices().userManager.getUserRestrictionSource( in testMaximumFailedPasswordAttemptsReachedDeviceOwner()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java105 final int restrictionSource = enforcingUsers.get(0).getUserRestrictionSource(); in checkIfRestrictionEnforced()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1589 public int getUserRestrictionSource(String restrictionKey, int userId) { in getUserRestrictionSource() method in UserManagerService
1594 result |= enforcingUsers.get(i).getUserRestrictionSource(); in getUserRestrictionSource()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java9793 switch(mUserManager.getUserRestrictionSource(userRestriction, UserHandle.of(userId))) { in isAdminAffectedByRestriction()
11312 final int sourceType = enforcingUser.getUserRestrictionSource(); in createUserRestrictionSupportIntent()
/frameworks/base/api/
Dsystem-current.txt5541 …Permission(android.Manifest.permission.MANAGE_USERS) public int getUserRestrictionSource(String, a…
5571 method @android.os.UserManager.UserRestrictionSource public int getUserRestrictionSource();
/frameworks/base/services/
Dart-profile11797 PLcom/android/server/pm/UserManagerService;->getUserRestrictionSource(Ljava/lang/String;I)I