Home
last modified time | relevance | path

Searched refs:DISALLOW_MODIFY_ACCOUNTS (Results 1 – 8 of 8) sorted by relevance

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DAccountManagementTest.java191 mDpm.addUserRestriction(mAdmin, UserManager.DISALLOW_MODIFY_ACCOUNTS); in addAccount_fromDpcWithDisallowModifyAccountsRestriction_accountAdded()
201 mDpm.clearUserRestriction(mAdmin, UserManager.DISALLOW_MODIFY_ACCOUNTS); in addAccount_fromDpcWithDisallowModifyAccountsRestriction_accountAdded()
214 mDpm.addUserRestriction(mAdmin, UserManager.DISALLOW_MODIFY_ACCOUNTS); in removeAccount_fromDpcWithDisallowModifyAccountsRestriction_accountRemoved()
224 mDpm.clearUserRestriction(mAdmin, UserManager.DISALLOW_MODIFY_ACCOUNTS); in removeAccount_fromDpcWithDisallowModifyAccountsRestriction_accountRemoved()
234 mDpm.addUserRestriction(mAdmin, UserManager.DISALLOW_MODIFY_ACCOUNTS); in addAccount_withDisallowModifyAccountsRestriction_throwsException()
239 mDpm.clearUserRestriction(mAdmin, UserManager.DISALLOW_MODIFY_ACCOUNTS); in addAccount_withDisallowModifyAccountsRestriction_throwsException()
251 mDpm.addUserRestriction(mAdmin, UserManager.DISALLOW_MODIFY_ACCOUNTS); in removeAccount_withDisallowModifyAccountsRestriction_throwsException()
257 mDpm.clearUserRestriction(mAdmin, UserManager.DISALLOW_MODIFY_ACCOUNTS); in removeAccount_withDisallowModifyAccountsRestriction_throwsException()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DAccountCheckHostSideTest.java58 private static final String DISALLOW_MODIFY_ACCOUNTS = "no_modify_accounts"; field in AccountCheckHostSideTest
69 DISALLOW_MODIFY_ACCOUNTS); in setUp()
75 DISALLOW_MODIFY_ACCOUNTS); in setUp()
DDeviceAndProfileOwnerTest.java122 private static final String DISALLOW_MODIFY_ACCOUNTS = "no_modify_accounts"; field in DeviceAndProfileOwnerTest
617 changeUserRestrictionOrFail(DISALLOW_MODIFY_ACCOUNTS, true, mUserId); in testAccountManagement_userRestrictionAddAccount()
621 changeUserRestrictionOrFail(DISALLOW_MODIFY_ACCOUNTS, false, mUserId); in testAccountManagement_userRestrictionAddAccount()
631 changeUserRestrictionOrFail(DISALLOW_MODIFY_ACCOUNTS, true, mUserId); in testAccountManagement_userRestrictionRemoveAccount()
635 changeUserRestrictionOrFail(DISALLOW_MODIFY_ACCOUNTS, false, mUserId); in testAccountManagement_userRestrictionRemoveAccount()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/
DPrimaryProfileOwnerUserRestrictionsTest.java23 UserManager.DISALLOW_MODIFY_ACCOUNTS,
DSecondaryProfileOwnerUserRestrictionsTest.java26 UserManager.DISALLOW_MODIFY_ACCOUNTS,
DDeviceOwnerUserRestrictionsTest.java25 UserManager.DISALLOW_MODIFY_ACCOUNTS,
DBaseUserRestrictionsTest.java38 UserManager.DISALLOW_MODIFY_ACCOUNTS,
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUserRestrictions.java51 UserManager.DISALLOW_MODIFY_ACCOUNTS,
201 UserManager.DISALLOW_MODIFY_ACCOUNTS, UserManager.DISALLOW_SHARE_LOCATION,
210 UserManager.DISALLOW_MODIFY_ACCOUNTS,