Home
last modified time | relevance | path

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

/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DIntegrationTest.java199 final String moduleName = "module_run"; in testSingleModuleRun() local
201 createConfig(mTestDir, moduleName, TEST_STUB, true, true, true, false); in testSingleModuleRun()
205 EasyMock.eq(AbiUtils.createId(mAbi, moduleName))); in testSingleModuleRun()
226 final String moduleName = "AwsomeModule"; in testSingleModuleRun_checkMetadata() local
235 createConfig(mTestDir, moduleName, SIMPLE_TEST_STUB, true, true, true, false, component); in testSingleModuleRun_checkMetadata()
239 EasyMock.eq(AbiUtils.createId(mAbi, moduleName))); in testSingleModuleRun_checkMetadata()
280 assertEquals(moduleName, receivedModuleNameTestRunEnded.get(0)); in testSingleModuleRun_checkMetadata()
291 assertEquals(moduleName, receivedModuleNameTestEnded.get(0)); in testSingleModuleRun_checkMetadata()
302 final String moduleName = "module_run_incomplete"; in testSingleModuleRun_incomplete() local
304 createConfig(mTestDir, moduleName, TEST_STUB, true, false, true, false); in testSingleModuleRun_incomplete()
[all …]
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
DDynamicConfigFileReader.java72 public static String getValueFromConfig(IBuildInfo info, String moduleName, String key) in getValueFromConfig() argument
75 File dynamicConfig = helper.getDynamicConfigFiles().get(moduleName); in getValueFromConfig()
77 CLog.w("Config file %s, not found in the map of dynamic configs.", moduleName); in getValueFromConfig()
91 public static List<String> getValuesFromConfig(IBuildInfo info, String moduleName, String key) in getValuesFromConfig() argument
94 File dynamicConfig = helper.getDynamicConfigFiles().get(moduleName); in getValuesFromConfig()
96 CLog.w("Config file %s, not found in the map of dynamic configs.", moduleName); in getValuesFromConfig()
DRetryFilterHelper.java88 String moduleName, String testName, RetryType retryType) { in RetryFilterHelper() argument
94 mModuleName = moduleName; in RetryFilterHelper()
/test/vts/harnesses/tradefed/src/com/android/tradefed/device/metric/
DVtsHalTraceCollector.java74 String moduleName = getRunName().replace(' ', '_'); in onTestRunEnd() local
75 CLog.i("Test module name: " + moduleName); in onTestRunEnd()
79 pullTraceFiles(device, moduleName); in onTestRunEnd()
91 private void pullTraceFiles(ITestDevice device, String moduleName) in pullTraceFiles() argument
98 localTracedDir = new File(String.format("%s/%s", tracePath, moduleName)); in pullTraceFiles()
101 String.format("%s/%s", FileUtil.createTempDir(TRACE_DIR_PREFIX), moduleName)); in pullTraceFiles()
DVtsCoverageCollector.java59 String moduleName = getRunName().replace(' ', '_'); in onTestRunEnd() local
60 CLog.i("Test module name: " + moduleName); in onTestRunEnd()
89 File local_coverage_report_dir = new File(coverage_report_dir, moduleName); in onTestRunEnd()
95 + moduleName; in onTestRunEnd()
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DDynamicConfig.java103 public static File getConfigFile(File configFolder, String moduleName) in getConfigFile() argument
105 File config = getConfigFileUnchecked(configFolder, moduleName); in getConfigFile()
107 throw new FileNotFoundException(String.format("Cannot find %s.dynamic", moduleName)); in getConfigFile()
112 public static File getConfigFileUnchecked(File configFolder, String moduleName) { in getConfigFileUnchecked() argument
113 return new File(configFolder, String.format("%s.dynamic", moduleName)); in getConfigFileUnchecked()
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DDynamicConfigHandler.java46 String moduleName) throws IOException, XmlPullParserException, JSONException { in getMergedDynamicConfigFile() argument
52 return storeMergedConfigFile(localConfig, moduleName); in getMergedDynamicConfigFile()
91 String moduleName) throws XmlPullParserException, IOException { in storeMergedConfigFile() argument
93 File mergedConfigFile = FileUtil.createTempFile(moduleName, FILE_EXT); in storeMergedConfigFile()
DDynamicConfigHostSide.java67 public static File getDynamicConfigFile(IBuildInfo info, String moduleName) { in getDynamicConfigFile() argument
69 if (vFile.getVersion().equals(CONFIG_PATH_PREFIX + moduleName)) { in getDynamicConfigFile()
/test/vts/harnesses/tradefed/src/com/android/compatibility/common/tradefed/util/
DVtsRetryFilterHelper.java49 String moduleName, String testName, RetryType retryType) { in VtsRetryFilterHelper() argument
50 super(build, sessionId, subPlan, includeFilters, excludeFilters, abiName, moduleName, in VtsRetryFilterHelper()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DDynamicConfigPusher.java104 void setModuleName(String moduleName) { in setModuleName() argument
105 mModuleName = moduleName; in setModuleName()
238 File mergeConfigFiles(File localConfigFile, String apfeConfigInJson, String moduleName, in mergeConfigFiles() argument
243 localConfigFile, apfeConfigInJson, moduleName); in mergeConfigFiles()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DMetadataReporter.java183 String moduleName, in tryWriteToFile() argument
189 String moduleFileName = moduleName + "." + System.currentTimeMillis() + ".json"; in tryWriteToFile()
215 writer.value(moduleName); in tryWriteToFile()
DResultReporter.java1017 for (String moduleName : dcFiles.keySet()) { in copyDynamicConfigFiles()
1018 File srcFile = dcFiles.get(moduleName); in copyDynamicConfigFiles()
1019 if (!uniqueModules.contains(moduleName)) { in copyDynamicConfigFiles()
1021 File destFile = new File(configDir, moduleName + ".dynamic"); in copyDynamicConfigFiles()
1024 uniqueModules.add(moduleName); // Add to uniqueModules if copy succeeds in copyDynamicConfigFiles()
1027 srcFile.getAbsolutePath(), destFile.getAbsolutePath(), moduleName); in copyDynamicConfigFiles()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DBusinessLogicHostTestBase.java83 String moduleName = getInvocationContext().getConfigurationDescriptor(). in loadBusinessLogic() local
85 businessLogicFile = helper.getBusinessLogicHostFile(bitness + moduleName); in loadBusinessLogic()
DCompatibilityTest.java673 void runPreModuleCheck(String moduleName, List<ISystemStatusChecker> checkers, in runPreModuleCheck() argument
675 CLog.i("Running system status checker before module execution: %s", moduleName); in runPreModuleCheck()
688 logger.testLog(String.format("bugreport-checker-pre-module-%s", moduleName), in runPreModuleCheck()
695 void runPostModuleCheck(String moduleName, List<ISystemStatusChecker> checkers, in runPostModuleCheck() argument
697 CLog.i("Running system status checker after module execution: %s", moduleName); in runPostModuleCheck()
710 logger.testLog(String.format("bugreport-checker-post-module-%s", moduleName), in runPostModuleCheck()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationSuiteResultReporter.java481 for (String moduleName : dcFiles.keySet()) { in copyDynamicConfigFiles()
482 File srcFile = dcFiles.get(moduleName); in copyDynamicConfigFiles()
483 if (!uniqueModules.contains(moduleName)) { in copyDynamicConfigFiles()
485 File destFile = new File(configDir, moduleName + ".dynamic"); in copyDynamicConfigFiles()
491 uniqueModules.add(moduleName); // Add to uniqueModules if copy succeeds in copyDynamicConfigFiles()
494 srcFile.getAbsolutePath(), destFile.getAbsolutePath(), moduleName); in copyDynamicConfigFiles()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/build/
DCompatibilityBuildHelper.java114 public void addDynamicConfigFile(String moduleName, File configFile) { in addDynamicConfigFile() argument
118 CONFIG_PATH_PREFIX + moduleName /* version */); in addDynamicConfigFile() local
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/
DDynamicConfigPusherTest.java253 File localConfigFile, String apfeConfigInJson, String moduleName, in testSetUp()
256 return super.mergeConfigFiles(localConfigFile,apfeConfigInJson,moduleName,device); in testSetUp()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/command/
DCompatibilityConsole.java330 String moduleName = file.getName().split("\\.")[0]; in splitModules() local
331 if (MODULE_SPLIT_EXCLUSIONS.contains(moduleName)) { in splitModules()
353 moduleRuntime.add(new Pair<String, Long>(moduleName, runtime)); in splitModules()