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.java24 private static final String DEVICE_OWNER_PKG = "com.android.cts.deviceowner"; field in DeviceOwnerTest
40 DEVICE_OWNER_PKG + ".BaseDeviceOwnerTest$BasicAdminReceiver";
42 DEVICE_OWNER_PKG + ".ClearDeviceOwnerTest";
50 setDeviceOwner(DEVICE_OWNER_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS)); in setUp()
58 runDeviceTests(DEVICE_OWNER_PKG, CLEAR_DEVICE_OWNER_TEST_CLASS)); in tearDown()
59 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in tearDown()
107 assertFalse(setDeviceOwner(DEVICE_OWNER_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS)); in testCannotSetDeviceOwnerAgain()
122 String testClass = DEVICE_OWNER_PKG + "." + testClassName; in executeDeviceOwnerTest()
123 assertTrue(testClass + " failed.", runDeviceTests(DEVICE_OWNER_PKG, testClass)); in executeDeviceOwnerTest()
DCustomDeviceOwnerTest.java28 private static final String DEVICE_OWNER_PKG = "com.android.cts.deviceowner"; field in CustomDeviceOwnerTest
31 = DEVICE_OWNER_PKG + ".BaseDeviceOwnerTest$BasicAdminReceiver";
33 = DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN;
35 = DEVICE_OWNER_PKG + ".ClearDeviceOwnerTest";
64 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in tearDown()
94 runDeviceTests(DEVICE_OWNER_PKG, DEVICE_OWNER_CLEAR)); in testOwnerChangedBroadcast()
110 runDeviceTests(DEVICE_OWNER_PKG, DEVICE_OWNER_CLEAR); in testCannotSetDeviceOwnerWhenSecondaryUserPresent()
DManagedProfileTest.java33 private static final String DEVICE_OWNER_PKG = "com.android.cts.deviceowner"; field in ManagedProfileTest
36 DEVICE_OWNER_PKG + ".BaseDeviceOwnerTest$BasicAdminReceiver";
37 private static final String DEVICE_OWNER_CLEAR = DEVICE_OWNER_PKG + ".ClearDeviceOwnerTest";
534 assertFalse(setProfileOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mUserId)); in testCannotSetProfileOwnerAgain()
544 assertFalse(setDeviceOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN)); in testCannotSetDeviceOwnerWhenProfilePresent()
547 runDeviceTests(DEVICE_OWNER_PKG, DEVICE_OWNER_CLEAR); in testCannotSetDeviceOwnerWhenProfilePresent()
548 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in testCannotSetDeviceOwnerWhenProfilePresent()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DDeviceAdminTestReceiver.java33 private static final String DEVICE_OWNER_PKG = field in DeviceAdminTestReceiver
36 DEVICE_OWNER_PKG + ".managedprovisioning.DeviceAdminTestReceiver";
38 DEVICE_OWNER_PKG, ADMIN_RECEIVER_TEST_CLASS);