Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DUserRestrictionsTest.java93 setProfileOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in testUserRestrictions_primaryProfileOwnerOnly()
109 setProfileOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in testUserRestrictions_secondaryProfileOwnerOnly()
135 setProfileOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in testUserRestrictions_layering()
177 setProfileOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in testUserRestrictions_layering_profileOwnerNoLeaking()
186 setProfileOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in testUserRestrictions_layering_profileOwnerNoLeaking()
DProfileOwnerTest.java40 setProfileOwner(PROFILE_OWNER_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId, in setUp()
DBaseDevicePolicyTest.java381 protected boolean setProfileOwner(String componentName, int userId, boolean expectFailure) in setProfileOwner() method in BaseDevicePolicyTest
398 if (!setProfileOwner(componentName, userId, /*expectFailure*/ false)) { in setProfileOwnerOrFail()
DManagedProfileTest.java502 assertFalse(setProfileOwner( in testCannotSetProfileOwnerAgain()
508 assertFalse(setProfileOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mProfileUserId, in testCannotSetProfileOwnerAgain()