Home
last modified time | relevance | path

Searched refs:changeUserRestrictionOrFail (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java740 changeUserRestrictionOrFail(DISALLOW_MODIFY_ACCOUNTS, true, mUserId); in testAccountManagement_userRestrictionAddAccount()
744 changeUserRestrictionOrFail(DISALLOW_MODIFY_ACCOUNTS, false, mUserId); in testAccountManagement_userRestrictionAddAccount()
756 changeUserRestrictionOrFail(DISALLOW_MODIFY_ACCOUNTS, true, mUserId); in testAccountManagement_userRestrictionRemoveAccount()
760 changeUserRestrictionOrFail(DISALLOW_MODIFY_ACCOUNTS, false, mUserId); in testAccountManagement_userRestrictionRemoveAccount()
860 changeUserRestrictionOrFail(DISALLOW_SET_WALLPAPER, true, mUserId); in testSetWallpaper_disallowed()
864 changeUserRestrictionOrFail(DISALLOW_SET_WALLPAPER, false, mUserId); in testSetWallpaper_disallowed()
984 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES, true, mUserId); in testPackageInstallUserRestrictions()
989 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES, false, mUserId); in testPackageInstallUserRestrictions()
993 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES_GLOBALLY, true, mUserId); in testPackageInstallUserRestrictions()
998 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES_GLOBALLY, false, mUserId); in testPackageInstallUserRestrictions()
[all …]
DManagedProfileTest.java502 changeUserRestrictionOrFail("allow_parent_profile_app_linking", true, mProfileUserId); in testAppLinks_verificationStatus()
557 changeUserRestrictionOrFail("allow_parent_profile_app_linking", true, mProfileUserId); in testAppLinks_enabledStatus()
757 changeUserRestrictionOrFail(restriction, true, mProfileUserId); in testNoDebuggingFeaturesRestriction()
989 changeUserRestrictionOrFail("no_outgoing_beam" /* UserManager.DISALLOW_OUTGOING_BEAM */, in testNfcRestriction()
1667 private void changeUserRestrictionOrFail(String key, boolean value, int userId) in changeUserRestrictionOrFail() method in ManagedProfileTest
1669 changeUserRestrictionOrFail(key, value, userId, MANAGED_PROFILE_PKG); in changeUserRestrictionOrFail()
DDeviceOwnerTest.java861 changeUserRestrictionOrFail("no_factory_reset", true, mPrimaryUserId, in testDisallowFactoryReset()
DBaseDevicePolicyTest.java836 protected void changeUserRestrictionOrFail(String key, boolean value, int userId, in changeUserRestrictionOrFail() method in BaseDevicePolicyTest