Home
last modified time | relevance | path

Searched refs:configFile (Results 1 – 11 of 11) sorted by relevance

/tools/tradefederation/core/test_framework/com/android/tradefed/util/statsd/
DConfigUtil.java61 File configFile = null; in pushStatsConfig() local
63 configFile = File.createTempFile("statsdconfig", ".config"); in pushStatsConfig()
64 Files.write(config.toByteArray(), configFile); in pushStatsConfig() local
65 String remotePath = String.format("/data/local/tmp/%s", configFile.getName()); in pushStatsConfig()
66 if (device.pushFile(configFile, remotePath)) { in pushStatsConfig()
73 FileUtil.deleteFile(configFile); in pushStatsConfig()
84 public static long pushBinaryStatsConfig(ITestDevice device, File configFile) in pushBinaryStatsConfig() argument
86 if (!configFile.exists()) { in pushBinaryStatsConfig()
89 "File not found for statsd config: %s", configFile.getAbsolutePath())); in pushBinaryStatsConfig()
91 String remotePath = String.format("/data/local/tmp/%s", configFile.getName()); in pushBinaryStatsConfig()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DAcloudConfigParser.java61 public static AcloudConfigParser parseConfig(File configFile) { in parseConfig() argument
62 if (configFile == null || !configFile.exists()) { in parseConfig()
63 CLog.e("Could not read acloud config file: %s.", configFile); in parseConfig()
68 String content = FileUtil.readStringFromFile(configFile); in parseConfig()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DBaseTargetPreparerTest.java57 File configFile = FileUtil.createTempFile("base-target-prep-config", ".xml"); in testDisabledByDefault() local
58 try (PrintWriter pw = new PrintWriter(configFile)) { in testDisabledByDefault()
60 String value = FileUtil.readStringFromFile(configFile); in testDisabledByDefault()
66 FileUtil.deleteFile(configFile); in testDisabledByDefault()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DShardHelperTest.java214 File configFile = FileUtil.createTempFile("shard-helper-test", ".xml"); in createTmpConfig() local
216 FileUtil.writeToFile(content, configFile); in createTmpConfig()
217 return configFile; in createTmpConfig()
226 File configFile = createTmpConfig(Configuration.SYSTEM_STATUS_CHECKER_TYPE_NAME, checker); in testCloneStatusChecker() local
233 mConfig.setCommandLine(new String[] {configFile.getAbsolutePath()}); in testCloneStatusChecker()
262 FileUtil.deleteFile(configFile); in testCloneStatusChecker()
272 File configFile = in testCloneMetricCollector() local
280 mConfig.setCommandLine(new String[] {configFile.getAbsolutePath()}); in testCloneMetricCollector()
308 FileUtil.deleteFile(configFile); in testCloneMetricCollector()
DStrictShardHelperTest.java104 File configFile = in testShardConfig_internal() local
115 mConfig.setCommandLine(new String[] {configFile.getAbsolutePath()}); in testShardConfig_internal()
134 FileUtil.deleteFile(configFile); in testShardConfig_internal()
475 File configFile = FileUtil.createTempFile("shard-helper-test", ".xml"); in createTmpConfig() local
477 FileUtil.writeToFile(content, configFile); in createTmpConfig()
478 return configFile; in createTmpConfig()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DRemoteInvocationExecution.java202 File configFile = createRemoteConfig(config, listener, mRemoteTradefedDir); in runTests() local
214 configFile); in runTests()
264 configFile, in runTests()
272 FileUtil.recursiveDelete(configFile); in runTests()
307 File configFile, in runRemote() argument
327 tfCmdBuilder.append(" ./tradefed.sh " + mRemoteTradefedDir + configFile.getName()); in runRemote()
356 currentInvocationListener, configFile, info, options, runUtil, config); in runRemote()
409 File configFile, in isStillRunning() argument
481 stillRunning = psRes.getStdout().contains(configFile.getName()); in isStillRunning()
632 File configFile = FileUtil.createTempFile(config.getName(), ".xml"); in createRemoteConfig() local
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DHostStatsdMetricCollector.java107 long pushBinaryStatsConfig(ITestDevice device, File configFile) in pushBinaryStatsConfig() argument
109 return ConfigUtil.pushBinaryStatsConfig(device, configFile); in pushBinaryStatsConfig()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandScheduler.java661 final File configFile = in execManagedClusterCommand() local
669 CLog.i("executing cluster command: [%s] %s", commandTask.getTaskId(), configFile); in execManagedClusterCommand()
670 CLog.d("configFile: %s", FileUtil.readStringFromFile(configFile)); in execManagedClusterCommand()
674 execCommand(handler, new String[] {configFile.getAbsolutePath()}); in execManagedClusterCommand()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteIntegrationTest.java205 for (File configFile : files) { in loadTests()
210 new String[] {configFile.getAbsolutePath()}); in loadTests()
211 testConfig.put(configFile.getName().replace(".config", ""), config); in loadTests()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DSuiteModuleLoader.java145 for (File configFile : listConfigFiles) { in loadConfigsFromSpecifiedPaths()
148 configFile.getName(), configFile.getAbsolutePath(), abis, suiteTag)); in loadConfigsFromSpecifiedPaths()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...