/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/ |
D | BaseUserRestrictionsTest.java | 107 protected void assertLayeredRestriction(String restriction, boolean expected) { in assertLayeredRestriction() 112 protected void assertOwnerRestriction(String restriction, boolean expected) { in assertOwnerRestriction() 127 protected void assertSetClearUserRestriction(String restriction) { in assertSetClearUserRestriction() 150 protected void assertClearUserRestriction(String restriction) { in assertClearUserRestriction() 165 protected void assertCannotSetUserRestriction(String restriction) { in assertCannotSetUserRestriction() 273 final String restriction = UserManager.DISALLOW_CONFIG_WIFI; in testBroadcast() local
|
D | ProfileGlobalRestrictionsTest.java | 23 private void assertRestriction(String restriction, boolean expected) { in assertRestriction()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | UserRestrictions.java | 181 public static String getRestrictionLabel(Context context, String restriction) { in getRestrictionLabel() 186 public static String getUserAction(Context context, String restriction) { in getUserAction() 191 private static UserRestrictionItem findRestrictionItem(String restriction) { in findRestrictionItem() 220 public static Intent getUserRestrictionTestIntent(Context context, String restriction) { in getUserRestrictionTestIntent() 231 public static boolean isRestrictionValid(Context context, String restriction) { in isRestrictionValid()
|
D | ByodHelperActivity.java | 348 final String restriction = intent.getStringExtra(EXTRA_PARAMETER_1); in onCreate() local 351 DeviceAdminTestReceiver.getReceiverComponentName(), restriction); in onCreate() local 354 final String restriction = intent.getStringExtra(EXTRA_PARAMETER_1); in onCreate() local 357 DeviceAdminTestReceiver.getReceiverComponentName(), restriction); in onCreate() local 530 private boolean isRestrictionSet(String restriction) { in isRestrictionSet() 537 private void setRestriction(String restriction, boolean enabled) { in setRestriction() 545 private void setRestrictionAndSaveOriginal(String restriction, boolean enabled) { in setRestrictionAndSaveOriginal() 554 public void restoreOriginalRestriction(String restriction) { in restoreOriginalRestriction()
|
D | CommandReceiverActivity.java | 636 public static Intent createSetUserRestrictionIntent(String restriction, boolean enforced) { in createSetUserRestrictionIntent()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | PrivateDnsPolicyTest.java | 62 private void setUserRestriction(String restriction, boolean add) { in setUserRestriction() 65 dpm.addUserRestriction(getWho(), restriction); in setUserRestriction() local 67 dpm.clearUserRestriction(getWho(), restriction); in setUserRestriction() local
|
D | BluetoothRestrictionTest.java | 125 private void testOppDisabledWhenRestrictionSet(String restriction) { in testOppDisabledWhenRestrictionSet() 127 mDevicePolicyManager.addUserRestriction(getWho(), restriction); in testOppDisabledWhenRestrictionSet() local 134 mDevicePolicyManager.clearUserRestriction(getWho(), restriction); in testOppDisabledWhenRestrictionSet() local
|
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/ |
D | DeviceOwnerPasswordTest.java | 364 private void assertPasswordFails(String password, String restriction) { in assertPasswordFails() 374 private void assertPasswordSucceeds(String password, String restriction) { in assertPasswordSucceeds()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | PolicyTransparencyTest.java | 73 private void runTestForRestriction(String restriction) throws Exception { in runTestForRestriction()
|
D | ResetPasswordWithTokenTest.java | 541 private void assertPasswordFails(String password, String restriction) { in assertPasswordFails() 552 private void assertPasswordSucceeds(String password, String restriction) { in assertPasswordSucceeds()
|
D | CustomizationRestrictionsTest.java | 49 RestrictionApplicator(String restriction) { in RestrictionApplicator()
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/provisioning/ |
D | UserRestrictionTest.java | 52 private void setUserRestriction(String restriction, boolean add) { in setUserRestriction()
|
/cts/hostsidetests/devicepolicy/app/TransferOwnerOutgoingApp/src/com/android/cts/transferowner/ |
D | DeviceAndProfileOwnerTransferOutgoingTest.java | 183 private void setUserRestriction(String restriction, boolean add) { in setUserRestriction()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | ManagedProfileTest.java | 745 String restriction = "no_debugging_features"; // UserManager.DISALLOW_DEBUGGING_FEATURES in testNoDebuggingFeaturesRestriction() local
|
D | DeviceAndProfileOwnerTest.java | 2083 String restriction = getDevice().executeShellCommand(RESTRICT_BACKGROUND_GET_CMD); in ensureRestrictBackgroundPolicyOff() local
|