Home
last modified time | relevance | path

Searched defs:proto (Results 1 – 25 of 255) sorted by relevance

1234567891011

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsProtoV2.java46 private static UsageStats parseUsageStats(ProtoInputStream proto, final long beginTime) in parseUsageStats()
99 private static void loadCountAndTime(ProtoInputStream proto, long fieldId, in loadCountAndTime()
123 private static void loadChooserCounts(ProtoInputStream proto, UsageStats usageStats) in loadChooserCounts()
158 private static void loadCountsForAction(ProtoInputStream proto, SparseIntArray counts) in loadCountsForAction()
182 private static void loadConfigStats(ProtoInputStream proto, IntervalStats stats) in loadConfigStats()
229 private static UsageEvents.Event parseEvent(ProtoInputStream proto, long beginTime) in parseEvent()
285 static void writeOffsetTimestamp(ProtoOutputStream proto, long fieldId, in writeOffsetTimestamp()
302 private static void writeUsageStats(ProtoOutputStream proto, final long beginTime, in writeUsageStats()
323 private static void writeCountAndTime(ProtoOutputStream proto, long fieldId, int count, in writeCountAndTime()
331 private static void writeChooserCounts(ProtoOutputStream proto, final UsageStats stats) in writeChooserCounts()
[all …]
DUsageStatsProto.java43 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()
177 private static void loadChooserCounts(ProtoInputStream proto, UsageStats usageStats) in loadChooserCounts()
220 private static void loadCountsForAction(ProtoInputStream proto, in loadCountsForAction()
245 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()
357 private static void writeCountAndTime(ProtoOutputStream proto, long fieldId, int count, in writeCountAndTime()
[all …]
/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() 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/
DDumpUtils.java56 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/
DProtoUtils.java34 public static void toAggStatsProto(ProtoOutputStream proto, long fieldId, in toAggStatsProto()
48 public static void toAggStatsProto(ProtoOutputStream proto, long fieldId, in toAggStatsProto()
56 public static void toDuration(ProtoOutputStream proto, long fieldId, long startMs, long endMs) { in toDuration()
66 public static void writeBitWiseFlagsToProtoEnum(ProtoOutputStream proto, long fieldId, in writeBitWiseFlagsToProtoEnum()
87 public static String currentFieldToString(ProtoInputStream proto) throws IOException { in currentFieldToString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallSessionStats.java140 VoiceCallSession proto = mCallProtos.get(id); in onRilCallListChanged() local
215 VoiceCallSession proto = mCallProtos.get(getConnectionId(conn)); in onAudioCodecChanged() local
231 VoiceCallSession proto = mCallProtos.get(getConnectionId(conn)); in onCallStateChanged() local
262 VoiceCallSession proto = mCallProtos.get(id); in onRilSrvccStateChanged() local
301 VoiceCallSession proto = mCallProtos.get(id); in addCall() local
309 VoiceCallSession proto = new VoiceCallSession(); in addCall() local
347 VoiceCallSession proto = mCallProtos.get(connectionId); in finishCall() local
374 VoiceCallSession proto = mCallProtos.get(getConnectionId(conn)); in setRttStarted() local
410 private void checkCallSetup(Connection conn, VoiceCallSession proto) { in checkCallSetup()
425 VoiceCallSession proto = mCallProtos.valueAt(i); in updateRatTracker() local
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryProtoHelper.java45 private static List<String> readStringPool(ProtoInputStream proto) throws IOException { in readStringPool()
64 private static void writeStringPool(ProtoOutputStream proto, in writeStringPool()
75 private static void readNotification(ProtoInputStream proto, List<String> stringPool, in readNotification()
227 private static void writeIcon(ProtoOutputStream proto, HistoricalNotification notification) { in writeIcon()
257 private static void writeNotification(ProtoOutputStream proto, in writeNotification()
307 final ProtoInputStream proto = new ProtoInputStream(in); in read() local
329 final ProtoOutputStream proto = new ProtoOutputStream(out); in write() local
/frameworks/base/services/core/java/com/android/server/
DDiskStatsService.java94 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/
DTraceBuffer.java62 int getItemSize(P proto); in getItemSize()
67 byte[] getBytes(P proto); in getBytes()
82 public int getItemSize(ProtoOutputStream proto) { in getItemSize()
87 public byte[] getBytes(ProtoOutputStream proto) { in getBytes()
136 public void add(T proto) { in add()
/frameworks/base/core/java/com/android/internal/util/dump/
DDumpUtils.java33 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/tracing/
DProtoTracer.java81 SystemUiTraceEntryProto proto = reuseObj != null in updateBufferProto() local
101 public byte[] getProtoBytes(MessageNano proto) { in getProtoBytes()
106 public int getProtoSize(MessageNano proto) { in getProtoSize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DSensorLoggerSession.java103 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/
DPulledStatsTest.java58 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/
DLocalAnimationAdapter.java80 public void dumpDebug(ProtoOutputStream proto) { in dumpDebug()
145 default void dumpDebug(ProtoOutputStream proto, long fieldId) { in dumpDebug()
151 void dumpDebugInner(ProtoOutputStream proto); in dumpDebugInner()
DAnimationAdapter.java81 default void dumpDebug(ProtoOutputStream proto, long fieldId) { in dumpDebug()
87 void dumpDebug(ProtoOutputStream proto); in dumpDebug()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/tracing/
DFrameProtoTracer.java84 byte[] getProtoBytes(P proto); in getProtoBytes()
85 int getProtoSize(P proto); in getProtoSize()
164 private void onProtoDequeued(T proto) { in onProtoDequeued()
DProtoTraceable.java25 void writeToProto(T proto); in writeToProto()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DSettingsStatsUtil.java85 StringListParamProto proto = getList(flagsData.mFlagName); in logGlobalSettings() local
104 StringListParamProto proto = getList(flagsData.mFlagName); in logSystemSettings() local
123 StringListParamProto proto = getList(flagsData.mFlagName); in logSecureSettings() local
/frameworks/base/cmds/statsd/tests/
DUidMap_test.cpp173 static void protoOutputStreamToUidMapping(ProtoOutputStream* proto, UidMapping* results) { in protoOutputStreamToUidMapping()
209 ProtoOutputStream proto; in TEST() local
237 ProtoOutputStream proto; in TEST() local
269 ProtoOutputStream proto; in TEST() local
312 ProtoOutputStream proto; in TEST() local
377 ProtoOutputStream proto; in TEST() local
/frameworks/base/cmds/incident_helper/src/parsers/
DCpuInfoParser.cpp26 static void writeSuffixLine(ProtoOutputStream* proto, uint64_t fieldId, in writeSuffixLine()
56 ProtoOutputStream proto; in Parse() local
DBatteryTypeParser.cpp33 ProtoOutputStream proto; in Parse() local
/frameworks/base/libs/hwui/service/
DGraphicsStatsService.cpp163 bool mergeProfileDataIntoProto(protos::GraphicsStatsProto* proto, const std::string& package, in mergeProfileDataIntoProto()
255 static int32_t findPercentile(protos::GraphicsStatsProto* proto, int percentile) { in findPercentile()
267 static int32_t findGPUPercentile(protos::GraphicsStatsProto* proto, int percentile) { in findGPUPercentile()
283 void dumpAsTextToFd(protos::GraphicsStatsProto* proto, int fd) { in dumpAsTextToFd()
381 protos::GraphicsStatsServiceDumpProto& proto() { return mProto; } in proto() function in android::uirenderer::GraphicsStatsService::Dump
496 util::ProtoOutputStream proto; in writeCpuHistogram() local
516 util::ProtoOutputStream proto; in writeGpuHistogram() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationPanelLoggerImpl.java34 final Notifications.NotificationList proto = NotificationPanelLogger.toNotificationProto( in logPanelShown() local
/frameworks/base/services/core/java/com/android/server/power/
DSuspendBlocker.java46 void dumpDebug(ProtoOutputStream proto, long fieldId); in dumpDebug()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/
DProtoStore.java113 T proto = constructor.newInstance(); in loadProto() local
119 public void saveProto(String packageName, T proto) throws IOException { in saveProto()

1234567891011