Home
last modified time | relevance | path

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

12345678910>>...13

/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/native/services/surfaceflinger/Tracing/
DTransactionProtoParser.cpp55 proto::TransactionState proto; in toProto() local
84 proto::TransactionState proto; in toProto() local
96 proto::LayerState proto; in toProto() local
264 proto::DisplayState proto; in toProto() local
289 proto::LayerCreationArgs proto; in toProto() local
300 TransactionState TransactionProtoParser::fromProto(const proto::TransactionState& proto) { in fromProto()
326 void TransactionProtoParser::fromProto(const proto::LayerCreationArgs& proto, in fromProto()
338 void TransactionProtoParser::mergeFromProto(const proto::LayerState& proto, in mergeFromProto()
363 void TransactionProtoParser::fromProto(const proto::LayerState& proto, in fromProto()
528 DisplayState TransactionProtoParser::fromProto(const proto::DisplayState& proto) { in fromProto()
[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/packages/SystemUI/tests/src/com/android/systemui/qs/
DTileStateToProtoTest.kt34 val proto = state.toProto() in platformTile_INACTIVE() constant
55 val proto = state.toProto() in componentTile_UNAVAILABLE() constant
79 val proto = state.toProto() in booleanState_ACTIVE() constant
100 val proto = state.toProto() in noSpec_returnsNull() constant
/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/com/android/internal/inputmethod/
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
DImeTracingClientImpl.java36 public void addToBuffer(ProtoOutputStream proto, int source) { in addToBuffer()
54 ProtoOutputStream proto = new ProtoOutputStream(); in triggerClientDump() local
77 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.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()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DSmsStats.java91 IncomingSms proto = getIncomingDefaultProto(is3gpp2, SOURCE_NOT_INJECTED); in onDroppedIncomingMultipartSms() local
105 IncomingSms proto = getIncomingDefaultProto(is3gpp2, smsSource); in onIncomingSmsVoicemail() local
112 IncomingSms proto = getIncomingDefaultProto(false /* is3gpp2 */, smsSource); in onIncomingSmsTypeZero() local
119 IncomingSms proto = getIncomingDefaultProto(false /* is3gpp2 */, smsSource); in onIncomingSmsPP() local
129 IncomingSms proto = getIncomingDefaultProto(is3gpp2, smsSource); in onIncomingSmsSuccess() local
140 IncomingSms proto = getIncomingDefaultProto(is3gpp2, smsSource); in onIncomingSmsError() local
148 IncomingSms proto = getIncomingDefaultProto(false, smsSource); in onIncomingSmsWapPush() local
169 OutgoingSms proto = in onOutgoingSms() local
208 OutgoingShortCodeSms proto = new OutgoingShortCodeSms(); in onOutgoingShortCodeSms() local
218 IncomingSms proto = new IncomingSms(); in getIncomingDefaultProto() local
[all …]
DVoiceCallSessionStats.java204 VoiceCallSession proto = mCallProtos.get(id); in onRilCallListChanged() local
287 VoiceCallSession proto = mCallProtos.get(id); in onAudioCodecChanged() local
308 VoiceCallSession proto = mCallProtos.get(id); in onVideoStateChange() local
322 VoiceCallSession proto = mCallProtos.get(id); in onMultipartyChange() local
342 VoiceCallSession proto = mCallProtos.get(id); in onCallStateChanged() local
373 VoiceCallSession proto = mCallProtos.get(id); in onRilSrvccStateChanged() local
417 VoiceCallSession proto = mCallProtos.get(id); in acceptCall() local
442 VoiceCallSession proto = new VoiceCallSession(); in addCall() local
499 VoiceCallSession proto = mCallProtos.get(connectionId); in finishCall() local
550 VoiceCallSession proto = mCallProtos.get(id); 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
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()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
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()
/frameworks/base/services/core/java/com/android/server/vibrator/
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 …]
/frameworks/base/core/java/com/android/internal/util/
DTraceBuffer.java64 int getItemSize(P proto); in getItemSize()
69 byte[] getBytes(P proto); in getBytes()
84 public int getItemSize(ProtoOutputStream proto) { in getItemSize()
89 public byte[] getBytes(ProtoOutputStream proto) { in getBytes()
142 public synchronized void add(T proto) { in add()
/frameworks/libs/net/common/device/com/android/net/module/util/
DTcUtils.java53 short proto, String bpfProgPath) throws IOException; in tcFilterAddDevBpf()
76 public static native void tcFilterAddDevIngressPolice(int ifIndex, short prio, short proto, in tcFilterAddDevIngressPolice()
92 short proto) throws IOException; in tcFilterDelDev()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationPanelLoggerImpl.java37 final Notifications.NotificationList proto = NotificationPanelLogger.toNotificationProto( in logPanelShown() local
47 final Notifications.NotificationList proto = NotificationPanelLogger.toNotificationProto( in logNotificationDrag() local
/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/native/services/surfaceflinger/tests/unittests/
DTransactionTracingTest.cpp121 proto::TransactionTraceFile proto = writeToProto(); in TEST_F() local
207 proto::TransactionTraceFile proto = writeToProto(); in TEST_F() local
225 proto::TransactionTraceFile proto = writeToProto(); in TEST_F() local
235 proto::TransactionTraceFile proto = writeToProto(); in TEST_F() local
246 proto::TransactionTraceFile proto = writeToProto(); in TEST_F() local
306 proto::TransactionTraceFile proto = writeToProto(); in TEST_F() 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/libs/net/common/native/bpfmapjni/
Dcom_android_net_module_util_TcUtils.cpp47 jshort proto, jstring bpfProgPath) { in com_android_net_module_util_TcUtils_tcFilterAddDevBpf()
62 JNIEnv *env, jobject clazz, jint ifIndex, jshort prio, jshort proto, in com_android_net_module_util_TcUtils_tcFilterAddDevIngressPolice()
78 jshort proto) { in com_android_net_module_util_TcUtils_tcFilterDelDev()
/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/services/core/java/com/android/server/wm/
DLocalAnimationAdapter.java91 public void dumpDebug(ProtoOutputStream proto) { in dumpDebug()
170 default void dumpDebug(ProtoOutputStream proto, long fieldId) { in dumpDebug()
176 void dumpDebugInner(ProtoOutputStream proto); in dumpDebugInner()

12345678910>>...13