Home
last modified time | relevance | path

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

/aosp12/frameworks/native/services/surfaceflinger/
H A DSurfaceTracing.cpp116 void SurfaceTracing::LayersTraceBuffer::flush(LayersTraceFileProto* fileProto) { in flush() argument
117 fileProto->mutable_entry()->Reserve(static_cast<int>(mStorage.size())); in flush()
120 auto entry = fileProto->add_entry(); in flush()
141 LayersTraceFileProto fileProto; in createLayersTraceFileProto() local
142 fileProto.set_magic_number(uint64_t(LayersTraceFileProto_MagicNumber_MAGIC_NUMBER_H) << 32 | in createLayersTraceFileProto()
144 return fileProto; in createLayersTraceFileProto()
150 LayersTraceFileProto fileProto = createLayersTraceFileProto(); in writeToFile() local
153 mBuffer.flush(&fileProto); in writeToFile()
156 if (!fileProto.SerializeToString(&output)) { in writeToFile()
H A DSurfaceTracing.h105 void flush(LayersTraceFileProto* fileProto);