Searched refs:outputSource (Results 1 – 10 of 10) sorted by relevance
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | VideoEditingMemoryTest.java | 144 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()
|
D | MediaMemoryTest.java | 154 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()
|
D | CameraTestBase.java | 359 InputStreamSource outputSource = null; in stopDumping() local 366 outputSource = new FileInputStreamSource(outputFile, true /* delete */); in stopDumping() 368 mListener.testLog(logName, LogDataType.TEXT, outputSource); in stopDumping() 370 StreamUtil.cancel(outputSource); in stopDumping() 377 outputSource = new FileInputStreamSource(outputFile, true /* delete */); in stopDumping() 379 mListener.testLog(logName, LogDataType.TEXT, outputSource); in stopDumping() 381 StreamUtil.cancel(outputSource); in stopDumping()
|
D | MediaPlayerStressTest.java | 130 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()
|
D | MediaStressTest.java | 108 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()
|
D | VideoEditingPerformanceTest.java | 171 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()
|
D | CameraLatencyTest.java | 201 InputStreamSource outputSource = null; in logOutputFile() local 211 outputSource = new FileInputStreamSource(outputFile); in logOutputFile() 213 outputSource); in logOutputFile() 222 StreamUtil.cancel(outputSource); in logOutputFile()
|
D | CameraStressTest.java | 236 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/contrib/src/com/android/wireless/tests/ |
D | WifiStressTest.java | 280 InputStreamSource outputSource = null; in logOutputFile() local 287 outputSource = new FileInputStreamSource(resFile); in logOutputFile() 291 outputSource); in logOutputFile() 298 StreamUtil.cancel(outputSource); in logOutputFile()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | StreamUtil.java | 376 public static void cancel(InputStreamSource outputSource) { in cancel() argument 377 if (outputSource != null) { in cancel() 378 outputSource.close(); in cancel()
|