Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/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/invoker/
DRemoteInvocationExecution.java221 File configFile = createRemoteConfig(config, listener, mRemoteTradefedDir); in runTests() local
233 configFile); in runTests()
276 runRemote(listener, context, configFile, info, options, runUtil, config, globalConfig); in runTests()
279 FileUtil.recursiveDelete(configFile); in runTests()
316 File configFile, in runRemote() argument
336 tfCmdBuilder.append(" ./tradefed.sh " + mRemoteTradefedDir + configFile.getName()); in runRemote()
359 currentInvocationListener, configFile, info, options, runUtil, config); in runRemote()
400 File configFile, in isStillRunning() argument
434 stillRunning = psRes.getStdout().contains(configFile.getName()); in isStillRunning()
540 File configFile = FileUtil.createTempFile(config.getName(), ".xml"); in createRemoteConfig() local
[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/invoker/shard/
DShardHelperTest.java213 File configFile = FileUtil.createTempFile("shard-helper-test", ".xml"); in createTmpConfig() local
215 FileUtil.writeToFile(content, configFile); in createTmpConfig()
216 return configFile; in createTmpConfig()
225 File configFile = createTmpConfig(Configuration.SYSTEM_STATUS_CHECKER_TYPE_NAME, checker); in testCloneStatusChecker() local
232 mConfig.setCommandLine(new String[] {configFile.getAbsolutePath()}); in testCloneStatusChecker()
261 FileUtil.deleteFile(configFile); in testCloneStatusChecker()
271 File configFile = in testCloneMetricCollector() local
279 mConfig.setCommandLine(new String[] {configFile.getAbsolutePath()}); in testCloneMetricCollector()
307 FileUtil.deleteFile(configFile); in testCloneMetricCollector()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DHostStatsdMetricCollector.java98 long pushBinaryStatsConfig(ITestDevice device, File configFile) in pushBinaryStatsConfig() argument
100 return ConfigUtil.pushBinaryStatsConfig(device, configFile); in pushBinaryStatsConfig()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DSuiteModuleLoader.java126 for (File configFile : listConfigFiles) { in loadConfigsFromDirectory()
129 configFile.getName(), configFile.getAbsolutePath(), abis, suiteTag)); in loadConfigsFromDirectory()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DGceManagerTest.java870 File configFile = new File("device.config"); in testGetAvdConfigFile_testResource() local
871 testResourceBuild.setFile("device.config", configFile, ""); in testGetAvdConfigFile_testResource()
877 Assert.assertEquals(configFile, mGceManager.getAvdConfigFile()); in testGetAvdConfigFile_testResource()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteIntegrationTest.java191 for (File configFile : files) { in loadTests()
196 new String[] {configFile.getAbsolutePath()}); in loadTests()
197 testConfig.put(configFile.getName().replace(".config", ""), config); in loadTests()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandbox.java136 try (InputStreamSource configFile = new FileInputStreamSource(mSerializedConfiguration)) { in run() argument
137 logger.testLog("sandbox-config", LogDataType.XML, configFile); in run()