Searched refs:getUserRestrictionSource (Results 1 – 10 of 10) sorted by relevance
71 int getUserRestrictionSource(String restrictionKey, int userHandle); in getUserRestrictionSource() method
1815 public int getUserRestrictionSource(String restrictionKey, UserHandle userHandle) { in getUserRestrictionSource() method in UserManager1817 return mService.getUserRestrictionSource(restrictionKey, userHandle.getIdentifier()); in getUserRestrictionSource()3211 public @UserRestrictionSource int getUserRestrictionSource() { in getUserRestrictionSource() method in UserManager.EnforcingUser
91 mSystemSetUserRestriction = mUm.getUserRestrictionSource( in setUp()
416 final int installAppsRestrictionSource = mUserManager.getUserRestrictionSource( in checkIfAllowedAndInitiateInstall()431 final int unknownSourcesRestrictionSource = mUserManager.getUserRestrictionSource( in checkIfAllowedAndInitiateInstall()433 final int unknownSourcesGlobalRestrictionSource = mUserManager.getUserRestrictionSource( in checkIfAllowedAndInitiateInstall()
2962 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 …]
105 final int restrictionSource = enforcingUsers.get(0).getUserRestrictionSource(); in checkIfRestrictionEnforced()
1589 public int getUserRestrictionSource(String restrictionKey, int userId) { in getUserRestrictionSource() method in UserManagerService1594 result |= enforcingUsers.get(i).getUserRestrictionSource(); in getUserRestrictionSource()
9793 switch(mUserManager.getUserRestrictionSource(userRestriction, UserHandle.of(userId))) { in isAdminAffectedByRestriction()11312 final int sourceType = enforcingUser.getUserRestrictionSource(); in createUserRestrictionSupportIntent()
5541 …Permission(android.Manifest.permission.MANAGE_USERS) public int getUserRestrictionSource(String, a…5571 method @android.os.UserManager.UserRestrictionSource public int getUserRestrictionSource();
11797 PLcom/android/server/pm/UserManagerService;->getUserRestrictionSource(Ljava/lang/String;I)I