Searched refs:setDeviceOwner (Results 1 – 7 of 7) sorted by relevance
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | CustomDeviceOwnerTest.java | 84 assertTrue(setDeviceOwner(DEVICE_OWNER_ADMIN_COMPONENT, mPrimaryUserId, in testOwnerChangedBroadcast() 106 assertFalse(setDeviceOwner(DEVICE_OWNER_ADMIN_COMPONENT, mPrimaryUserId, in testCannotSetDeviceOwnerWhenSecondaryUserPresent() 124 assertFalse(setDeviceOwner(DEVICE_OWNER_ADMIN_COMPONENT, mPrimaryUserId, in testCannotSetDeviceOwnerWhenAccountPresent() 142 assertTrue(setDeviceOwner(PACKAGE_INSTALLER_ADMIN_COMPONENT, mPrimaryUserId, in testSilentPackageInstall()
|
D | BaseDeviceAdminHostSideTest.java | 126 setDeviceOwner(getAdminReceiverComponent(), mUserId, /*expectFailure*/ false); in makeDoAndClearPassword() 160 setDeviceOwner(getAdminReceiverComponent(), mUserId, /*expectFailure*/ false); in testRunDeviceOwnerPasswordTest()
|
D | DeviceOwnerTest.java | 61 if (!setDeviceOwner( in setUp() 352 assertFalse(setDeviceOwner( in testCannotSetDeviceOwnerAgain() 359 assertFalse(setDeviceOwner( in testCannotSetDeviceOwnerAgain()
|
D | UserRestrictionsTest.java | 74 setDeviceOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in testUserRestrictions_deviceOwnerOnly() 126 setDeviceOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in testUserRestrictions_layering()
|
D | MixedDeviceOwnerTest.java | 39 assertTrue("Failed to set device owner", setDeviceOwner( in setUp()
|
D | BaseDevicePolicyTest.java | 428 protected boolean setDeviceOwner(String componentName, int userId, boolean expectFailure) in setDeviceOwner() method in BaseDevicePolicyTest
|
D | ManagedProfileTest.java | 519 assertFalse(setDeviceOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mParentUserId, in testCannotSetDeviceOwnerWhenProfilePresent()
|