Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDeviceOwnerTest.java29 protected static final String DEVICE_OWNER_PKG = "com.android.cts.deviceowner"; field in BaseDeviceOwnerTest
33 DEVICE_OWNER_PKG + ".BasicAdminReceiver";
34 protected static final String DEVICE_OWNER_COMPONENT = DEVICE_OWNER_PKG + "/"
50 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in setUp()
55 affiliateUsers(DEVICE_OWNER_PKG, mDeviceOwnerUserId, mPrimaryUserId); in setUp()
69 String status = getDevice().uninstallPackage(DEVICE_OWNER_PKG); in tearDown()
71 CLog.e("Could not uninstall package %s: %s", DEVICE_OWNER_PKG, status); in tearDown()
88 String testClass = DEVICE_OWNER_PKG + "." + testClassName; in executeDeviceOwnerTestOnSpecificUser()
89 runDeviceTestsAsUser(DEVICE_OWNER_PKG, testClass, userId); in executeDeviceOwnerTestOnSpecificUser()
104 runDeviceTestsAsUser(DEVICE_OWNER_PKG, className, testName, userId); in executeDeviceOwnerPackageTestMethod()
DDeviceOwnerTest.java430 .setAdminPackageName(DEVICE_OWNER_PKG) in testSetSystemUpdatePolicyLogged()
436 .setAdminPackageName(DEVICE_OWNER_PKG) in testSetSystemUpdatePolicyLogged()
442 .setAdminPackageName(DEVICE_OWNER_PKG) in testSetSystemUpdatePolicyLogged()
448 .setAdminPackageName(DEVICE_OWNER_PKG) in testSetSystemUpdatePolicyLogged()
483 DEVICE_OWNER_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mPrimaryUserId, in testCannotSetDeviceOwnerAgain()
536 allowTestApiAccess(DEVICE_OWNER_PKG); in testAdminActionBookkeeping()
564 .setAdminPackageName(DEVICE_OWNER_PKG) in testAdminActionBookkeeping()
567 .setAdminPackageName(DEVICE_OWNER_PKG) in testAdminActionBookkeeping()
572 .setAdminPackageName(DEVICE_OWNER_PKG) in testAdminActionBookkeeping()
609 changeUserRestrictionOrFail("no_factory_reset", true, mPrimaryUserId, DEVICE_OWNER_PKG); in testDisallowFactoryReset()
[all …]
DCustomDeviceOwnerTest.java32 private static final String DEVICE_OWNER_PKG = "com.android.cts.deviceowner"; field in CustomDeviceOwnerTest
35 = DEVICE_OWNER_PKG + ".BasicAdminReceiver";
37 = DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN;
49 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in tearDown()
126 runDeviceTestsAsUser(DEVICE_OWNER_PKG, ".PreDeviceOwnerTest", in testIsProvisioningAllowed()
129 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in testIsProvisioningAllowed()
DManagedProfileTest.java48 private static final String DEVICE_OWNER_PKG = "com.android.cts.deviceowner"; field in ManagedProfileTest
51 DEVICE_OWNER_PKG + ".BaseDeviceOwnerTest$BasicAdminReceiver";
248 assertFalse(setProfileOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mProfileUserId, in testCannotSetProfileOwnerAgain()
257 assertFalse(setDeviceOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mParentUserId, in testCannotSetDeviceOwnerWhenProfilePresent()
261 removeAdmin(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mParentUserId); in testCannotSetDeviceOwnerWhenProfilePresent()
262 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in testCannotSetDeviceOwnerWhenProfilePresent()
/cts/hostsidetests/settings/src/com/google/android/cts/settings/
DPrivacyDeviceOwnerTest.java46 private static final String DEVICE_OWNER_PKG = "com.google.android.cts.deviceowner"; field in PrivacyDeviceOwnerTest
108 DEVICE_OWNER_PKG, in tearDown()
109 DEVICE_OWNER_PKG + CLEAR_DEVICE_OWNER_TEST_CLASS, in tearDown()
111 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in tearDown()
152 String testClass = DEVICE_OWNER_PKG + ".DeviceOwnerTest"; in executeDeviceOwnerTest()
155 runDeviceTests(DEVICE_OWNER_PKG, testClass, testMethodName)); in executeDeviceOwnerTest()
229 String componentName = DEVICE_OWNER_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS; in setDeviceOwner()
268 + "broadcasts to user 0", DEVICE_OWNER_PKG, userId); in grantDpmWrapperPermissions()
269 getDevice().executeShellCommand("pm grant --user " + userId + " " + DEVICE_OWNER_PKG in grantDpmWrapperPermissions()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DDeviceAdminTestReceiver.java56 private static final String DEVICE_OWNER_PKG = field in DeviceAdminTestReceiver
59 DEVICE_OWNER_PKG + ".managedprovisioning.DeviceAdminTestReceiver";
61 DEVICE_OWNER_PKG, ADMIN_RECEIVER_TEST_CLASS);