/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 178 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown() 219 .setAdminPackageName(DEVICE_ADMIN_PKG) in testInstallCaCertLogged() 223 .setAdminPackageName(DEVICE_ADMIN_PKG) in testInstallCaCertLogged() 235 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".ApplicationRestrictionsIsCallerDelegateHelper", in testApplicationRestrictionIsRestricted() 283 .setAdminPackageName(DEVICE_ADMIN_PKG) in testApplicationRestrictions() 550 .setAdminPackageName(DEVICE_ADMIN_PKG) in testAlwaysOnVpnPackageLogged() 641 .setAdminPackageName(DEVICE_ADMIN_PKG) in testPersistentIntentResolving() 642 .setStrings(DEVICE_ADMIN_PKG, in testPersistentIntentResolving() 660 .setAdminPackageName(DEVICE_ADMIN_PKG) in testScreenCaptureDisabled() [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() 100 DEVICE_ADMIN_PKG, in testScreenCaptureDisabled_assist_allowedPrimaryUser() 180 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, CLEAR_PROFILE_OWNER_NEGATIVE_TEST_CLASS, mUserId); in testCannotClearProfileOwner() 186 mUserId, DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS)); in grantProfileOwnerDeviceIdsAccess() 213 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".DeviceIdAttestationTest", in testDeviceIdAttestationForProfileOwner() 219 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".DeviceIdAttestationTest", in testDeviceIdAttestationForProfileOwner()
|
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 | 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 | 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() 263 setProfileOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in setPoAsUser() 275 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 | MixedDeviceOwnerTest.java | 50 DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId, in setUp() 52 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp() 53 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in setUp() 63 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown()
|
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()
|