Searched refs:FrameTracer (Results 1 – 10 of 10) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockFrameTracer.cpp | 23 FrameTracer::FrameTracer() = default; 24 FrameTracer::~FrameTracer() = default;
|
D | MockFrameTracer.h | 26 class FrameTracer : public android::FrameTracer { 28 FrameTracer(); 29 ~FrameTracer();
|
/frameworks/native/services/surfaceflinger/FrameTracer/ |
D | FrameTracer.cpp | 33 PERFETTO_DEFINE_DATA_SOURCE_STATIC_MEMBERS(android::FrameTracer::FrameTracerDataSource); 38 void FrameTracer::initialize() { in initialize() 47 void FrameTracer::registerDataSource() { in registerDataSource() 53 void FrameTracer::traceNewLayer(int32_t layerId, const std::string& layerName) { in traceNewLayer() 62 void FrameTracer::traceTimestamp(int32_t layerId, uint64_t bufferID, uint64_t frameNumber, in traceTimestamp() 80 void FrameTracer::traceFence(int32_t layerId, uint64_t bufferID, uint64_t frameNumber, in traceFence() 108 void FrameTracer::tracePendingFencesLocked(FrameTracerDataSource::TraceContext& ctx, in tracePendingFencesLocked() 135 void FrameTracer::traceLocked(FrameTracerDataSource::TraceContext& ctx, int32_t layerId, in traceLocked() 159 void FrameTracer::traceSpanLocked(FrameTracerDataSource::TraceContext& ctx, int32_t layerId, in traceSpanLocked() 172 void FrameTracer::onDestroy(int32_t layerId) { in onDestroy() [all …]
|
D | FrameTracer.h | 28 class FrameTracer { 40 ~FrameTracer() = default;
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | FrameTracerTest.cpp | 61 mFrameTracer = std::make_unique<FrameTracer>(); in SetUp() 73 ds_cfg->set_name(FrameTracer::kFrameTracerDataSource); in getTracingSessionForTest() 80 std::unique_ptr<FrameTracer> mFrameTracer; 139 const auto type = FrameTracer::FrameEvent::POST; in TEST_F() 150 mFrameTracer->traceTimestamp(layerId, 0, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F() 167 mFrameTracer->traceTimestamp(layerId, 0, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F() 201 const auto type = FrameTracer::FrameEvent::ACQUIRE_FENCE; in TEST_F() 214 mFrameTracer->traceTimestamp(layerId, bufferID, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F() 231 mFrameTracer->traceTimestamp(layerId, bufferID, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F() 264 const auto type = FrameTracer::FrameEvent::ACQUIRE_FENCE; in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | BufferQueueLayer.cpp | 57 FrameTracer::FrameEvent::RELEASE_FENCE); in onLayerDisplayed() 329 FrameTracer::FrameEvent::ACQUIRE_FENCE); in updateTexImage() 332 FrameTracer::FrameEvent::LATCH); in updateTexImage() 377 mFlinger->mFrameTracer->traceTimestamp(layerId, bufferId, FrameTracer::UNSPECIFIED_FRAME_NUMBER, in onFrameDequeued() 378 systemTime(), FrameTracer::FrameEvent::DEQUEUE); in onFrameDequeued() 384 mFlinger->mFrameTracer->traceTimestamp(layerId, bufferId, FrameTracer::UNSPECIFIED_FRAME_NUMBER, in onFrameDetached() 385 systemTime(), FrameTracer::FrameEvent::DETACH); in onFrameDetached() 390 mFlinger->mFrameTracer->traceTimestamp(layerId, bufferId, FrameTracer::UNSPECIFIED_FRAME_NUMBER, in onFrameCancelled() 391 systemTime(), FrameTracer::FrameEvent::CANCEL); in onFrameCancelled() 397 systemTime(), FrameTracer::FrameEvent::QUEUE); in onFrameAvailable() [all …]
|
D | Android.bp | 150 "FrameTracer/FrameTracer.cpp",
|
D | BufferLayer.cpp | 350 FrameTracer::FrameEvent::FALLBACK_COMPOSITION); in onPostComposition() 365 presentFence, FrameTracer::FrameEvent::PRESENT_FENCE); in onPostComposition() 377 FrameTracer::FrameEvent::PRESENT_FENCE); in onPostComposition()
|
D | SurfaceFlinger.h | 99 class FrameTracer; variable 1094 const std::unique_ptr<FrameTracer> mFrameTracer;
|
D | SurfaceFlinger.cpp | 317 mFrameTracer(std::make_unique<FrameTracer>()), in SurfaceFlinger()
|