/frameworks/base/libs/protoutil/src/ |
D | ProtoOutputStream.cpp | 29 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/ |
D | WindowTraceBufferTest.java | 28 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/ |
D | stats_log_util.h | 31 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()
|
D | stats_log_util.cpp | 34 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/ |
D | ChunkTest.java | 23 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()
|
D | ChunkListingMapTest.java | 23 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/ |
D | WindowTraceBuffer.java | 23 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()
|
D | LocalAnimationAdapter.java | 23 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()
|
D | AnimationAdapter.java | 20 import android.util.proto.ProtoOutputStream; 85 default void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto() 91 void writeToProto(ProtoOutputStream proto); in writeToProto()
|
D | WindowProcessListener.java | 19 import android.util.proto.ProtoOutputStream; 64 void writeToProto(ProtoOutputStream proto, long fieldId); in writeToProto()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PulledStatsTest.java | 28 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/ |
D | PulledStats.java | 25 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/ |
D | ProtoOutputStream_test.cpp | 29 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/ |
D | ih_util.h | 151 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/ |
D | SuspendBlocker.java | 19 import android.util.proto.ProtoOutputStream; 46 void writeToProto(ProtoOutputStream proto, long fieldId); in writeToProto()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | StateController.java | 23 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/ |
D | ReportEncoder.java | 22 import android.util.proto.ProtoOutputStream; 82 final ProtoOutputStream proto = new ProtoOutputStream(reportOutputStream); in serializeReport()
|
/frameworks/base/services/core/java/com/android/server/ |
D | RuntimeService.java | 24 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/ |
D | EventMetricProducer.cpp | 34 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()
|
D | EventMetricProducer.h | 53 android::util::ProtoOutputStream* protoOutput) override; 71 std::unique_ptr<android::util::ProtoOutputStream> mProto;
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Instrument.java | 36 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/ |
D | KeyValueListParser.java | 19 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/ |
D | UidMap.h | 37 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/ |
D | NeededUriGrants.java | 19 import android.util.proto.ProtoOutputStream; 37 public void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto()
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoUtils.java | 34 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()
|