Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java32 protected static final String DEVICE_ADMIN_PKG = "com.android.cts.deviceandprofileowner"; field in DeviceAndProfileOwnerTest
65 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown()
201 setDeviceAdmin(DEVICE_ADMIN_PKG + "/.PrimaryUserDeviceAdmin"); in testDelegatedCertInstaller()
207 assertTrue("Set lockscreen password failed", runDeviceTestsAsUser(DEVICE_ADMIN_PKG, in testDelegatedCertInstaller()
209 assertTrue("DelegatedCertInstaller failed", runDeviceTestsAsUser(DEVICE_ADMIN_PKG, in testDelegatedCertInstaller()
213 assertTrue("Clear lockscreen password failed", runDeviceTestsAsUser(DEVICE_ADMIN_PKG, in testDelegatedCertInstaller()
215 assertTrue("Clear device admin failed", runDeviceTestsAsUser(DEVICE_ADMIN_PKG, in testDelegatedCertInstaller()
264 assertTrue(runDeviceTestsAsUser(DEVICE_ADMIN_PKG, className, mUserId)); in executeDeviceTestClass()
268 assertTrue(runDeviceTestsAsUser(DEVICE_ADMIN_PKG, className, testName, mUserId)); in executeDeviceTestMethod()
277 + " " + DEVICE_ADMIN_PKG + "/.UserRestrictionActivity"; in changeUserRestrictionForUser()
DMixedDeviceOwnerTest.java32 DEVICE_ADMIN_PKG + ".ClearDeviceOwnerTest";
43 setDeviceOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS)); in setUp()
51 runDeviceTests(DEVICE_ADMIN_PKG, CLEAR_DEVICE_OWNER_TEST_CLASS)); in tearDown()
DMixedProfileOwnerTest.java43 setProfileOwnerOrFail(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp()
69 String command = "am start -W --user 0 " + DEVICE_ADMIN_PKG + "/" in testScreenCaptureDisabled_allowedPrimaryUser()
70 + DEVICE_ADMIN_PKG + ".ScreenCaptureDisabledActivity"; in testScreenCaptureDisabled_allowedPrimaryUser()