Searched refs:setProfileOwner (Results 1 – 2 of 2) sorted by relevance
529 assertFalse(setProfileOwner( in testCannotSetProfileOwnerAgain()534 assertFalse(setProfileOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mUserId)); in testCannotSetProfileOwnerAgain()
335 protected boolean setProfileOwner(String componentName, int userId) in setProfileOwner() method in BaseDevicePolicyTest345 if (!setProfileOwner(componentName, userId)) { in setProfileOwnerOrFail()