/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | HostGTestTest.java | 147 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 …]
|
D | GTestBaseTest.java | 68 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 …]
|
D | GoogleBenchmarkTestTest.java | 166 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/ |
D | ModuleSplitter.java | 95 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()
|
D | BaseTestSuite.java | 356 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()
|
D | ITestSuite.java | 703 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 …]
|
D | SuiteModuleLoader.java | 487 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()
|
D | AtestRunner.java | 118 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/ |
D | TestMappingsValidation.java | 149 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/ |
D | HostGTest.java | 213 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()
|
D | NativeStressTest.java | 98 public void setModuleName(String moduleName) { in setModuleName() argument 99 mTestModule = moduleName; in setModuleName()
|
D | GoogleBenchmarkTest.java | 100 public void setModuleName(String moduleName) { in setModuleName() argument 101 mTestModule = moduleName; in setModuleName()
|
D | NativeBenchmarkTest.java | 119 public void setModuleName(String moduleName) { in setModuleName() argument 120 mTestModule = moduleName; in setModuleName()
|
D | GTestBase.java | 174 public void setModuleName(String moduleName) { in setModuleName() argument 175 mTestModule = moduleName; in setModuleName()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | SuiteResultReporter.java | 294 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/ |
D | BundletoolUtil.java | 117 String moduleName = helperArray[helperArray.length - 2]; in extractSplitsFromApks() local 118 destDir = new File(destDirPath, moduleName + SPLITS_KEYWORD); in extractSplitsFromApks()
|
D | SubprocessEventHelper.java | 538 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/ |
D | SuiteModuleLoaderTest.java | 81 private void createModuleConfig(String moduleName) throws IOException { in createModuleConfig() argument 82 File module = new File(mTestsDir, moduleName + SuiteModuleLoader.CONFIG_EXT); in createModuleConfig()
|