Home
last modified time | relevance | path

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

/frameworks/base/libs/protoutil/src/
DEncodedBuffer.cpp29 EncodedBuffer::Pointer::Pointer() : Pointer(BUFFER_SIZE) in Pointer()
33 EncodedBuffer::Pointer::Pointer(size_t chunkSize) in Pointer()
41 EncodedBuffer::Pointer::pos() const in pos()
47 EncodedBuffer::Pointer::index() const in index()
53 EncodedBuffer::Pointer::offset() const in offset()
58 EncodedBuffer::Pointer*
59 EncodedBuffer::Pointer::move(size_t amt) in move()
67 EncodedBuffer::Pointer*
68 EncodedBuffer::Pointer::rewind() in rewind()
75 EncodedBuffer::Pointer
[all …]
DProtoOutputStream.cpp30 :mBuffer(new EncodedBuffer()), in ProtoOutputStream()
/frameworks/base/libs/protoutil/tests/
DEncodedBuffer_test.cpp25 static void expectPointer(EncodedBuffer::Pointer* p, size_t pos) { in expectPointer()
32 sp<EncodedBuffer> buffer = new EncodedBuffer(TEST_CHUNK_SIZE); in TEST()
65 sp<EncodedBuffer> buffer = new EncodedBuffer(TEST_CHUNK_SIZE); in TEST()
105 sp<EncodedBuffer> buffer = new EncodedBuffer(TEST_CHUNK_SIZE); in TEST()
122 sp<EncodedBuffer> buffer = new EncodedBuffer(TEST_CHUNK_SIZE); in TEST()
146 sp<EncodedBuffer> buffer = new EncodedBuffer(); in TEST()
/frameworks/base/libs/protoutil/include/android/util/
DEncodedBuffer.h42 class EncodedBuffer : public virtual RefBase
45 EncodedBuffer();
46 explicit EncodedBuffer(size_t chunkSize);
47 virtual ~EncodedBuffer();
192 explicit Reader(const sp<EncodedBuffer>& buffer);
205 const sp<EncodedBuffer> mData;
207 friend class EncodedBuffer; variable
DProtoOutputStream.h141 sp<EncodedBuffer> mBuffer;
/frameworks/base/cmds/incidentd/src/
DFdBuffer.h109 sp<EncodedBuffer> data() const;
112 sp<EncodedBuffer> mBuffer;
DFdBuffer.cpp37 :mBuffer(new EncodedBuffer(BUFFER_SIZE)), in FdBuffer()
291 sp<EncodedBuffer> FdBuffer::data() const { in data()
DSection.cpp192 sp<EncodedBuffer> internalBuffer = buffer.data(); in Execute()
/frameworks/base/cmds/incidentd/tests/
DPrivacyFilter_test.cpp76 EncodedBuffer::iterator bufData = buffer.data();
253 EncodedBuffer::iterator bufData = buffer.data();
267 EncodedBuffer::iterator bufData = buffer.data();
277 EncodedBuffer::iterator bufData = buffer.data();
/frameworks/base/core/java/android/util/proto/
DProtoOutputStream.java112 private EncodedBuffer mBuffer;
164 mBuffer = new EncodedBuffer(chunkSize); in ProtoOutputStream()
1082 size += v >= 0 ? EncodedBuffer.getRawVarint32Size(v) : 10; in writePackedInt32()
1151 size += EncodedBuffer.getRawVarint64Size(val[i]); in writePackedInt64()
1220 size += EncodedBuffer.getRawVarint32Size(val[i]); in writePackedUInt32()
1289 size += EncodedBuffer.getRawVarint64Size(val[i]); in writePackedUInt64()
1358 size += EncodedBuffer.getRawZigZag32Size(val[i]); in writePackedSInt32()
1427 size += EncodedBuffer.getRawZigZag64Size(val[i]); in writePackedSInt64()
1927 size += v >= 0 ? EncodedBuffer.getRawVarint32Size(v) : 10; in writePackedEnum()
2200 return EncodedBuffer.getRawVarint32Size(id << FIELD_ID_SHIFT); in getTagSize()
[all …]
DEncodedBuffer.java37 public final class EncodedBuffer { class
94 public EncodedBuffer() { in EncodedBuffer() method in EncodedBuffer
104 public EncodedBuffer(int chunkSize) { in EncodedBuffer() method in EncodedBuffer
/frameworks/base/libs/protoutil/
DAndroid.bp27 "src/EncodedBuffer.cpp",
/frameworks/base/api/
Dtest-current.txt3026 public final class EncodedBuffer {
3027 ctor public EncodedBuffer();
3028 ctor public EncodedBuffer(int);