Lines Matching refs:SurfaceTracing
35 SurfaceTracing::SurfaceTracing(SurfaceFlinger& flinger) in SurfaceTracing() function in android::SurfaceTracing
38 void SurfaceTracing::mainLoop() { in mainLoop()
46 bool SurfaceTracing::addFirstEntry() { in addFirstEntry()
55 LayersTraceProto SurfaceTracing::traceWhenNotified() { in traceWhenNotified()
66 bool SurfaceTracing::addTraceToBuffer(LayersTraceProto& entry) { in addTraceToBuffer()
76 void SurfaceTracing::notify(const char* where) { in notify()
81 void SurfaceTracing::notifyLocked(const char* where) { in notifyLocked()
90 void SurfaceTracing::writeToFileAsync() { in writeToFileAsync()
96 void SurfaceTracing::LayersTraceBuffer::reset(size_t newSize) { in reset()
103 void SurfaceTracing::LayersTraceBuffer::emplace(LayersTraceProto&& proto) { in emplace()
117 void SurfaceTracing::LayersTraceBuffer::flush(LayersTraceFileProto* fileProto) { in flush()
127 bool SurfaceTracing::enable() { in enable()
136 mThread = std::thread(&SurfaceTracing::mainLoop, this); in enable()
140 status_t SurfaceTracing::writeToFile() { in writeToFile()
150 bool SurfaceTracing::disable() { in disable()
163 bool SurfaceTracing::isEnabled() const { in isEnabled()
168 void SurfaceTracing::setBufferSize(size_t bufferSizeInByte) { in setBufferSize()
174 void SurfaceTracing::setTraceFlags(uint32_t flags) { in setTraceFlags()
179 LayersTraceProto SurfaceTracing::traceLayersLocked(const char* where) { in traceLayersLocked()
187 if (flagIsSetLocked(SurfaceTracing::TRACE_EXTRA)) { in traceLayersLocked()
192 if (mTraceFlags & SurfaceTracing::TRACE_HWC) { in traceLayersLocked()
197 if (!flagIsSetLocked(SurfaceTracing::TRACE_COMPOSITION)) { in traceLayersLocked()
205 void SurfaceTracing::writeProtoFileLocked() { in writeProtoFileLocked()
232 void SurfaceTracing::dump(std::string& result) const { in dump()