Home
last modified time | relevance | path

Searched refs:tracePacket (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/trace/
DInputTracingPerfettoBackend.cpp233 auto tracePacket = ctx.NewTracePacket(); in traceMotionEvent() local
234 tracePacket->set_timestamp(metadata.processingTimestamp); in traceMotionEvent()
235 tracePacket->set_timestamp_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_MONOTONIC); in traceMotionEvent()
237 tracePacket->set_winscope_extensions()); in traceMotionEvent()
261 auto tracePacket = ctx.NewTracePacket(); in traceKeyEvent() local
262 tracePacket->set_timestamp(metadata.processingTimestamp); in traceKeyEvent()
263 tracePacket->set_timestamp_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_MONOTONIC); in traceKeyEvent()
265 tracePacket->set_winscope_extensions()); in traceKeyEvent()
289 auto tracePacket = ctx.NewTracePacket(); in traceWindowDispatch() local
290 tracePacket->set_timestamp(dispatchArgs.deliveryTime); in traceWindowDispatch()
[all …]
/frameworks/base/core/java/android/tracing/perfetto/
DTracingContext.java102 ProtoOutputStream tracePacket = mTracePackets.get(i); in getAndClearAllPendingTracePackets() local
103 res[i] = tracePacket.getBytes(); in getAndClearAllPendingTracePackets()