/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | AdoptableHostTest.java | 83 runDeviceTests(PKG, CLASS, "testDataInternal"); in testApps() 84 runDeviceTests(PKG, CLASS, "testDataWrite"); in testApps() 85 runDeviceTests(PKG, CLASS, "testDataRead"); in testApps() 86 runDeviceTests(PKG, CLASS, "testNative"); in testApps() 95 runDeviceTests(PKG, CLASS, "testDataNotInternal"); in testApps() 96 runDeviceTests(PKG, CLASS, "testDataRead"); in testApps() 97 runDeviceTests(PKG, CLASS, "testNative"); in testApps() 102 runDeviceTests(PKG, CLASS, "testDataNotInternal"); in testApps() 103 runDeviceTests(PKG, CLASS, "testDataRead"); in testApps() 104 runDeviceTests(PKG, CLASS, "testNative"); in testApps() [all …]
|
D | PermissionsHostTest.java | 73 runDeviceTests(PKG, "com.android.cts.usepermission.UsePermissionTest23", in testFail() 85 runDeviceTests(PKG, "com.android.cts.usepermission.UsePermissionTest23", in testKill() 96 runDeviceTests(PKG, "com.android.cts.usepermission.UsePermissionTest22", in testCompatDefault22() 105 runDeviceTests(PKG, "com.android.cts.usepermission.UsePermissionTest22", in testCompatRevoked22() 110 runDeviceTests(PKG, "com.android.cts.usepermission.UsePermissionTest22", in testCompatRevoked22() 118 runDeviceTests(PKG, "com.android.cts.usepermission.UsePermissionTest22", in testNoRuntimePrompt22() 125 runDeviceTests(PKG, "com.android.cts.usepermission.UsePermissionTest23", in testDefault23() 132 runDeviceTests(PKG, "com.android.cts.usepermission.UsePermissionTest23", in testGranted23() 139 runDeviceTests(PKG, "com.android.cts.usepermission.UsePermissionTest23", in testInteractiveGrant23() 146 runDeviceTests(PKG, "com.android.cts.usepermission.UsePermissionTest23", in testRuntimeGroupGrantSpecificity23() [all …]
|
D | ScopedDirectoryAccessTest.java | 25 runDeviceTests(CLIENT_PKG, ".ScopedDirectoryAccessClientTest", "testInvalidPath"); in testInvalidPath() 29 runDeviceTests(CLIENT_PKG, ".ScopedDirectoryAccessClientTest", "testUserRejects"); in testUserRejects() 33 runDeviceTests(CLIENT_PKG, ".ScopedDirectoryAccessClientTest", "testUserAccepts"); in testUserAccepts() 37 runDeviceTests(CLIENT_PKG, ".ScopedDirectoryAccessClientTest", in testUserAcceptsNewDirectory() 42 runDeviceTests(CLIENT_PKG, ".ScopedDirectoryAccessClientTest", "testNotAskedAgain"); in testNotAskedAgain() 46 runDeviceTests(CLIENT_PKG, ".ScopedDirectoryAccessClientTest", in testDeniesOnceButAllowsAskingAgain() 51 runDeviceTests(CLIENT_PKG, ".ScopedDirectoryAccessClientTest", "testDeniesOnceForAll"); in testDeniesOnceForAll()
|
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() 179 runDeviceTests(READ_PKG, ".ReadGiftTest", user); in testExternalStorageGifts() 180 runDeviceTests(NONE_PKG, ".GiftTest", user); in testExternalStorageGifts() 213 runDeviceTests(MULTIUSER_PKG, MULTIUSER_CLASS, "testCleanIsolatedStorage", owner); in testMultiUserStorageIsolated() [all …]
|
D | DocumentsTest.java | 47 runDeviceTests(CLIENT_PKG, ".DocumentsClientTest", "testOpenSimple"); in testOpenSimple() 51 runDeviceTests(CLIENT_PKG, ".DocumentsClientTest", "testOpenVirtual"); in testOpenVirtual() 55 runDeviceTests(CLIENT_PKG, ".DocumentsClientTest", "testCreateNew"); in testCreateNew() 59 runDeviceTests(CLIENT_PKG, ".DocumentsClientTest", "testCreateExisting"); in testCreateExisting() 63 runDeviceTests(CLIENT_PKG, ".DocumentsClientTest", "testTree"); in testTree() 67 runDeviceTests(CLIENT_PKG, ".DocumentsClientTest", "testGetContent"); in testGetContent() 71 runDeviceTests(CLIENT_PKG, ".DocumentsClientTest", "testTransferDocument"); in testTransferDocument()
|
D | PrivilegedUpdateTests.java | 93 runDeviceTests(TEST_PKG, ".PrivilegedUpdateTest", "testSystemAppPriorities"); in testSystemAppPriorities() 97 runDeviceTests(TEST_PKG, ".PrivilegedUpdateTest", "testPrivilegedAppPriorities"); in testPrivilegedAppPriorities() 106 runDeviceTests(TEST_PKG, ".PrivilegedUpdateTest", "testPrivilegedAppUpgradePriorities"); in testPrivilegedAppUpgradePriorities() 114 runDeviceTests(TEST_PKG, ".PrivilegedAppDisableTest", "testPrivAppAndEnabled"); in testDisableSystemApp() 116 runDeviceTests(TEST_PKG, ".PrivilegedAppDisableTest", "testPrivAppAndDisabled"); in testDisableSystemApp() 121 runDeviceTests(TEST_PKG, ".PrivilegedAppDisableTest", "testPrivAppAndEnabled"); in testDisableUpdatedSystemApp() 126 runDeviceTests(TEST_PKG, ".PrivilegedAppDisableTest", "testUpdatedPrivAppAndDisabled"); in testDisableUpdatedSystemApp() 128 runDeviceTests(TEST_PKG, ".PrivilegedAppDisableTest", "testUpdatedPrivAppAndEnabled"); in testDisableUpdatedSystemApp() 134 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() method in PrivilegedUpdateTests 136 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests()
|
D | SplitTests.java | 122 runDeviceTests(PKG, CLASS, "testSingleBase"); in testSingleBase() 127 runDeviceTests(PKG, CLASS, "testDensitySingle"); in testDensitySingle() 133 runDeviceTests(PKG, CLASS, "testDensityAll"); in testDensityAll() 142 runDeviceTests(PKG, CLASS, "testDensityBest1"); in testDensityBest() 146 runDeviceTests(PKG, CLASS, "testDensityBest2"); in testDensityBest() 155 runDeviceTests(PKG, CLASS, "testApi"); in testApi() 160 runDeviceTests(PKG, CLASS, "testLocale"); in testLocale() 173 runDeviceTests(PKG, CLASS, "testNative"); in testNativeSingle() 188 runDeviceTests(PKG, CLASS, "testNative"); in testNativeSingleNatural() 201 runDeviceTests(PKG, CLASS, "testNative"); in testNativeAll() [all …]
|
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 | UsesLibraryHostTest.java | 70 runDeviceTests(PKG, ".UsesLibraryTest", "testUsesLibrary"); in testUsesLibrary() 76 runDeviceTests(PKG, ".UsesLibraryTest", "testMissingLibrary"); in testMissingLibrary() 82 runDeviceTests(PKG, ".UsesLibraryTest", "testDuplicateLibrary"); in testDuplicateLibrary() 85 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() method in UsesLibraryHostTest 87 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests()
|
D | AppSecurityTests.java | 178 runDeviceTests(APP_WITH_DATA_PKG, APP_WITH_DATA_CLASS, APP_WITH_DATA_CREATE_METHOD); in testAppFailAccessPrivateData() 185 runDeviceTests(APP_ACCESS_DATA_PKG); in testAppFailAccessPrivateData() 207 runDeviceTests(APP_WITH_DATA_PKG, APP_WITH_DATA_CLASS, APP_WITH_DATA_CREATE_METHOD); in testUninstallRemovesData() 216 runDeviceTests(APP_WITH_DATA_PKG, APP_WITH_DATA_CLASS, in testUninstallRemovesData() 248 runDeviceTests(INSTRUMENT_DIFF_CERT_PKG); in testInstrumentationDiffCert() 284 runDeviceTests(PERMISSION_DIFF_CERT_PKG); in testPermissionDiffCert() 292 private void runDeviceTests(String packageName) throws DeviceNotAvailableException { in runDeviceTests() method in AppSecurityTests 293 Utils.runDeviceTests(getDevice(), packageName); in runDeviceTests() 296 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() method in AppSecurityTests 298 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests()
|
D | DirectBootHostTest.java | 143 runDeviceTests(PKG, CLASS, "testSetUp", users); in doDirectBootTest() 158 runDeviceTests(PKG, CLASS, "testVerifyUnlockedAndDismiss", users); in doDirectBootTest() 160 runDeviceTests(PKG, CLASS, "testVerifyLockedAndDismiss", users); in doDirectBootTest() 166 runDeviceTests(PKG, CLASS, "testTearDown", users); in doDirectBootTest() 193 private void runDeviceTests(String packageName, String testClassName, String testMethodName, in runDeviceTests() method in DirectBootHostTest 197 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, user); in runDeviceTests()
|
D | DocumentsTestCase.java | 67 public void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() method in DocumentsTestCase 69 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/net/src/com/android/cts/net/ |
D | HostsideRestrictBackgroundNetworkTests.java | 44 runDeviceTests(TEST_PKG, TEST_PKG + ".DataSaverModeTest", in testDataSaverMode_disabled() 49 runDeviceTests(TEST_PKG, TEST_PKG + ".DataSaverModeTest", in testDataSaverMode_whitelisted() 54 runDeviceTests(TEST_PKG, TEST_PKG + ".DataSaverModeTest", in testDataSaverMode_enabled() 59 runDeviceTests(TEST_PKG, TEST_PKG + ".DataSaverModeTest", in testDataSaverMode_blacklisted() 80 runDeviceTests(TEST_PKG, TEST_PKG + ".DataSaverModeTest", in testDataSaverMode_requiredWhitelistedPackages() 89 runDeviceTests(TEST_PKG, TEST_PKG + ".BatterySaverModeMeteredTest", in testBatterySaverModeMetered_disabled() 94 runDeviceTests(TEST_PKG, TEST_PKG + ".BatterySaverModeMeteredTest", in testBatterySaverModeMetered_whitelisted() 99 runDeviceTests(TEST_PKG, TEST_PKG + ".BatterySaverModeMeteredTest", in testBatterySaverModeMetered_enabled() 121 runDeviceTests(TEST_PKG, TEST_PKG + ".BatterySaverModeNonMeteredTest", in testBatterySaverModeNonMetered_disabled() 126 runDeviceTests(TEST_PKG, TEST_PKG + ".BatterySaverModeNonMeteredTest", in testBatterySaverModeNonMetered_whitelisted() [all …]
|
D | HostsideVpnTests.java | 37 runDeviceTests(TEST_PKG, TEST_PKG + ".VpnTest", "testDefault"); in testDefault() 41 runDeviceTests(TEST_PKG, TEST_PKG + ".VpnTest", "testAppAllowed"); in testAppAllowed() 45 runDeviceTests(TEST_PKG, TEST_PKG + ".VpnTest", "testAppDisallowed"); in testAppDisallowed()
|
D | HostsideNetworkTestCase.java | 124 protected void runDeviceTests(String packageName, String testClassName) in runDeviceTests() method in HostsideNetworkTestCase 126 runDeviceTests(packageName, testClassName, null); in runDeviceTests() 129 protected void runDeviceTests(String packageName, String testClassName, String methodName) in runDeviceTests() method in HostsideNetworkTestCase
|