Home
last modified time | relevance | path

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

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