Lines Matching refs:TraceUtils

113         TraceUtils.traceStop(context);  in stopTracingWithoutSaving()
133 TraceUtils.RecordingType type = getRecentTraceType(context); in onHandleIntent()
151 stopTracingInternal(TraceUtils.getOutputFilename(type), false); in onHandleIntent()
153 stopTracingInternal(TraceUtils.getOutputFilename(type), false); in onHandleIntent()
164 private static TraceUtils.RecordingType getRecentTraceType(Context context) { in getRecentTraceType()
171 return TraceUtils.RecordingType.TRACE; in getRecentTraceType()
173 return TraceUtils.RecordingType.STACK_SAMPLES; in getRecentTraceType()
175 return TraceUtils.RecordingType.HEAP_DUMP; in getRecentTraceType()
202 if (TraceUtils.traceStart(this, tags, bufferSizeKb, winscopeTracing, in startTracingInternal()
209 TraceUtils.traceStop(this); in startTracingInternal()
245 if (TraceUtils.stackSampleStart(attachToBugreport)) { in startStackSamplingInternal()
250 TraceUtils.traceStop(this); in startStackSamplingInternal()
294 if (TraceUtils.heapDumpStart(processes, continuousDump, dumpIntervalSeconds, in startHeapDumpInternal()
298 TraceUtils.traceStop(this); in startHeapDumpInternal()
318 TraceUtils.RecordingType type = getRecentTraceType(context); in stopTracingInternal()
362 if (type == TraceUtils.RecordingType.TRACE) { in stopTracingInternal()
377 Optional<List<File>> files = TraceUtils.traceDump(this, outputFilename); in stopTracingInternal()
385 TraceUtils.cleanupOlderFiles(); in stopTracingInternal()
407 TraceUtils.RecordingType type = getRecentTraceType(context); in postFileSharingNotification()