Home
last modified time | relevance | path

Searched refs:FileInputStreamSource (Results 1 – 25 of 80) sorted by relevance

1234

/tools/tradefederation/core/src/com/android/tradefed/util/
DCircularAtraceUtil.java21 import com.android.tradefed.result.FileInputStreamSource;
81 …public static FileInputStreamSource endTrace(ITestDevice device) throws DeviceNotAvailableExceptio… in endTrace()
97 FileInputStreamSource stream = new FileInputStreamSource(temp); in endTrace()
/tools/tradefederation/core/common_util/com/android/tradefed/result/
DFileInputStreamSource.java30 public class FileInputStreamSource implements InputStreamSource { class
36 public FileInputStreamSource(File file) { in FileInputStreamSource() method in FileInputStreamSource
47 public FileInputStreamSource(File file, boolean deleteFileOnCancel) { in FileInputStreamSource() method in FileInputStreamSource
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DCodeCoverageTest.java25 import com.android.tradefed.result.FileInputStreamSource;
82 try (FileInputStreamSource source = new FileInputStreamSource(coverageFile)) { in run()
DHostGTest.java35 import com.android.tradefed.result.FileInputStreamSource;
196 try (FileInputStreamSource source = new FileInputStreamSource(stdout)) { in executeHostGTestCommand()
215 try (FileInputStreamSource source = new FileInputStreamSource(profdata, true)) { in executeHostGTestCommand()
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DAtraceRunMetricCollectorTest.java27 import com.android.tradefed.result.FileInputStreamSource;
62 try (FileInputStreamSource source = new FileInputStreamSource( in setUp()
DFilePullerDeviceMetricCollectorTest.java15 import com.android.tradefed.result.FileInputStreamSource;
58 try (FileInputStreamSource source = new FileInputStreamSource(metricFile, in setUp()
67 try (FileInputStreamSource source = new FileInputStreamSource( in setUp()
/tools/tradefederation/core/src/com/android/tradefed/log/
DSimpleFileLogger.java22 import com.android.tradefed.result.FileInputStreamSource;
45 return new FileInputStreamSource(mFile); in getLog()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DAtraceCollector.java28 import com.android.tradefed.result.FileInputStreamSource;
269 try (FileInputStreamSource stream = new FileInputStreamSource(f)) { in postProcess()
301 try (FileInputStreamSource streamSource = new FileInputStreamSource(trace)) { in onTestEnd()
DAtraceRunMetricCollector.java23 import com.android.tradefed.result.FileInputStreamSource;
100 try (FileInputStreamSource streamSource = in uploadTraceFiles()
101 new FileInputStreamSource(atraceZip)) { in uploadTraceFiles()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DDeviceTraceCollector.java24 import com.android.tradefed.result.FileInputStreamSource;
111 try (FileInputStreamSource source = new FileInputStreamSource(entry.getKey(), true)) { in logTraceFiles()
DGcovCodeCoverageCollector.java29 import com.android.tradefed.result.FileInputStreamSource;
164 try (FileInputStreamSource source = new FileInputStreamSource(coverageZip, true)) { in logCoverageMeasurements()
DFilePullerLogCollector.java19 import com.android.tradefed.result.FileInputStreamSource;
39 try (InputStreamSource source = new FileInputStreamSource(metricFile, true)) { in processMetricFile()
DGcovKernelCodeCoverageCollector.java31 import com.android.tradefed.result.FileInputStreamSource;
244 try (FileInputStreamSource source = new FileInputStreamSource(coverageTar, true)) { in collectGcovDebugfsCoverage()
/tools/asuite/atest/java/src/com/android/atest/
DAtestLogArtifactsUploader.java25 import com.android.tradefed.result.FileInputStreamSource;
65 fileName, LogDataType.HOST_LOG, new FileInputStreamSource(artifactFile)); in tearDown()
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/
DMetricFilePostProcessor.java23 import com.android.tradefed.result.FileInputStreamSource;
146 try (InputStreamSource source = new FileInputStreamSource(aggregateTestResultsFile, in processRunMetricsAndLogs()
169 try (InputStreamSource source = new FileInputStreamSource(metricFile, in writeMetricFile()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustBinaryHostTest.java30 import com.android.tradefed.result.FileInputStreamSource;
262 try (FileInputStreamSource data = new FileInputStreamSource(resultFile)) { in runTest()
269 try (FileInputStreamSource data = new FileInputStreamSource(resultFile)) { in runTest()
/tools/asuite/atest/bazel/runner/src/com/android/tradefed/testtype/bazel/
DLogPathUpdatingListener.java20 import com.android.tradefed.result.FileInputStreamSource;
70 new FileInputStreamSource( in logAssociation()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DRecoveryLogPreparer.java26 import com.android.tradefed.result.FileInputStreamSource;
63 try (InputStreamSource source = new FileInputStreamSource(recoveryLog, true)) { in setUp()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandbox.java45 import com.android.tradefed.result.FileInputStreamSource;
261 try (InputStreamSource contextFile = new FileInputStreamSource(mSerializedContext)) { in run()
266 try (InputStreamSource sourceStdOut = new FileInputStreamSource(mStdoutFile)) { in run()
270 try (InputStreamSource sourceStdErr = new FileInputStreamSource(mStderrFile)) { in run()
466 try (InputStreamSource source = new FileInputStreamSource(mGlobalConfig)) { in prepareConfiguration()
497 try (InputStreamSource source = new FileInputStreamSource(parentConfig)) { in prepareConfiguration()
503 new FileInputStreamSource(mSerializedTestConfig)) { in prepareConfiguration()
685 FileInputStreamSource fileInput = new FileInputStreamSource(f); in logAndCleanHeapDump()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/host/
DCoverageMeasurementForwarder.java25 import com.android.tradefed.result.FileInputStreamSource;
92 try (InputStreamSource stream = new FileInputStreamSource(coverageMeasurement)) { in run()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DFolderSaver.java25 import com.android.tradefed.result.FileInputStreamSource;
117 s = new FileInputStreamSource(zip); in tearDown()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/util/
DBugreport.java20 import com.android.tradefed.result.FileInputStreamSource;
62 try (InputStreamSource source = new FileInputStreamSource(mBugreport)) { in log()
/tools/tradefederation/contrib/src/com/android/media/tests/
DVideoEditingMemoryTest.java30 import com.android.tradefed.result.FileInputStreamSource;
160 outputSource = new FileInputStreamSource(outputFile); in uploadHeapDumpFiles()
194 outputSource = new FileInputStreamSource(outputFile); in logOutputFiles()
DCameraTestMetricsCollectionListener.java23 import com.android.tradefed.result.FileInputStreamSource;
157 outputSource = new FileInputStreamSource(outputFile, true /* delete */); in stopDumping()
168 outputSource = new FileInputStreamSource(outputFile, true /* delete */); in stopDumping()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/
DExecutableHostTest.java29 import com.android.tradefed.result.FileInputStreamSource;
203 try (FileInputStreamSource source = new FileInputStreamSource(logFile, true)) { in logFile()

1234