Home
last modified time | relevance | path

Searched refs:setApplicationRestrictions (Results 1 – 6 of 6) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowRestrictionsManager.java18 public void setApplicationRestrictions(Bundle applicationRestrictions) { in setApplicationRestrictions() method in ShadowRestrictionsManager
DShadowDevicePolicyManager.java345 protected void setApplicationRestrictions( in setApplicationRestrictions() method in ShadowDevicePolicyManager
348 setApplicationRestrictions(packageName, applicationRestrictions); in setApplicationRestrictions()
356 public void setApplicationRestrictions(String packageName, Bundle applicationRestrictions) { in setApplicationRestrictions() method in ShadowDevicePolicyManager
DShadowUserManager.java87 public void setApplicationRestrictions(String packageName, Bundle restrictions) { in setApplicationRestrictions() method in ShadowUserManager
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowRestrictionsManagerTest.java38 shadowOf(restrictionsManager).setApplicationRestrictions(bundle); in getApplicationRestrictions()
DShadowDevicePolicyManagerTest.java504 devicePolicyManager.setApplicationRestrictions(testComponent, app, restrictions); in setApplicationRestrictionsShouldWorkAsIntendedForDeviceOwner()
526 devicePolicyManager.setApplicationRestrictions(testComponent, app, restrictions); in setApplicationRestrictionsShouldWorkAsIntendedForProfileOwner()
DShadowUserManagerTest.java62 shadowOf(userManager).setApplicationRestrictions(packageName, restrictions); in testGetApplicationRestrictions()