Home
last modified time | relevance | path

Searched refs:EncodedBuffer (Results 1 – 16 of 16) 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.h142 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.java116 private EncodedBuffer mBuffer;
175 mBuffer = new EncodedBuffer(chunkSize); in ProtoOutputStream()
1109 size += v >= 0 ? EncodedBuffer.getRawVarint32Size(v) : 10; in writePackedInt32()
1181 size += EncodedBuffer.getRawVarint64Size(val[i]); in writePackedInt64()
1253 size += EncodedBuffer.getRawVarint32Size(val[i]); in writePackedUInt32()
1325 size += EncodedBuffer.getRawVarint64Size(val[i]); in writePackedUInt64()
1397 size += EncodedBuffer.getRawZigZag32Size(val[i]); in writePackedSInt32()
1469 size += EncodedBuffer.getRawZigZag64Size(val[i]); in writePackedSInt64()
1991 size += v >= 0 ? EncodedBuffer.getRawVarint32Size(v) : 10; in writePackedEnum()
2270 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-lint-baseline.txt1974 MissingNullability: android.util.proto.EncodedBuffer#dumpBuffers(String) parameter #0:
1976 MissingNullability: android.util.proto.EncodedBuffer#dumpByteString(String, String, byte[]) paramet…
1978 MissingNullability: android.util.proto.EncodedBuffer#dumpByteString(String, String, byte[]) paramet…
1980 MissingNullability: android.util.proto.EncodedBuffer#dumpByteString(String, String, byte[]) paramet…
1982 MissingNullability: android.util.proto.EncodedBuffer#getBytes(int):
1984 MissingNullability: android.util.proto.EncodedBuffer#getDebugString():
1986 MissingNullability: android.util.proto.EncodedBuffer#writeRawBuffer(byte[]) parameter #0:
1988 MissingNullability: android.util.proto.EncodedBuffer#writeRawBuffer(byte[], int, int) parameter #0:
2280 NoByteOrShort: android.util.proto.EncodedBuffer#readRawByte():
2282 NoByteOrShort: android.util.proto.EncodedBuffer#writeRawByte(byte) parameter #0:
Dtest-current.txt4212 public final class EncodedBuffer {
4213 ctor public EncodedBuffer();
4214 ctor public EncodedBuffer(int);
/frameworks/base/config/
Dboot-image-profile.txt15941 HSPLandroid/util/proto/EncodedBuffer;-><init>(I)V
15942 HSPLandroid/util/proto/EncodedBuffer;->editRawFixed32(II)V
15943 HSPLandroid/util/proto/EncodedBuffer;->getBytes(I)[B
15944 HSPLandroid/util/proto/EncodedBuffer;->getRawFixed32At(I)I
15945 HSPLandroid/util/proto/EncodedBuffer;->nextWriteBuffer()V
15946 HSPLandroid/util/proto/EncodedBuffer;->readRawByte()B
15947 HSPLandroid/util/proto/EncodedBuffer;->readRawFixed32()I
15948 HSPLandroid/util/proto/EncodedBuffer;->readRawUnsigned()J
15949 HSPLandroid/util/proto/EncodedBuffer;->rewindWriteTo(I)V
15950 HSPLandroid/util/proto/EncodedBuffer;->skipRead(I)V
[all …]
Dhiddenapi-greylist-max-o.txt72187 Landroid/util/proto/EncodedBuffer;->dumpByteString(Ljava/lang/String;Ljava/lang/String;I[B)I
72188 Landroid/util/proto/EncodedBuffer;->mBufferCount:I
72189 Landroid/util/proto/EncodedBuffer;->mBuffers:Ljava/util/ArrayList;
72190 Landroid/util/proto/EncodedBuffer;->mChunkSize:I
72191 Landroid/util/proto/EncodedBuffer;->mReadableSize:I
72192 Landroid/util/proto/EncodedBuffer;->mReadBuffer:[B
72193 Landroid/util/proto/EncodedBuffer;->mReadBufIndex:I
72194 Landroid/util/proto/EncodedBuffer;->mReadIndex:I
72195 Landroid/util/proto/EncodedBuffer;->mReadLimit:I
72196 Landroid/util/proto/EncodedBuffer;->mWriteBuffer:[B
[all …]