Searched refs:changeUserRestrictionForUser (Results 1 – 2 of 2) sorted by relevance
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceAndProfileOwnerTest.java | 297 changeUserRestrictionForUser(DISALLOW_MODIFY_ACCOUNTS, COMMAND_ADD_USER_RESTRICTION, in testAccountManagement_userRestrictionAddAccount() 302 changeUserRestrictionForUser(DISALLOW_MODIFY_ACCOUNTS, COMMAND_CLEAR_USER_RESTRICTION, in testAccountManagement_userRestrictionAddAccount() 315 changeUserRestrictionForUser(DISALLOW_MODIFY_ACCOUNTS, COMMAND_ADD_USER_RESTRICTION, in testAccountManagement_userRestrictionRemoveAccount() 320 changeUserRestrictionForUser(DISALLOW_MODIFY_ACCOUNTS, COMMAND_CLEAR_USER_RESTRICTION, in testAccountManagement_userRestrictionRemoveAccount() 394 changeUserRestrictionForUser(DISALLOW_SET_WALLPAPER, COMMAND_ADD_USER_RESTRICTION, in testSetWallpaper_disallowed() 399 changeUserRestrictionForUser(DISALLOW_SET_WALLPAPER, COMMAND_CLEAR_USER_RESTRICTION, in testSetWallpaper_disallowed() 444 changeUserRestrictionForUser(DISALLOW_INSTALL_UNKNOWN_SOURCES, in testPackageInstallUserRestrictions() 450 changeUserRestrictionForUser(DISALLOW_INSTALL_UNKNOWN_SOURCES, in testPackageInstallUserRestrictions() 557 private void changeUserRestrictionForUser(String key, String command, int userId) in changeUserRestrictionForUser() method in DeviceAndProfileOwnerTest
|
D | ManagedProfileTest.java | 212 changeUserRestrictionForUser("allow_parent_profile_app_linking", ADD_RESTRICTION_COMMAND, in testAppLinks() 330 changeUserRestrictionForUser(restriction, ADD_RESTRICTION_COMMAND, mProfileUserId); in testNoDebuggingFeaturesRestriction() 337 changeUserRestrictionForUser(restriction, ADD_RESTRICTION_COMMAND, mProfileUserId); in testNoDebuggingFeaturesRestriction() 542 changeUserRestrictionForUser(restriction, command, mProfileUserId); in testNfcRestriction() 733 private String changeUserRestrictionForUser(String key, String command, int userId) in changeUserRestrictionForUser() method in ManagedProfileTest
|