Searched refs:LayerTracing (Results 1 – 15 of 15) sorted by relevance
34 LayerTracing::LayerTracing() { in LayerTracing() function in android::LayerTracing39 LayerTracing::LayerTracing(std::ostream& outStream) : LayerTracing() { in LayerTracing() function in android::LayerTracing43 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 …]
40 LayerTracing::Mode mMode;56 static void Initialize(LayerTracing&);62 LayerTracing::Mode GetMode() const;70 static std::atomic<LayerTracing*> mLayerTracing;71 LayerTracing::Mode mMode;
27 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;
87 class LayerTracing {101 LayerTracing();102 LayerTracing(std::ostream&);103 ~LayerTracing();
55 auto layerTracing = LayerTracing{outStream}; in main()60 auto traceFlags = LayerTracing::Flag::TRACE_INPUT | LayerTracing::Flag::TRACE_BUFFERS; in main()
28 class LayerTracing; variable33 LayerTracing& layerTracing, bool onlyLastEntry = false);
52 std::uint32_t traceFlags, LayerTracing& layerTracing, in generate()173 if ((traceFlags & LayerTracing::TRACE_COMPOSITION) == 0) { in generate()179 LayerTracing::Mode::MODE_GENERATED); in generate()
64 auto traceFlags = LayerTracing::TRACE_INPUT | LayerTracing::TRACE_BUFFERS; in SetUp()66 auto layerTracing = LayerTracing{outStream}; in SetUp()
270 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()
219 "Tracing/LayerTracing.cpp",
1186 uint32_t traceFlags = LayerTracing::TRACE_ALL) const;1197 uint32_t traceFlags = LayerTracing::TRACE_ALL) EXCLUDES(mStateLock);1360 LayerTracing mLayerTracing;
663 uint32_t traceFlags = LayerTracing::TRACE_ALL);
2181 if (traceFlags & LayerTracing::TRACE_COMPOSITION) { in writeToProto()2308 if ((traceFlags & LayerTracing::TRACE_INPUT) && needsInputInfo()) { in writeToProtoCommonState()2321 if (traceFlags & LayerTracing::TRACE_EXTRA) { in writeToProtoCommonState()
6712 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()
324 perfetto::protos::LayersTraceFileProto inProto = LayerTracing::createTraceFileProto(); in TEST()330 perfetto::protos::LayersTraceFileProto inProto2 = LayerTracing::createTraceFileProto(); in TEST()