Home
last modified time | relevance | path

Searched refs:LayerTracing (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/services/surfaceflinger/Tracing/
DLayerTracing.cpp34 LayerTracing::LayerTracing() { in LayerTracing() function in android::LayerTracing
39 LayerTracing::LayerTracing(std::ostream& outStream) : LayerTracing() { in LayerTracing() function in android::LayerTracing
43 LayerTracing::~LayerTracing() { in ~LayerTracing()
47 void LayerTracing::setTakeLayersSnapshotProtoFunction( in setTakeLayersSnapshotProtoFunction()
52 void LayerTracing::setTransactionTracing(TransactionTracing& transactionTracing) { in setTransactionTracing()
56 void LayerTracing::onStart(Mode mode, uint32_t flags) { in onStart()
103 void LayerTracing::onFlush(Mode mode, uint32_t flags, bool isBugreport) { in onFlush()
128 void LayerTracing::onStop(Mode mode) { in onStop()
135 void LayerTracing::addProtoSnapshotToOstream(perfetto::protos::LayersSnapshotProto&& snapshot, in addProtoSnapshotToOstream()
145 bool LayerTracing::isActiveTracingStarted() const { in isActiveTracingStarted()
[all …]
DLayerDataSource.h40 LayerTracing::Mode mMode;
56 static void Initialize(LayerTracing&);
62 LayerTracing::Mode GetMode() const;
70 static std::atomic<LayerTracing*> mLayerTracing;
71 LayerTracing::Mode mMode;
DLayerDataSource.cpp27 void LayerDataSource::Initialize(LayerTracing& layerTracing) { in Initialize()
51 if (config.has_mode() && config.mode() != LayerTracing::Mode::MODE_UNSPECIFIED) { in OnSetup()
52 mMode = static_cast<LayerTracing::Mode>(config.mode()); in OnSetup()
54 mMode = LayerTracing::Mode::MODE_GENERATED_BUGREPORT_ONLY; in OnSetup()
92 LayerTracing::Mode LayerDataSource::GetMode() const { in GetMode()
96 std::atomic<LayerTracing*> LayerDataSource::mLayerTracing = nullptr;
DLayerTracing.h87 class LayerTracing {
101 LayerTracing();
102 LayerTracing(std::ostream&);
103 ~LayerTracing();
/frameworks/native/services/surfaceflinger/Tracing/tools/
Dmain.cpp55 auto layerTracing = LayerTracing{outStream}; in main()
60 auto traceFlags = LayerTracing::Flag::TRACE_INPUT | LayerTracing::Flag::TRACE_BUFFERS; in main()
DLayerTraceGenerator.h28 class LayerTracing; variable
33 LayerTracing& layerTracing, bool onlyLastEntry = false);
DLayerTraceGenerator.cpp52 std::uint32_t traceFlags, LayerTracing& layerTracing, in generate()
173 if ((traceFlags & LayerTracing::TRACE_COMPOSITION) == 0) { in generate()
179 LayerTracing::Mode::MODE_GENERATED); in generate()
/frameworks/native/services/surfaceflinger/tests/tracing/
DTransactionTraceTestSuite.cpp64 auto traceFlags = LayerTracing::TRACE_INPUT | LayerTracing::TRACE_BUFFERS; in SetUp()
66 auto layerTracing = LayerTracing{outStream}; in SetUp()
/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.cpp270 if ((mTraceFlags & LayerTracing::TRACE_VIRTUAL_DISPLAYS) == 0) { in generate()
346 if (mTraceFlags & LayerTracing::TRACE_COMPOSITION) { in writeHierarchyToProto()
447 if ((traceFlags & LayerTracing::TRACE_INPUT) && snapshot.hasInputInfo()) { in writeSnapshotToProto()
452 if (traceFlags & LayerTracing::TRACE_EXTRA) { in writeSnapshotToProto()
DAndroid.bp219 "Tracing/LayerTracing.cpp",
DSurfaceFlinger.h1186 uint32_t traceFlags = LayerTracing::TRACE_ALL) const;
1197 uint32_t traceFlags = LayerTracing::TRACE_ALL) EXCLUDES(mStateLock);
1360 LayerTracing mLayerTracing;
DLayer.h663 uint32_t traceFlags = LayerTracing::TRACE_ALL);
DLayer.cpp2181 if (traceFlags & LayerTracing::TRACE_COMPOSITION) { in writeToProto()
2308 if ((traceFlags & LayerTracing::TRACE_INPUT) && needsInputInfo()) { in writeToProtoCommonState()
2321 if (traceFlags & LayerTracing::TRACE_EXTRA) { in writeToProtoCommonState()
DSurfaceFlinger.cpp6712 if ((traceFlags & LayerTracing::TRACE_VIRTUAL_DISPLAYS) == 0) { in dumpDrawingStateProto()
9590 mLayerTracing.isActiveTracingFlagSet(LayerTracing::Flag::TRACE_COMPOSITION)) { in doActiveLayersTracingIfNeeded()
9594 !mLayerTracing.isActiveTracingFlagSet(LayerTracing::Flag::TRACE_BUFFERS)) { in doActiveLayersTracingIfNeeded()
9599 mLayerTracing.addProtoSnapshotToOstream(std::move(snapshot), LayerTracing::Mode::MODE_ACTIVE); in doActiveLayersTracingIfNeeded()
9609 snapshot.set_excludes_composition_state((traceFlags & LayerTracing::Flag::TRACE_COMPOSITION) == in takeLayersSnapshotProto()
9613 if (traceFlags & LayerTracing::Flag::TRACE_EXTRA) { in takeLayersSnapshotProto()
9618 if (traceFlags & LayerTracing::Flag::TRACE_HWC) { in takeLayersSnapshotProto()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTransactionTracingTest.cpp324 perfetto::protos::LayersTraceFileProto inProto = LayerTracing::createTraceFileProto(); in TEST()
330 perfetto::protos::LayersTraceFileProto inProto2 = LayerTracing::createTraceFileProto(); in TEST()