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.java27 private static final String DEVICE_OWNER_PKG = "com.android.cts.deviceowner"; field in DeviceOwnerTest
43 DEVICE_OWNER_PKG + ".BaseDeviceOwnerTest$BasicAdminReceiver";
44 private static final String DEVICE_OWNER_COMPONENT = DEVICE_OWNER_PKG + "/"
64 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in setUp()
78 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in tearDown()
385 DEVICE_OWNER_PKG, in testLockTask_unaffiliatedUser()
391 DEVICE_OWNER_PKG, ".AffiliationTest", "testSetAffiliationId1", mPrimaryUserId); in testLockTask_unaffiliatedUser()
393 DEVICE_OWNER_PKG, ".AffiliationTest", "testSetAffiliationId1", userId); in testLockTask_unaffiliatedUser()
395 DEVICE_OWNER_PKG, in testLockTask_unaffiliatedUser()
415 DEVICE_OWNER_PKG, ".AffiliationTest", "testSetAffiliationId1", mPrimaryUserId); in testLockTask_affiliatedSecondaryUser()
[all …]
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;
52 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in tearDown()
132 runDeviceTestsAsUser(DEVICE_OWNER_PKG, ".PreDeviceOwnerTest", in testIsProvisioningAllowed()
135 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in testIsProvisioningAllowed()
DManagedProfileTest.java38 private static final String DEVICE_OWNER_PKG = "com.android.cts.deviceowner"; field in ManagedProfileTest
41 DEVICE_OWNER_PKG + ".BaseDeviceOwnerTest$BasicAdminReceiver";
613 assertFalse(setProfileOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mProfileUserId, in testCannotSetProfileOwnerAgain()
624 assertFalse(setDeviceOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mParentUserId, in testCannotSetDeviceOwnerWhenProfilePresent()
628 removeAdmin(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mParentUserId); in testCannotSetDeviceOwnerWhenProfilePresent()
629 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in testCannotSetDeviceOwnerWhenProfilePresent()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DDeviceAdminTestReceiver.java40 private static final String DEVICE_OWNER_PKG = field in DeviceAdminTestReceiver
43 DEVICE_OWNER_PKG + ".managedprovisioning.DeviceAdminTestReceiver";
45 DEVICE_OWNER_PKG, ADMIN_RECEIVER_TEST_CLASS);