Home
last modified time | relevance | path

Searched defs:restriction (Results 1 – 7 of 7) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/
DBaseUserRestrictionsTest.java91 protected void assertLayeredRestriction(String restriction, boolean expected) { in assertLayeredRestriction()
96 protected void assertOwnerRestriction(String restriction, boolean expected) { in assertOwnerRestriction()
111 protected void assertSetClearUserRestriction(String restriction) { in assertSetClearUserRestriction()
134 protected void assertClearUserRestriction(String restriction) { in assertClearUserRestriction()
143 protected void assertCannotSetUserRestriction(String restriction) { in assertCannotSetUserRestriction()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUserRestrictions.java140 public static String getRestrictionLabel(Context context, String restriction) { in getRestrictionLabel()
145 public static String getUserAction(Context context, String restriction) { in getUserAction()
150 private static UserRestrictionItem findRestrictionItem(String restriction) { in findRestrictionItem()
158 public static boolean isValidForPO(String restriction) { in isValidForPO()
166 public static Intent getUserRestrictionTestIntent(Context context, String restriction) { in getUserRestrictionTestIntent()
DByodHelperActivity.java314 final String restriction = intent.getStringExtra(EXTRA_PARAMETER_1); in onCreate() local
317 DeviceAdminTestReceiver.getReceiverComponentName(), restriction); in onCreate() local
320 final String restriction = intent.getStringExtra(EXTRA_PARAMETER_1); in onCreate() local
323 DeviceAdminTestReceiver.getReceiverComponentName(), restriction); in onCreate() local
DDeviceOwnerPositiveTestActivity.java317 private Intent createSetUserRestrictionIntent(String restriction) { in createSetUserRestrictionIntent()
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/
DDeviceOwnerPasswordTest.java361 private void assertPasswordFails(String password, String restriction) { in assertPasswordFails()
371 private void assertPasswordSucceeds(String password, String restriction) { in assertPasswordSucceeds()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DCustomizationRestrictionsTest.java51 RestrictionApplicator(String restriction) { in RestrictionApplicator()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileTest.java327 String restriction = "no_debugging_features"; // UserManager.DISALLOW_DEBUGGING_FEATURES in testNoDebuggingFeaturesRestriction() local
538 String restriction = "no_outgoing_beam"; // UserManager.DISALLOW_OUTGOING_BEAM in testNfcRestriction() local