Home
last modified time | relevance | path

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

/frameworks/base/cmds/incidentd/src/
DSection.cpp192 sp<EncodedBuffer> internalBuffer = buffer.data(); in Execute() local
193 internalBuffer->writeHeader((uint32_t)GZippedFileProto::FILENAME, WIRE_TYPE_LENGTH_DELIMITED); in Execute()
195 internalBuffer->writeRawVarint32(fileLen); in Execute()
197 internalBuffer->writeRawByte(mFilenames[index][i]); in Execute()
199 internalBuffer->writeHeader((uint32_t)GZippedFileProto::GZIPPED_DATA, in Execute()
201 size_t editPos = internalBuffer->wp()->pos(); in Execute()
202 internalBuffer->wp()->move(8); // reserve 8 bytes for the varint of the data size. in Execute()
203 size_t dataBeginAt = internalBuffer->wp()->pos(); in Execute()
224 internalBuffer->wp()->rewind()->move(editPos); in Execute()
225 internalBuffer->writeRawVarint32(dataSize); in Execute()
[all …]