Searched refs:changeUserRestrictionOrFail (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | ManagedProfileTest.java | 153 changeUserRestrictionOrFail(restriction, true, mProfileUserId); in testNoDebuggingFeaturesRestriction() 257 changeUserRestrictionOrFail("no_outgoing_beam" /* UserManager.DISALLOW_OUTGOING_BEAM */, in testNfcRestriction() 603 private void changeUserRestrictionOrFail(String key, boolean value, int userId) in changeUserRestrictionOrFail() method in ManagedProfileTest 605 changeUserRestrictionOrFail(key, value, userId, MANAGED_PROFILE_PKG); in changeUserRestrictionOrFail()
|
D | DeviceAndProfileOwnerTest.java | 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() 759 changeUserRestrictionOrFail(DISALLOW_SET_WALLPAPER, true, mUserId); in testSetWallpaper_disallowed() 763 changeUserRestrictionOrFail(DISALLOW_SET_WALLPAPER, false, mUserId); in testSetWallpaper_disallowed() 874 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES, true, mUserId); in testPackageInstallUserRestrictions() 879 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES, false, mUserId); in testPackageInstallUserRestrictions() 883 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES_GLOBALLY, true, mUserId); in testPackageInstallUserRestrictions() 888 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES_GLOBALLY, false, mUserId); in testPackageInstallUserRestrictions() [all …]
|
D | DeviceOwnerTest.java | 584 changeUserRestrictionOrFail("no_factory_reset", true, mPrimaryUserId, DEVICE_OWNER_PKG); in testDisallowFactoryReset()
|
D | BaseDevicePolicyTest.java | 1051 protected void changeUserRestrictionOrFail(String key, boolean value, int userId, in changeUserRestrictionOrFail() method in BaseDevicePolicyTest
|