Home
last modified time | relevance | path

Searched refs:moduleName (Results 1 – 18 of 18) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DHostGTestTest.java147 String moduleName = "hello_world_test"; in testLoadFilter() local
163 Path path = Paths.get(mTestsDir.getAbsolutePath(), moduleName + GTestBase.FILTER_EXTENSION); in testLoadFilter()
169 mHostGTest.loadFilter(filterFile.getParent() + File.separator + moduleName), in testLoadFilter()
177 String moduleName = "hello_world_test"; in testRunTest() local
188 mSetter.setOptionValue("module-name", moduleName); in testRunTest()
191 createTestScript(hostLinkedFolder.getAbsolutePath(), moduleName); in testRunTest() local
210 String moduleName = "hello_world_test"; in testRun_priority_get_testcase_from_hostlinked_folder() local
214 createTestScript(hostLinkedFolder.getAbsolutePath(), moduleName); in testRun_priority_get_testcase_from_hostlinked_folder()
219 createTestScript(testcasesFolder.getAbsolutePath(), moduleName); in testRun_priority_get_testcase_from_hostlinked_folder()
221 mSetter.setOptionValue("module-name", moduleName); in testRun_priority_get_testcase_from_hostlinked_folder()
[all …]
DGTestBaseTest.java68 String moduleName = "test1"; in testGetGTestFilters_default() local
73 String filters = gTestBase.getGTestFilters(moduleName); in testGetGTestFilters_default()
81 String moduleName = "test1"; in testGTestFilters_positive() local
86 String filters = gTestBase.getGTestFilters(moduleName); in testGTestFilters_positive()
94 String moduleName = "test1"; in testGTestFilters_negative() local
99 String filters = gTestBase.getGTestFilters(moduleName); in testGTestFilters_negative()
107 String moduleName = "test1"; in testGTestFilters_postive_and_negative() local
113 String filters = gTestBase.getGTestFilters(moduleName); in testGTestFilters_postive_and_negative()
168 String moduleName = "test1"; in testGTestFilters_positiveAndSharding() local
175 String filters = gTestBase.getGTestFilters(moduleName); in testGTestFilters_positiveAndSharding()
[all …]
DGoogleBenchmarkTestTest.java166 final String moduleName = "module"; in testRun_withModuleName() local
168 String.format("%s/%s", GoogleBenchmarkTest.DEFAULT_TEST_PATH, moduleName); in testRun_withModuleName()
169 mGoogleBenchmarkTest.setModuleName(moduleName); in testRun_withModuleName()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleSplitter.java95 String moduleName, in createAndAddModule() argument
110 moduleName, in createAndAddModule()
118 currentList, config.getTests().get(i), moduleName, config); in createAndAddModule()
135 moduleName, in createAndAddModule()
146 currentList, moduleTest, moduleName, config); in createAndAddModule()
153 addModuleToListFromSingleTest(currentList, test, moduleName, config); in createAndAddModule()
164 String moduleName, in addModuleToListFromSingleTest() argument
170 moduleName, in addModuleToListFromSingleTest()
DBaseTestSuite.java356 String moduleName = mod.getName().replace(".config", ""); in setupFilters() local
357 checkFilters(mIncludeFilters, moduleName); in setupFilters()
358 checkFilters(mExcludeFilters, moduleName); in setupFilters()
360 new SuiteTestFilter(getRequestedAbi(), moduleName, mTestName).toString()); in setupFilters()
380 private static void checkFilters(Set<String> filters, String moduleName) { in checkFilters() argument
386 if (moduleName.equals(filterName) || moduleName.equals(filterBaseName)) { in checkFilters()
DITestSuite.java703 String moduleName, in runPreModuleCheck() argument
709 CLog.i("Running system status checker before module execution: %s", moduleName); in runPreModuleCheck()
741 String.format("bugreport-checker-pre-module-%s", moduleName), listener); in runPreModuleCheck()
746 reportModuleCheckerResult(MODULE_CHECKER_PRE, moduleName, failures, startTime, listener); in runPreModuleCheck()
754 String moduleName, in runPostModuleCheck() argument
760 CLog.i("Running system status checker after module execution: %s", moduleName); in runPostModuleCheck()
789 String.format("bugreport-checker-post-module-%s", moduleName), listener); in runPostModuleCheck()
794 reportModuleCheckerResult(MODULE_CHECKER_POST, moduleName, failures, startTime, listener); in runPostModuleCheck()
800 String moduleName, in reportModuleCheckerResult() argument
809 listener.testRunStarted(identifier + "_" + moduleName, 0, 0, System.currentTimeMillis()); in reportModuleCheckerResult()
[all …]
DSuiteModuleLoader.java487 String moduleName = arg.substring(0, moduleSep); in parseArgs() local
489 List<OptionDef> listOption = moduleOptions.get(moduleName); in parseArgs()
492 moduleOptions.put(moduleName, listOption); in parseArgs()
513 option = new OptionDef(optionName, tokens[0], moduleName); in parseArgs()
515 option = new OptionDef(optionName, tokens[0], tokens[1], moduleName); in parseArgs()
522 private List<IModuleParameter> getModuleParameters(String moduleName, IConfiguration config) in getModuleParameters() argument
542 moduleName, suiteParam, duplicateModule.get(family))); in getModuleParameters()
DAtestRunner.java118 String moduleName = canonicalizeConfigName(filter.substring(0, moduleSep)); in getIncludeFilters() local
120 HashSet<String> moduleFilters = includeFilters.get(moduleName); in getIncludeFilters()
123 includeFilters.put(moduleName, moduleFilters); in getIncludeFilters()
/tools/tradefederation/contrib/src/com/android/tradefed/presubmit/
DTestMappingsValidation.java149 for (String moduleName : getModuleNames(testGroup)) { in testFilterOptions()
150 errors.addAll(validateFilterOption(moduleName, INCLUDE_FILTER, testGroup)); in testFilterOptions()
151 errors.addAll(validateFilterOption(moduleName, EXCLUDE_FILTER, testGroup)); in testFilterOptions()
171 String moduleName, String filterOption, String testGroup) { in validateFilterOption() argument
175 for (TestInfo test : getTestInfos(moduleName, testGroup)) { in validateFilterOption()
194 moduleName, in validateFilterOption()
299 private Set<TestInfo> getTestInfos(String moduleName, String testGroup) { in getTestInfos() argument
302 if (test.getName().equals(moduleName)) { in getTestInfos()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DHostGTest.java213 String moduleName = getTestModule(); in run() local
216 gTestFile = FileUtil.findFile(moduleName, mAbi, scanDirs.toArray(new File[] {})); in run()
226 FileUtil.findFile(moduleName + ".*", mAbi, scanDirs.toArray(new File[] {})); in run()
238 "Fail to find native test %s in directory %s.", moduleName, scanDirs)); in run()
DNativeStressTest.java98 public void setModuleName(String moduleName) { in setModuleName() argument
99 mTestModule = moduleName; in setModuleName()
DGoogleBenchmarkTest.java100 public void setModuleName(String moduleName) { in setModuleName() argument
101 mTestModule = moduleName; in setModuleName()
DNativeBenchmarkTest.java119 public void setModuleName(String moduleName) { in setModuleName() argument
120 mTestModule = moduleName; in setModuleName()
DGTestBase.java174 public void setModuleName(String moduleName) { in setModuleName() argument
175 mTestModule = moduleName; in setModuleName()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DSuiteResultReporter.java294 for (String moduleName : metrics.keySet()) { in printPreparationMetrics()
297 " %s => %s\n", moduleName, metrics.get(moduleName).toString())); in printPreparationMetrics()
298 totalPrep += metrics.get(moduleName).mPrepTime; in printPreparationMetrics()
299 totalTear += metrics.get(moduleName).mTearDownTime; in printPreparationMetrics()
/tools/tradefederation/core/src/com/android/tradefed/util/
DBundletoolUtil.java117 String moduleName = helperArray[helperArray.length - 2]; in extractSplitsFromApks() local
118 destDir = new File(destDirPath, moduleName + SPLITS_KEYWORD); in extractSplitsFromApks()
DSubprocessEventHelper.java538 String moduleName = in toString() local
543 if (moduleName != null) { in toString()
544 tags.put(MODULE_NAME, moduleName); in toString()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DSuiteModuleLoaderTest.java81 private void createModuleConfig(String moduleName) throws IOException { in createModuleConfig() argument
82 File module = new File(mTestsDir, moduleName + SuiteModuleLoader.CONFIG_EXT); in createModuleConfig()