Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowRestrictionsManagerTest.java33 public void getApplicationRestrictions() { in getApplicationRestrictions() method in ShadowRestrictionsManagerTest
34 assertThat(restrictionsManager.getApplicationRestrictions()).isNull(); in getApplicationRestrictions()
40 …assertThat(restrictionsManager.getApplicationRestrictions().getCharSequence("test_key")).isEqualTo… in getApplicationRestrictions()
DShadowUserManagerTest.java58 assertThat(userManager.getApplicationRestrictions(packageName).size()).isEqualTo(0); in testGetApplicationRestrictions()
66 .getApplicationRestrictions(packageName) in testGetApplicationRestrictions()
DShadowDevicePolicyManagerTest.java507 Bundle actualRestrictions = devicePolicyManager.getApplicationRestrictions(testComponent, app); in setApplicationRestrictionsShouldWorkAsIntendedForDeviceOwner()
529 Bundle actualRestrictions = devicePolicyManager.getApplicationRestrictions(testComponent, app); in setApplicationRestrictionsShouldWorkAsIntendedForProfileOwner()
545 assertThat(devicePolicyManager.getApplicationRestrictions(testComponent, app).isEmpty()) in getApplicationRestrictionsShouldReturnEmptyBundleIfAppHasNone()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowRestrictionsManager.java26 protected Bundle getApplicationRestrictions() { in getApplicationRestrictions() method in ShadowRestrictionsManager
DShadowDevicePolicyManager.java332 protected Bundle getApplicationRestrictions(ComponentName admin, String packageName) { in getApplicationRestrictions() method in ShadowDevicePolicyManager
334 return getApplicationRestrictions(packageName); in getApplicationRestrictions()
338 public Bundle getApplicationRestrictions(String packageName) { in getApplicationRestrictions() method in ShadowDevicePolicyManager
DShadowUserManager.java79 protected Bundle getApplicationRestrictions(String packageName) { in getApplicationRestrictions() method in ShadowUserManager