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.java348 protected void setApplicationRestrictions( in setApplicationRestrictions() method in ShadowDevicePolicyManager
351 setApplicationRestrictions(packageName, applicationRestrictions); in setApplicationRestrictions()
359 public void setApplicationRestrictions(String packageName, Bundle applicationRestrictions) { in setApplicationRestrictions() method in ShadowDevicePolicyManager
DShadowUserManager.java100 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.java67 shadowOf(userManager).setApplicationRestrictions(packageName, restrictions); in testGetApplicationRestrictions()