Home
last modified time | relevance | path

Searched refs:testArgs (Results 1 – 6 of 6) sorted by relevance

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DEphemeralTest.java192 for (Map<String, String> testArgs : EXPECTED_EXPOSED_INTENTS) { in testExposedSystemActivities()
193 final boolean exposed = isIntentExposed(testArgs); in testExposedSystemActivities()
195 runDeviceTests(EPHEMERAL_1_PKG, TEST_CLASS, "testExposedActivity", testArgs); in testExposedSystemActivities()
197 CLog.w("Skip intent; " + dumpArgs(testArgs)); in testExposedSystemActivities()
227 final HashMap<String, String> testArgs = new HashMap<>(); in makeArgs() local
228 testArgs.put("action", action); in makeArgs()
230 testArgs.put("category", category); in makeArgs()
233 testArgs.put("mime_type", mimeType); in makeArgs()
235 return testArgs; in makeArgs()
238 private boolean isIntentExposed(Map<String, String> testArgs) in isIntentExposed() argument
[all …]
DUtils.java60 String testMethodName, Map<String, String> testArgs) in runDeviceTests() argument
62 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests()
71 String testMethodName, int userId, Map<String, String> testArgs) in runDeviceTests() argument
85 if (testArgs != null && testArgs.size() > 0) { in runDeviceTests()
86 for (String name : testArgs.keySet()) { in runDeviceTests()
87 final String value = testArgs.get(name); in runDeviceTests()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DIModuleRepo.java41 List<String> deviceTokens, List<String> testArgs, List<String> moduleArgs, in initialize() argument
DModuleRepo.java170 List<String> deviceTokens, List<String> testArgs, List<String> moduleArgs, in initialize() argument
177 totalShards, testsDir.getAbsolutePath(), abis, deviceTokens, testArgs, moduleArgs, in initialize()
204 putArgs(testArgs, mTestArgs); in initialize()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/suite/
DModuleRepoSuite.java64 List<String> testArgs, List<String> moduleArgs, in loadConfigs() argument
68 testsDir.getAbsolutePath(), abis, testArgs, moduleArgs, in loadConfigs()
73 putArgs(testArgs, mTestArgs); in loadConfigs()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java947 final Bundle testArgs = InstrumentationRegistry.getArguments(); in testExposedActivity() local
948 assertThat(testArgs, is(notNullValue())); in testExposedActivity()
949 final String action = testArgs.getString("action"); in testExposedActivity()
950 final String category = testArgs.getString("category"); in testExposedActivity()
951 final String mimeType = testArgs.getString("mime_type"); in testExposedActivity()