Home
last modified time | relevance | path

Searched refs:ProtoOutputStream (Results 1 – 25 of 257) sorted by relevance

1234567891011

/frameworks/base/libs/protoutil/src/
DProtoOutputStream.cpp29 ProtoOutputStream::ProtoOutputStream() in ProtoOutputStream() function in android::util::ProtoOutputStream
39 ProtoOutputStream::~ProtoOutputStream() in ~ProtoOutputStream()
45 ProtoOutputStream::clear() in clear()
57 ProtoOutputStream::internalWrite(uint64_t fieldId, T val, const char* typeName) in internalWrite()
100 ProtoOutputStream::write(uint64_t fieldId, double val) in write()
107 ProtoOutputStream::write(uint64_t fieldId, float val) in write()
113 ProtoOutputStream::write(uint64_t fieldId, int val) in write()
119 ProtoOutputStream::write(uint64_t fieldId, long val) in write()
147 ProtoOutputStream::write(uint64_t fieldId, long long val) in write()
153 ProtoOutputStream::write(uint64_t fieldId, bool val) in write()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTraceBufferTest.java28 import android.util.proto.ProtoOutputStream;
69 ProtoOutputStream toWrite = getDummy(1); in test_addItem()
87 ProtoOutputStream toWrite1 = getDummy(1); in test_addItemMustOverwriteOne()
88 ProtoOutputStream toWrite2 = getDummy(2); in test_addItemMustOverwriteOne()
89 ProtoOutputStream toWrite3 = getDummy(3); in test_addItemMustOverwriteOne()
124 ProtoOutputStream toWriteSmall1 = getDummy(1); in test_addItemMustOverwriteMultiple()
125 ProtoOutputStream toWriteSmall2 = getDummy(2); in test_addItemMustOverwriteMultiple()
131 ProtoOutputStream toWriteBig = new ProtoOutputStream(); in test_addItemMustOverwriteMultiple()
165 ProtoOutputStream toWrite = getDummy(1); in test_startResetsBuffer()
176 private ProtoOutputStream getDummy(int value) { in getDummy()
[all …]
/frameworks/base/cmds/statsd/src/
Dstats_log_util.h31 util::ProtoOutputStream* protoOutput);
33 util::ProtoOutputStream* protoOutput);
38 util::ProtoOutputStream* protoOutput);
41 util::ProtoOutputStream* protoOutput);
74 util::ProtoOutputStream* protoOutput);
78 util::ProtoOutputStream *protoOutput);
81 bool parseProtoOutputStream(util::ProtoOutputStream& protoOutput, T* message) { in parseProtoOutputStream()
Dstats_log_util.cpp34 using android::util::ProtoOutputStream;
90 ProtoOutputStream* protoOutput) { in writeDimensionToProtoHelper()
159 ProtoOutputStream* protoOutput) { in writeDimensionLeafToProtoHelper()
217 ProtoOutputStream* protoOutput) { in writeDimensionPathToProtoHelper()
258 ProtoOutputStream* protoOutput) { in writeDimensionToProto()
273 ProtoOutputStream* protoOutput) { in writeDimensionLeafNodesToProto()
283 ProtoOutputStream* protoOutput) { in writeDimensionPathToProto()
323 ProtoOutputStream* protoOutput) { in writeFieldValueTreeToStreamHelper()
407 util::ProtoOutputStream* protoOutput) { in writeFieldValueTreeToStream()
453 util::ProtoOutputStream* protoOutput) { in writePullerStatsToStream()
[all …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunk/
DChunkTest.java23 import android.util.proto.ProtoOutputStream;
50 ProtoOutputStream out = new ProtoOutputStream(); in testReadFromProto_readsCorrectly()
66 ProtoOutputStream out = new ProtoOutputStream(); in testReadFromProto_whenFieldsWrittenInReversedOrder_readsCorrectly()
92 ProtoOutputStream out = new ProtoOutputStream(); in testReadFromProto_whenOnlyHashSet_returnsChunkWithOnlyHash()
106 ProtoOutputStream out = new ProtoOutputStream(); in testReadFromProto_whenOnlyLengthSet_returnsChunkWithOnlyLength()
DChunkListingMapTest.java23 import android.util.proto.ProtoOutputStream;
176 ProtoOutputStream outputStream = new ProtoOutputStream(); in createChunkListingProto()
186 private void writeToProtoOutputStream(ProtoOutputStream out, ChunkHash chunkHash, int length) { in writeToProtoOutputStream()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowTraceBuffer.java23 import android.util.proto.ProtoOutputStream;
43 private final Queue<ProtoOutputStream> mBuffer = new ArrayDeque<>();
71 void add(ProtoOutputStream proto) { in add()
98 ProtoOutputStream proto = new ProtoOutputStream(); in writeTraceToFile()
101 for (ProtoOutputStream protoOutputStream : mBuffer) { in writeTraceToFile()
122 ProtoOutputStream item = mBuffer.poll(); in discardOldest()
DLocalAnimationAdapter.java23 import android.util.proto.ProtoOutputStream;
84 public void writeToProto(ProtoOutputStream proto) { in writeToProto()
146 default void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto()
152 void writeToProtoInner(ProtoOutputStream proto); in writeToProtoInner()
DAnimationAdapter.java20 import android.util.proto.ProtoOutputStream;
85 default void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto()
91 void writeToProto(ProtoOutputStream proto); in writeToProto()
DWindowProcessListener.java19 import android.util.proto.ProtoOutputStream;
64 void writeToProto(ProtoOutputStream proto, long fieldId); in writeToProto()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPulledStatsTest.java28 import android.util.proto.ProtoOutputStream;
58 final ProtoOutputStream proto = new ProtoOutputStream(bytes); in testPulledStats_UnknownReport()
78 final ProtoOutputStream protoStream = new ProtoOutputStream(bytes); in testPulledStats_RemoteViewReportPackages()
/frameworks/base/services/core/java/com/android/server/notification/
DPulledStats.java25 import android.util.proto.ProtoOutputStream;
57 final ProtoOutputStream proto = new ProtoOutputStream(fout); in toParcelFileDescriptor()
109 void writeToProto(int report, ProtoOutputStream proto) { in writeToProto()
/frameworks/base/libs/protoutil/tests/
DProtoOutputStream_test.cpp29 static std::string flushToString(ProtoOutputStream* proto) { in flushToString()
39 static std::string iterateToString(ProtoOutputStream* proto) { in iterateToString()
53 ProtoOutputStream proto; in TEST()
95 ProtoOutputStream proto; in TEST()
139 ProtoOutputStream proto; in TEST()
188 ProtoOutputStream proto; in TEST()
227 ProtoOutputStream proto; in TEST()
263 ProtoOutputStream proto; in TEST()
288 ProtoOutputStream proto; in TEST()
320 ProtoOutputStream proto; in TEST()
[all …]
/frameworks/base/cmds/incident_helper/src/
Dih_util.h151 bool insertField(ProtoOutputStream* proto, const std::string& name, const std::string& value);
187 bool insertField(ProtoOutputStream* proto, const std::string& name, const std::string& value);
190 void startSession(ProtoOutputStream* proto, const std::string& name);
193 void endSession(ProtoOutputStream* proto);
/frameworks/base/services/core/java/com/android/server/power/
DSuspendBlocker.java19 import android.util.proto.ProtoOutputStream;
46 void writeToProto(ProtoOutputStream proto, long fieldId); in writeToProto()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DStateController.java23 import android.util.proto.ProtoOutputStream;
135 public abstract void dumpControllerStateLocked(ProtoOutputStream proto, long fieldId, in dumpControllerStateLocked()
143 public void dumpConstants(ProtoOutputStream proto) { in dumpConstants()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DReportEncoder.java22 import android.util.proto.ProtoOutputStream;
82 final ProtoOutputStream proto = new ProtoOutputStream(reportOutputStream); in serializeReport()
/frameworks/base/services/core/java/com/android/server/
DRuntimeService.java24 import android.util.proto.ProtoOutputStream;
61 ProtoOutputStream proto = null; in dump()
67 proto = new ProtoOutputStream(fd); in dump()
126 DebugInfo coreLibraryDebugInfo, ProtoOutputStream protoStream) { in reportTimeZoneInfoProto()
/frameworks/base/cmds/statsd/src/metrics/
DEventMetricProducer.cpp34 using android::util::ProtoOutputStream;
69 mProto = std::make_unique<ProtoOutputStream>(); in EventMetricProducer()
87 std::unique_ptr<std::vector<uint8_t>> serializeProtoLocked(ProtoOutputStream& protoOutput) { in serializeProtoLocked()
113 ProtoOutputStream* protoOutput) { in onDumpReportLocked()
DEventMetricProducer.h53 android::util::ProtoOutputStream* protoOutput) override;
71 std::unique_ptr<android::util::ProtoOutputStream> mProto;
/frameworks/base/cmds/am/src/com/android/commands/am/
DInstrument.java36 import android.util.proto.ProtoOutputStream;
254 final ProtoOutputStream proto = new ProtoOutputStream(); in onInstrumentationStatusLocked()
279 final ProtoOutputStream proto = new ProtoOutputStream(); in onInstrumentationFinishedLocked()
293 final ProtoOutputStream proto = new ProtoOutputStream(); in onError()
304 private void writeBundle(ProtoOutputStream proto, long fieldId, Bundle bundle) { in writeBundle()
343 private void outputProto(ProtoOutputStream proto) { in outputProto()
/frameworks/base/core/java/android/util/
DKeyValueListParser.java19 import android.util.proto.ProtoOutputStream;
266 public void dumpProto(ProtoOutputStream proto, long tag) { in dumpProto()
319 public void dumpProto(ProtoOutputStream proto, long tag) { in dumpProto()
372 public void dumpProto(ProtoOutputStream proto, long tag) { in dumpProto()
425 public void dumpProto(ProtoOutputStream proto, long tag) { in dumpProto()
/frameworks/base/cmds/statsd/src/packages/
DUidMap.h37 using android::util::ProtoOutputStream;
141 util::ProtoOutputStream* proto);
160 ProtoOutputStream* proto);
168 std::set<string>* str_set, ProtoOutputStream* proto);
/frameworks/base/services/core/java/com/android/server/uri/
DNeededUriGrants.java19 import android.util.proto.ProtoOutputStream;
37 public void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto()
/frameworks/base/core/java/android/util/proto/
DProtoUtils.java34 public static void toAggStatsProto(ProtoOutputStream proto, long fieldId, in toAggStatsProto()
46 public static void toDuration(ProtoOutputStream proto, long fieldId, long startMs, long endMs) { in toDuration()
56 public static void writeBitWiseFlagsToProtoEnum(ProtoOutputStream proto, long fieldId, in writeBitWiseFlagsToProtoEnum()

1234567891011