Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsProtoV2.java48 private static UsageStats parseUsageStats(ProtoInputStream proto, final long beginTime) in parseUsageStats()
105 private static void loadCountAndTime(ProtoInputStream proto, long fieldId, in loadCountAndTime()
129 private static void loadChooserCounts(ProtoInputStream proto, UsageStats usageStats) in loadChooserCounts()
164 private static void loadCountsForAction(ProtoInputStream proto, SparseIntArray counts) in loadCountsForAction()
188 private static void loadConfigStats(ProtoInputStream proto, IntervalStats stats) in loadConfigStats()
235 private static UsageEvents.Event parseEvent(ProtoInputStream proto, long beginTime) in parseEvent()
291 static void writeOffsetTimestamp(ProtoOutputStream proto, long fieldId, in writeOffsetTimestamp()
308 private static void writeUsageStats(ProtoOutputStream proto, final long beginTime, in writeUsageStats()
331 private static void writeCountAndTime(ProtoOutputStream proto, long fieldId, int count, in writeCountAndTime()
339 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()
159 private static void loadCountAndTime(ProtoInputStream proto, long fieldId, in loadCountAndTime()
181 private static void loadChooserCounts(ProtoInputStream proto, UsageStats usageStats) in loadChooserCounts()
224 private static void loadCountsForAction(ProtoInputStream proto, in loadCountsForAction()
249 private static void loadConfigStats(ProtoInputStream proto, long fieldId, in loadConfigStats()
301 private static void loadEvent(ProtoInputStream proto, long fieldId, IntervalStats statsOut, in loadEvent()
312 private static void writeStringPool(ProtoOutputStream proto, final IntervalStats stats) in writeStringPool()
323 private static void writeUsageStats(ProtoOutputStream proto, long fieldId, in writeUsageStats()
364 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/imetracing/
DInputConnectionHelper.java66 ProtoOutputStream proto = new ProtoOutputStream(); in buildGetTextAfterCursorProto() local
93 ProtoOutputStream proto = new ProtoOutputStream(); in buildGetTextBeforeCursorProto() local
121 ProtoOutputStream proto = new ProtoOutputStream(); in buildGetSelectedTextProto() local
152 ProtoOutputStream proto = new ProtoOutputStream(); in buildGetSurroundingTextProto() local
186 ProtoOutputStream proto = new ProtoOutputStream(); in buildGetCursorCapsModeProto() local
214 ProtoOutputStream proto = new ProtoOutputStream(); in buildGetExtractedTextProto() local
DImeTracingClientImpl.java38 public void addToBuffer(ProtoOutputStream proto, int source) { in addToBuffer()
56 ProtoOutputStream proto = new ProtoOutputStream(); in triggerClientDump() local
81 ProtoOutputStream proto = new ProtoOutputStream(); in triggerServiceDump() local
/frameworks/base/tools/powerstats/
DPowerStatsServiceProtoParser.java28 private static void printEnergyMeterInfo(PowerStatsServiceMeterProto proto) { in printEnergyMeterInfo()
38 private static void printEnergyMeasurements(PowerStatsServiceMeterProto proto) { in printEnergyMeasurements()
62 private static void printEnergyConsumer(PowerStatsServiceModelProto proto) { in printEnergyConsumer()
74 private static void printEnergyConsumerResults(PowerStatsServiceModelProto proto) { in printEnergyConsumerResults()
103 private static void printPowerEntityInfo(PowerStatsServiceResidencyProto proto) { in printPowerEntityInfo()
116 private static void printStateResidencyResult(PowerStatsServiceResidencyProto proto) { in printStateResidencyResult()
/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/
DSmsStats.java89 IncomingSms proto = getIncomingDefaultProto(is3gpp2, SOURCE_NOT_INJECTED); in onDroppedIncomingMultipartSms() local
103 IncomingSms proto = getIncomingDefaultProto(is3gpp2, smsSource); in onIncomingSmsVoicemail() local
110 IncomingSms proto = getIncomingDefaultProto(false /* is3gpp2 */, smsSource); in onIncomingSmsTypeZero() local
117 IncomingSms proto = getIncomingDefaultProto(false /* is3gpp2 */, smsSource); in onIncomingSmsPP() local
127 IncomingSms proto = getIncomingDefaultProto(is3gpp2, smsSource); in onIncomingSmsSuccess() local
138 IncomingSms proto = getIncomingDefaultProto(is3gpp2, smsSource); in onIncomingSmsError() local
146 IncomingSms proto = getIncomingDefaultProto(false, smsSource); in onIncomingSmsWapPush() local
166 OutgoingSms proto = in onOutgoingSms() local
198 IncomingSms proto = new IncomingSms(); in getIncomingDefaultProto() local
221 OutgoingSms proto = new OutgoingSms(); in getOutgoingDefaultProto() local
DVoiceCallSessionStats.java179 VoiceCallSession proto = mCallProtos.get(id); in onRilCallListChanged() local
255 VoiceCallSession proto = mCallProtos.get(id); in onAudioCodecChanged() local
276 VoiceCallSession proto = mCallProtos.get(id); in onVideoStateChange() local
290 VoiceCallSession proto = mCallProtos.get(id); in onMultipartyChange() local
309 VoiceCallSession proto = mCallProtos.get(getConnectionId(conn)); in onCallStateChanged() local
340 VoiceCallSession proto = mCallProtos.get(id); in onRilSrvccStateChanged() local
379 VoiceCallSession proto = mCallProtos.get(id); in addCall() local
387 VoiceCallSession proto = new VoiceCallSession(); in addCall() local
427 VoiceCallSession proto = mCallProtos.get(connectionId); in finishCall() local
465 VoiceCallSession proto = mCallProtos.get(getConnectionId(conn)); in setRttStarted() 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/services/core/java/com/android/server/vibrator/
DVibration.java269 public void dumpProto(ProtoOutputStream proto, long fieldId) { in dumpProto()
292 ProtoOutputStream proto, long fieldId, CombinedVibration effect) { in dumpEffect()
300 ProtoOutputStream proto, long fieldId, CombinedVibration.Sequential effect) { in dumpEffect()
317 ProtoOutputStream proto, long fieldId, CombinedVibration.Mono effect) { in dumpEffect()
324 ProtoOutputStream proto, long fieldId, CombinedVibration.Stereo effect) { in dumpEffect()
334 ProtoOutputStream proto, long fieldId, VibrationEffect effect) { in dumpEffect()
344 private void dumpEffect(ProtoOutputStream proto, long fieldId, in dumpEffect()
359 private void dumpEffect(ProtoOutputStream proto, long fieldId, StepSegment segment) { in dumpEffect()
367 private void dumpEffect(ProtoOutputStream proto, long fieldId, RampSegment segment) { in dumpEffect()
377 private void dumpEffect(ProtoOutputStream proto, long fieldId, in dumpEffect()
[all …]
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DSchemaToProtoConverter.java117 public static AppSearchSchema toAppSearchSchema(@NonNull SchemaTypeConfigProtoOrBuilder proto) { in toAppSearchSchema()
129 private static AppSearchSchema.PropertyConfig toPropertyConfig( in toPropertyConfig()
159 private static AppSearchSchema.StringPropertyConfig toStringPropertyConfig( in toStringPropertyConfig()
175 private static AppSearchSchema.DocumentPropertyConfig toDocumentPropertyConfig( in toDocumentPropertyConfig()
DSearchResultToProtoConverter.java62 public static SearchResultPage toSearchResultPage( in toSearchResultPage()
100 private static SearchResult toSearchResult( in toSearchResult()
/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/apex/appsearch/service/java/com/android/server/appsearch/stats/
DStatsCollector.java155 private static byte[] getDocumentStorageInfoBytes( in getDocumentStorageInfoBytes()
176 private static byte[] getSchemaStoreStorageInfoBytes( in getSchemaStoreStorageInfoBytes()
188 private static byte[] getIndexStorageInfoBytes( in getIndexStorageInfoBytes()
/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()
166 private void onProtoDequeued(T proto) { in onProtoDequeued()
/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

12345678910>>...12