/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsProto.java | 43 private static List<String> readStringPool(ProtoInputStream proto) throws IOException { in readStringPool() 63 private static void loadUsageStats(ProtoInputStream proto, long fieldId, in loadUsageStats() 155 private static void loadCountAndTime(ProtoInputStream proto, long fieldId, in loadCountAndTime() 173 private static void loadChooserCounts(ProtoInputStream proto, UsageStats usageStats) in loadChooserCounts() 216 private static void loadCountsForAction(ProtoInputStream proto, in loadCountsForAction() 241 private static void loadConfigStats(ProtoInputStream proto, long fieldId, in loadConfigStats() 297 private static void loadEvent(ProtoInputStream proto, long fieldId, IntervalStats statsOut, in loadEvent() 308 private static void writeStringPool(ProtoOutputStream proto, final IntervalStats stats) in writeStringPool() 319 private static void writeUsageStats(ProtoOutputStream proto, long fieldId, in writeUsageStats() 354 private static void writeCountAndTime(ProtoOutputStream proto, long fieldId, int count, in writeCountAndTime() [all …]
|
/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() local 95 ProtoOutputStream proto; in TEST() local 139 ProtoOutputStream proto; in TEST() local 188 ProtoOutputStream proto; in TEST() local 227 ProtoOutputStream proto; in TEST() local 263 ProtoOutputStream proto; in TEST() local 288 ProtoOutputStream proto; in TEST() local 320 ProtoOutputStream proto; in TEST() local [all …]
|
/frameworks/base/core/java/com/android/internal/print/ |
D | DumpUtils.java | 56 public static void writePrinterId(@NonNull DualDumpOutputStream proto, String idName, long id, in writePrinterId() 74 @NonNull DualDumpOutputStream proto, String idName, long id, in writePrinterCapabilities() 127 @NonNull DualDumpOutputStream proto, String idName, long id, in writePrinterInfo() 153 public static void writeMediaSize(@NonNull Context context, @NonNull DualDumpOutputStream proto, in writeMediaSize() 171 public static void writeResolution(@NonNull DualDumpOutputStream proto, String idName, long id, in writeResolution() 189 public static void writeMargins(@NonNull DualDumpOutputStream proto, String idName, long id, in writeMargins() 209 @NonNull DualDumpOutputStream proto, String idName, long id, in writePrintAttributes() 242 public static void writePrintDocumentInfo(@NonNull DualDumpOutputStream proto, String idName, in writePrintDocumentInfo() 265 public static void writePageRange(@NonNull DualDumpOutputStream proto, String idName, long id, in writePageRange() 283 @NonNull DualDumpOutputStream proto, String idName, long id, in writePrintJobInfo()
|
/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() 77 public static String currentFieldToString(ProtoInputStream proto) throws IOException { in currentFieldToString()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | VoiceCallSessionStats.java | 161 VoiceCallSession proto = mCallProtos.get(id); in onRilCallListChanged() local 248 VoiceCallSession proto = mCallProtos.get(getConnectionId(conn)); in onAudioCodecChanged() local 264 VoiceCallSession proto = mCallProtos.get(getConnectionId(conn)); in onCallStateChanged() local 295 VoiceCallSession proto = mCallProtos.get(id); in onRilSrvccStateChanged() local 334 VoiceCallSession proto = mCallProtos.get(id); in addCall() local 342 VoiceCallSession proto = new VoiceCallSession(); in addCall() local 380 VoiceCallSession proto = mCallProtos.get(connectionId); in finishCall() local 407 VoiceCallSession proto = mCallProtos.get(getConnectionId(conn)); in setRttStarted() local 443 private void checkCallSetup(Connection conn, VoiceCallSession proto) { in checkCallSetup() 458 VoiceCallSession proto = mCallProtos.valueAt(i); in updateRatTracker() local [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | DiskStatsService.java | 94 ProtoOutputStream proto = null; in dump() local 122 reportFreeSpace(Environment.getDataDirectory(), "Data", pw, proto, in dump() local 124 reportFreeSpace(Environment.getDownloadCacheDirectory(), "Cache", pw, proto, in dump() local 160 ProtoOutputStream proto, int folderType) { in reportFreeSpace() 244 private void reportCachedValuesProto(ProtoOutputStream proto) { in reportCachedValuesProto() 323 private void reportDiskWriteSpeedProto(ProtoOutputStream proto) { in reportDiskWriteSpeedProto()
|
/frameworks/base/core/java/com/android/internal/util/dump/ |
D | DumpUtils.java | 33 public static void writeStringIfNotNull(@NonNull DualDumpOutputStream proto, String idName, in writeStringIfNotNull() 48 public static void writeComponentName(@NonNull DualDumpOutputStream proto, String idName, in writeComponentName()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/ |
D | SensorLoggerSession.java | 103 Session proto = new Session(); in toProto() local 119 PhoneEvent proto = new PhoneEvent(); in phoneEventToProto() local 126 SensorEvent proto = new SensorEvent(); in sensorEventToProto() local 136 TouchEvent proto = new TouchEvent(); in motionEventToProto() local
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PulledStatsTest.java | 58 final ProtoOutputStream proto = new ProtoOutputStream(bytes); in testPulledStats_UnknownReport() local 83 NotificationRemoteViewsProto proto = in testPulledStats_RemoteViewReportPackages() local
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | LocalAnimationAdapter.java | 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 | 85 default void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto() 91 void writeToProto(ProtoOutputStream proto); in writeToProto()
|
D | WindowTraceBuffer.java | 71 void add(ProtoOutputStream proto) { in add() 98 ProtoOutputStream proto = new ProtoOutputStream(); in writeTraceToFile() local
|
/frameworks/base/cmds/statsd/tests/ |
D | UidMap_test.cpp | 179 static void protoOutputStreamToUidMapping(ProtoOutputStream* proto, UidMapping* results) { in protoOutputStreamToUidMapping() 215 ProtoOutputStream proto; in TEST() local 243 ProtoOutputStream proto; in TEST() local 275 ProtoOutputStream proto; in TEST() local 318 ProtoOutputStream proto; in TEST() local 383 ProtoOutputStream proto; in TEST() local
|
/frameworks/base/cmds/incident_helper/src/parsers/ |
D | CpuInfoParser.cpp | 26 static void writeSuffixLine(ProtoOutputStream* proto, uint64_t fieldId, in writeSuffixLine() 56 ProtoOutputStream proto; in Parse() local
|
D | BatteryTypeParser.cpp | 33 ProtoOutputStream proto; in Parse() local
|
D | KernelWakesParser.cpp | 35 ProtoOutputStream proto; in Parse() local
|
/frameworks/base/cmds/statsd/src/external/ |
D | GpuStatsPuller.cpp | 124 static std::string protoOutputStreamToByteString(ProtoOutputStream& proto) { in protoOutputStreamToByteString() 143 ProtoOutputStream proto; in int64VectorToProtoByteString() local
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | SuspendBlocker.java | 46 void writeToProto(ProtoOutputStream proto, long fieldId); in writeToProto()
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Instrument.java | 254 final ProtoOutputStream proto = new ProtoOutputStream(); in onInstrumentationStatusLocked() local 279 final ProtoOutputStream proto = new ProtoOutputStream(); in onInstrumentationFinishedLocked() local 293 final ProtoOutputStream proto = new ProtoOutputStream(); in onError() local 304 private void writeBundle(ProtoOutputStream proto, long fieldId, Bundle bundle) { in writeBundle() 343 private void outputProto(ProtoOutputStream proto) { in outputProto()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | StateController.java | 135 public abstract void dumpControllerStateLocked(ProtoOutputStream proto, long fieldId, in dumpControllerStateLocked() 143 public void dumpConstants(ProtoOutputStream proto) { in dumpConstants()
|
/frameworks/base/libs/hwui/service/ |
D | GraphicsStatsService.cpp | 158 bool mergeProfileDataIntoProto(protos::GraphicsStatsProto* proto, const std::string& package, in mergeProfileDataIntoProto() 217 static int32_t findPercentile(protos::GraphicsStatsProto* proto, int percentile) { in findPercentile() 229 void dumpAsTextToFd(protos::GraphicsStatsProto* proto, int fd) { in dumpAsTextToFd() 315 protos::GraphicsStatsServiceDumpProto& proto() { return mProto; } in proto() function in android::uirenderer::GraphicsStatsService::Dump
|
/frameworks/base/core/java/android/util/ |
D | KeyValueListParser.java | 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/services/core/java/com/android/server/uri/ |
D | NeededUriGrants.java | 37 public void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | DumpUtils.java | 259 public static void printProcStateTagProto(ProtoOutputStream proto, long screenId, long memId, in printProcStateTagProto() 272 public static void printProcStateAdjTagProto(ProtoOutputStream proto, long screenId, long memId, in printProcStateAdjTagProto() 279 public static void printProcStateDurationProto(ProtoOutputStream proto, long fieldId, in printProcStateDurationProto() 435 public static int printProto(ProtoOutputStream proto, long fieldId, in printProto()
|
D | PssTable.java | 148 public void writeStatsToProtoForKey(ProtoOutputStream proto, int key) { in writeStatsToProtoForKey() 154 public static void writeStatsToProto(ProtoOutputStream proto, final long[] stats, in writeStatsToProto()
|