Home
last modified time | relevance | path

Searched refs:outputSource (Results 1 – 12 of 12) sorted by relevance

/tools/tradefederation/core/prod-tests/src/com/android/graphics/tests/
DUiPerformanceTest.java136 InputStreamSource outputSource = null; in pullRawDataFile() local
142 outputSource = new FileInputStreamSource(resFile, true /* delete */); in pullRawDataFile()
143 listener.testLog(rawFileString[i], LogDataType.TEXT, outputSource); in pullRawDataFile()
145 StreamUtil.cancel(outputSource); in pullRawDataFile()
160 InputStreamSource outputSource = null; in logOutputFile() local
173 outputSource = new FileInputStreamSource(resFile); in logOutputFile()
174 listener.testLog(OUTPUT_FILE_NAME, LogDataType.TEXT, outputSource); in logOutputFile()
207 StreamUtil.cancel(outputSource); in logOutputFile()
DOpenGlPerformanceTest.java197 InputStreamSource outputSource = null; in logOutputFile() local
211 outputSource = new FileInputStreamSource(resFile); in logOutputFile()
213 outputSource); in logOutputFile()
224 StreamUtil.cancel(outputSource); in logOutputFile()
/tools/tradefederation/contrib/src/com/android/media/tests/
DVideoEditingMemoryTest.java144 InputStreamSource outputSource = null; in uploadHeapDumpFiles() local
160 outputSource = new FileInputStreamSource(outputFile); in uploadHeapDumpFiles()
161 listener.testLog(heapOutputFile, LogDataType.TEXT, outputSource); in uploadHeapDumpFiles()
164 StreamUtil.cancel(outputSource); in uploadHeapDumpFiles()
176 InputStreamSource outputSource = null; in logOutputFiles() local
194 outputSource = new FileInputStreamSource(outputFile); in logOutputFiles()
195 listener.testLog(resultFile, LogDataType.TEXT, outputSource); in logOutputFiles()
205 StreamUtil.cancel(outputSource); in logOutputFiles()
DMediaMemoryTest.java154 InputStreamSource outputSource = null; in uploadHeapDumpFiles() local
169 outputSource = new FileInputStreamSource(outputFile); in uploadHeapDumpFiles()
170 listener.testLog(heapFile, LogDataType.TEXT, outputSource); in uploadHeapDumpFiles()
173 StreamUtil.cancel(outputSource); in uploadHeapDumpFiles()
185 InputStreamSource outputSource = null; in logOutputFiles() local
202 outputSource = new FileInputStreamSource(outputFile); in logOutputFiles()
203 listener.testLog(outputPath, LogDataType.TEXT, outputSource); in logOutputFiles()
212 StreamUtil.cancel(outputSource); in logOutputFiles()
DVideoEditingPerformanceTest.java171 InputStreamSource outputSource = null; in logOutputFiles() local
183 outputSource = new FileInputStreamSource(outputFile); in logOutputFiles()
184 listener.testLog(OUTPUT_PATH, LogDataType.TEXT, outputSource); in logOutputFiles()
193 StreamUtil.cancel(outputSource); in logOutputFiles()
DMediaPlayerStressTest.java130 InputStreamSource outputSource = null; in logOutputFile() local
141 outputSource = new FileInputStreamSource(outputFile); in logOutputFile()
142 listener.testLog(mOutputPath, LogDataType.TEXT, outputSource); in logOutputFile()
150 StreamUtil.cancel(outputSource); in logOutputFile()
DMediaStressTest.java108 InputStreamSource outputSource = null; in logOutputFile() local
117 outputSource = new FileInputStreamSource(outputFile); in logOutputFile()
118 listener.testLog(OUTPUT_PATH, LogDataType.TEXT, outputSource); in logOutputFile()
122 StreamUtil.cancel(outputSource); in logOutputFile()
DCameraLatencyTest.java201 InputStreamSource outputSource = null; in logOutputFile() local
211 outputSource = new FileInputStreamSource(outputFile); in logOutputFile()
213 outputSource); in logOutputFile()
222 StreamUtil.cancel(outputSource); in logOutputFile()
DCameraTestBase.java355 InputStreamSource outputSource = null; in stopDumping() local
362 outputSource = new FileInputStreamSource(outputFile, true /* delete */); in stopDumping()
364 mListener.testLog(logName, LogDataType.TEXT, outputSource); in stopDumping()
366 StreamUtil.cancel(outputSource); in stopDumping()
373 outputSource = new FileInputStreamSource(outputFile, true /* delete */); in stopDumping()
375 mListener.testLog(logName, LogDataType.TEXT, outputSource); in stopDumping()
377 StreamUtil.cancel(outputSource); in stopDumping()
DCameraStressTest.java236 InputStreamSource outputSource = null; in logOutputFiles() local
247 outputSource = new FileInputStreamSource(outputFile); in logOutputFiles()
249 outputSource); in logOutputFiles()
257 StreamUtil.cancel(outputSource); in logOutputFiles()
/tools/tradefederation/core/src/com/android/tradefed/util/
DStreamUtil.java286 public static void cancel(InputStreamSource outputSource) { in cancel() argument
287 if (outputSource != null) { in cancel()
288 outputSource.close(); in cancel()
/tools/tradefederation/core/prod-tests/src/com/android/wireless/tests/
DWifiStressTest.java275 InputStreamSource outputSource = null; in logOutputFile() local
283 outputSource = new FileInputStreamSource(resFile); in logOutputFile()
285 outputSource); in logOutputFile()
292 StreamUtil.cancel(outputSource); in logOutputFile()