Searched refs:setDeviceOwner (Results 1 – 12 of 12) sorted by relevance
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | CustomDeviceOwnerTest.java | 72 assertTrue(setDeviceOwner(DEVICE_OWNER_ADMIN_COMPONENT, mPrimaryUserId, in testOwnerChangedBroadcast() 95 assertFalse(setDeviceOwner(DEVICE_OWNER_ADMIN_COMPONENT, mPrimaryUserId, in testCannotSetDeviceOwnerWhenSecondaryUserPresent() 113 assertFalse(setDeviceOwner(DEVICE_OWNER_ADMIN_COMPONENT, mPrimaryUserId, in testCannotSetDeviceOwnerWhenAccountPresent()
|
D | DevicePlusProfileOwnerHostSideTransferTest.java | 25 if (setDeviceOwner(TRANSFER_OWNER_OUTGOING_TEST_RECEIVER, mPrimaryUserId, in setUp()
|
D | MixedDeviceOwnerTestApi25.java | 41 if (!setDeviceOwner( in setUp()
|
D | MixedDeviceOwnerHostSideTransferTest.java | 39 if (setDeviceOwner(TRANSFER_OWNER_OUTGOING_TEST_RECEIVER, mPrimaryUserId, in setUp()
|
D | AdbProvisioningTests.java | 54 setDeviceOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mPrimaryUserId, in testAdbDeviceOwnerLogged()
|
D | BaseDeviceAdminHostSideTest.java | 118 setDeviceOwner(getAdminReceiverComponent(), mUserId, /*expectFailure*/ false); in testRunDeviceOwnerPasswordTest()
|
D | DeviceOwnerTest.java | 108 if (!setDeviceOwner(DEVICE_OWNER_COMPONENT, mPrimaryUserId, in setUp() 647 assertFalse(setDeviceOwner( in testCannotSetDeviceOwnerAgain() 654 assertFalse(setDeviceOwner( in testCannotSetDeviceOwnerAgain()
|
D | MixedDeviceOwnerTest.java | 44 if (!setDeviceOwner(DEVICE_ADMIN_COMPONENT_FLATTENED, mUserId, /*expectFailure*/ in setUp()
|
D | UserRestrictionsTest.java | 276 setDeviceOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in setDo()
|
D | BaseDevicePolicyTest.java | 752 protected boolean setDeviceOwner(String componentName, int userId, boolean expectFailure) in setDeviceOwner() method in BaseDevicePolicyTest 769 assertTrue(setDeviceOwner(componentName, userId, /* expectFailure =*/ false)); in setDeviceOwnerOrFail() 774 assertFalse(setDeviceOwner(componentName, userId, /* expectFailure =*/ true)); in setDeviceOwnerExpectingFailure()
|
D | DeviceOwnerPlusProfileOwnerTest.java | 71 if (!setDeviceOwner(COMP_DPC_ADMIN, mPrimaryUserId, /*expectFailure*/ false)) { in setUp()
|
D | ManagedProfileTest.java | 960 assertFalse(setDeviceOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mParentUserId, in testCannotSetDeviceOwnerWhenProfilePresent()
|