Home
last modified time | relevance | path

Searched refs:runDeviceTests (Results 1 – 25 of 265) sorted by relevance

1234567891011

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAppDataIsolationTests.java121 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CHECK_CE_DATA_DOES_NOT_EXIST); in testAppAbleToAccessItsDataAfterForceStop()
122 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CHECK_DE_DATA_DOES_NOT_EXIST); in testAppAbleToAccessItsDataAfterForceStop()
123 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CHECK_EXTERNAL_DIRS_DO_NOT_EXIST); in testAppAbleToAccessItsDataAfterForceStop()
126 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CREATE_CE_DE_DATA); in testAppAbleToAccessItsDataAfterForceStop()
127 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CREATE_EXTERNAL_DIRS); in testAppAbleToAccessItsDataAfterForceStop()
131 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CHECK_CE_DATA_EXISTS); in testAppAbleToAccessItsDataAfterForceStop()
132 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CHECK_DE_DATA_EXISTS); in testAppAbleToAccessItsDataAfterForceStop()
133 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CHECK_EXTERNAL_DIRS_DO_EXIST); in testAppAbleToAccessItsDataAfterForceStop()
134 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CHECK_CUR_PROFILE_ACCESSIBLE); in testAppAbleToAccessItsDataAfterForceStop()
135 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CHECK_REF_PROFILE_ACCESSIBLE); in testAppAbleToAccessItsDataAfterForceStop()
[all …]
DReadableSettingsFieldsTest.java65 runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testSecureNonHiddenSettingsKeysAreReadable"); in testSecureNonHiddenSettingsKeysAreReadable()
70 runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testSystemNonHiddenSettingsKeysAreReadable"); in testSystemNonHiddenSettingsKeysAreReadable()
75 runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testGlobalNonHiddenSettingsKeysAreReadable"); in testGlobalNonHiddenSettingsKeysAreReadable()
80 runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testSecureSomeHiddenSettingsKeysAreReadable"); in testSecureSomeHiddenSettingsKeysAreReadable()
85 runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testSystemSomeHiddenSettingsKeysAreReadable"); in testSystemSomeHiddenSettingsKeysAreReadable()
90 runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testGlobalSomeHiddenSettingsKeysAreReadable"); in testGlobalSomeHiddenSettingsKeysAreReadable()
96 runDeviceTests(TEST_PACKAGE, TEST_CLASS, in testGlobalHiddenSettingsKeyNotReadableWithoutPermissions()
103 runDeviceTests(TEST_PACKAGE, TEST_CLASS, in testSecureHiddenSettingsKeysNotReadableWithoutAnnotation()
110 runDeviceTests(TEST_PACKAGE, TEST_CLASS, in testSystemHiddenSettingsKeysNotReadableWithoutAnnotation()
117 runDeviceTests(TEST_PACKAGE, TEST_CLASS, in testGlobalHiddenSettingsKeysNotReadableWithoutAnnotation()
[all …]
DAdoptableHostTest.java165 runDeviceTests(PKG, CLASS, "testDataInternal"); in testApps()
166 runDeviceTests(PKG, CLASS, "testDataWrite"); in testApps()
167 runDeviceTests(PKG, CLASS, "testDataRead"); in testApps()
168 runDeviceTests(PKG, CLASS, "testNative"); in testApps()
178 runDeviceTests(PKG, CLASS, "testDataNotInternal"); in testApps()
179 runDeviceTests(PKG, CLASS, "testDataRead"); in testApps()
180 runDeviceTests(PKG, CLASS, "testNative"); in testApps()
188 runDeviceTests(PKG, CLASS, "testDataNotInternal"); in testApps()
189 runDeviceTests(PKG, CLASS, "testDataRead"); in testApps()
190 runDeviceTests(PKG, CLASS, "testNative"); in testApps()
[all …]
DExternalStorageHostTest.java178 runDeviceTests(WRITE_PKG, WRITE_CLASS, "testExternalStorageRename", user); in testExternalStorageRename()
198 runDeviceTests(NONE_PKG, COMMON_CLASS, user); in testExternalStorageNone29()
199 runDeviceTests(NONE_PKG, NONE_CLASS, user); in testExternalStorageNone29()
221 runDeviceTests(READ_PKG, COMMON_CLASS, user); in testExternalStorageRead29()
222 runDeviceTests(READ_PKG, READ_CLASS, user); in testExternalStorageRead29()
244 runDeviceTests(WRITE_PKG, COMMON_CLASS, user); in testExternalStorageWrite()
245 runDeviceTests(WRITE_PKG, WRITE_CLASS, user); in testExternalStorageWrite()
271 runDeviceTests(NONE_PKG, NONE_PKG + ".GiftTest", "testStageNonGifts", user); in testExternalStorageNoGifts()
272 runDeviceTests(READ_PKG, READ_PKG + ".ReadGiftTest", "testStageNonGifts", user); in testExternalStorageNoGifts()
273 runDeviceTests(WRITE_PKG, WRITE_PKG + ".WriteGiftTest", "testStageNonGifts", user); in testExternalStorageNoGifts()
[all …]
DPrivilegedUpdateTests.java106 runDeviceTests(TEST_PKG, ".PrivilegedUpdateTest", "testSystemAppPriorities"); in testSystemAppPriorities()
110 runDeviceTests(TEST_PKG, ".PrivilegedUpdateTest", "testPrivilegedAppPriorities"); in testPrivilegedAppPriorities()
124 runDeviceTests(TEST_PKG, ".PrivilegedUpdateTest", "testPrivilegedAppUpgradePriorities"); in testPrivilegedAppUpgradePrioritiesPreservedOnReboot()
128 runDeviceTests(TEST_PKG, ".PrivilegedUpdateTest", "testPrivilegedAppUpgradePriorities"); in testPrivilegedAppUpgradePrioritiesPreservedOnReboot()
136 runDeviceTests(TEST_PKG, ".PrivilegedAppDisableTest", "testPrivAppAndEnabled"); in testDisableSystemApp()
138 runDeviceTests(TEST_PKG, ".PrivilegedAppDisableTest", "testPrivAppAndDisabled"); in testDisableSystemApp()
148 runDeviceTests(TEST_PKG, ".PrivilegedAppDisableTest", "testPrivAppAndEnabled"); in testDisableUpdatedSystemApp()
153 runDeviceTests(TEST_PKG, ".PrivilegedAppDisableTest", "testUpdatedPrivAppAndDisabled"); in testDisableUpdatedSystemApp()
155 runDeviceTests(TEST_PKG, ".PrivilegedAppDisableTest", "testUpdatedPrivAppAndEnabled"); in testDisableUpdatedSystemApp()
168 runDeviceTests(TEST_PKG, ".PrivilegedAppDisableTest", "testPrivAppAndEnabled"); in testUpdatedSystemAppPreservedOnReboot()
[all …]
DApplicationVisibilityTest.java79 Utils.runDeviceTests( in testPackageListCrossUserGrant()
85 Utils.runDeviceTests( in testPackageListCrossUserGrant()
106 Utils.runDeviceTests( in testPackageListCrossUserNoGrant()
112 Utils.runDeviceTests( in testPackageListCrossUserNoGrant()
135 Utils.runDeviceTests( in testPackageListOtherUserCrossUserGrant()
159 Utils.runDeviceTests( in testPackageListOtherUserCrossUserNoGrant()
181 Utils.runDeviceTests( in testApplicationListCrossUserGrant()
187 Utils.runDeviceTests( in testApplicationListCrossUserGrant()
208 Utils.runDeviceTests( in testApplicationListCrossUserNoGrant()
214 Utils.runDeviceTests( in testApplicationListCrossUserNoGrant()
[all …]
DInstantCookieHostTest.java63 runDeviceTests(INSTANT_COOKIE_APP_PKG, "test.instant.cookie.CookieTest", in testCookieUpdateAndRetrieval()
70 runDeviceTests(INSTANT_COOKIE_APP_PKG, "test.instant.cookie.CookieTest", in testCookiePersistedAcrossInstantInstalls()
74 runDeviceTests(INSTANT_COOKIE_APP_PKG, "test.instant.cookie.CookieTest", in testCookiePersistedAcrossInstantInstalls()
81 runDeviceTests(INSTANT_COOKIE_APP_PKG, "test.instant.cookie.CookieTest", in testCookiePersistedUpgradeFromInstant()
84 runDeviceTests(INSTANT_COOKIE_APP_PKG, "test.instant.cookie.CookieTest", in testCookiePersistedUpgradeFromInstant()
91 runDeviceTests(INSTANT_COOKIE_APP_PKG, "test.instant.cookie.CookieTest", in testCookieResetOnNonInstantReinstall()
95 runDeviceTests(INSTANT_COOKIE_APP_PKG, "test.instant.cookie.CookieTest", in testCookieResetOnNonInstantReinstall()
102 runDeviceTests(INSTANT_COOKIE_APP_PKG, "test.instant.cookie.CookieTest", in testCookieValidWhenSignedWithTwoCerts()
106 runDeviceTests(INSTANT_COOKIE_APP_PKG_2, "test.instant.cookie.CookieTest", in testCookieValidWhenSignedWithTwoCerts()
DStorageHostTest.java107 Utils.runDeviceTests(getDevice(), PKG_STATS, CLASS_STATS, "testVerify"); in testVerify()
113 runDeviceTests(PKG_A, CLASS, "testAllocate", user); in testVerifyAppStats()
123 runDeviceTests(PKG_A, CLASS, "testVerifySpaceManual", user); in testVerifyAppStats()
124 runDeviceTests(PKG_A, CLASS, "testVerifySpaceApi", user); in testVerifyAppStats()
131 runDeviceTests(PKG_A, CLASS, "testVerifyQuotaApi", user); in testVerifyAppQuota()
138 runDeviceTests(PKG_A, CLASS, "testVerifyAllocateApi", user); in testVerifyAppAllocate()
145 runDeviceTests(PKG_STATS, CLASS_STATS, "testVerifySummary", user); in testVerifySummary()
152 runDeviceTests(PKG_STATS, CLASS_STATS, "testVerifyStats", user); in testVerifyStats()
160 runDeviceTests(PKG_STATS, CLASS_STATS, "testVerifyStatsByDataType", user); in testVerifyStatsByDataType()
167 runDeviceTests(PKG_A, CLASS, "testAllocate", user); in testVerifyStatsMultiple()
[all …]
DSplitTests.java239 runDeviceTests(PKG, CLASS, "testSingleBase"); in testSingleBase()
254 runDeviceTests(PKG, CLASS, "testDensitySingle"); in testDensitySingle()
270 runDeviceTests(PKG, CLASS, "testDensityAll"); in testDensityAll()
289 runDeviceTests(PKG, CLASS, "testDensityBest1"); in testDensityBest()
293 runDeviceTests(PKG, CLASS, "testDensityBest2"); in testDensityBest()
312 runDeviceTests(PKG, CLASS, "testApi"); in testApi()
327 runDeviceTests(PKG, CLASS, "testLocale"); in testLocale()
373 runDeviceTests(PKG, CLASS, "testNative"); in testNativeSingle()
374 runDeviceTests(PKG, CLASS, "testNativeRevision_sub_shouldImplementBadly"); in testNativeSingle()
376 runDeviceTests(PKG, CLASS, "testNativeRevision_sub_shouldImplementWell"); in testNativeSingle()
[all …]
DPackageVisibilityTest.java101 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility()
103 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility()
111 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility()
113 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility()
116 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility()
142 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility()
144 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility()
147 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility()
150 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility()
DPkgInstallSignatureVerificationTest.java839 Utils.runDeviceTests(getDevice(), SERVICE_TEST_PKG, SERVICE_TEST_CLASS, in testInstallV3UpdateAfterRotation()
850 Utils.runDeviceTests(getDevice(), SERVICE_TEST_PKG, SERVICE_TEST_CLASS, in testInstallV3UpdateAfterRotation()
858 Utils.runDeviceTests(getDevice(), SERVICE_TEST_PKG, SERVICE_TEST_CLASS, in testInstallV3UpdateAfterRotation()
868 Utils.runDeviceTests(getDevice(), SERVICE_TEST_PKG, SERVICE_TEST_CLASS, in testInstallV31UpdateAfterRotation()
872 Utils.runDeviceTests(getDevice(), SERVICE_TEST_PKG, SERVICE_TEST_CLASS, in testInstallV31UpdateAfterRotation()
877 Utils.runDeviceTests(getDevice(), SERVICE_TEST_PKG, SERVICE_TEST_CLASS, in testInstallV31UpdateAfterRotation()
890 Utils.runDeviceTests(getDevice(), SERVICE_TEST_PKG, SERVICE_TEST_CLASS, in testInstallV41UpdateAfterRotation()
894 Utils.runDeviceTests(getDevice(), SERVICE_TEST_PKG, SERVICE_TEST_CLASS, in testInstallV41UpdateAfterRotation()
899 Utils.runDeviceTests(getDevice(), SERVICE_TEST_PKG, SERVICE_TEST_CLASS, in testInstallV41UpdateAfterRotation()
912 Utils.runDeviceTests(getDevice(), SERVICE_TEST_PKG, SERVICE_TEST_CLASS, in testInstallV41WrongBlockId()
[all …]
DAccessSerialNumberTest.java38 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() method in AccessSerialNumberTest
40 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests()
64 runDeviceTests(ACCESS_SERIAL_PKG, in testSerialAccessPolicy()
71 runDeviceTests(ACCESS_SERIAL_PKG, in testSerialAccessPolicy()
82 runDeviceTests(ACCESS_SERIAL_PKG, in testGetSerialReturnsExpectedFormat()
DUtils.java75 runDeviceTests(device, packageName, testClassName, testMethodName, device.getCurrentUser(), in runDeviceTestsAsCurrentUser()
82 runDeviceTests(device, packageName, testClassName, testMethodName, device.getCurrentUser(), in runDeviceTestsAsCurrentUser()
86 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() method in Utils
88 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, null); in runDeviceTests()
91 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() method in Utils
94 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests()
97 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() method in Utils
99 runDeviceTests(device, packageName, testClassName, testMethodName, userId, null); in runDeviceTests()
102 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() method in Utils
106 runDeviceTests(device, packageName, testClassName, testMethodName, userId, testArgs, in runDeviceTests()
[all …]
/cts/hostsidetests/silentupdate/src/com/android/tests/hostside/silentupdate/
DSilentUpdateHostsideTests.java69 runDeviceTests(TEST_PKG, TEST_CLS, "newInstall_RequiresUserAction"); in newInstall_RequiresUserAction()
76 runDeviceTests(TEST_PKG, TEST_CLS, "updateWithUnknownSourcesDisabled_RequiresUserAction"); in updateWithUnknownSourcesDisabled_RequiresUserAction()
83 runDeviceTests(TEST_PKG, TEST_CLS, "updateAsNonInstallerOfRecord_RequiresUserAction"); in updateAsNonInstallerOfRecord_RequiresUserAction()
89 runDeviceTests(TEST_PKG, TEST_CLS, "updatedInstall_RequiresNoUserAction"); in updatedInstall_RequiresNoUserAction()
95 runDeviceTests(TEST_PKG, TEST_CLS, "updatePreTApp_RequiresUserAction"); in updatePreTApp_RequiresUserAction()
101 runDeviceTests(TEST_PKG, TEST_CLS, "updateTApp_RequiresNoUserAction"); in updateTApp_RequiresNoUserAction()
107 runDeviceTests(TEST_PKG, TEST_CLS, "selfUpdate_RequiresNoUserAction"); in selfUpdate_RequiresNoUserAction()
110 runDeviceTests(TEST_PKG, TEST_CLS, "selfUpdate_updateApplied"); in selfUpdate_RequiresNoUserAction()
116 runDeviceTests(TEST_PKG, TEST_CLS, "setRequireUserAction_throwsOnIllegalArgument"); in setRequireUserAction_throwsOnIllegalArgument()
122 runDeviceTests(TEST_PKG, TEST_CLS, "silentInstallRepeatedly_RequiresUserAction"); in silentInstallRepeatedly_RequiresUserAction()
[all …]
/cts/hostsidetests/media/src/android/media/router/cts/
DProxyMediaRouter2HostSideTest.java116 runDeviceTests( in getInstance_withMediaRoutingControl_flagEnabled_doesNotThrow()
127 runDeviceTests( in requestScan_withScreenOnScanning_triggersScanning()
138 runDeviceTests( in cancelScanRequest_callTwice_throwsIllegalArgumentException()
159 runDeviceTests(options); in getInstance_acrossUsers_withInteractAcrossUsersFull_returnsInstance()
167 runDeviceTests( in getInstance_withMediaRoutingControl_flagDisabled_throwsSecurityException()
178 runDeviceTests( in revokingMediaRoutingControl_onAppOpsManager_revokesProxyRouterAccess()
189 runDeviceTests( in revokeMediaRoutingControl_invalidatesAllInstancesAcrossTargetPackageNames()
200 runDeviceTests( in getInstance_withRevocableMediaRoutingControl_throwsWithNoCallback()
211 runDeviceTests( in revokeMediaRoutingControl_callsAllOnInstanceInvalidatedListeners()
222 runDeviceTests( in requestScan_withMediaRoutingControl_withScreenOff_triggersScanning()
[all …]
DMediaRouter2HostSideTest.java121 runDeviceTests( in getSystemController_withModifyAudioRouting_returnsDeviceRoute()
131 runDeviceTests( in requestScan_withOffScreenScan_triggersScanning()
141 runDeviceTests( in requestScan_withOnScreenScan_triggersScanning()
151 runDeviceTests( in requestScan_withOnScreenScan_withScreenOff_doesNotScan()
161 runDeviceTests( in getRoutes_withModifyAudioRouting_returnsDeviceRoute()
172 runDeviceTests( in testDeduplicationIds_propagateAcrossApps()
183 runDeviceTests( in testDeviceType_propagatesAcrossApps()
194 runDeviceTests( in testSetRouteListingPreference_propagatesToManager()
204 runDeviceTests( in testSetInstance_findsExternalPackage()
215 runDeviceTests( in testVisibilityAndAllowedPackages_propagateAcrossApps()
[all …]
/cts/hostsidetests/packagemanager/dynamicmime/src/android/dynamicmime/cts/
DTestCases.java40 runDeviceTests("SingleAppTest"); in testDynamicMimeWithSingleApp()
45 runDeviceTests("MultipleAppsTest"); in testDynamicMimeWithMultipleApps()
50 runDeviceTests("ComplexFilterTest"); in testDynamicMimeWithMultipleGroupsPerFilter()
55 runDeviceTests("update.SameGroupsTest"); in testDynamicMimeWithAppUpdate()
58 private void runDeviceTests(String className) in runDeviceTests() method in TestCases
60 runDeviceTests(PACKAGE_TEST_APP, PACKAGE_TEST_APP + "." + className); in runDeviceTests()
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/
DClassloaderSplitsTest.java71 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testBaseClassLoader"); in testBaseClassLoader()
86 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testBaseClassLoader"); in testFeatureAClassLoader()
87 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testFeatureAClassLoader"); in testFeatureAClassLoader()
103 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testBaseClassLoader"); in testFeatureBClassLoader()
104 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testFeatureAClassLoader"); in testFeatureBClassLoader()
105 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testFeatureBClassLoader"); in testFeatureBClassLoader()
116 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testBaseClassLoader"); in testReceiverClassLoaders()
117 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testAllReceivers"); in testReceiverClassLoaders()
133 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testBaseServiceClassLoader"); in testServiceClassLoaders()
134 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testFeatureAServiceClassLoader"); in testServiceClassLoaders()
[all …]
/cts/hostsidetests/packagemanager/deletekeepdata/src/com/android/tests/deletekeepdata/host/
DDeleteKeepDataRebootTest.java61 runDeviceTests(getDevice(), TEST_PACKAGE, TEST_CLASS, TEST_WRITE_METHOD); in testDataNotPreservedWithoutFlag()
66 runDeviceTests(getDevice(), TEST_PACKAGE, TEST_CLASS, TEST_READ_METHOD_FAIL); in testDataNotPreservedWithoutFlag()
72 runDeviceTests(getDevice(), TEST_PACKAGE, TEST_CLASS, TEST_WRITE_METHOD); in testDataPreservedWithFlagWithoutReboot()
77 runDeviceTests(getDevice(), TEST_PACKAGE, TEST_CLASS, TEST_READ_METHOD); in testDataPreservedWithFlagWithoutReboot()
83 runDeviceTests(getDevice(), TEST_PACKAGE, TEST_CLASS, TEST_WRITE_METHOD); in testDataPreservedWithFlagWithReboot()
89 runDeviceTests(getDevice(), TEST_PACKAGE, TEST_CLASS, TEST_READ_METHOD); in testDataPreservedWithFlagWithReboot()
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostJUnit4DeviceTest.java57 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_PASSES)); in testRunDeviceTestsPassesInstant()
64 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_PASSES)); in testRunDeviceTestsPassesFull()
71 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_FAILS)); in testRunDeviceTestsFailsInstant()
78 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_FAILS)); in testRunDeviceTestsFailsFull()
85 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_ASSUME_FAILS)); in testRunDeviceTestsAssumeFailsInstant()
92 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_ASSUME_FAILS)); in testRunDeviceTestsAssumeFailsFull()
/cts/hostsidetests/content/src/android/content/cts/
DInvalidSyncAuthoritiesHostTest.java60 runDeviceTests(DEVICE_TEST_PACKAGE, DEVICE_TEST_CLASS, "removeTestAccount"); in tearDown()
70runDeviceTests(DEVICE_TEST_PACKAGE, DEVICE_TEST_CLASS, "populateAndTestSyncAutomaticallyBeforeRebo… in testInvalidEntriesClearedOnBoot()
72 runDeviceTests(DEVICE_TEST_PACKAGE, DEVICE_TEST_CLASS, "testSyncAutomaticallyAfterReboot"); in testInvalidEntriesClearedOnBoot()
75 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() method in InvalidSyncAuthoritiesHostTest
77 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests()
DContextCrossProfileHostTest.java119 runDeviceTests( in testBindServiceAsUser_differentUser_bindsServiceToCorrectUser()
147 runDeviceTests( in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossUsersPermission_bindsService()
175 runDeviceTests( in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossUsersPermission_bindsService()
203 runDeviceTests( in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesPermission_bindsService()
231 runDeviceTests( in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossProfilesPermission_throwsException()
259 runDeviceTests( in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesAppOp_bindsService()
287 runDeviceTests( in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossProfilesAppOp_throwsException()
316 runDeviceTests( in testBindServiceAsUser_differentProfileGroup_samePackage_withAcrossUsersPermission_bindsService()
345 runDeviceTests( in testBindServiceAsUser_differentProfileGroup_differentPackage_withAcrossUsersPermission_throwsException()
374 runDeviceTests( in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesAppOp_throwsException()
[all …]
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DUtils.java36 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() method in Utils
38 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, null); in runDeviceTests()
41 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() method in Utils
44 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests()
47 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() method in Utils
49 runDeviceTests(device, packageName, testClassName, testMethodName, userId, null); in runDeviceTests()
52 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() method in Utils
56 runDeviceTests(device, packageName, testClassName, testMethodName, userId, testArgs, in runDeviceTests()
60 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() method in Utils
/cts/hostsidetests/angle/src/android/angle/cts/
DCtsAngleDeveloperOptionHostTest.java76 runDeviceTests(pkgName, pkgName + "." + ANGLE_DRIVER_TEST_CLASS, in setAndValidatePkgDriver()
102 runDeviceTests(ANGLE_NATIVE_DRIVER_CHECK_PKG, in checkNativeDriver()
152 runDeviceTests(ANGLE_DRIVER_TEST_PKG, in testEnableAngleForAll()
155 runDeviceTests(ANGLE_DRIVER_TEST_SEC_PKG, in testEnableAngleForAll()
174 runDeviceTests(ANGLE_DRIVER_TEST_PKG, ANGLE_DRIVER_TEST_PKG + "." + ANGLE_DRIVER_TEST_CLASS, in testUseDefaultDriver()
190 runDeviceTests(ANGLE_DRIVER_TEST_PKG, in testUseAngleDriver()
208 runDeviceTests(ANGLE_DRIVER_TEST_PKG, in testUseNativeDriver()
230 runDeviceTests(ANGLE_DRIVER_TEST_PKG, ANGLE_DRIVER_TEST_PKG + "." + ANGLE_DRIVER_TEST_CLASS, in testSettingsLengthMismatch()
233 runDeviceTests(ANGLE_DRIVER_TEST_SEC_PKG, in testSettingsLengthMismatch()
250 runDeviceTests(ANGLE_DRIVER_TEST_PKG, ANGLE_DRIVER_TEST_PKG + "." + ANGLE_DRIVER_TEST_CLASS, in testUseInvalidDriverSetting()
[all …]
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DHdmiControlManagerUtility.java63 host.runDeviceTests(device, null, TEST_PKG, TEST_CLS, SELECT_DEVICE, null, in selectDevice()
72 host.runDeviceTests(TEST_PKG, TEST_CLS, SEND_INTERRUPTED_LONG_PRESS); in sendLongPressKeyevent()
78 host.runDeviceTests(TEST_PKG, TEST_CLS, VENDOR_CMD_LISTENER_WITHOUT_ID); in registerVendorCmdListenerWithoutId()
84 host.runDeviceTests(TEST_PKG, TEST_CLS, VENDOR_CMD_LISTENER_WITH_ID); in registerVendorCmdListenerWithId()

1234567891011