Home
last modified time | relevance | path

Searched refs:DEVICE_OWNER_PKG (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceOwnerTest.java26 private static final String DEVICE_OWNER_PKG = "com.android.cts.deviceowner"; field in DeviceOwnerTest
42 DEVICE_OWNER_PKG + ".BaseDeviceOwnerTest$BasicAdminReceiver";
62 DEVICE_OWNER_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mPrimaryUserId, in setUp()
64 removeAdmin(DEVICE_OWNER_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mPrimaryUserId); in setUp()
78 … removeAdmin(DEVICE_OWNER_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mPrimaryUserId)); in tearDown()
79 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in tearDown()
353 DEVICE_OWNER_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mPrimaryUserId, in testCannotSetDeviceOwnerAgain()
401 String testClass = DEVICE_OWNER_PKG + "." + testClassName; in executeDeviceOwnerTest()
403 runDeviceTestsAsUser(DEVICE_OWNER_PKG, testClass, mPrimaryUserId)); in executeDeviceOwnerTest()
407 assertTrue(runDeviceTestsAsUser(DEVICE_OWNER_PKG, className, testName, in executeDeviceTestMethod()
DCustomDeviceOwnerTest.java31 private static final String DEVICE_OWNER_PKG = "com.android.cts.deviceowner"; field in CustomDeviceOwnerTest
34 = DEVICE_OWNER_PKG + ".BaseDeviceOwnerTest$BasicAdminReceiver";
36 = DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN;
61 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in tearDown()
166 assertTrue(runDeviceTestsAsUser(DEVICE_OWNER_PKG, ".PreDeviceOwnerTest", in testIsProvisioningAllowed()
169 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in testIsProvisioningAllowed()
DManagedProfileTest.java35 private static final String DEVICE_OWNER_PKG = "com.android.cts.deviceowner"; field in ManagedProfileTest
38 DEVICE_OWNER_PKG + ".BaseDeviceOwnerTest$BasicAdminReceiver";
508 assertFalse(setProfileOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mProfileUserId, in testCannotSetProfileOwnerAgain()
519 assertFalse(setDeviceOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mParentUserId, in testCannotSetDeviceOwnerWhenProfilePresent()
523 removeAdmin(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mParentUserId); in testCannotSetDeviceOwnerWhenProfilePresent()
524 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in testCannotSetDeviceOwnerWhenProfilePresent()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DDeviceAdminTestReceiver.java38 private static final String DEVICE_OWNER_PKG = field in DeviceAdminTestReceiver
41 DEVICE_OWNER_PKG + ".managedprovisioning.DeviceAdminTestReceiver";
43 DEVICE_OWNER_PKG, ADMIN_RECEIVER_TEST_CLASS);