Home
last modified time | relevance | path

Searched refs:setProfileOwner (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileTest.java529 assertFalse(setProfileOwner( in testCannotSetProfileOwnerAgain()
534 assertFalse(setProfileOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mUserId)); in testCannotSetProfileOwnerAgain()
DBaseDevicePolicyTest.java335 protected boolean setProfileOwner(String componentName, int userId) in setProfileOwner() method in BaseDevicePolicyTest
345 if (!setProfileOwner(componentName, userId)) { in setProfileOwnerOrFail()