Home
last modified time | relevance | path

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

/frameworks/base/cmds/incidentd/src/
DSection.cpp355 EncodedBuffer* internalBuffer = buffer.getInternalBuffer(); in Execute() local
356 internalBuffer->writeHeader((uint32_t)GZippedFileProto::FILENAME, WIRE_TYPE_LENGTH_DELIMITED); in Execute()
358 internalBuffer->writeRawVarint32(fileLen); in Execute()
360 internalBuffer->writeRawByte(mFilenames[index][i]); in Execute()
362 internalBuffer->writeHeader((uint32_t)GZippedFileProto::GZIPPED_DATA, in Execute()
364 size_t editPos = internalBuffer->wp()->pos(); in Execute()
365 internalBuffer->wp()->move(8); // reserve 8 bytes for the varint of the data size. in Execute()
366 size_t dataBeginAt = internalBuffer->wp()->pos(); in Execute()
389 internalBuffer->wp()->rewind()->move(editPos); in Execute()
390 internalBuffer->writeRawVarint32(dataSize); in Execute()
[all …]