/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/ |
D | IntegrationTest.java | 199 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/ |
D | DynamicConfigFileReader.java | 72 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()
|
D | RetryFilterHelper.java | 88 String moduleName, String testName, RetryType retryType) { in RetryFilterHelper() argument 94 mModuleName = moduleName; in RetryFilterHelper()
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/device/metric/ |
D | VtsHalTraceCollector.java | 74 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()
|
D | VtsCoverageCollector.java | 59 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/ |
D | DynamicConfig.java | 103 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/ |
D | DynamicConfigHandler.java | 46 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()
|
D | DynamicConfigHostSide.java | 67 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/ |
D | VtsRetryFilterHelper.java | 49 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/ |
D | DynamicConfigPusher.java | 104 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/ |
D | MetadataReporter.java | 183 String moduleName, in tryWriteToFile() argument 189 String moduleFileName = moduleName + "." + System.currentTimeMillis() + ".json"; in tryWriteToFile() 215 writer.value(moduleName); in tryWriteToFile()
|
D | ResultReporter.java | 1017 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/ |
D | BusinessLogicHostTestBase.java | 83 String moduleName = getInvocationContext().getConfigurationDescriptor(). in loadBusinessLogic() local 85 businessLogicFile = helper.getBusinessLogicHostFile(bitness + moduleName); in loadBusinessLogic()
|
D | CompatibilityTest.java | 673 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/ |
D | CertificationSuiteResultReporter.java | 481 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/ |
D | CompatibilityBuildHelper.java | 114 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/ |
D | DynamicConfigPusherTest.java | 253 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/ |
D | CompatibilityConsole.java | 330 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()
|