/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceAndProfileOwnerTest.java | 51 public static final String DEVICE_ADMIN_PKG = "com.android.cts.deviceandprofileowner"; field in DeviceAndProfileOwnerTest 56 DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS; 180 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown() 221 .setAdminPackageName(DEVICE_ADMIN_PKG) in testInstallCaCertLogged() 225 .setAdminPackageName(DEVICE_ADMIN_PKG) in testInstallCaCertLogged() 237 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".ApplicationRestrictionsIsCallerDelegateHelper", in testApplicationRestrictionIsRestricted() 285 .setAdminPackageName(DEVICE_ADMIN_PKG) in testApplicationRestrictions() 555 .setAdminPackageName(DEVICE_ADMIN_PKG) in testAlwaysOnVpnPackageLogged() 646 .setAdminPackageName(DEVICE_ADMIN_PKG) in testPersistentIntentResolving() 647 .setStrings(DEVICE_ADMIN_PKG, in testPersistentIntentResolving() [all …]
|
D | ProfileOwnerTestApi23.java | 23 protected static final String DEVICE_ADMIN_PKG = "com.android.cts.deviceandprofileowner"; field in ProfileOwnerTestApi23 38 DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId, in setUp() 40 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp() 41 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in setUp() 51 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown() 52 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown() 61 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, in testDelegatedCertInstaller()
|
D | AdbProvisioningTests.java | 20 import static com.android.cts.devicepolicy.DeviceAndProfileOwnerTest.DEVICE_ADMIN_PKG; 46 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown() 54 setDeviceOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mPrimaryUserId, in testAdbDeviceOwnerLogged() 57 .setAdminPackageName(DEVICE_ADMIN_PKG) in testAdbDeviceOwnerLogged() 68 setProfileOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mPrimaryUserId, in testAdbProfileOwnerLogged() 71 .setAdminPackageName(DEVICE_ADMIN_PKG) in testAdbProfileOwnerLogged()
|
D | MixedManagedProfileOwnerTest.java | 28 DEVICE_ADMIN_PKG + ".ClearProfileOwnerNegativeTest"; 52 setProfileOwnerOrFail(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in createManagedProfile() 102 DEVICE_ADMIN_PKG, in testScreenCaptureDisabled_assist_allowedPrimaryUser() 182 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, CLEAR_PROFILE_OWNER_NEGATIVE_TEST_CLASS, mUserId); in testCannotClearProfileOwner() 188 mUserId, DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS)); in grantProfileOwnerDeviceIdsAccess() 215 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".DeviceIdAttestationTest", in testDeviceIdAttestationForProfileOwner() 221 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".DeviceIdAttestationTest", in testDeviceIdAttestationForProfileOwner()
|
D | MixedDeviceOwnerTest.java | 47 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in setUp() 69 DEVICE_ADMIN_PKG, ".AffiliationTest", in testLockTask_unaffiliatedUser() 74 DEVICE_ADMIN_PKG, in testLockTask_unaffiliatedUser() 87 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".LockTaskTest", userId); in testLockTask_affiliatedSecondaryUser() 148 DEVICE_ADMIN_PKG, ".AffiliationTest", "testSetAffiliationId1", mPrimaryUserId); in setUserAsAffiliatedUserToPrimary() 150 DEVICE_ADMIN_PKG, ".AffiliationTest", "testSetAffiliationId1", userId); in setUserAsAffiliatedUserToPrimary()
|
D | MixedProfileOwnerTestApi25.java | 34 DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId, in setUp() 36 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp() 37 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in setUp() 47 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown()
|
D | MixedProfileOwnerTest.java | 34 DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId, in setUp() 36 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp() 37 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in setUp() 47 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown()
|
D | MixedDeviceOwnerTestApi25.java | 42 DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId, in setUp() 44 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp() 45 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in setUp() 55 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown()
|
D | UserRestrictionsTest.java | 24 private static final String DEVICE_ADMIN_PKG = "com.android.cts.deviceandprofileowner"; field in UserRestrictionsTest 58 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in tearDown() 66 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown() 73 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, "." + className, method, userId); in runTests() 264 setProfileOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in setPoAsUser() 276 setDeviceOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in setDo()
|
D | DeviceAndProfileOwnerTestApi25.java | 37 protected static final String DEVICE_ADMIN_PKG = "com.android.cts.deviceandprofileowner"; field in DeviceAndProfileOwnerTestApi25 55 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown() 99 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, className, mUserId); in executeDeviceTestClass() 103 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, className, testName, mUserId); in executeDeviceTestMethod()
|
D | MixedManagedProfileOwnerTestApi25.java | 47 setProfileOwnerOrFail(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in createManagedProfile()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | ClearApplicationDataTest.java | 29 private static final String DEVICE_ADMIN_PKG = "com.android.cts.deviceandprofileowner"; field in ClearApplicationDataTest 46 clearApplicationDataTest(DEVICE_ADMIN_PKG, /* shouldSucceed */ false); in testClearApplicationData_activeAdmin()
|