Home
last modified time | relevance | path

Searched refs:runDeviceTestsAsUser (Results 1 – 25 of 33) sorted by relevance

12

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileTest.java167 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 …]
DDeviceOwnerPlusProfileOwnerTest.java75 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 …]
DDeviceAndProfileOwnerHostSideTransferTest.java46 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 …]
DManagedProfileProvisioningTest.java60 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()
DLauncherAppsProfileTest.java82 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 …]
DDeviceOwnerTest.java758 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 …]
DLauncherAppsSingleUserTest.java60 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()
DMixedDeviceOwnerHostSideTransferTest.java63 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()
DMixedManagedProfileOwnerTest.java101 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()
DMixedDeviceOwnerTest.java68 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()
DLimitAppIconHidingTest.java78 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()
DCustomDeviceOwnerTest.java68 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()
DDeviceAndProfileOwnerTest.java235 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 …]
DQuietModeHostsideTest.java56 runDeviceTestsAsUser( in testQuietMode_defaultForegroundLauncher()
68 runDeviceTestsAsUser( in testQuietMode_notForegroundLauncher()
80 runDeviceTestsAsUser( in testQuietMode_notDefaultLauncher()
DLauncherAppsMultiUserTest.java68 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testGetActivitiesForNonProfileFails()
81 runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testNoLauncherCallbackPackageAddedSecondaryUser()
DProfileOwnerTest.java103 runDeviceTestsAsUser(PROFILE_OWNER_PKG, testClass, mPrimaryUserId); in executeProfileOwnerTest()
108 runDeviceTestsAsUser(PROFILE_OWNER_PKG, className, testName, mUserId); in executeProfileOwnerTestMethod()
DDeviceAndProfileOwnerTestApi25.java99 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, className, mUserId); in executeDeviceTestClass()
103 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, className, testName, mUserId); in executeDeviceTestMethod()
DManagedProfileProvisioningSingleAdminTest.java60 runDeviceTestsAsUser(SINGLE_ADMIN_PKG, ".ProvisioningSingleAdminTest", in testEXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME()
DCustomManagedProfileTest.java55 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".PreManagedProfileTest", testName, userId); in assertIsProvisioningAllowed()
DProfileOwnerTestApi23.java61 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, in testDelegatedCertInstaller()
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DShortcutManagerBackupTest.java251 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 …]
DShortcutManagerMultiuserTest.java46 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()
DShortcutManagerUpgradeTest.java45 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerPreUpgradeTest", getPrimaryUserId()); in testUpgrade()
49 runDeviceTestsAsUser(TARGET_PKG, ".ShortcutManagerPostUpgradeTest", getPrimaryUserId()); in testUpgrade()
DBaseShortcutManagerHostTest.java119 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/
DInstantAppUserTest.java100 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 …]

12