Searched refs:setDeviceOwner (Results 1 – 9 of 9) sorted by relevance
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | CustomDeviceOwnerTest.java | 75 assertTrue(setDeviceOwner(DEVICE_OWNER_ADMIN_COMPONENT, mPrimaryUserId, in testOwnerChangedBroadcast() 97 assertFalse(setDeviceOwner(DEVICE_OWNER_ADMIN_COMPONENT, mPrimaryUserId, in testCannotSetDeviceOwnerWhenSecondaryUserPresent() 115 assertFalse(setDeviceOwner(DEVICE_OWNER_ADMIN_COMPONENT, mPrimaryUserId, in testCannotSetDeviceOwnerWhenAccountPresent()
|
D | BaseDeviceAdminHostSideTest.java | 99 setDeviceOwner(getAdminReceiverComponent(), mUserId, /*expectFailure*/ false); in makeDoAndClearPassword() 133 setDeviceOwner(getAdminReceiverComponent(), mUserId, /*expectFailure*/ false); in testRunDeviceOwnerPasswordTest()
|
D | MixedDeviceOwnerTest.java | 41 if (!setDeviceOwner( in setUp()
|
D | MixedDeviceOwnerTestApi25.java | 41 if (!setDeviceOwner( in setUp()
|
D | DeviceOwnerTest.java | 61 if (!setDeviceOwner(DEVICE_OWNER_COMPONENT, mPrimaryUserId, in setUp() 455 assertFalse(setDeviceOwner( in testCannotSetDeviceOwnerAgain() 462 assertFalse(setDeviceOwner( in testCannotSetDeviceOwnerAgain()
|
D | UserRestrictionsTest.java | 273 setDeviceOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in setDo()
|
D | BaseDevicePolicyTest.java | 552 protected boolean setDeviceOwner(String componentName, int userId, boolean expectFailure) in setDeviceOwner() method in BaseDevicePolicyTest 569 assertTrue(setDeviceOwner(componentName, userId, /* expectFailure =*/ false)); in setDeviceOwnerOrFail() 574 assertFalse(setDeviceOwner(componentName, userId, /* expectFailure =*/ true)); in setDeviceOwnerExpectingFailure()
|
D | DeviceOwnerPlusProfileOwnerTest.java | 60 if (!setDeviceOwner(COMP_DPC_ADMIN, mPrimaryUserId, /*expectFailure*/ false)) { in setUp()
|
D | ManagedProfileTest.java | 624 assertFalse(setDeviceOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mParentUserId, in testCannotSetDeviceOwnerWhenProfilePresent()
|