Searched refs:canProfileOwnerChange (Results 1 – 3 of 3) sorted by relevance
97 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()99 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()101 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()103 assertTrue(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()105 assertTrue(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()109 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()111 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()113 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()115 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()117 assertTrue(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
396 public static boolean canProfileOwnerChange(String restriction, int userId) { in canProfileOwnerChange() method in UserRestrictionsUtils
2585 : UserRestrictionsUtils.canProfileOwnerChange(key, user.getIdentifier()); in migrateUserRestrictionsForUser()10057 if (!UserRestrictionsUtils.canProfileOwnerChange(key, userHandle)) { in setUserRestriction()