Home
last modified time | relevance | path

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

12345678910>>...30

/aosp12/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsProtoV2.java105 private static void loadCountAndTime(ProtoInputStream proto, long fieldId, in loadCountAndTime()
291 static void writeOffsetTimestamp(ProtoOutputStream proto, long fieldId, in writeOffsetTimestamp()
442 final ProtoInputStream proto = new ProtoInputStream(in); in read() local
528 final ProtoOutputStream proto = new ProtoOutputStream(out); in write() local
584 private static void loadPackagesMap(ProtoInputStream proto, in loadPackagesMap()
613 final ProtoInputStream proto = new ProtoInputStream(in); in readObfuscatedData() local
638 final ProtoOutputStream proto = new ProtoOutputStream(out); in writeObfuscatedData() local
734 final ProtoInputStream proto = new ProtoInputStream(in); in readPendingEvents() local
804 final ProtoOutputStream proto = new ProtoOutputStream(out); in writePendingEvents() local
845 final ProtoInputStream proto = new ProtoInputStream(in); in readGlobalComponentUsage() local
[all …]
H A 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()
323 private static void writeUsageStats(ProtoOutputStream proto, long fieldId, in writeUsageStats()
393 private static void writeCountsForAction(ProtoOutputStream proto, in writeCountsForAction()
408 private static void writeConfigStats(ProtoOutputStream proto, long fieldId, in writeConfigStats()
509 final ProtoInputStream proto = new ProtoInputStream(in); in read() local
[all …]
/aosp14/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsProtoV2.java105 private static void loadCountAndTime(ProtoInputStream proto, long fieldId, in loadCountAndTime()
291 static void writeOffsetTimestamp(ProtoOutputStream proto, long fieldId, in writeOffsetTimestamp()
442 final ProtoInputStream proto = new ProtoInputStream(in); in read() local
528 final ProtoOutputStream proto = new ProtoOutputStream(out); in write() local
584 private static void loadPackagesMap(ProtoInputStream proto, in loadPackagesMap()
613 final ProtoInputStream proto = new ProtoInputStream(in); in readObfuscatedData() local
638 final ProtoOutputStream proto = new ProtoOutputStream(out); in writeObfuscatedData() local
734 final ProtoInputStream proto = new ProtoInputStream(in); in readPendingEvents() local
804 final ProtoOutputStream proto = new ProtoOutputStream(out); in writePendingEvents() local
845 final ProtoInputStream proto = new ProtoInputStream(in); in readGlobalComponentUsage() local
[all …]
H A 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()
323 private static void writeUsageStats(ProtoOutputStream proto, long fieldId, in writeUsageStats()
393 private static void writeCountsForAction(ProtoOutputStream proto, in writeCountsForAction()
408 private static void writeConfigStats(ProtoOutputStream proto, long fieldId, in writeConfigStats()
509 final ProtoInputStream proto = new ProtoInputStream(in); in read() local
[all …]
/aosp12/frameworks/base/libs/protoutil/tests/
H A DProtoOutputStream_test.cpp53 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
328 ProtoOutputStream proto; in TEST() local
339 ProtoOutputStream proto; in TEST() local
[all …]
/aosp14/frameworks/base/libs/protoutil/tests/
H A DProtoOutputStream_test.cpp53 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
328 ProtoOutputStream proto; in TEST() local
339 ProtoOutputStream proto; in TEST() local
[all …]
/aosp12/frameworks/base/core/java/com/android/internal/print/
H A 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()
/aosp14/frameworks/base/core/java/com/android/internal/print/
H A 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()
/aosp12/frameworks/base/core/java/android/util/imetracing/
H A 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
/aosp14/frameworks/base/core/java/com/android/internal/inputmethod/
H A DInputConnectionProtoDumper.java66 ProtoOutputStream proto = new ProtoOutputStream(); in buildGetTextAfterCursorProto() local
94 ProtoOutputStream proto = new ProtoOutputStream(); in buildGetTextBeforeCursorProto() local
122 ProtoOutputStream proto = new ProtoOutputStream(); in buildGetSelectedTextProto() local
153 ProtoOutputStream proto = new ProtoOutputStream(); in buildGetSurroundingTextProto() local
188 ProtoOutputStream proto = new ProtoOutputStream(); in buildGetCursorCapsModeProto() local
217 ProtoOutputStream proto = new ProtoOutputStream(); in buildGetExtractedTextProto() local
/aosp12/frameworks/base/tools/powerstats/
H A 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()
/aosp14/frameworks/base/tools/powerstats/
H A 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()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
H A 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
H A DVoiceCallSessionStats.java180 VoiceCallSession proto = mCallProtos.get(id); in onRilCallListChanged() local
256 VoiceCallSession proto = mCallProtos.get(id); in onAudioCodecChanged() local
277 VoiceCallSession proto = mCallProtos.get(id); in onVideoStateChange() local
291 VoiceCallSession proto = mCallProtos.get(id); in onMultipartyChange() local
341 VoiceCallSession proto = mCallProtos.get(id); in onRilSrvccStateChanged() local
380 VoiceCallSession proto = mCallProtos.get(id); in addCall() local
388 VoiceCallSession proto = new VoiceCallSession(); in addCall() local
434 VoiceCallSession proto = mCallProtos.get(connectionId); in finishCall() local
472 VoiceCallSession proto = mCallProtos.get(getConnectionId(conn)); in setRttStarted() local
534 VoiceCallSession proto = mCallProtos.valueAt(i); in updateRatTracker() local
[all …]
/aosp12/frameworks/base/core/java/android/util/proto/
H A 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()
/aosp14/frameworks/base/core/java/android/util/proto/
H A DProtoUtils.java35 public static void toAggStatsProto(ProtoOutputStream proto, long fieldId, in toAggStatsProto()
49 public static void toAggStatsProto(ProtoOutputStream proto, long fieldId, in toAggStatsProto()
57 public static void toDuration(ProtoOutputStream proto, long fieldId, long startMs, long endMs) { in toDuration()
67 public static void writeBitWiseFlagsToProtoEnum(ProtoOutputStream proto, long fieldId, in writeBitWiseFlagsToProtoEnum()
88 public static String currentFieldToString(ProtoInputStream proto) throws IOException { in currentFieldToString()
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A 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
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A 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
/aosp14/frameworks/base/services/core/java/com/android/server/
H A 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
128 reportFreeSpace(Environment.getMetadataDirectory(), "Metadata", pw, proto, in dump() local
158 ProtoOutputStream proto, int folderType) { in reportFreeSpace()
242 private void reportCachedValuesProto(ProtoOutputStream proto) { in reportCachedValuesProto()
321 private void reportDiskWriteSpeedProto(ProtoOutputStream proto) { in reportDiskWriteSpeedProto()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DTileStateToProtoTest.kt34 val proto = state.toProto() regex
55 val proto = state.toProto() regex
79 val proto = state.toProto() regex
100 val proto = state.toProto() regex
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
H A DTracer.java112 com.android.wm.shell.nano.Transition proto = new com.android.wm.shell.nano.Transition(); in logDispatched() local
135 com.android.wm.shell.nano.Transition proto = new com.android.wm.shell.nano.Transition(); in logMergeRequested() local
150 com.android.wm.shell.nano.Transition proto = new com.android.wm.shell.nano.Transition(); in logMerged() local
164 com.android.wm.shell.nano.Transition proto = new com.android.wm.shell.nano.Transition(); in logAborted() local
240 com.android.wm.shell.nano.WmShellTransitionTraceProto proto = in writeTraceToFileLocked() local
259 com.android.wm.shell.nano.WmShellTransitionTraceProto proto) { in writeHandlerMappingToProto()
275 private void handleOnEntryRemovedFromTrace(Object proto) { in handleOnEntryRemovedFromTrace()
/aosp12/frameworks/base/services/core/java/com/android/server/
H A 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()
/aosp12/frameworks/base/services/core/java/com/android/server/vibrator/
H A DVibration.java271 public void dumpProto(ProtoOutputStream proto, long fieldId) { in dumpProto()
294 ProtoOutputStream proto, long fieldId, CombinedVibration effect) { in dumpEffect()
302 ProtoOutputStream proto, long fieldId, CombinedVibration.Sequential effect) { in dumpEffect()
319 ProtoOutputStream proto, long fieldId, CombinedVibration.Mono effect) { in dumpEffect()
326 ProtoOutputStream proto, long fieldId, CombinedVibration.Stereo effect) { in dumpEffect()
336 ProtoOutputStream proto, long fieldId, VibrationEffect effect) { in dumpEffect()
346 private void dumpEffect(ProtoOutputStream proto, long fieldId, in dumpEffect()
361 private void dumpEffect(ProtoOutputStream proto, long fieldId, StepSegment segment) { in dumpEffect()
369 private void dumpEffect(ProtoOutputStream proto, long fieldId, RampSegment segment) { in dumpEffect()
379 private void dumpEffect(ProtoOutputStream proto, long fieldId, in dumpEffect()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/vibrator/
H A DVibration.java255 public void dumpProto(ProtoOutputStream proto, long fieldId) { in dumpProto()
280 ProtoOutputStream proto, long fieldId, CombinedVibration effect) { in dumpEffect()
288 ProtoOutputStream proto, long fieldId, CombinedVibration.Sequential effect) { in dumpEffect()
305 ProtoOutputStream proto, long fieldId, CombinedVibration.Mono effect) { in dumpEffect()
312 ProtoOutputStream proto, long fieldId, CombinedVibration.Stereo effect) { in dumpEffect()
322 ProtoOutputStream proto, long fieldId, VibrationEffect effect) { in dumpEffect()
332 private void dumpEffect(ProtoOutputStream proto, long fieldId, in dumpEffect()
347 private void dumpEffect(ProtoOutputStream proto, long fieldId, StepSegment segment) { in dumpEffect()
355 private void dumpEffect(ProtoOutputStream proto, long fieldId, RampSegment segment) { in dumpEffect()
365 private void dumpEffect(ProtoOutputStream proto, long fieldId, in dumpEffect()
[all …]
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A 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()

12345678910>>...30