Home
last modified time | relevance | path

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

/packages/apps/Traceur/src/com/android/traceur/
DTraceService.java113 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()
[all …]
DTraceController.java59 TraceUtils.presetTraceStart(mContext, msg.getData().getSerializable( in handleMessage()
60 INTENT_EXTRA_TRACE_TYPE, TraceUtils.PresetTraceType.class)); in handleMessage()
63 TraceUtils.traceStop(mContext); in handleMessage()
76 String perfettoFileName = TraceUtils.getOutputFilename(TraceUtils.RecordingType.TRACE); in shareFiles()
77 TraceUtils.traceDump(context, perfettoFileName).ifPresent(files -> { in shareFiles()
121 File outZip = new File(TraceUtils.TRACE_DIRECTORY, fileName); in zipFileListIntoOneUri()
DReceiver.java76 TraceUtils.cleanupOlderFiles(); in onReceive()
135 if (TraceUtils.isTracingOn()) { in updateTracing()
143 boolean traceUtilsTracingOn = assumeTracingIsOff ? false : TraceUtils.isTracingOn(); in updateTracing()
264 if (TraceUtils.isTracingOn()) { in updateDeveloperOptionsWatcher()
347 Set<String> available = TraceUtils.listCategories().keySet(); in getActiveTags()
360 Set<String> available = TraceUtils.listCategories().keySet(); in getActiveUnavailableTags()
DMainFragment.java62 static final String TAG = TraceUtils.TAG;
154 TreeMap<String, String> available = TraceUtils.listCategories(); in onCreate()
224 TraceUtils.clearSavedTraces(); in onCreate()
296 TraceUtils.cleanupOlderFiles(); in onStart()
357 Set<Entry<String, String>> availableTags = TraceUtils.listCategories().entrySet(); in refreshUi()
367 Set<String> runningProcesses = TraceUtils.getRunningAppProcesses(context); in refreshUi()
DStopTraceService.java57 if (!prefsTracingOn && !TraceUtils.isTracingOn()) { in onHandleIntent()
DStorageProvider.java120 TraceUtils.cleanupOlderFiles(); in queryChildDocuments()
/packages/apps/Traceur/src_common/com/android/traceur/
DPerfettoUtils.java201 Process process = TraceUtils.execWithTimeout(cmd, null, STOP_TIMEOUT_MS); in traceStop()
242 Process process = TraceUtils.exec(cmd); in isTracingOn()
270 Process perfetto = TraceUtils.exec(cmd, null, false); in perfettoListCategories()
322 Process process = TraceUtils.execWithTimeout(cmd, TEMP_DIR, STARTUP_TIMEOUT_MS); in startPerfettoWithTextConfig()
344 Process process = TraceUtils.execWithTimeout(cmd, TEMP_DIR, in startPerfettoWithProtoConfig()
362 File recoveredFile = TraceUtils.getOutputFile( in recoverExistingRecording()
363 TraceUtils.getRecoveredFilename()); in recoverExistingRecording()
DTraceUtils.java55 public class TraceUtils { class
148 File outFile = TraceUtils.getOutputFile(outFilename); in traceDump()
274 return new File(TraceUtils.TRACE_DIRECTORY, filename); in getOutputFile()
DWinscopeUtils.java199 return TraceUtils.getOutputFile(filename); in getOutputFile()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/
DStaticWallpaperPreviewBinder.kt30 import com.android.app.tracing.TraceUtils.trace in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/wallpaperconnection/
DWallpaperConnectionUtils.kt20 import com.android.app.tracing.TraceUtils.traceAsync in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/content/
DWallpaperClientImpl.kt39 import com.android.app.tracing.TraceUtils.traceAsync in <lambda>()