Searched refs:setProfileOwner (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | UserRestrictionsTest.java | 93 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()
|
D | ProfileOwnerTest.java | 40 setProfileOwner(PROFILE_OWNER_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId, in setUp()
|
D | BaseDevicePolicyTest.java | 381 protected boolean setProfileOwner(String componentName, int userId, boolean expectFailure) in setProfileOwner() method in BaseDevicePolicyTest 398 if (!setProfileOwner(componentName, userId, /*expectFailure*/ false)) { in setProfileOwnerOrFail()
|
D | ManagedProfileTest.java | 502 assertFalse(setProfileOwner( in testCannotSetProfileOwnerAgain() 508 assertFalse(setProfileOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mProfileUserId, in testCannotSetProfileOwnerAgain()
|