Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserRestrictionsUtilsTest.java85 assertFalse(UserRestrictionsUtils.canDeviceOwnerChange(UserManager.DISALLOW_RECORD_AUDIO)); in testCanDeviceOwnerChange()
86 assertFalse(UserRestrictionsUtils.canDeviceOwnerChange(UserManager.DISALLOW_WALLPAPER)); in testCanDeviceOwnerChange()
87 assertTrue(UserRestrictionsUtils.canDeviceOwnerChange(UserManager.DISALLOW_ADD_USER)); in testCanDeviceOwnerChange()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java234 public static boolean canDeviceOwnerChange(String restriction) { in canDeviceOwnerChange() method in UserRestrictionsUtils
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1810 ? UserRestrictionsUtils.canDeviceOwnerChange(key) in migrateUserRestrictionsForUser()
7280 if (!UserRestrictionsUtils.canDeviceOwnerChange(key)) { in setUserRestriction()