Searched refs:getApplicationRestrictions (Results 1 – 6 of 6) sorted by relevance
33 public void getApplicationRestrictions() { in getApplicationRestrictions() method in ShadowRestrictionsManagerTest34 assertThat(restrictionsManager.getApplicationRestrictions()).isNull(); in getApplicationRestrictions()40 …assertThat(restrictionsManager.getApplicationRestrictions().getCharSequence("test_key")).isEqualTo… in getApplicationRestrictions()
58 assertThat(userManager.getApplicationRestrictions(packageName).size()).isEqualTo(0); in testGetApplicationRestrictions()66 .getApplicationRestrictions(packageName) in testGetApplicationRestrictions()
507 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()
26 protected Bundle getApplicationRestrictions() { in getApplicationRestrictions() method in ShadowRestrictionsManager
332 protected Bundle getApplicationRestrictions(ComponentName admin, String packageName) { in getApplicationRestrictions() method in ShadowDevicePolicyManager334 return getApplicationRestrictions(packageName); in getApplicationRestrictions()338 public Bundle getApplicationRestrictions(String packageName) { in getApplicationRestrictions() method in ShadowDevicePolicyManager
79 protected Bundle getApplicationRestrictions(String packageName) { in getApplicationRestrictions() method in ShadowUserManager