Searched refs:DEVICE_OWNER_PKG (Results 1 – 6 of 6) sorted by relevance
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDeviceOwnerTest.java | 31 protected static final String DEVICE_OWNER_PKG = "com.android.cts.deviceowner"; field in BaseDeviceOwnerTest 35 DEVICE_OWNER_PKG + ".BasicAdminReceiver"; 36 protected static final String DEVICE_OWNER_COMPONENT = DEVICE_OWNER_PKG + "/" 52 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in setUp() 57 affiliateUsers(DEVICE_OWNER_PKG, mDeviceOwnerUserId, mPrimaryUserId); in setUp() 71 String status = getDevice().uninstallPackage(DEVICE_OWNER_PKG); in tearDown() 73 CLog.e("Could not uninstall package %s: %s", DEVICE_OWNER_PKG, status); in tearDown() 90 String testClass = DEVICE_OWNER_PKG + "." + testClassName; in executeDeviceOwnerTestOnSpecificUser() 91 runDeviceTestsAsUser(DEVICE_OWNER_PKG, testClass, userId); in executeDeviceOwnerTestOnSpecificUser() 116 runDeviceTestsAsUser(DEVICE_OWNER_PKG, className, testName, userId); in executeDeviceOwnerPackageTestMethod()
|
D | DeviceOwnerTest.java | 405 .setAdminPackageName(DEVICE_OWNER_PKG) in testSetSystemUpdatePolicyLogged() 411 .setAdminPackageName(DEVICE_OWNER_PKG) in testSetSystemUpdatePolicyLogged() 417 .setAdminPackageName(DEVICE_OWNER_PKG) in testSetSystemUpdatePolicyLogged() 423 .setAdminPackageName(DEVICE_OWNER_PKG) in testSetSystemUpdatePolicyLogged() 458 DEVICE_OWNER_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mPrimaryUserId, in testCannotSetDeviceOwnerAgain() 511 allowTestApiAccess(DEVICE_OWNER_PKG); in testAdminActionBookkeeping() 539 .setAdminPackageName(DEVICE_OWNER_PKG) in testAdminActionBookkeeping() 542 .setAdminPackageName(DEVICE_OWNER_PKG) in testAdminActionBookkeeping() 547 .setAdminPackageName(DEVICE_OWNER_PKG) in testAdminActionBookkeeping() 584 changeUserRestrictionOrFail("no_factory_reset", true, mPrimaryUserId, DEVICE_OWNER_PKG); in testDisallowFactoryReset() [all …]
|
D | CustomDeviceOwnerTest.java | 32 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; 44 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in tearDown() 102 runDeviceTestsAsUser(DEVICE_OWNER_PKG, ".PreDeviceOwnerTest", in testIsProvisioningAllowed() 105 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in testIsProvisioningAllowed()
|
D | ManagedProfileTest.java | 48 private static final String DEVICE_OWNER_PKG = "com.android.cts.deviceowner"; field in ManagedProfileTest 51 DEVICE_OWNER_PKG + ".BaseDeviceOwnerTest$BasicAdminReceiver"; 230 assertFalse(setProfileOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mProfileUserId, in testCannotSetProfileOwnerAgain() 239 assertFalse(setDeviceOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mParentUserId, in testCannotSetDeviceOwnerWhenProfilePresent() 243 removeAdmin(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mParentUserId); in testCannotSetDeviceOwnerWhenProfilePresent() 244 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in testCannotSetDeviceOwnerWhenProfilePresent()
|
/cts/hostsidetests/settings/src/com/google/android/cts/settings/ |
D | PrivacyDeviceOwnerTest.java | 46 private static final String DEVICE_OWNER_PKG = "com.google.android.cts.deviceowner"; field in PrivacyDeviceOwnerTest 109 DEVICE_OWNER_PKG, in tearDown() 110 DEVICE_OWNER_PKG + CLEAR_DEVICE_OWNER_TEST_CLASS, in tearDown() 112 getDevice().uninstallPackage(DEVICE_OWNER_PKG); in tearDown() 153 String testClass = DEVICE_OWNER_PKG + ".DeviceOwnerTest"; in executeDeviceOwnerTest() 156 runDeviceTests(DEVICE_OWNER_PKG, testClass, testMethodName)); in executeDeviceOwnerTest() 230 String componentName = DEVICE_OWNER_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS; in setDeviceOwner() 269 + "broadcasts to user 0", DEVICE_OWNER_PKG, userId); in grantDpmWrapperPermissions() 270 getDevice().executeShellCommand("pm grant --user " + userId + " " + DEVICE_OWNER_PKG in grantDpmWrapperPermissions()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | DeviceAdminTestReceiver.java | 57 private static final String DEVICE_OWNER_PKG = field in DeviceAdminTestReceiver 60 DEVICE_OWNER_PKG + ".managedprovisioning.DeviceAdminTestReceiver"; 62 DEVICE_OWNER_PKG, ADMIN_RECEIVER_TEST_CLASS);
|