Searched defs:restriction (Results 1 – 7 of 7) sorted by relevance
91 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()
140 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()
314 final String restriction = intent.getStringExtra(EXTRA_PARAMETER_1); in onCreate() local317 DeviceAdminTestReceiver.getReceiverComponentName(), restriction); in onCreate() local320 final String restriction = intent.getStringExtra(EXTRA_PARAMETER_1); in onCreate() local323 DeviceAdminTestReceiver.getReceiverComponentName(), restriction); in onCreate() local
317 private Intent createSetUserRestrictionIntent(String restriction) { in createSetUserRestrictionIntent()
361 private void assertPasswordFails(String password, String restriction) { in assertPasswordFails()371 private void assertPasswordSucceeds(String password, String restriction) { in assertPasswordSucceeds()
51 RestrictionApplicator(String restriction) { in RestrictionApplicator()
327 String restriction = "no_debugging_features"; // UserManager.DISALLOW_DEBUGGING_FEATURES in testNoDebuggingFeaturesRestriction() local538 String restriction = "no_outgoing_beam"; // UserManager.DISALLOW_OUTGOING_BEAM in testNfcRestriction() local