Home
last modified time | relevance | path

Searched refs:mOutputFile (Results 1 – 5 of 5) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DSandboxConfigDumpTest.java37 private File mOutputFile; field in SandboxConfigDumpTest
42 mOutputFile = FileUtil.createTempFile("temp-file-config", ".xml"); in setUp()
47 FileUtil.deleteFile(mOutputFile); in tearDown()
57 new String[] {DumpCmd.FULL_XML.toString(), mOutputFile.getAbsolutePath(), "empty"}; in testParseCommandLine()
60 String output = FileUtil.readStringFromFile(mOutputFile); in testParseCommandLine()
77 DumpCmd.NON_VERSIONED_CONFIG.toString(), mOutputFile.getAbsolutePath(), "empty" in testParseCommandLine_filtered()
81 String output = FileUtil.readStringFromFile(mOutputFile); in testParseCommandLine_filtered()
98 DumpCmd.RUN_CONFIG.toString(), mOutputFile.getAbsolutePath(), "empty" in testParseCommandLine_run()
102 String output = FileUtil.readStringFromFile(mOutputFile); in testParseCommandLine_run()
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DTestOutputUploaderTest.java41 private File mOutputFile; field in TestOutputUploaderTest
53 mOutputFile = File.createTempFile(this.getClass().getName(), ".log"); in setUp()
58 mOutputFile.delete(); in tearDown()
69 final String outputFileUrl = mTestOutputUploader.uploadFile(mOutputFile, null); in testUploadFile_fileProtocol_rootPath()
71 assertEquals(uploadUrl + "/" + mOutputFile.getName(), outputFileUrl); in testUploadFile_fileProtocol_rootPath()
74 assertTrue(FileUtil.compareFileContents(mOutputFile, uploadedFile)); in testUploadFile_fileProtocol_rootPath()
90 final String outputFileUrl = mTestOutputUploader.uploadFile(mOutputFile, "sub_dir"); in testUploadFile_fileProtocol_withDestPath()
92 assertEquals(uploadUrl + "/" + "sub_dir" + "/" + mOutputFile.getName(), outputFileUrl); in testUploadFile_fileProtocol_withDestPath()
95 assertTrue(FileUtil.compareFileContents(mOutputFile, uploadedFile)); in testUploadFile_fileProtocol_withDestPath()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DFileProtoResultReporter.java45 private File mOutputFile = null; field in FileProtoResultReporter
87 mOutputFile = output; in setFileOutput()
96 if (mOutputFile == null) { in writeProto()
102 tmpFile = FileUtil.createTempFile("tmp-proto", "", mOutputFile.getParentFile()); in writeProto()
103 File outputFile = mOutputFile; in writeProto()
105 outputFile = new File(mOutputFile.getAbsolutePath() + mIndex); in writeProto()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraTestBase.java256 private File mOutputFile = null; field in CameraTestBase.MeminfoTimer
282 dumpMeminfo(mCommand, mOutputFile); in start()
298 return mOutputFile; in getOutputFile()
303 mOutputFile = FileUtil.createTempFile( in createOutputFile()
305 BufferedWriter writer = new BufferedWriter(new FileWriter(mOutputFile, false)); in createOutputFile()
311 CLog.w("Failed to create meminfo log file %s:", mOutputFile.getAbsolutePath()); in createOutputFile()
315 return mOutputFile; in createOutputFile()
409 private File mOutputFile = null; field in CameraTestBase.ThreadTrackerTimer
430 dumpThreadCount(PS_COMMAND_FORMAT, getPid(PROCESS_CAMERA_APP), mOutputFile); in start()
446 return mOutputFile; in getOutputFile()
[all …]
/tools/tradefederation/contrib/src/com/android/wireless/tests/
DWifiStressTest.java69 private String mOutputFile = "WifiStressTestOutput.txt"; field in WifiStressTest
283 resFile = mTestDevice.pullFileFromExternal(mOutputFile); in logOutputFile()
345 CLog.d("No iteration logs found in %s, set to 0", mOutputFile); in parseOutputFile()
380 CLog.d("Remove output file: %s", mOutputFile); in cleanOutputFiles()
382 mTestDevice.executeShellCommand(String.format("rm %s/%s", extStore, mOutputFile)); in cleanOutputFiles()