Home
last modified time | relevance | path

Searched refs:canProfileOwnerChange (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserRestrictionsUtilsTest.java97 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()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java396 public static boolean canProfileOwnerChange(String restriction, int userId) { in canProfileOwnerChange() method in UserRestrictionsUtils
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2593 : UserRestrictionsUtils.canProfileOwnerChange(key, user.getIdentifier()); in migrateUserRestrictionsForUser()
10066 if (!UserRestrictionsUtils.canProfileOwnerChange(key, userHandle)) { in setUserRestriction()