Home
last modified time | relevance | path

Searched defs:proto (Results 1 – 25 of 303) 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/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/native/services/surfaceflinger/Tracing/
DTransactionProtoParser.cpp26 proto::TransactionState proto; in toProto() local
48 proto::TransactionState proto; in toProto() local
74 proto::LayerState proto; in toProto() local
269 proto::DisplayState proto; in toProto() local
294 proto::LayerCreationArgs proto; in toProto() local
303 TransactionState TransactionProtoParser::fromProto(const proto::TransactionState& proto) { in fromProto()
329 void TransactionProtoParser::fromProto(const proto::LayerCreationArgs& proto, in fromProto()
338 void TransactionProtoParser::mergeFromProto(const proto::LayerState& proto, in mergeFromProto()
366 void TransactionProtoParser::fromProto(const proto::LayerState& proto, layer_state_t& layer) { in fromProto()
547 DisplayState TransactionProtoParser::fromProto(const proto::DisplayState& proto) { in fromProto()
/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.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/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/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/opt/telephony/src/java/com/android/internal/telephony/metrics/
DSmsStats.java90 IncomingSms proto = getIncomingDefaultProto(is3gpp2, SOURCE_NOT_INJECTED); in onDroppedIncomingMultipartSms() local
104 IncomingSms proto = getIncomingDefaultProto(is3gpp2, smsSource); in onIncomingSmsVoicemail() local
111 IncomingSms proto = getIncomingDefaultProto(false /* is3gpp2 */, smsSource); in onIncomingSmsTypeZero() local
118 IncomingSms proto = getIncomingDefaultProto(false /* is3gpp2 */, smsSource); in onIncomingSmsPP() local
128 IncomingSms proto = getIncomingDefaultProto(is3gpp2, smsSource); in onIncomingSmsSuccess() local
139 IncomingSms proto = getIncomingDefaultProto(is3gpp2, smsSource); in onIncomingSmsError() local
147 IncomingSms proto = getIncomingDefaultProto(false, smsSource); in onIncomingSmsWapPush() local
168 OutgoingSms proto = in onOutgoingSms() local
201 IncomingSms proto = new IncomingSms(); in getIncomingDefaultProto() local
225 OutgoingSms proto = new OutgoingSms(); in getOutgoingDefaultProto() local
DVoiceCallSessionStats.java211 VoiceCallSession proto = mCallProtos.get(id); in onRilCallListChanged() local
294 VoiceCallSession proto = mCallProtos.get(id); in onAudioCodecChanged() local
315 VoiceCallSession proto = mCallProtos.get(id); in onVideoStateChange() local
329 VoiceCallSession proto = mCallProtos.get(id); in onMultipartyChange() local
349 VoiceCallSession proto = mCallProtos.get(id); in onCallStateChanged() local
380 VoiceCallSession proto = mCallProtos.get(id); in onRilSrvccStateChanged() local
416 VoiceCallSession proto = mCallProtos.get(id); in acceptCall() local
441 VoiceCallSession proto = new VoiceCallSession(); in addCall() local
496 VoiceCallSession proto = mCallProtos.get(connectionId); in finishCall() local
544 VoiceCallSession proto = mCallProtos.get(id); in setRttStarted() local
[all …]
/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/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/native/services/surfaceflinger/tests/unittests/
DTransactionTracingTest.cpp93 proto::TransactionTraceFile proto = writeToProto(); in TEST_F() local
177 proto::TransactionTraceFile proto = writeToProto(); in TEST_F() local
195 proto::TransactionTraceFile proto = writeToProto(); in TEST_F() local
205 proto::TransactionTraceFile proto = writeToProto(); in TEST_F() local
216 proto::TransactionTraceFile proto = writeToProto(); in TEST_F() local
274 proto::TransactionTraceFile proto = writeToProto(); in TEST_F() local
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibration.java367 public void dumpProto(ProtoOutputStream proto, long fieldId) { in dumpProto()
391 ProtoOutputStream proto, long fieldId, CombinedVibration effect) { in dumpEffect()
399 ProtoOutputStream proto, long fieldId, CombinedVibration.Sequential effect) { in dumpEffect()
416 ProtoOutputStream proto, long fieldId, CombinedVibration.Mono effect) { in dumpEffect()
423 ProtoOutputStream proto, long fieldId, CombinedVibration.Stereo effect) { in dumpEffect()
433 ProtoOutputStream proto, long fieldId, VibrationEffect effect) { in dumpEffect()
443 private void dumpEffect(ProtoOutputStream proto, long fieldId, in dumpEffect()
458 private void dumpEffect(ProtoOutputStream proto, long fieldId, StepSegment segment) { in dumpEffect()
466 private void dumpEffect(ProtoOutputStream proto, long fieldId, RampSegment segment) { in dumpEffect()
476 private void dumpEffect(ProtoOutputStream proto, long fieldId, in dumpEffect()
[all …]
/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.java85 SystemUiTraceEntryProto proto = reuseObj != null in updateBufferProto() local
105 public byte[] getProtoBytes(MessageNano proto) { in getProtoBytes()
110 public int getProtoSize(MessageNano proto) { in getProtoSize()
/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/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()
/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>>...13