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.java92 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
94 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
96 assertTrue(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
98 assertTrue(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
102 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
104 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
106 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
108 assertTrue(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java242 public static boolean canProfileOwnerChange(String restriction, int userId) { in canProfileOwnerChange() method in UserRestrictionsUtils
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1811 : UserRestrictionsUtils.canProfileOwnerChange(key, user.getIdentifier()); in migrateUserRestrictionsForUser()
7284 if (!UserRestrictionsUtils.canProfileOwnerChange(key, userHandle)) { in setUserRestriction()