Searched refs:DISALLOW_PRINTING (Results 1 – 5 of 5) sorted by relevance
19 import static android.os.UserManager.DISALLOW_PRINTING;87 sDeviceState.dpc().componentName(), DISALLOW_PRINTING)); in addUserRestriction_disallowPrinting_cannotSet_throwsException()92 DISALLOW_PRINTING); in addUserRestriction_disallowPrinting_cannotSet_throwsException() local105 sDeviceState.dpc().componentName(), DISALLOW_PRINTING); in addUserRestriction_disallowPrinting_isSet() local107 assertThat(TestApis.devicePolicy().userRestrictions().isSet(DISALLOW_PRINTING)) in addUserRestriction_disallowPrinting_isSet()113 DISALLOW_PRINTING); in addUserRestriction_disallowPrinting_isSet() local126 sDeviceState.dpc().componentName(), DISALLOW_PRINTING); in addUserRestriction_disallowPrinting_isNotSet() local128 assertThat(TestApis.devicePolicy().userRestrictions().isSet(DISALLOW_PRINTING)) in addUserRestriction_disallowPrinting_isNotSet()134 DISALLOW_PRINTING); in addUserRestriction_disallowPrinting_isNotSet() local141 @EnsureHasUserRestriction(DISALLOW_PRINTING)[all …]
145 CommonUserRestrictions.DISALLOW_PRINTING,
195 public static final String DISALLOW_PRINTING = "no_printing"; field in CommonUserRestrictions325 DISALLOW_PRINTING,
882 dpm.addUserRestriction(ADMIN_RECEIVER_COMPONENT, UserManager.DISALLOW_PRINTING); in generateUserRestrictionEvents()883 dpm.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, UserManager.DISALLOW_PRINTING); in generateUserRestrictionEvents()898 UserManager.DISALLOW_PRINTING.equals(getString(e, USER_RESTRICTION_INDEX))); in findUserRestrictionEvent()
34086 field public static final String DISALLOW_PRINTING = "no_printing";