Home
last modified time | relevance | path

Searched refs:ProtoReader (Results 1 – 25 of 26) 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.cpp232 EncodedBuffer::writeRaw(const sp<ProtoReader>& reader) in writeRaw()
248 EncodedBuffer::writeRaw(const sp<ProtoReader>& reader, size_t size) in writeRaw()
343 sp<ProtoReader>
DProtoOutputStream.cpp469 sp<ProtoReader> reader = mBuffer->read(); in flush()
485 sp<ProtoReader> reader = mBuffer->read(); in serializeToString()
501 sp<ProtoReader> reader = mBuffer->read(); in serializeToVector()
512 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.h126 sp<ProtoReader> data(); // Get the reader apis of the data.
/frameworks/base/cmds/incidentd/src/
DPrivacyFilter.cpp41 void write_field_or_skip(ProtoOutputStream* out, const sp<ProtoReader>& in, in write_field_or_skip()
93 status_t strip_field(ProtoOutputStream* out, const sp<ProtoReader>& in, in strip_field()
129 FieldStripper(const Privacy* restrictions, const sp<ProtoReader>& data,
157 sp<ProtoReader> mData;
172 FieldStripper::FieldStripper(const Privacy* restrictions, const sp<ProtoReader>& data, in FieldStripper()
221 sp<ProtoReader> reader = mData; in writeData()
DFdBuffer.h74 status_t write(const sp<ProtoReader>& data);
79 status_t write(const sp<ProtoReader>& data, size_t size);
DFdBuffer.cpp279 status_t FdBuffer::write(const sp<ProtoReader>& reader) { in write()
283 status_t FdBuffer::write(const sp<ProtoReader>& reader, size_t size) { in write()
DSection.cpp739 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/src/external/
DGpuStatsPuller.cpp32 using android::util::ProtoReader;
128 sp<ProtoReader> reader = proto.data(); in protoOutputStreamToByteString()
/frameworks/base/cmds/statsd/tests/
DFieldValue_test.cpp27 using android::util::ProtoReader;
257 sp<ProtoReader> reader = protoOut.data(); in TEST()
348 sp<ProtoReader> reader = protoOut.data(); in TEST()
410 sp<ProtoReader> reader = protoOut.data(); in TEST()
463 sp<ProtoReader> reader = protoOutput.data(); in TEST()
DUidMap_test.cpp36 using android::util::ProtoReader;
183 sp<ProtoReader> reader = proto->data(); in protoOutputStreamToUidMapping()
DLogEvent_test.cpp29 using util::ProtoReader;
594 sp<ProtoReader> reader = proto.data(); in TEST()
633 sp<ProtoReader> reader = proto.data(); in TEST()
/frameworks/base/cmds/statsd/src/
Dstats_log_util.h83 sp<android::util::ProtoReader> reader = protoOutput.data(); in parseProtoOutputStream()
DStatsLogProcessor.cpp104 sp<android::util::ProtoReader> reader = proto.data(); in flushProtoToBuffer()
/frameworks/base/libs/protoutil/
DAndroid.bp30 "src/ProtoReader.cpp",
/frameworks/base/cmds/statsd/src/metrics/
DEventMetricProducer.cpp93 sp<android::util::ProtoReader> reader = protoOutput.data(); in serializeProtoLocked()
/frameworks/base/cmds/statsd/src/subscriber/
DIncidentdReporter.cpp126 sp<android::util::ProtoReader> reader = headerProto.data(); in getProtoData()
/frameworks/base/cmds/statsd/src/logd/
DLogEvent.cpp660 sp<ProtoReader> reader = proto.data(); in writeExperimentIdsToProto()
/frameworks/base/cmds/statsd/src/guardrail/
DStatsdStats.cpp1009 sp<android::util::ProtoReader> reader = proto.data(); in dumpStats()

12