Searched refs:addUserRestriction (Results 1 – 2 of 2) sorted by relevance
246 devicePolicyManager.addUserRestriction(testComponent, restrictionKey); in addUserRestrictionShouldWorkAsIntendedForDeviceOwner()263 devicePolicyManager.addUserRestriction(testComponent, restrictionKey); in addUserRestrictionShouldWorkAsIntendedForProfileOwner()278 devicePolicyManager.addUserRestriction(testComponent, restrictionKey); in clearUserRestrictionShouldWorkAsIntendedForActiveAdmins()
180 protected void addUserRestriction(ComponentName admin, String key) { in addUserRestriction() method in ShadowDevicePolicyManager