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.java745 changeUserRestrictionOrFail(DISALLOW_MODIFY_ACCOUNTS, true, mUserId); in testAccountManagement_userRestrictionAddAccount()
749 changeUserRestrictionOrFail(DISALLOW_MODIFY_ACCOUNTS, false, mUserId); in testAccountManagement_userRestrictionAddAccount()
761 changeUserRestrictionOrFail(DISALLOW_MODIFY_ACCOUNTS, true, mUserId); in testAccountManagement_userRestrictionRemoveAccount()
765 changeUserRestrictionOrFail(DISALLOW_MODIFY_ACCOUNTS, false, mUserId); in testAccountManagement_userRestrictionRemoveAccount()
870 changeUserRestrictionOrFail(DISALLOW_SET_WALLPAPER, true, mUserId); in testSetWallpaper_disallowed()
874 changeUserRestrictionOrFail(DISALLOW_SET_WALLPAPER, false, mUserId); in testSetWallpaper_disallowed()
998 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES, true, mUserId); in testPackageInstallUserRestrictions()
1003 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES, false, mUserId); in testPackageInstallUserRestrictions()
1007 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES_GLOBALLY, true, mUserId); in testPackageInstallUserRestrictions()
1012 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES_GLOBALLY, false, mUserId); in testPackageInstallUserRestrictions()
[all …]
DManagedProfileTest.java502 changeUserRestrictionOrFail("allow_parent_profile_app_linking", true, mProfileUserId); in testAppLinks_verificationStatus()
555 changeUserRestrictionOrFail("allow_parent_profile_app_linking", true, mProfileUserId); in testAppLinks_enabledStatus()
747 changeUserRestrictionOrFail(restriction, true, mProfileUserId); in testNoDebuggingFeaturesRestriction()
979 changeUserRestrictionOrFail("no_outgoing_beam" /* UserManager.DISALLOW_OUTGOING_BEAM */, in testNfcRestriction()
1656 private void changeUserRestrictionOrFail(String key, boolean value, int userId) in changeUserRestrictionOrFail() method in ManagedProfileTest
1658 changeUserRestrictionOrFail(key, value, userId, MANAGED_PROFILE_PKG); in changeUserRestrictionOrFail()
DDeviceOwnerTest.java751 changeUserRestrictionOrFail("no_factory_reset", true, mPrimaryUserId, in testDisallowFactoryReset()
DBaseDevicePolicyTest.java903 protected void changeUserRestrictionOrFail(String key, boolean value, int userId, in changeUserRestrictionOrFail() method in BaseDevicePolicyTest