Home
last modified time | relevance | path

Searched refs:traceFile (Results 1 – 8 of 8) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/util/
DPerfettoTraceRecorderFuncTest.java71 File traceFile = mPerfettoTraceRecorder.stopTrace(getDevice()); in testPerfettoTraceRecorded() local
74 assertNotNull(traceFile); in testPerfettoTraceRecorded()
75 assertTrue(traceFile.exists()); in testPerfettoTraceRecorded()
76 mTraceFiles.add(traceFile); in testPerfettoTraceRecorded()
77 assertTrue(traceFile.length() > 0); in testPerfettoTraceRecorded()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DDeviceTraceCollector.java87 File traceFile = mPerfettoTraceRecorder.stopTrace(device); in collectTraceFileFromDevice() local
88 if (traceFile == null) { in collectTraceFileFromDevice()
99 traceFile.length()); in collectTraceFileFromDevice()
106 mTraceFilesMap.put(traceFile, name); in collectTraceFileFromDevice()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DAtraceRunMetricCollector.java120 for (File traceFile : traceFiles) { in processTraceFiles()
122 traceFile.getAbsolutePath()); in processTraceFiles()
128 traceFile.getName(), cr.getStderr(), cr.getStatus()); in processTraceFiles()
/tools/tradefederation/core/test_observatory/com/android/tradefed/observatory/
DTestDiscoveryInvoker.java180 File traceFile = createTraceFile(); in discoverTestDependencies() local
195 getRunUtil().setEnvVariable(DISCOVERY_TRACE_FILE, traceFile.getAbsolutePath()); in discoverTestDependencies()
271 try (FileInputStreamSource source = new FileInputStreamSource(traceFile, true)) { in discoverTestDependencies()
291 File traceFile = createTraceFile(); in discoverTestMappingDependencies() local
349 getRunUtil().setEnvVariable(DISCOVERY_TRACE_FILE, traceFile.getAbsolutePath()); in discoverTestMappingDependencies()
397 try (FileInputStreamSource source = new FileInputStreamSource(traceFile, true)) { in discoverTestMappingDependencies()
DTestDiscoveryExecutor.java122 File traceFile = trace.finalizeTracing(); in main() local
123 if (traceFile != null) { in main()
127 traceFile, in main()
133 FileUtil.deleteFile(traceFile); in main()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DUiAutomatorTest.java395 for (IFileEntry traceFile : testDirectory.getChildren(false)) { in logTraceFiles()
396 File pulledFile = new File(testTmpDirectory, traceFile.getName()); in logTraceFiles()
397 if (!mDevice.pullFile(traceFile.getFullPath(), pulledFile)) { in logTraceFiles()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java757 File traceFile = trace.finalizeTracing(); in run() local
758 if (traceFile != null) { in run()
761 main.addSubprocessTrace(traceFile); in run()
763 logTrace(traceFile, config); in run()
779 private void logTrace(File traceFile, IConfiguration config) { in logTrace() argument
785 new LogFile(traceFile.getAbsolutePath(), null, LogDataType.PERFETTO); in logTrace()
798 try (FileInputStreamSource source = new FileInputStreamSource(traceFile, true)) { in logTrace()
/tools/asuite/atest/bazel/runner/src/com/android/tradefed/testtype/bazel/
DBazelTest.java778 traceFile -> { in collectTraceFileLogCalls()
782 filePrefix + traceFile.getFileName().toString(), in collectTraceFileLogCalls()
791 new FileInputStreamSource(traceFile.toFile())); in collectTraceFileLogCalls()