Home
last modified time | relevance | path

Searched refs:addUserRestriction (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDevicePolicyManagerTest.java246 devicePolicyManager.addUserRestriction(testComponent, restrictionKey); in addUserRestrictionShouldWorkAsIntendedForDeviceOwner()
263 devicePolicyManager.addUserRestriction(testComponent, restrictionKey); in addUserRestrictionShouldWorkAsIntendedForProfileOwner()
278 devicePolicyManager.addUserRestriction(testComponent, restrictionKey); in clearUserRestrictionShouldWorkAsIntendedForActiveAdmins()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDevicePolicyManager.java180 protected void addUserRestriction(ComponentName admin, String key) { in addUserRestriction() method in ShadowDevicePolicyManager