Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
H A DRestrictionsSetTest.java155 enforcingUser1.getUserRestrictionSource()); in testGetEnforcingUsers_hasEnforcingUser()
176 enforcingUser.getUserRestrictionSource()); in testGetEnforcingUsers_hasMultipleEnforcingUsers()
180 enforcingUser.getUserRestrictionSource()); in testGetEnforcingUsers_hasMultipleEnforcingUsers()
/aosp14/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
H A DInstallNonMarketAppsDeprecationTest.java93 mSystemSetUserRestriction = mUm.getUserRestrictionSource( in setUp()
/aosp14/frameworks/base/core/java/android/os/
H A DIUserManager.aidl89 int getUserRestrictionSource(String restrictionKey, int userId); in getUserRestrictionSource() method
H A DUserManager.java3559 public int getUserRestrictionSource(@UserRestrictionKey String restrictionKey, in getUserRestrictionSource() method in UserManager
3562 return mService.getUserRestrictionSource(restrictionKey, userHandle.getIdentifier()); in getUserRestrictionSource()
6156 public @UserRestrictionSource int getUserRestrictionSource() { in getUserRestrictionSource() method in UserManager.EnforcingUser
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DRestrictedLockUtilsInternal.java123 final int restrictionSource = enforcingUser.getUserRestrictionSource(); in checkIfRestrictionEnforced()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerTest.java3743 when(getServices().userManager.getUserRestrictionSource( in testProvisioning_withDo_systemUser_restrictedBySystem()
3803 when(getServices().userManager.getUserRestrictionSource( in testCheckProvisioningPreCondition_comp_cannot_remove_profile()
5094 when(getServices().userManager.getUserRestrictionSource( in testWipeDataManagedProfileDisallowed()
5111 when(getServices().userManager.getUserRestrictionSource( in testWipeDevice_DeviceOwner()
5126 when(getServices().userManager.getUserRestrictionSource( in testWipeEuiccDataEnabled()
5141 when(getServices().userManager.getUserRestrictionSource( in testWipeDevice_DeviceOwnerDisallowed()
5163 when(getServices().userManager.getUserRestrictionSource( in testMaximumFailedPasswordAttemptsReachedManagedProfile()
5197 when(getServices().userManager.getUserRestrictionSource( in testMaximumFailedPasswordAttemptsReachedManagedProfileDisallowed()
5223 when(getServices().userManager.getUserRestrictionSource( in testMaximumFailedPasswordAttemptsReachedDeviceOwner()
5244 when(getServices().userManager.getUserRestrictionSource( in testMaximumFailedPasswordAttemptsReachedDeviceOwnerDisallowed()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DUserManagerService.java2831 public int getUserRestrictionSource(String restrictionKey, @UserIdInt int userId) { in getUserRestrictionSource() method in UserManagerService
2836 result |= enforcingUsers.get(i).getUserRestrictionSource(); in getUserRestrictionSource()
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java12886 switch (mUserManager.getUserRestrictionSource(userRestriction, UserHandle.of(userId))) {
16545 final int sourceType = enforcingUser.getUserRestrictionSource(); in getEnforcingAdminAndUserDetailsInternal()
16657 int type = source.getUserRestrictionSource(); in getDevicePolicySources()
/aosp14/frameworks/base/core/api/
H A Dsystem-current.txt10980 …AGE_USERS, android.Manifest.permission.QUERY_USERS}) public int getUserRestrictionSource(String, a…
11039 method @android.os.UserManager.UserRestrictionSource public int getUserRestrictionSource();
/aosp14/frameworks/base/boot/hiddenapi/
H A 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