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()
63 assertThat(userManager.getApplicationRestrictions(packageName).size()).isEqualTo(0); in testGetApplicationRestrictions()71 .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
335 protected Bundle getApplicationRestrictions(ComponentName admin, String packageName) { in getApplicationRestrictions() method in ShadowDevicePolicyManager337 return getApplicationRestrictions(packageName); in getApplicationRestrictions()341 public Bundle getApplicationRestrictions(String packageName) { in getApplicationRestrictions() method in ShadowDevicePolicyManager
92 protected Bundle getApplicationRestrictions(String packageName) { in getApplicationRestrictions() method in ShadowUserManager