Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/
DAdoptableHostTest.java81 runDeviceTests(PKG, CLASS, "testDataInternal"); in testApps()
82 runDeviceTests(PKG, CLASS, "testDataWrite"); in testApps()
83 runDeviceTests(PKG, CLASS, "testDataRead"); in testApps()
84 runDeviceTests(PKG, CLASS, "testNative"); in testApps()
92 runDeviceTests(PKG, CLASS, "testDataNotInternal"); in testApps()
93 runDeviceTests(PKG, CLASS, "testDataRead"); in testApps()
94 runDeviceTests(PKG, CLASS, "testNative"); in testApps()
99 runDeviceTests(PKG, CLASS, "testDataNotInternal"); in testApps()
100 runDeviceTests(PKG, CLASS, "testDataRead"); in testApps()
101 runDeviceTests(PKG, CLASS, "testNative"); in testApps()
[all …]
DExternalStorageHostTest.java98 runDeviceTests(NONE_PKG, COMMON_CLASS, user); in testExternalStorageNone()
99 runDeviceTests(NONE_PKG, NONE_CLASS, user); in testExternalStorageNone()
122 runDeviceTests(READ_PKG, COMMON_CLASS, user); in testExternalStorageRead()
123 runDeviceTests(READ_PKG, READ_CLASS, user); in testExternalStorageRead()
146 runDeviceTests(WRITE_PKG, COMMON_CLASS, user); in testExternalStorageWrite()
147 runDeviceTests(WRITE_PKG, WRITE_CLASS, user); in testExternalStorageWrite()
173 runDeviceTests(WRITE_PKG, "WriteGiftTest", user); in testExternalStorageGifts()
174 runDeviceTests(READ_PKG, "ReadGiftTest", user); in testExternalStorageGifts()
175 runDeviceTests(NONE_PKG, "GiftTest", user); in testExternalStorageGifts()
208 runDeviceTests(MULTIUSER_PKG, MULTIUSER_CLASS, "testCleanIsolatedStorage", owner); in testMultiUserStorageIsolated()
[all …]
DPermissionsHostTest.java71 runDeviceTests(PKG, ".UsePermissionTest", "testFail"); in testFail()
81 runDeviceTests(PKG, ".UsePermissionTest", "testKill"); in testKill()
89 runDeviceTests(PKG, ".UsePermissionTest", "testDefault"); in testDefault()
96 runDeviceTests(PKG, ".UsePermissionTest", "testGranted"); in testGranted()
101 runDeviceTests(PKG, ".UsePermissionTest", "testInteractiveGrant"); in testInteractiveGrant()
106 runDeviceTests(PKG, ".UsePermissionTest", "testRuntimeGroupGrantSpecificity"); in testRuntimeGroupGrantSpecificity()
111 runDeviceTests(PKG, ".UsePermissionTest", "testRuntimeGroupGrantExpansion"); in testRuntimeGroupGrantExpansion()
116 runDeviceTests(PKG, ".UsePermissionCompatTest", "testCompatDefault"); in testCompatDefault()
123 runDeviceTests(PKG, ".UsePermissionCompatTest", "testCompatRevoked"); in testCompatRevoked()
126 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() method in PermissionsHostTest
[all …]
DDocumentsTest.java74 runDeviceTests(CLIENT_PKG, ".DocumentsClientTest", "testOpenSimple"); in testOpenSimple()
78 runDeviceTests(CLIENT_PKG, ".DocumentsClientTest", "testCreateNew"); in testCreateNew()
82 runDeviceTests(CLIENT_PKG, ".DocumentsClientTest", "testCreateExisting"); in testCreateExisting()
86 runDeviceTests(CLIENT_PKG, ".DocumentsClientTest", "testTree"); in testTree()
90 runDeviceTests(CLIENT_PKG, ".DocumentsClientTest", "testGetContent"); in testGetContent()
93 public void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() method in DocumentsTest
95 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests()
DUtils.java36 public static void runDeviceTests(ITestDevice device, String packageName) in runDeviceTests() method in Utils
38 runDeviceTests(device, packageName, null, null, USER_OWNER); in runDeviceTests()
41 public static void runDeviceTests(ITestDevice device, String packageName, int userId) in runDeviceTests() method in Utils
43 runDeviceTests(device, packageName, null, null, userId); in runDeviceTests()
46 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName) in runDeviceTests() method in Utils
48 runDeviceTests(device, packageName, testClassName, null, USER_OWNER); in runDeviceTests()
51 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() method in Utils
53 runDeviceTests(device, packageName, testClassName, null, userId); in runDeviceTests()
56 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() method in Utils
58 runDeviceTests(device, packageName, testClassName, testMethodName, USER_OWNER); in runDeviceTests()
[all …]
DSplitTests.java117 runDeviceTests(PKG, CLASS, "testSingleBase"); in testSingleBase()
122 runDeviceTests(PKG, CLASS, "testDensitySingle"); in testDensitySingle()
128 runDeviceTests(PKG, CLASS, "testDensityAll"); in testDensityAll()
137 runDeviceTests(PKG, CLASS, "testDensityBest1"); in testDensityBest()
141 runDeviceTests(PKG, CLASS, "testDensityBest2"); in testDensityBest()
150 runDeviceTests(PKG, CLASS, "testApi"); in testApi()
155 runDeviceTests(PKG, CLASS, "testLocale"); in testLocale()
168 runDeviceTests(PKG, CLASS, "testNative"); in testNativeSingle()
183 runDeviceTests(PKG, CLASS, "testNative"); in testNativeSingleNatural()
196 runDeviceTests(PKG, CLASS, "testNative"); in testNativeAll()
[all …]
DAppSecurityTests.java176 runDeviceTests(APP_WITH_DATA_PKG, APP_WITH_DATA_CLASS, APP_WITH_DATA_CREATE_METHOD); in testAppFailAccessPrivateData()
183 runDeviceTests(APP_ACCESS_DATA_PKG); in testAppFailAccessPrivateData()
205 runDeviceTests(APP_WITH_DATA_PKG, APP_WITH_DATA_CLASS, APP_WITH_DATA_CREATE_METHOD); in testUninstallRemovesData()
214 runDeviceTests(APP_WITH_DATA_PKG, APP_WITH_DATA_CLASS, in testUninstallRemovesData()
246 runDeviceTests(INSTRUMENT_DIFF_CERT_PKG); in testInstrumentationDiffCert()
282 runDeviceTests(PERMISSION_DIFF_CERT_PKG); in testPermissionDiffCert()
290 private void runDeviceTests(String packageName) throws DeviceNotAvailableException { in runDeviceTests() method in AppSecurityTests
291 Utils.runDeviceTests(getDevice(), packageName); in runDeviceTests()
294 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() method in AppSecurityTests
296 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests()
DKeySetHostTest.java155 private boolean runDeviceTests(String pkgName) throws DeviceNotAvailableException { in runDeviceTests() method in KeySetHostTest
156 return runDeviceTests(pkgName, null, null); in runDeviceTests()
166 private boolean runDeviceTests(String pkgName, String testClassName, String testMethodName) in runDeviceTests() method in KeySetHostTest
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DLauncherAppsSingleUserTest.java55 assertTrue(runDeviceTests(LAUNCHER_TESTS_PKG, in testInstallAppMainUser()
71 assertTrue(runDeviceTests(LAUNCHER_TESTS_PKG, in testLauncherCallbackPackageAddedMainUser()
89 assertTrue(runDeviceTests(LAUNCHER_TESTS_PKG, in testLauncherCallbackPackageRemovedMainUser()
107 assertTrue(runDeviceTests(LAUNCHER_TESTS_PKG, in testLauncherCallbackPackageChangedMainUser()
123 assertTrue(runDeviceTests(LAUNCHER_TESTS_PKG, in testLauncherNonExportedAppFails()
138 assertTrue(runDeviceTests(LAUNCHER_TESTS_PKG, in testLaunchNonExportActivityFails()
153 assertTrue(runDeviceTests(LAUNCHER_TESTS_PKG, in testLaunchMainActivity()
DCustomDeviceOwnerTest.java83 assertTrue(runDeviceTests(INTENT_RECEIVER_PKG, testClass, in testOwnerChangedBroadcast()
89 assertTrue(runDeviceTests(INTENT_RECEIVER_PKG, testClass, in testOwnerChangedBroadcast()
94 runDeviceTests(DEVICE_OWNER_PKG, DEVICE_OWNER_CLEAR)); in testOwnerChangedBroadcast()
110 runDeviceTests(DEVICE_OWNER_PKG, DEVICE_OWNER_CLEAR); in testCannotSetDeviceOwnerWhenSecondaryUserPresent()
125 runDeviceTests(DEVICE_AND_PROFILE_OWNER_PKG, DEVICE_AND_PROFILE_OWNER_CLEAR); in testCannotSetDeviceOwnerWhenAccountPresent()
143 assertTrue(runDeviceTests(PACKAGE_INSTALLER_PKG, in testSilentPackageInstall()
146 assertTrue("Failed to remove device owner.", runDeviceTests(PACKAGE_INSTALLER_PKG, in testSilentPackageInstall()
DLauncherAppsProfileTest.java73 assertTrue(runDeviceTests(LAUNCHER_TESTS_PKG, in testGetActivitiesWithProfile()
77 assertTrue(runDeviceTests(LAUNCHER_TESTS_PKG, in testGetActivitiesWithProfile()
92 assertTrue(runDeviceTests(LAUNCHER_TESTS_PKG, in testLauncherCallbackPackageAddedProfile()
109 assertTrue(runDeviceTests(LAUNCHER_TESTS_PKG, in testLauncherCallbackPackageRemovedProfile()
126 assertTrue(runDeviceTests(LAUNCHER_TESTS_PKG, in testLauncherCallbackPackageChangedProfile()
DLauncherAppsMultiUserTest.java66 assertTrue(runDeviceTests(LAUNCHER_TESTS_PKG, in testGetActivitiesForNonProfileFails()
82 assertTrue(runDeviceTests(LAUNCHER_TESTS_PKG, in testNoLauncherCallbackPackageAddedSecondaryUser()
DManagedProfileTest.java174 assertTrue(runDeviceTests(MANAGED_PROFILE_PKG, MANAGED_PROFILE_PKG + ".PrimaryUserTest")); in testCrossProfileIntentFilters()
547 runDeviceTests(DEVICE_OWNER_PKG, DEVICE_OWNER_CLEAR); in testCannotSetDeviceOwnerWhenProfilePresent()
592 assertTrue(runDeviceTests(MANAGED_PROFILE_PKG, ".CrossProfileWidgetTest", in testCrossProfileWidgets()
594 assertTrue(runDeviceTests(MANAGED_PROFILE_PKG, ".CrossProfileWidgetPrimaryUserTest", in testCrossProfileWidgets()
596 assertTrue(runDeviceTests(MANAGED_PROFILE_PKG, ".CrossProfileWidgetPrimaryUserTest", in testCrossProfileWidgets()
604 assertTrue(runDeviceTests(MANAGED_PROFILE_PKG, ".CrossProfileWidgetTest", in testCrossProfileWidgets()
606 assertTrue(runDeviceTests(MANAGED_PROFILE_PKG, ".CrossProfileWidgetPrimaryUserTest", in testCrossProfileWidgets()
608 assertTrue(runDeviceTests(MANAGED_PROFILE_PKG, ".CrossProfileWidgetPrimaryUserTest", in testCrossProfileWidgets()
DDeviceOwnerTest.java58 runDeviceTests(DEVICE_OWNER_PKG, CLEAR_DEVICE_OWNER_TEST_CLASS)); in tearDown()
123 assertTrue(testClass + " failed.", runDeviceTests(DEVICE_OWNER_PKG, testClass)); in executeDeviceOwnerTest()
DMixedDeviceOwnerTest.java51 runDeviceTests(DEVICE_ADMIN_PKG, CLEAR_DEVICE_OWNER_TEST_CLASS)); in tearDown()
DBaseDevicePolicyTest.java171 protected boolean runDeviceTests(String pkgName, @Nullable String testClassName) in runDeviceTests() method in BaseDevicePolicyTest
173 return runDeviceTests(pkgName, testClassName, null /*testMethodName*/, null /*userId*/); in runDeviceTests()
187 return runDeviceTests(pkgName, testClassName, testMethodName, userId); in runDeviceTestsAsUser()
190 protected boolean runDeviceTests(String pkgName, @Nullable String testClassName, in runDeviceTests() method in BaseDevicePolicyTest
193 return runDeviceTests(pkgName, testClassName, testMethodName, userId, /*params*/ null); in runDeviceTests()
196 protected boolean runDeviceTests(String pkgName, @Nullable String testClassName, in runDeviceTests() method in BaseDevicePolicyTest
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideNetworkTests.java74 runDeviceTests(TEST_PKG, ".VpnTest"); in testVpn()
77 public void runDeviceTests(String packageName, String testClassName) in runDeviceTests() method in HostsideNetworkTests