Home
last modified time | relevance | path

Searched refs:getAdminReceiverComponent (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDeviceAdminHostSideTest.java42 protected final String getAdminReceiverComponent() { in getAdminReceiverComponent() method in BaseDeviceAdminHostSideTest
43 return DeviceAdminHelper.getAdminReceiverComponent(getTargetApiVersion()); in getAdminReceiverComponent()
58 setDeviceAdmin(getAdminReceiverComponent(), mUserId); in setUp()
65 assertTrue("Failed to remove admin", removeAdmin(getAdminReceiverComponent(), mUserId)); in tearDown()
118 setDeviceOwner(getAdminReceiverComponent(), mUserId, /*expectFailure*/ false); in testRunDeviceOwnerPasswordTest()
DDeviceAdminHelper.java44 static String getAdminReceiverComponent(int targetApiVersion) { in getAdminReceiverComponent() method in DeviceAdminHelper
DDeviceOwnerTest.java866 setDeviceAdmin(DeviceAdminHelper.getAdminReceiverComponent(adminVersion), in testDisallowFactoryReset()
873 removeAdmin(DeviceAdminHelper.getAdminReceiverComponent(adminVersion), mPrimaryUserId); in testDisallowFactoryReset()