/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDeviceAdminServiceTest.java | 52 removeAdmin(OWNER_COMPONENT, getUserId()); in tearDown() 53 removeAdmin(OWNER_COMPONENT_B, getUserId()); in tearDown() 94 protected abstract void removeAdmin(String ownerComponent) throws Exception; in removeAdmin() method in BaseDeviceAdminServiceTest 111 removeAdmin(OWNER_COMPONENT); in testAll() 165 removeAdmin(OWNER_COMPONENT); in testAll() 177 removeAdmin(OWNER_COMPONENT); in testAll()
|
D | MixedDeviceOwnerTestApi25.java | 38 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mDeviceOwnerUserId); in setUp() 47 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown()
|
D | MixedProfileOwnerTestApi25.java | 41 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp() 50 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown()
|
D | ProfileOwnerTestApi23.java | 44 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp() 53 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown()
|
D | DeviceAdminServiceProfileOwnerTest.java | 49 protected void removeAdmin(String component) throws Exception { in removeAdmin() method in DeviceAdminServiceProfileOwnerTest 51 removeAdmin(component, mUserId); in removeAdmin()
|
D | CustomDeviceOwnerTest.java | 74 removeAdmin(DEVICE_OWNER_ADMIN_COMPONENT, mDeviceOwnerUserId)); in testOwnerChangedBroadcast() 90 removeAdmin(DEVICE_OWNER_ADMIN_COMPONENT, mDeviceOwnerUserId); in testCannotSetDeviceOwnerWhenSecondaryUserPresent()
|
D | MixedProfileOwnerTest.java | 53 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp() 62 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown()
|
D | ProfileOwnerTest.java | 53 removeAdmin(PROFILE_OWNER_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp() 105 removeAdmin(PROFILE_OWNER_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown()
|
D | DeviceAdminServiceDeviceOwnerTest.java | 34 protected void removeAdmin(String component) throws Exception { in removeAdmin() method in DeviceAdminServiceDeviceOwnerTest
|
D | BaseDeviceAdminHostSideTest.java | 66 assertTrue("Failed to remove admin", removeAdmin(getAdminReceiverComponent(), mUserId)); in tearDown()
|
D | UserRestrictionsTest.java | 62 assertTrue("Failed to clear owner", removeAdmin(componentName, mDeviceOwnerUserId)); in tearDown() 65 boolean removed = removeAdmin(componentName, mPrimaryUserId); in tearDown()
|
D | BaseDeviceOwnerTest.java | 51 removeAdmin(DEVICE_OWNER_COMPONENT, mDeviceOwnerUserId); in setUp()
|
D | DeviceOwnerPlusProfileOwnerTest.java | 87 removeAdmin(COMP_DPC_ADMIN, mPrimaryUserId); in setUp() 99 assertTrue("Failed to remove device owner.", removeAdmin(COMP_DPC_ADMIN, mPrimaryUserId)); in tearDown()
|
D | DeviceAndProfileOwnerHostSideTransferTest.java | 159 removeAdmin(TRANSFER_OWNER_OUTGOING_TEST_RECEIVER, userId); in setupManagedProfile()
|
D | DeviceOwnerTest.java | 469 removeAdmin(MANAGED_PROFILE_PKG + "/" + MANAGED_PROFILE_ADMIN, mPrimaryUserId); in testCannotSetDeviceOwnerAgain() 598 removeAdmin(deviceAdminReceiver, adminUserId); in testDisallowFactoryReset() 942 if (!removeAdmin(DEVICE_OWNER_COMPONENT, mDeviceOwnerUserId)) { in testListForegroundAffiliatedUsers_notDeviceOwner()
|
D | BaseDevicePolicyTest.java | 370 if (!removeAdmin(componentName, mDeviceOwnerUserId)) { in removeDeviceOwnerAdmin() 374 if (isHeadlessSystemUserMode() && !removeAdmin(componentName, mPrimaryUserId)) { in removeDeviceOwnerAdmin() 941 protected boolean removeAdmin(String componentName, int userId) in removeAdmin() method in BaseDevicePolicyTest 966 removeAdmin(componentName, userId); in removeOwners() 980 removeAdmin(componentName, userId); in removeOwners()
|
D | AccountCheckHostSideTest.java | 118 assertTrue(removeAdmin(OWNER_TEST_ONLY, userId)); in runCleanupTestOnlyOwner()
|
D | ManagedProfileTest.java | 243 removeAdmin(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mParentUserId); in testCannotSetDeviceOwnerWhenProfilePresent()
|
D | OrgOwnedProfileOwnerTest.java | 128 removeAdmin(DEVICE_ADMIN_COMPONENT_FLATTENED, mPrimaryUserId); in testCanRelinquishControlOverDevice()
|