/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | ManagedProfileTest.java | 167 runDeviceTestsAsUser( in testManagedProfileSetup() 185 runDeviceTestsAsUser( in testWipeDataWithReason() 205 runDeviceTestsAsUser( in testWipeDataLogged() 225 runDeviceTestsAsUser( in testWipeDataWithoutReason() 366 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, MANAGED_PROFILE_PKG + ".ProfileTimeoutTestHelper", in runProfileTimeoutTest() 396 runDeviceTestsAsUser( in testProfileWifiCleanup() 399 runDeviceTestsAsUser( in testProfileWifiCleanup() 404 runDeviceTestsAsUser( in testProfileWifiCleanup() 413 runDeviceTestsAsUser( in testWifiMacAddress() 426 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, in testCrossProfileIntentFilters() [all …]
|
D | DeviceOwnerPlusProfileOwnerTest.java | 75 runDeviceTestsAsUser( in setUp() 126 runDeviceTestsAsUser( in testBindDeviceAdminServiceAsUser_corpOwnedManagedProfileWithManagedProvisioning() 162 runDeviceTestsAsUser( in testBindDeviceAdminServiceAsUser_byodPlusDeviceOwnerCannotBind() 167 runDeviceTestsAsUser( in testBindDeviceAdminServiceAsUser_byodPlusDeviceOwnerCannotBind() 209 runDeviceTestsAsUser( in testBindDeviceAdminServiceAsUser_compPlusSecondaryUser() 265 runDeviceTestsAsUser( in testDoCanRemoveProfileEvenIfUserRestrictionSet() 320 runDeviceTestsAsUser( in testWipeData_managedProfile() 335 runDeviceTestsAsUser(COMP_DPC_PKG, MANAGEMENT_TEST, "testWipeData", profileUserId); in testWipeData_managedProfileLogged() 347 runDeviceTestsAsUser( in testWipeData_secondaryUser() 362 runDeviceTestsAsUser(COMP_DPC_PKG, MANAGEMENT_TEST, "testWipeData", secondaryUserId); in testWipeData_secondaryUserLogged() [all …]
|
D | DeviceAndProfileOwnerHostSideTransferTest.java | 46 runDeviceTestsAsUser(TRANSFER_OWNER_OUTGOING_PKG, mOutgoingTestClassName, in testTransferOwnership() 58 runDeviceTestsAsUser(TRANSFER_OWNER_OUTGOING_PKG, in testTransferSameAdmin() 68 runDeviceTestsAsUser(TRANSFER_OWNER_OUTGOING_PKG, in testTransferInvalidTarget() 77 runDeviceTestsAsUser(TRANSFER_OWNER_OUTGOING_PKG, in testTransferPolicies() 80 runDeviceTestsAsUser(TRANSFER_OWNER_INCOMING_PKG, in testTransferPolicies() 89 runDeviceTestsAsUser(TRANSFER_OWNER_OUTGOING_PKG, in testTransferOwnershipChangedBroadcast() 98 runDeviceTestsAsUser(TRANSFER_OWNER_OUTGOING_PKG, in testTransferCompleteCallback() 104 runDeviceTestsAsUser(TRANSFER_OWNER_INCOMING_PKG, in testTransferCompleteCallback() 120 runDeviceTestsAsUser(TRANSFER_OWNER_OUTGOING_PKG, in testTransferOwnershipNoMetadata() 129 runDeviceTestsAsUser(TRANSFER_OWNER_OUTGOING_PKG, in testIsTransferBundlePersisted() [all …]
|
D | ManagedProfileProvisioningTest.java | 60 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ProvisioningTest", in testManagedProfileProvisioning() 71 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ProvisioningTest", in testEXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE() 82 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ProvisioningTest", in testVerifySuccessfulIntentWasReceived() 93 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ProvisioningTest", in testAccountMigration() 96 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ProvisioningTest", in testAccountMigration() 107 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ProvisioningTest", in testAccountCopy() 110 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ProvisioningTest", in testAccountCopy() 126 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ProvisioningTest", in provisionManagedProfile() 132 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ProvisioningTest", in provisionManagedProfile_accountCopy()
|
D | LauncherAppsProfileTest.java | 82 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testGetActivitiesWithProfile() 85 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testGetActivitiesWithProfile() 90 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testGetActivitiesWithProfile() 95 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testGetActivitiesWithProfile() 100 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testGetActivitiesWithProfile() 103 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testGetActivitiesWithProfile() 115 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testProfileOwnerAppHiddenInPrimaryProfile() 129 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testNoHiddenActivityInProfile() 132 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testNoHiddenActivityInProfile() 143 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testLauncherCallbackPackageAddedProfile() [all …]
|
D | DeviceOwnerTest.java | 758 runDeviceTestsAsUser( in testDisallowFactoryReset() 812 runDeviceTestsAsUser(DEVICE_OWNER_PKG, ".PackageInstallTest", in testPackageInstallCache() 816 runDeviceTestsAsUser(DEVICE_OWNER_PKG, ".PackageInstallTest", in testPackageInstallCache() 825 runDeviceTestsAsUser(DEVICE_OWNER_PKG, ".PackageInstallTest", in testPackageInstallCache() 830 runDeviceTestsAsUser(DEVICE_OWNER_PKG, ".PackageInstallTest", in testPackageInstallCache() 856 runDeviceTestsAsUser(DEVICE_OWNER_PKG, ".PackageInstallTest", in testPackageInstallCache_multiUser() 860 runDeviceTestsAsUser(DEVICE_OWNER_PKG, ".PackageInstallTest", in testPackageInstallCache_multiUser() 864 runDeviceTestsAsUser(DEVICE_OWNER_PKG, ".PackageInstallTest", in testPackageInstallCache_multiUser() 866 runDeviceTestsAsUser(DEVICE_OWNER_PKG, ".PackageInstallTest", in testPackageInstallCache_multiUser() 870 runDeviceTestsAsUser(DEVICE_OWNER_PKG, ".PackageInstallTest", in testPackageInstallCache_multiUser() [all …]
|
D | LauncherAppsSingleUserTest.java | 60 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testInstallAppMainUser() 72 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testLauncherCallbackPackageAddedMainUser() 85 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testLauncherCallbackPackageRemovedMainUser() 98 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testLauncherCallbackPackageChangedMainUser() 109 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testLauncherNonExportedAppFails() 119 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testLaunchNonExportActivityFails() 129 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testLaunchMainActivity()
|
D | MixedDeviceOwnerHostSideTransferTest.java | 63 runDeviceTestsAsUser(TRANSFER_OWNER_OUTGOING_PKG, in testTransferAffiliatedProfileOwnershipCompleteCallback() 69 runDeviceTestsAsUser(TRANSFER_OWNER_OUTGOING_PKG, in testTransferAffiliatedProfileOwnershipCompleteCallback() 86 runDeviceTestsAsUser(TRANSFER_OWNER_OUTGOING_PKG, in testTransferAffiliatedProfileOwnershipInComp() 91 runDeviceTestsAsUser(TRANSFER_OWNER_OUTGOING_PKG, in testTransferAffiliatedProfileOwnershipInComp() 98 runDeviceTestsAsUser(TRANSFER_OWNER_OUTGOING_PKG, in testTransferAffiliatedProfileOwnershipInComp()
|
D | MixedManagedProfileOwnerTest.java | 101 runDeviceTestsAsUser( in testScreenCaptureDisabled_assist_allowedPrimaryUser() 182 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, CLEAR_PROFILE_OWNER_NEGATIVE_TEST_CLASS, mUserId); in testCannotClearProfileOwner() 198 runDeviceTestsAsUser("com.android.cts.certinstaller", in testDelegatedCertInstallerDeviceIdAttestation() 204 runDeviceTestsAsUser("com.android.cts.certinstaller", in testDelegatedCertInstallerDeviceIdAttestation() 215 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".DeviceIdAttestationTest", in testDeviceIdAttestationForProfileOwner() 221 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".DeviceIdAttestationTest", in testDeviceIdAttestationForProfileOwner()
|
D | MixedDeviceOwnerTest.java | 68 runDeviceTestsAsUser( in testLockTask_unaffiliatedUser() 73 runDeviceTestsAsUser( in testLockTask_unaffiliatedUser() 87 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".LockTaskTest", userId); in testLockTask_affiliatedSecondaryUser() 96 runDeviceTestsAsUser("com.android.cts.certinstaller", in testDelegatedCertInstallerDeviceIdAttestation() 147 runDeviceTestsAsUser( in setUserAsAffiliatedUserToPrimary() 149 runDeviceTestsAsUser( in setUserAsAffiliatedUserToPrimary()
|
D | LimitAppIconHidingTest.java | 78 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testHasLauncherActivityAppHasAppDetailsActivityInjected() 87 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testNoSystemAppHasSyntheticAppDetailsActivityInjected() 96 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testNoLauncherActivityAppNotInjected() 105 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testNoPermissionAppNotInjected() 114 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testGetSetSyntheticAppDetailsActivityEnabled()
|
D | CustomDeviceOwnerTest.java | 68 runDeviceTestsAsUser(INTENT_RECEIVER_PKG, testClass, in testOwnerChangedBroadcast() 78 runDeviceTestsAsUser(INTENT_RECEIVER_PKG, testClass, in testOwnerChangedBroadcast() 111 runDeviceTestsAsUser(ACCOUNT_MANAGEMENT_PKG, ".AccountUtilsTest", in testCannotSetDeviceOwnerWhenAccountPresent() 118 runDeviceTestsAsUser(ACCOUNT_MANAGEMENT_PKG, ".AccountUtilsTest", in testCannotSetDeviceOwnerWhenAccountPresent() 130 runDeviceTestsAsUser(DEVICE_OWNER_PKG, ".PreDeviceOwnerTest", in testIsProvisioningAllowed()
|
D | DeviceAndProfileOwnerTest.java | 235 runDeviceTestsAsUser(DELEGATE_APP_PKG, ".AppRestrictionsIsCallerDelegateHelper", in testApplicationRestrictionIsRestricted() 237 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".ApplicationRestrictionsIsCallerDelegateHelper", in testApplicationRestrictionIsRestricted() 239 runDeviceTestsAsUser(DELEGATE_APP_PKG, ".AppRestrictionsIsCallerDelegateHelper", in testApplicationRestrictionIsRestricted() 259 runDeviceTestsAsUser(DELEGATE_APP_PKG, ".GeneralDelegateTest", in testApplicationRestrictions() 270 runDeviceTestsAsUser(DELEGATE_APP_PKG, ".AppRestrictionsDelegateTest", in testApplicationRestrictions() 380 runDeviceTestsAsUser(DELEGATE_APP_PKG, ".GeneralDelegateTest", null, mUserId, in testDelegation() 407 runDeviceTestsAsUser(CERT_INSTALLER_PKG, ".CertSelectionDelegateTest", mUserId); in testDelegationCertSelection() 812 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".DelegatedCertInstallerTest", mUserId); in testDelegatedCertInstaller() 814 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".DelegatedCertInstallerTest", in testDelegatedCertInstaller() 831 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, ".DelegatedCertInstallerHelper", in setUpDelegatedCertInstallerAndRunTests() [all …]
|
D | QuietModeHostsideTest.java | 56 runDeviceTestsAsUser( in testQuietMode_defaultForegroundLauncher() 68 runDeviceTestsAsUser( in testQuietMode_notForegroundLauncher() 80 runDeviceTestsAsUser( in testQuietMode_notDefaultLauncher()
|
D | LauncherAppsMultiUserTest.java | 68 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testGetActivitiesForNonProfileFails() 81 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testNoLauncherCallbackPackageAddedSecondaryUser()
|
D | ProfileOwnerTest.java | 103 runDeviceTestsAsUser(PROFILE_OWNER_PKG, testClass, mPrimaryUserId); in executeProfileOwnerTest() 108 runDeviceTestsAsUser(PROFILE_OWNER_PKG, className, testName, mUserId); in executeProfileOwnerTestMethod()
|
D | DeviceAndProfileOwnerTestApi25.java | 99 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, className, mUserId); in executeDeviceTestClass() 103 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, className, testName, mUserId); in executeDeviceTestMethod()
|
D | ManagedProfileProvisioningSingleAdminTest.java | 60 runDeviceTestsAsUser(SINGLE_ADMIN_PKG, ".ProvisioningSingleAdminTest", in testEXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME()
|
D | CustomManagedProfileTest.java | 55 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".PreManagedProfileTest", testName, userId); in assertIsProvisioningAllowed()
|
D | ProfileOwnerTestApi23.java | 61 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, in testDelegatedCertInstaller()
|
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
D | ShortcutManagerBackupTest.java | 251 runDeviceTestsAsUser(PUBLISHER1_PKG, ".ShortcutManagerPreBackupTest", getPrimaryUserId()); in testBackupAndRestore() 252 runDeviceTestsAsUser(PUBLISHER2_PKG, ".ShortcutManagerPreBackupTest", getPrimaryUserId()); in testBackupAndRestore() 253 runDeviceTestsAsUser(PUBLISHER3_PKG, ".ShortcutManagerPreBackupTest", getPrimaryUserId()); in testBackupAndRestore() 255 runDeviceTestsAsUser(LAUNCHER1_PKG, ".ShortcutManagerPreBackupTest", getPrimaryUserId()); in testBackupAndRestore() 256 runDeviceTestsAsUser(LAUNCHER2_PKG, ".ShortcutManagerPreBackupTest", getPrimaryUserId()); in testBackupAndRestore() 257 runDeviceTestsAsUser(LAUNCHER3_PKG, ".ShortcutManagerPreBackupTest", getPrimaryUserId()); in testBackupAndRestore() 260 runDeviceTestsAsUser(PUBLISHER2_PKG, ".ShortcutManagerPreBackup2Test", getPrimaryUserId()); in testBackupAndRestore() 289 runDeviceTestsAsUser(LAUNCHER1_PKG, ".ShortcutManagerPostBackupTest", in testBackupAndRestore() 299 runDeviceTestsAsUser(PUBLISHER1_PKG, ".ShortcutManagerPostBackupTest", in testBackupAndRestore() 303 runDeviceTestsAsUser(PUBLISHER2_PKG, ".ShortcutManagerPostBackupTest", in testBackupAndRestore() [all …]
|
D | ShortcutManagerMultiuserTest.java | 46 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerManagedUserTest", in testManagedUser() 51 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerManagedUserTest", in testManagedUser() 53 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerManagedUserTest", in testManagedUser() 56 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerManagedUserTest", in testManagedUser() 71 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerSecondaryUserTest", secondUserID); in testSecondaryUser()
|
D | ShortcutManagerUpgradeTest.java | 45 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerPreUpgradeTest", getPrimaryUserId()); in testUpgrade() 49 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerPostUpgradeTest", getPrimaryUserId()); in testUpgrade()
|
D | BaseShortcutManagerHostTest.java | 119 protected void runDeviceTestsAsUser( in runDeviceTestsAsUser() method in BaseShortcutManagerHostTest 122 runDeviceTestsAsUser(pkgName, testClassName, null /*testMethodName*/, userId); in runDeviceTestsAsUser() 126 protected void runDeviceTestsAsUser( in runDeviceTestsAsUser() method in BaseShortcutManagerHostTest
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | InstantAppUserTest.java | 100 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed01", mSecondaryUserId); in testStartExposed01() 107 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed02", mSecondaryUserId); in testStartExposed02() 114 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed03", mSecondaryUserId); in testStartExposed03() 121 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed04", mSecondaryUserId); in testStartExposed04() 128 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed05", mSecondaryUserId); in testStartExposed05() 135 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed06", mSecondaryUserId); in testStartExposed06() 142 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed07", mSecondaryUserId); in testStartExposed07() 149 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed08", mSecondaryUserId); in testStartExposed08() 156 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed09", mSecondaryUserId); in testStartExposed09() 163 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed10", mSecondaryUserId); in testStartExposed10() [all …]
|