Searched refs:getUserRestrictions (Results 1 – 7 of 7) sorted by relevance
105 @NonNull Bundle getUserRestrictions(@NonNull ComponentName admin); in getUserRestrictions() method107 @RemoteDpcAutomaticAdmin @NonNull Bundle getUserRestrictions(); in getUserRestrictions() method
124 Bundle restrictions = mParentDevicePolicyManager.getUserRestrictions( in testAddGetAndClearUserRestriction_onParent()130 restrictions = mParentDevicePolicyManager.getUserRestrictions(ADMIN_RECEIVER_COMPONENT); in testAddGetAndClearUserRestriction_onParent()
287 parentDevicePolicyManager.getUserRestrictions(ADMIN_RECEIVER_COMPONENT); in hasUserRestriction()
27 getUserRestrictions()?.getBoolean(UserManager.ALLOW_PARENT_PROFILE_APP_LINKING, false) ?: false in getAppLinkPolicy()
78 um.getUserRestrictions().getBoolean(UserManager.DISALLOW_BLUETOOTH_SHARING, false)); in assertRestrictionEnforced()
119 expected, mDevicePolicyManager.getUserRestrictions(ADMIN_RECEIVER_COMPONENT) in assertOwnerRestriction()
549 Bundle restrictions = mDevicePolicyManager.getUserRestrictions(mAdminReceiverComponent); in isRestrictionSet()