Searched refs:changeUserRestrictionOrFail (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceAndProfileOwnerTest.java | 419 changeUserRestrictionOrFail(DISALLOW_MODIFY_ACCOUNTS, true, mUserId); in testAccountManagement_userRestrictionAddAccount() 423 changeUserRestrictionOrFail(DISALLOW_MODIFY_ACCOUNTS, false, mUserId); in testAccountManagement_userRestrictionAddAccount() 435 changeUserRestrictionOrFail(DISALLOW_MODIFY_ACCOUNTS, true, mUserId); in testAccountManagement_userRestrictionRemoveAccount() 439 changeUserRestrictionOrFail(DISALLOW_MODIFY_ACCOUNTS, false, mUserId); in testAccountManagement_userRestrictionRemoveAccount() 510 changeUserRestrictionOrFail(DISALLOW_SET_WALLPAPER, true, mUserId); in testSetWallpaper_disallowed() 514 changeUserRestrictionOrFail(DISALLOW_SET_WALLPAPER, false, mUserId); in testSetWallpaper_disallowed() 572 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES, true, mUserId); in testPackageInstallUserRestrictions() 577 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES, false, mUserId); in testPackageInstallUserRestrictions() 653 changeUserRestrictionOrFail(DISALLOW_REMOVE_USER, true, mUserId); in testCannotRemoveUserIfRestrictionSet() 656 changeUserRestrictionOrFail(DISALLOW_REMOVE_USER, false, mUserId); in testCannotRemoveUserIfRestrictionSet() [all …]
|
D | ManagedProfileTest.java | 248 changeUserRestrictionOrFail("allow_parent_profile_app_linking", true, mProfileUserId); in testAppLinks_verificationStatus() 303 changeUserRestrictionOrFail("allow_parent_profile_app_linking", true, mProfileUserId); in testAppLinks_enabledStatus() 436 changeUserRestrictionOrFail(restriction, true, mProfileUserId); in testNoDebuggingFeaturesRestriction() 643 changeUserRestrictionOrFail("no_outgoing_beam" /* UserManager.DISALLOW_OUTGOING_BEAM */, in testNfcRestriction() 908 private void changeUserRestrictionOrFail(String key, boolean value, int userId) in changeUserRestrictionOrFail() method in ManagedProfileTest 910 changeUserRestrictionOrFail(key, value, userId, MANAGED_PROFILE_PKG); in changeUserRestrictionOrFail()
|
D | DeviceOwnerTest.java | 529 changeUserRestrictionOrFail("no_factory_reset", true, mPrimaryUserId, in testDisallowFactoryReset()
|
D | BaseDevicePolicyTest.java | 703 protected void changeUserRestrictionOrFail(String key, boolean value, int userId, in changeUserRestrictionOrFail() method in BaseDevicePolicyTest
|