Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileTest.java117 assertTrue(runDeviceTestsAsUser( in testManagedProfileSetup()
130 assertTrue(runDeviceTestsAsUser( in testWipeData()
157 assertTrue("WiFi config already exists and could not be removed", runDeviceTestsAsUser( in testProfileWifiCleanup()
161 assertTrue("Failed to add WiFi config", runDeviceTestsAsUser( in testProfileWifiCleanup()
166 assertTrue("WiFi config not removed after deleting profile", runDeviceTestsAsUser( in testProfileWifiCleanup()
180 assertTrue(runDeviceTestsAsUser(MANAGED_PROFILE_PKG, in testCrossProfileIntentFilters()
188 assertTrue(runDeviceTestsAsUser( in testCrossProfileIntentFilters()
199 assertTrue(runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".CrossProfileUtils", in testAppLinks()
238 assertTrue(runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".SettingsIntentsTest", in testSettingsIntents()
252 assertTrue(runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".CrossProfileUtils", in testCrossProfileContent()
[all …]
DLauncherAppsSingleUserTest.java57 assertTrue(runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testInstallAppMainUser()
69 assertTrue(runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testLauncherCallbackPackageAddedMainUser()
82 assertTrue(runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testLauncherCallbackPackageRemovedMainUser()
95 assertTrue(runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testLauncherCallbackPackageChangedMainUser()
106 assertTrue(runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testLauncherNonExportedAppFails()
116 assertTrue(runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testLaunchNonExportActivityFails()
126 assertTrue(runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testLaunchMainActivity()
DCustomDeviceOwnerTest.java80 assertTrue(runDeviceTestsAsUser(INTENT_RECEIVER_PKG, testClass, in testOwnerChangedBroadcast()
89 assertTrue(runDeviceTestsAsUser(INTENT_RECEIVER_PKG, testClass, in testOwnerChangedBroadcast()
122 assertTrue(runDeviceTestsAsUser(ACCOUNT_MANAGEMENT_PKG, ".AccountUtilsTest", in testCannotSetDeviceOwnerWhenAccountPresent()
129 assertTrue(runDeviceTestsAsUser(ACCOUNT_MANAGEMENT_PKG, ".AccountUtilsTest", in testCannotSetDeviceOwnerWhenAccountPresent()
147 assertTrue(runDeviceTestsAsUser(PACKAGE_INSTALLER_PKG, in testSilentPackageInstall()
166 assertTrue(runDeviceTestsAsUser(DEVICE_OWNER_PKG, ".PreDeviceOwnerTest", in testIsProvisioningAllowed()
DLauncherAppsProfileTest.java77 assertTrue(runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testGetActivitiesWithProfile()
81 assertTrue(runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testGetActivitiesWithProfile()
92 assertTrue(runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testLauncherCallbackPackageAddedProfile()
105 assertTrue(runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testLauncherCallbackPackageRemovedProfile()
118 assertTrue(runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testLauncherCallbackPackageChangedProfile()
DDeviceAndProfileOwnerTest.java146 assertTrue(runDeviceTestsAsUser( in testApplicationRestrictions()
370 assertTrue("Set lockscreen password failed", runDeviceTestsAsUser(DEVICE_ADMIN_PKG, in testDelegatedCertInstaller()
372 assertTrue("DelegatedCertInstaller failed", runDeviceTestsAsUser(DEVICE_ADMIN_PKG, in testDelegatedCertInstaller()
377 … assertTrue("Clear lockscreen password failed", runDeviceTestsAsUser(DEVICE_ADMIN_PKG, in testDelegatedCertInstaller()
396 assertTrue(runDeviceTestsAsUser(CUSTOMIZATION_APP_PKG, ".CustomizationTest", in testSetWallpaper_disallowed()
446 assertTrue(runDeviceTestsAsUser(PACKAGE_INSTALLER_PKG, ".ManualPackageInstallTest", in testPackageInstallUserRestrictions()
471 assertTrue(runDeviceTestsAsUser(PACKAGE_INSTALLER_PKG, ".ManualPackageInstallTest", in testPackageInstallUserRestrictions()
526 assertTrue(runDeviceTestsAsUser(DEVICE_ADMIN_PKG, className, mUserId)); in executeDeviceTestClass()
530 assertTrue(runDeviceTestsAsUser(DEVICE_ADMIN_PKG, className, testName, mUserId)); in executeDeviceTestMethod()
539 assertTrue(runDeviceTestsAsUser(INTENT_SENDER_PKG, ".SuspendPackageTest", in executeSuspendPackageTestMethod()
[all …]
DLauncherAppsMultiUserTest.java67 assertTrue(runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testGetActivitiesForNonProfileFails()
80 assertTrue(runDeviceTestsAsUser(LAUNCHER_TESTS_PKG, in testNoLauncherCallbackPackageAddedSecondaryUser()
DProfileOwnerTestApi23.java54 assertTrue("DelegatedCertInstaller failed", runDeviceTestsAsUser(DEVICE_ADMIN_PKG, in testDelegatedCertInstaller()
DCustomManagedProfileTest.java55 assertTrue(runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".PreManagedProfileTest", testName, in assertIsProvisioningAllowed()
DProfileOwnerTest.java68 assertTrue(testClass + " failed.", runDeviceTestsAsUser(PROFILE_OWNER_PKG, testClass, in executeProfileOwnerTest()
DMixedManagedProfileOwnerTest.java89 runDeviceTestsAsUser(DEVICE_ADMIN_PKG, CLEAR_PROFILE_OWNER_NEGATIVE_TEST_CLASS, in testCannotClearProfileOwner()
DBaseDevicePolicyTest.java210 protected boolean runDeviceTestsAsUser( in runDeviceTestsAsUser() method in BaseDevicePolicyTest
213 return runDeviceTestsAsUser(pkgName, testClassName, null /*testMethodName*/, userId); in runDeviceTestsAsUser()
217 protected boolean runDeviceTestsAsUser( in runDeviceTestsAsUser() method in BaseDevicePolicyTest
221 return runDeviceTestsAsUser(pkgName, testClassName, testMethodName, userId, params); in runDeviceTestsAsUser()
224 protected boolean runDeviceTestsAsUser(String pkgName, @Nullable String testClassName, in runDeviceTestsAsUser() method in BaseDevicePolicyTest
DDeviceOwnerTest.java403 runDeviceTestsAsUser(DEVICE_OWNER_PKG, testClass, mPrimaryUserId)); in executeDeviceOwnerTest()
407 assertTrue(runDeviceTestsAsUser(DEVICE_OWNER_PKG, className, testName, in executeDeviceTestMethod()
DBaseDeviceAdminHostSideTest.java98 return runDeviceTestsAsUser(apk, in runTests()
DUserRestrictionsTest.java60 return runDeviceTestsAsUser(DEVICE_ADMIN_PKG, "." + className, method, userId); in runTests()