Searched defs:restriction (Results 1 – 12 of 12) sorted by relevance
103 protected void assertLayeredRestriction(String restriction, boolean expected) { in assertLayeredRestriction()108 protected void assertOwnerRestriction(String restriction, boolean expected) { in assertOwnerRestriction()123 protected void assertSetClearUserRestriction(String restriction) { in assertSetClearUserRestriction()146 protected void assertClearUserRestriction(String restriction) { in assertClearUserRestriction()161 protected void assertCannotSetUserRestriction(String restriction) { in assertCannotSetUserRestriction()269 final String restriction = UserManager.DISALLOW_CONFIG_WIFI; in testBroadcast() local
23 private void assertRestriction(String restriction, boolean expected) { in assertRestriction()
148 public static String getRestrictionLabel(Context context, String restriction) { in getRestrictionLabel()153 public static String getUserAction(Context context, String restriction) { in getUserAction()158 private static UserRestrictionItem findRestrictionItem(String restriction) { in findRestrictionItem()184 public static Intent getUserRestrictionTestIntent(Context context, String restriction) { in getUserRestrictionTestIntent()195 public static boolean isRestrictionValid(Context context, String restriction) { in isRestrictionValid()
324 final String restriction = intent.getStringExtra(EXTRA_PARAMETER_1); in onCreate() local327 DeviceAdminTestReceiver.getReceiverComponentName(), restriction); in onCreate() local330 final String restriction = intent.getStringExtra(EXTRA_PARAMETER_1); in onCreate() local333 DeviceAdminTestReceiver.getReceiverComponentName(), restriction); in onCreate() local
368 private Intent createSetUserRestrictionIntent(String restriction) { in createSetUserRestrictionIntent()
125 private void testOppDisabledWhenRestrictionSet(String restriction) { in testOppDisabledWhenRestrictionSet()127 mDevicePolicyManager.addUserRestriction(getWho(), restriction); in testOppDisabledWhenRestrictionSet() local134 mDevicePolicyManager.clearUserRestriction(getWho(), restriction); in testOppDisabledWhenRestrictionSet() local
362 private void assertPasswordFails(String password, String restriction) { in assertPasswordFails()372 private void assertPasswordSucceeds(String password, String restriction) { in assertPasswordSucceeds()
73 private void runTestForRestriction(String restriction) throws Exception { in runTestForRestriction()
51 RestrictionApplicator(String restriction) { in RestrictionApplicator()
52 private void setUserRestriction(String restriction, boolean add) { in setUserRestriction()
434 String restriction = "no_debugging_features"; // UserManager.DISALLOW_DEBUGGING_FEATURES in testNoDebuggingFeaturesRestriction() local
META-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...