Searched refs:canDeviceOwnerChange (Results 1 – 3 of 3) sorted by relevance
89 assertFalse(UserRestrictionsUtils.canDeviceOwnerChange(UserManager.DISALLOW_RECORD_AUDIO)); in testCanDeviceOwnerChange()90 assertFalse(UserRestrictionsUtils.canDeviceOwnerChange(UserManager.DISALLOW_WALLPAPER)); in testCanDeviceOwnerChange()91 assertTrue(UserRestrictionsUtils.canDeviceOwnerChange(UserManager.DISALLOW_ADD_USER)); in testCanDeviceOwnerChange()92 assertTrue(UserRestrictionsUtils.canDeviceOwnerChange(UserManager.DISALLOW_USER_SWITCH)); in testCanDeviceOwnerChange()
388 public static boolean canDeviceOwnerChange(String restriction) { in canDeviceOwnerChange() method in UserRestrictionsUtils
2592 ? UserRestrictionsUtils.canDeviceOwnerChange(key) in migrateUserRestrictionsForUser()10062 if (!UserRestrictionsUtils.canDeviceOwnerChange(key)) { in setUserRestriction()