Home
last modified time | relevance | path

Searched refs:removeAdmin (Results 1 – 18 of 18) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDeviceAdminServiceTest.java58 removeAdmin(OWNER_COMPONENT, getUserId()); in tearDown()
59 removeAdmin(OWNER_COMPONENT_B, getUserId()); in tearDown()
118 removeAdmin(OWNER_COMPONENT, getUserId()); in testAll()
172 removeAdmin(OWNER_COMPONENT, getUserId()); in testAll()
184 removeAdmin(OWNER_COMPONENT, getUserId()); in testAll()
DCustomDeviceOwnerTest.java83 removeAdmin(DEVICE_OWNER_ADMIN_COMPONENT, mPrimaryUserId)); in testOwnerChangedBroadcast()
100 removeAdmin(DEVICE_OWNER_ADMIN_COMPONENT, mPrimaryUserId); in testCannotSetDeviceOwnerWhenSecondaryUserPresent()
117 removeAdmin(DEVICE_OWNER_ADMIN_COMPONENT, mPrimaryUserId); in testCannotSetDeviceOwnerWhenAccountPresent()
DMixedProfileOwnerTestApi25.java36 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp()
47 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown()
DMixedProfileOwnerTest.java36 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp()
47 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown()
DProfileOwnerTestApi23.java40 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp()
51 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown()
DMixedDeviceOwnerTestApi25.java44 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp()
55 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown()
DProfileOwnerTest.java43 removeAdmin(PROFILE_OWNER_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp()
91 removeAdmin(PROFILE_OWNER_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown()
DMixedDeviceOwnerTest.java46 removeAdmin(DEVICE_ADMIN_COMPONENT_FLATTENED, mUserId); in setUp()
57 removeAdmin(DEVICE_ADMIN_COMPONENT_FLATTENED, mUserId)); in tearDown()
DDevicePlusProfileOwnerHostSideTransferTest.java38 removeAdmin(TRANSFER_OWNER_OUTGOING_TEST_RECEIVER, mUserId); in setUp()
DDeviceOwnerTest.java110 removeAdmin(DEVICE_OWNER_COMPONENT, mPrimaryUserId); in setUp()
127 removeAdmin(DEVICE_OWNER_COMPONENT, mPrimaryUserId)); in tearDown()
659 removeAdmin(MANAGED_PROFILE_PKG + "/" + MANAGED_PROFILE_ADMIN, mPrimaryUserId); in testCannotSetDeviceOwnerAgain()
763 removeAdmin(DeviceAdminHelper.getAdminReceiverComponent(adminVersion), mPrimaryUserId); in testDisallowFactoryReset()
DMixedDeviceOwnerHostSideTransferTest.java45 removeAdmin(TRANSFER_OWNER_OUTGOING_TEST_RECEIVER, mUserId); in setUp()
DBaseDeviceAdminHostSideTest.java65 assertTrue("Failed to remove admin", removeAdmin(getAdminReceiverComponent(), mUserId)); in tearDown()
DDeviceOwnerPlusProfileOwnerTest.java72 removeAdmin(COMP_DPC_ADMIN, mPrimaryUserId); in setUp()
87 removeAdmin(COMP_DPC_ADMIN, mPrimaryUserId)); in tearDown()
DAccountCheckHostSideTest.java70 assertTrue(removeAdmin(OWNER_TEST_ONLY, mPrimaryUserId)); in runCleanupTestOnlyOwner()
DUserRestrictionsTest.java58 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in tearDown()
DDeviceAndProfileOwnerHostSideTransferTest.java186 removeAdmin(TRANSFER_OWNER_OUTGOING_TEST_RECEIVER, userId); in setupManagedProfile()
DBaseDevicePolicyTest.java793 protected boolean removeAdmin(String componentName, int userId) in removeAdmin() method in BaseDevicePolicyTest
818 removeAdmin(componentName, userId); in removeOwners()
832 removeAdmin(componentName, userId); in removeOwners()
DManagedProfileTest.java964 removeAdmin(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mParentUserId); in testCannotSetDeviceOwnerWhenProfilePresent()