/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() 166 removeAdmin(OWNER_COMPONENT); in testAll() 178 removeAdmin(OWNER_COMPONENT); in testAll()
|
D | MixedDeviceOwnerTestApi25.java | 42 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mDeviceOwnerUserId); in setUp() 51 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 | MixedProfileOwnerTest.java | 52 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp() 61 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown()
|
D | ProfileOwnerTest.java | 50 removeAdmin(PROFILE_OWNER_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp() 80 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 | UserRestrictionsTest.java | 61 assertTrue("Failed to clear owner", removeAdmin(componentName, mDeviceOwnerUserId)); in tearDown() 63 boolean removed = removeAdmin(componentName, mPrimaryUserId); in tearDown()
|
D | BaseDeviceAdminHostSideTest.java | 66 assertTrue("Failed to remove admin", removeAdmin(getAdminReceiverComponent(), mUserId)); in tearDown()
|
D | DeviceOwnerPlusProfileOwnerTest.java | 86 removeAdmin(COMP_DPC_ADMIN, mDeviceOwnerUserId); in setUp() 98 … assertTrue("Failed to remove device owner.", removeAdmin(COMP_DPC_ADMIN, mDeviceOwnerUserId)); in tearDown()
|
D | BaseDeviceOwnerTest.java | 56 removeAdmin(DEVICE_OWNER_COMPONENT, mDeviceOwnerUserId); in setUp()
|
D | DeviceAndProfileOwnerHostSideTransferTest.java | 111 removeAdmin(TRANSFER_OWNER_OUTGOING_TEST_RECEIVER, userId); in setupManagedProfile()
|
D | DeviceOwnerTest.java | 501 removeAdmin(MANAGED_PROFILE_PKG + "/" + MANAGED_PROFILE_ADMIN, mPrimaryUserId); in testCannotSetDeviceOwnerAgain() 611 removeAdmin(deviceAdminReceiver, adminUserId); in testDisallowFactoryReset() 1023 if (!removeAdmin(DEVICE_OWNER_COMPONENT, mDeviceOwnerUserId)) { in testListForegroundAffiliatedUsers_notDeviceOwner()
|
D | BaseDevicePolicyTest.java | 352 if (!removeAdmin(componentName, mDeviceOwnerUserId)) { in removeDeviceOwnerAdmin() 356 if (isHeadlessSystemUserMode() && !removeAdmin(componentName, mPrimaryUserId)) { in removeDeviceOwnerAdmin() 947 protected boolean removeAdmin(String componentName, int userId) in removeAdmin() method in BaseDevicePolicyTest 972 removeAdmin(componentName, userId); in removeOwners() 987 removeAdmin(componentName, userId); in removeOwners()
|
D | ManagedProfileTest.java | 184 removeAdmin(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mParentUserId); in testCannotSetDeviceOwnerWhenProfilePresent()
|
D | OrgOwnedProfileOwnerTest.java | 129 removeAdmin(DEVICE_ADMIN_COMPONENT_FLATTENED, /* userId= */ 0); in testCanRelinquishControlOverDevice()
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | CVE_2023_21128.java | 63 device.removeAdmin(pocDeviceAdminPkg, currentUserId); in testPocCVE_2023_21128()
|
D | CVE_2021_0963.java | 60 device.removeAdmin(component, userId); in testPocCVE_2021_0963()
|
D | CVE_2023_20955.java | 75 device.removeAdmin(componentName, 0); in testPocCVE_2023_20955()
|
D | CVE_2023_20917.java | 73 device.removeAdmin(testPkg + "/.PocDeviceAdminReceiver", workUserId); in testPocCVE_2023_20917()
|
D | CVE_2024_31332.java | 66 return () -> device.removeAdmin(componentName, userId); in withPocDeviceAdminReceiverAsDeviceOwner()
|
D | CVE_2024_23704.java | 69 return () -> device.removeAdmin(componentName, userId); in withPocAdminReceiverAsDeviceOwner()
|
D | CVE_2021_0595.java | 77 device.removeAdmin(pocDeviceAdminPkg, workUserId); in testPocCVE_2021_0595()
|
D | TestLocationScanningServicesUsingSlices.java | 61 mDevice.removeAdmin(mTestPkg + "/.PocDeviceAdminReceiver", mDevice.getCurrentUser()); in tearDown()
|