/cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/ |
D | AdoptableHostTest.java | 81 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 …]
|
D | ExternalStorageHostTest.java | 98 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 …]
|
D | PermissionsHostTest.java | 71 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 …]
|
D | DocumentsTest.java | 74 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()
|
D | Utils.java | 36 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 …]
|
D | SplitTests.java | 117 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 …]
|
D | AppSecurityTests.java | 176 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()
|
D | KeySetHostTest.java | 155 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/ |
D | LauncherAppsSingleUserTest.java | 55 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()
|
D | CustomDeviceOwnerTest.java | 83 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()
|
D | LauncherAppsProfileTest.java | 73 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()
|
D | LauncherAppsMultiUserTest.java | 66 assertTrue(runDeviceTests(LAUNCHER_TESTS_PKG, in testGetActivitiesForNonProfileFails() 82 assertTrue(runDeviceTests(LAUNCHER_TESTS_PKG, in testNoLauncherCallbackPackageAddedSecondaryUser()
|
D | ManagedProfileTest.java | 174 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()
|
D | DeviceOwnerTest.java | 58 runDeviceTests(DEVICE_OWNER_PKG, CLEAR_DEVICE_OWNER_TEST_CLASS)); in tearDown() 123 assertTrue(testClass + " failed.", runDeviceTests(DEVICE_OWNER_PKG, testClass)); in executeDeviceOwnerTest()
|
D | MixedDeviceOwnerTest.java | 51 runDeviceTests(DEVICE_ADMIN_PKG, CLEAR_DEVICE_OWNER_TEST_CLASS)); in tearDown()
|
D | BaseDevicePolicyTest.java | 171 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/ |
D | HostsideNetworkTests.java | 74 runDeviceTests(TEST_PKG, ".VpnTest"); in testVpn() 77 public void runDeviceTests(String packageName, String testClassName) in runDeviceTests() method in HostsideNetworkTests
|