/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | OrgOwnedProfileOwnerTest.java | 44 private static final String DEVICE_ADMIN_PKG = DeviceAndProfileOwnerTest.DEVICE_ADMIN_PKG; field in OrgOwnedProfileOwnerTest 91 setProfileOwnerOrFail(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in createManagedProfile() 105 mUserId, DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS)); in restrictManagedProfileRemoval() 115 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".LockScreenInfoTest", "testSetAndGetLockInfo", in testCanRelinquishControlOverDevice() 125 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".LockScreenInfoTest", "testLockInfoIsNull", in testCanRelinquishControlOverDevice() 129 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in testCanRelinquishControlOverDevice() 135 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".LockScreenInfoTest", mUserId); in testLockScreenInfo() 141 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".DeviceIdentifiersTest", in testProfileOwnerCanGetDeviceIdentifiers() 147 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".OrgOwnedProfileOwnerParentTest", mUserId); in testDevicePolicyManagerParentSupport() 153 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".DevicePolicyLoggingParentTest", in testUserRestrictionSetOnParentLogged() [all …]
|
D | ProfileOwnerTestApi23.java | 28 protected static final String DEVICE_ADMIN_PKG = "com.android.cts.deviceandprofileowner"; field in ProfileOwnerTestApi23 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() 53 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown() 54 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown() 61 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, in testDelegatedCertInstaller()
|
D | DeviceAndProfileOwnerTest.java | 63 public static final String DEVICE_ADMIN_PKG = "com.android.cts.deviceandprofileowner"; field in DeviceAndProfileOwnerTest 68 DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS; 199 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown() 231 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".ApplicationRestrictionsIsCallerDelegateHelper", in testApplicationRestrictionIsRestricted() 482 .setAdminPackageName(DEVICE_ADMIN_PKG) in testAlwaysOnVpnPackageLogged() 568 .setAdminPackageName(DEVICE_ADMIN_PKG) in testPersistentIntentResolving() 569 .setStrings(DEVICE_ADMIN_PKG, in testPersistentIntentResolving() 596 .setAdminPackageName(DEVICE_ADMIN_PKG) in testApplicationHidden() 601 .setAdminPackageName(DEVICE_ADMIN_PKG) in testApplicationHidden() 672 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".DelegatedCertInstallerTest", mUserId); in testDelegatedCertInstaller() [all …]
|
D | AdbProvisioningTests.java | 20 import static com.android.cts.devicepolicy.DeviceAndProfileOwnerTest.DEVICE_ADMIN_PKG; 40 removeDeviceOwnerAdmin(DEVICE_ADMIN_PKG); in tearDown() 46 setDeviceOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mDeviceOwnerUserId, in testAdbDeviceOwnerLogged() 49 .setAdminPackageName(DEVICE_ADMIN_PKG) in testAdbDeviceOwnerLogged() 58 setProfileOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mPrimaryUserId, in testAdbProfileOwnerLogged() 61 .setAdminPackageName(DEVICE_ADMIN_PKG) in testAdbProfileOwnerLogged()
|
D | MixedDeviceOwnerTestApi25.java | 36 DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mDeviceOwnerUserId, in setUp() 38 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mDeviceOwnerUserId); in setUp() 39 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in setUp() 47 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown()
|
D | DeviceAndProfileOwnerTestApi30.java | 25 protected static final String DEVICE_ADMIN_PKG = "com.android.cts.deviceandprofileowner"; field in DeviceAndProfileOwnerTestApi30 35 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown() 46 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, className, mUserId); in executeDeviceTestClass() 50 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, className, testName, mUserId); in executeDeviceTestMethod()
|
D | MixedProfileOwnerTestApi25.java | 39 DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId, in setUp() 41 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp() 42 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in setUp() 50 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown()
|
D | MixedManagedProfileOwnerTest.java | 46 DEVICE_ADMIN_PKG + ".ClearProfileOwnerNegativeTest"; 67 setProfileOwnerOrFail(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in createManagedProfile() 98 DEVICE_ADMIN_PKG, in testScreenCaptureDisabled_assist_allowedPrimaryUser() 217 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, CLEAR_PROFILE_OWNER_NEGATIVE_TEST_CLASS, mUserId); in testCannotClearProfileOwner() 223 mUserId, DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS)); in markProfileOwnerOnOrganizationOwnedDevice() 241 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".DeviceIdAttestationTest", in testDeviceIdAttestationForProfileOwner() 250 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".KeyguardDisabledFeaturesTest", in testSetKeyguardDisabledFeatures() 342 DEVICE_ADMIN_PKG, ".WifiTest", "testCannotGetWifiMacAddress", mUserId); in testWifiMacAddress() 355 testNetworkLoggingOnWorkProfile(DEVICE_ADMIN_PKG, ".NetworkLoggingTest"); in testNetworkLogging() 366 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".NetworkLoggingTest", in testNetworkLoggingDelegate() [all …]
|
D | DeviceAndProfileOwnerTestApi25.java | 27 protected static final String DEVICE_ADMIN_PKG = "com.android.cts.deviceandprofileowner"; field in DeviceAndProfileOwnerTestApi25 41 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown() 72 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, className, mUserId); in executeDeviceTestClass() 76 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, className, testName, mUserId); in executeDeviceTestMethod()
|
D | MixedDeviceOwnerTest.java | 74 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in setUp() 78 affiliateUsers(DEVICE_ADMIN_PKG, mDeviceOwnerUserId, mPrimaryUserId); in setUp() 97 DEVICE_ADMIN_PKG, in testLockTask_unaffiliatedUser() 104 DEVICE_ADMIN_PKG, in testLockTask_unaffiliatedUser() 134 .setAdminPackageName(DEVICE_ADMIN_PKG) in testWifi() 164 .setAdminPackageName(DEVICE_ADMIN_PKG) in testSetTime() 175 .setAdminPackageName(DEVICE_ADMIN_PKG) in testSetTimeZone() 220 .setAdminPackageName(DEVICE_ADMIN_PKG) in testLockScreenInfo() 240 .setAdminPackageName(DEVICE_ADMIN_PKG) in testFactoryResetProtectionPolicy() 275 .setAdminPackageName(DEVICE_ADMIN_PKG) in testInstallUpdateLogged() [all …]
|
D | MixedProfileOwnerTest.java | 51 DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId, in setUp() 53 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in setUp() 54 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in setUp() 62 removeAdmin(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId)); in tearDown()
|
D | UserRestrictionsTest.java | 32 private static final String DEVICE_ADMIN_PKG = "com.android.cts.deviceandprofileowner"; field in UserRestrictionsTest 61 String componentName = DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS; in tearDown() 75 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); in tearDown() 82 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, "." + className, method, userId); in runTests() 274 setProfileOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in setPoAsUser() 287 setDeviceOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in setDo() 292 affiliateUsers(DEVICE_ADMIN_PKG, mDeviceOwnerUserId, mPrimaryUserId); in setDo()
|
D | MixedManagedProfileOwnerTestApi30.java | 49 setProfileOwnerOrFail(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mUserId); in createManagedProfile()
|
D | MixedManagedProfileOwnerTestApi25.java | 50 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()
|