Home
last modified time | relevance | path

Searched refs:DISALLOW_PRINTING (Results 1 – 5 of 5) sorted by relevance

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DPrintingTest.java19 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() local
105 sDeviceState.dpc().componentName(), DISALLOW_PRINTING); in addUserRestriction_disallowPrinting_isSet() local
107 assertThat(TestApis.devicePolicy().userRestrictions().isSet(DISALLOW_PRINTING)) in addUserRestriction_disallowPrinting_isSet()
113 DISALLOW_PRINTING); in addUserRestriction_disallowPrinting_isSet() local
126 sDeviceState.dpc().componentName(), DISALLOW_PRINTING); in addUserRestriction_disallowPrinting_isNotSet() local
128 assertThat(TestApis.devicePolicy().userRestrictions().isSet(DISALLOW_PRINTING)) in addUserRestriction_disallowPrinting_isNotSet()
134 DISALLOW_PRINTING); in addUserRestriction_disallowPrinting_isNotSet() local
141 @EnsureHasUserRestriction(DISALLOW_PRINTING)
[all …]
DUserRestrictionsTest.java145 CommonUserRestrictions.DISALLOW_PRINTING,
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/userrestrictions/
DCommonUserRestrictions.java195 public static final String DISALLOW_PRINTING = "no_printing"; field in CommonUserRestrictions
325 DISALLOW_PRINTING,
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSecurityLoggingTest.java882 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()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt34086 field public static final String DISALLOW_PRINTING = "no_printing";