Home
last modified time | relevance | path

Searched refs:ProtoReader (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/libs/protoutil/src/
DProtoReader.cpp23 ProtoReader::ProtoReader() { in ProtoReader() function in android::util::ProtoReader
26 ProtoReader::~ProtoReader() { in ~ProtoReader()
DEncodedBuffer.cpp238 EncodedBuffer::writeRaw(const sp<ProtoReader>& reader) in writeRaw()
254 EncodedBuffer::writeRaw(const sp<ProtoReader>& reader, size_t size) in writeRaw()
349 sp<ProtoReader>
DProtoOutputStream.cpp473 sp<ProtoReader> reader = mBuffer->read(); in flush()
489 sp<ProtoReader> reader = mBuffer->read(); in serializeToString()
505 sp<ProtoReader> reader = mBuffer->read(); in serializeToVector()
516 sp<ProtoReader>
/frameworks/base/libs/protoutil/include/android/util/
DProtoReader.h28 class ProtoReader : public virtual RefBase {
30 ProtoReader();
31 ~ProtoReader();
DEncodedBuffer.h137 status_t writeRaw(const sp<ProtoReader>& that);
142 status_t writeRaw(const sp<ProtoReader>& that, size_t size);
185 sp<ProtoReader> read();
190 class Reader : public ProtoReader {
DProtoFileReader.h30 class ProtoFileReader : public ProtoReader
DProtoOutputStream.h127 sp<ProtoReader> data(); // Get the reader apis of the data.
/frameworks/base/cmds/incidentd/src/
DPrivacyFilter.cpp38 void write_field_or_skip(ProtoOutputStream* out, const sp<ProtoReader>& in, in write_field_or_skip()
90 status_t strip_field(ProtoOutputStream* out, const sp<ProtoReader>& in, in strip_field()
126 FieldStripper(const Privacy* restrictions, const sp<ProtoReader>& data,
156 sp<ProtoReader> mData;
172 FieldStripper::FieldStripper(const Privacy* restrictions, const sp<ProtoReader>& data, in FieldStripper()
227 sp<ProtoReader> reader = mData; in writeData()
DFdBuffer.h75 status_t write(const sp<ProtoReader>& data);
80 status_t write(const sp<ProtoReader>& data, size_t size);
DFdBuffer.cpp287 status_t FdBuffer::write(const sp<ProtoReader>& reader) { in write()
291 status_t FdBuffer::write(const sp<ProtoReader>& reader, size_t size) { in write()
DSection.cpp841 sp<ProtoReader> reader = buffer.data()->read(); in BlockingCall()
/frameworks/base/cmds/incidentd/tests/
DFdBuffer_test.cpp53 sp<ProtoReader> reader = buffer.data()->read(); in AssertBufferContent()
95 sp<ProtoReader> reader = buffer.data()->read(); in TEST_F()
105 sp<ProtoReader> reader = buffer.data()->read(); in TEST_F()
117 sp<ProtoReader> reader = buffer.data()->read(); in TEST_F()
261 sp<ProtoReader> reader = buffer.data()->read(); in TEST_F()
295 sp<ProtoReader> reader = buffer.data()->read(); in TEST_F()
/frameworks/base/libs/protoutil/tests/
DEncodedBuffer_test.cpp126 sp<ProtoReader> reader1 = buffer->read(); in TEST()
135 sp<ProtoReader> reader2 = buffer->read(); in TEST()
149 sp<ProtoReader> reader = buffer->read(); in TEST()
DProtoOutputStream_test.cpp42 sp<ProtoReader> reader = proto->data(); in iterateToString()
/frameworks/base/cmds/statsd/tests/
DFieldValue_test.cpp30 using android::util::ProtoReader;
264 sp<ProtoReader> reader = protoOut.data(); in TEST()
398 sp<ProtoReader> reader = protoOut.data(); in TEST()
460 sp<ProtoReader> reader = protoOut.data(); in TEST()
502 sp<ProtoReader> reader = protoOutput.data(); in TEST()
DHashableDimensionKey_test.cpp25 using android::util::ProtoReader;
DUidMap_test.cpp36 using android::util::ProtoReader;
177 sp<ProtoReader> reader = proto->data(); in protoOutputStreamToUidMapping()
DLogEvent_test.cpp33 using util::ProtoReader;
Dstatsd_test_util.h41 using android::util::ProtoReader;
/frameworks/base/libs/protoutil/
DAndroid.bp30 "src/ProtoReader.cpp",
/frameworks/base/cmds/statsd/src/
Dstats_log_util.h91 sp<android::util::ProtoReader> reader = protoOutput.data(); in parseProtoOutputStream()
/frameworks/base/cmds/statsd/src/subscriber/
DIncidentdReporter.cpp114 sp<android::util::ProtoReader> reader = headerProto.data(); in getProtoData()
/frameworks/base/cmds/statsd/src/metrics/
DEventMetricProducer.cpp99 sp<android::util::ProtoReader> reader = protoOutput.data(); in serializeProtoLocked()
/frameworks/native/services/gpuservice/gpustats/
DGpuStats.cpp262 sp<android::util::ProtoReader> reader = proto.data(); in protoOutputStreamToByteString()
/frameworks/base/cmds/statsd/src/logd/
DLogEvent.cpp588 sp<ProtoReader> reader = proto.data(); in writeExperimentIdsToProto()

12