Home
last modified time | relevance | path

Searched refs:TracePacket (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/com/android/internal/inputmethod/
DImeTracingPerfettoImpl.java26 import android.internal.perfetto.protos.TracePacketOuterClass.TracePacket;
85 os.write(TracePacket.TIMESTAMP, SystemClock.elapsedRealtimeNanos()); in triggerClientDump()
87 os.start(TracePacket.WINSCOPE_EXTENSIONS); in triggerClientDump()
119 os.write(TracePacket.TIMESTAMP, SystemClock.elapsedRealtimeNanos()); in triggerServiceDump()
121 os.start(TracePacket.WINSCOPE_EXTENSIONS); in triggerServiceDump()
149 os.write(TracePacket.TIMESTAMP, SystemClock.elapsedRealtimeNanos()); in triggerManagerServiceDump()
151 os.start(TracePacket.WINSCOPE_EXTENSIONS); in triggerManagerServiceDump()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/tracing/
DPerfettoTransitionTracer.java24 import android.internal.perfetto.protos.TracePacketOuterClass.TracePacket;
85 final long token = os.start(TracePacket.SHELL_TRANSITION); in doLogDispatched()
130 final long token = os.start(TracePacket.SHELL_TRANSITION); in doLogMergeRequested()
162 final long token = os.start(TracePacket.SHELL_TRANSITION); in doLogMerged()
193 final long token = os.start(TracePacket.SHELL_TRANSITION); in doLogAborted()
209 final long mappingsToken = os.start(TracePacket.SHELL_HANDLER_MAPPINGS); in onFlush()
/frameworks/base/core/tests/coretests/src/android/tracing/perfetto/
DDataSourceTest.java21 import static android.internal.perfetto.protos.TracePacketOuterClass.TracePacket.FOR_TESTING;
139 final List<TracePacketOuterClass.TracePacket> tracePackets = trace.getPacketList() in canTraceData()
140 .stream().filter(TracePacketOuterClass.TracePacket::hasForTesting).toList(); in canTraceData()
141 final List<TracePacketOuterClass.TracePacket> matchingPackets = tracePackets.stream() in canTraceData()
431 final List<TracePacketOuterClass.TracePacket> tracePackets = trace.getPacketList() in multipleTraceInstances()
432 .stream().filter(TracePacketOuterClass.TracePacket::hasForTesting).toList(); in multipleTraceInstances()
436 final List<TracePacketOuterClass.TracePacket> matchingPackets = in multipleTraceInstances()
595 final List<TracePacketOuterClass.TracePacket> tracePackets = trace.getPacketList() in canUseDataSourceInstanceToCreateTlsState()
596 .stream().filter(TracePacketOuterClass.TracePacket::hasForTesting).toList(); in canUseDataSourceInstanceToCreateTlsState()
597 final List<TracePacketOuterClass.TracePacket> matchingPackets = tracePackets.stream() in canUseDataSourceInstanceToCreateTlsState()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DPerfettoTransitionTracer.java23 import android.internal.perfetto.protos.TracePacketOuterClass.TracePacket;
82 final long token = os.start(TracePacket.SHELL_TRANSITION); in doLogSentTransition()
125 final long token = os.start(TracePacket.SHELL_TRANSITION); in doLogFinishTransition()
157 final long token = os.start(TracePacket.SHELL_TRANSITION); in doLogAbortedTransition()
183 final long token = os.start(TracePacket.SHELL_TRANSITION); in doLogRemovingStartingWindow()
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/
DPerfettoViewCapture.kt21 import android.internal.perfetto.protos.TracePacketOuterClass.TracePacket in <lambda>()
96 os.write(TracePacket.TIMESTAMP, elapsedRealtimeNanos) in <lambda>()
120 val tokenExtensions = os.start(TracePacket.WINSCOPE_EXTENSIONS) in <lambda>()
276 var flags = TracePacket.SEQ_NEEDS_INCREMENTAL_STATE in <lambda>()
278 flags = flags or TracePacket.SEQ_INCREMENTAL_STATE_CLEARED in <lambda>()
281 os.write(TracePacket.SEQUENCE_FLAGS, flags) in <lambda>()
283 val token = os.start(TracePacket.INTERNED_DATA) in <lambda>()
/frameworks/native/services/gpuservice/tracing/include/tracing/
DGpuMemTracer.h24 class TracePacket; variable
66 std::vector<perfetto::protos::TracePacket> readGpuMemTotalPacketsForTestBlocking(
/frameworks/base/core/java/com/android/internal/protolog/
DPerfettoProtoLogImpl.java37 import static android.internal.perfetto.protos.TracePacketOuterClass.TracePacket.INTERNED_DATA;
38 import static android.internal.perfetto.protos.TracePacketOuterClass.TracePacket.PROTOLOG_MESSAGE;
39 import static android.internal.perfetto.protos.TracePacketOuterClass.TracePacket.PROTOLOG_VIEWER_CO…
40 import static android.internal.perfetto.protos.TracePacketOuterClass.TracePacket.SEQUENCE_FLAGS;
41 import static android.internal.perfetto.protos.TracePacketOuterClass.TracePacket.SEQ_INCREMENTAL_ST…
42 import static android.internal.perfetto.protos.TracePacketOuterClass.TracePacket.SEQ_NEEDS_INCREMEN…
43 import static android.internal.perfetto.protos.TracePacketOuterClass.TracePacket.TIMESTAMP;
/frameworks/native/services/gpuservice/tests/unittests/
DGpuMemTracerTest.cpp76 std::vector<perfetto::protos::TracePacket> readGpuMemTotalPacketsBlocking( in readGpuMemTotalPacketsBlocking()
82 std::vector<perfetto::protos::TracePacket> packets; in readGpuMemTotalPacketsBlocking()
/frameworks/native/services/inputflinger/tests/
DInputTraceSession.cpp94 TracePacket::Decoder packet{it->as_bytes()}; in decodeTrace()
/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTracerTest.cpp81 std::vector<perfetto::protos::TracePacket> readGraphicsFramePacketsBlocking( in readGraphicsFramePacketsBlocking()
87 std::vector<perfetto::protos::TracePacket> packets; in readGraphicsFramePacketsBlocking()
DFrameTimelineTest.cpp108 std::vector<perfetto::protos::TracePacket> readFrameTimelinePacketsBlocking( in readFrameTimelinePacketsBlocking()
114 std::vector<perfetto::protos::TracePacket> packets; in readFrameTimelinePacketsBlocking()