/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsProtoV2.java | 52 private static UsageStats parseUsageStats(ProtoInputStream proto, final long beginTime) in parseUsageStats() 109 private static void loadCountAndTime(ProtoInputStream proto, long fieldId, in loadCountAndTime() 133 private static void loadChooserCounts(ProtoInputStream proto, UsageStats usageStats) in loadChooserCounts() 168 private static void loadCountsForAction(ProtoInputStream proto, SparseIntArray counts) in loadCountsForAction() 192 private static void loadConfigStats(ProtoInputStream proto, IntervalStats stats) in loadConfigStats() 239 private static UsageEvents.Event parseEvent(ProtoInputStream proto, long beginTime) in parseEvent() 305 static void writeOffsetTimestamp(ProtoOutputStream proto, long fieldId, in writeOffsetTimestamp() 322 private static void writeUsageStats(ProtoOutputStream proto, final long beginTime, in writeUsageStats() 345 private static void writeCountAndTime(ProtoOutputStream proto, long fieldId, int count, in writeCountAndTime() 353 private static void writeChooserCounts(ProtoOutputStream proto, final UsageStats stats) in writeChooserCounts() [all …]
|
D | UsageStatsProto.java | 43 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/ |
D | TransactionProtoParser.cpp | 55 perfetto::protos::TransactionState proto; in toProto() local 84 perfetto::protos::TransactionState proto; in toProto() local 96 perfetto::protos::LayerState proto; in toProto() local 267 perfetto::protos::DisplayState proto; in toProto() local 292 perfetto::protos::LayerCreationArgs proto; in toProto() local 304 const perfetto::protos::TransactionState& proto) { in fromProto() 330 void TransactionProtoParser::fromProto(const perfetto::protos::LayerCreationArgs& proto, in fromProto() 342 void TransactionProtoParser::mergeFromProto(const perfetto::protos::LayerState& proto, in mergeFromProto() 367 void TransactionProtoParser::fromProto(const perfetto::protos::LayerState& proto, in fromProto() 534 DisplayState TransactionProtoParser::fromProto(const perfetto::protos::DisplayState& proto) { in fromProto() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | TileStateToProtoTest.kt | 35 val proto = state.toProto() in platformTile_INACTIVE() constant 56 val proto = state.toProto() in componentTile_UNAVAILABLE() constant 84 val proto = state.toProto() in adapterState_ACTIVE() constant 111 val proto = state.toProto() in adapterState_INACTIVE() constant 132 val proto = state.toProto() in noSpec_returnsNull() constant
|
/frameworks/base/libs/protoutil/tests/ |
D | ProtoOutputStream_test.cpp | 29 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/ |
D | DumpUtils.java | 56 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/ |
D | InputConnectionProtoDumper.java | 65 ProtoOutputStream proto = new ProtoOutputStream(); in buildGetTextAfterCursorProto() local 88 ProtoOutputStream proto = new ProtoOutputStream(); in buildGetTextBeforeCursorProto() local 111 ProtoOutputStream proto = new ProtoOutputStream(); in buildGetSelectedTextProto() local 137 ProtoOutputStream proto = new ProtoOutputStream(); in buildGetSurroundingTextProto() local 167 ProtoOutputStream proto = new ProtoOutputStream(); in buildGetCursorCapsModeProto() local 194 ProtoOutputStream proto = new ProtoOutputStream(); in buildGetExtractedTextProto() local
|
D | ImeTracingClientImpl.java | 36 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | DataNetworkValidationStatsTest.java | 103 PersistAtomsProto.DataNetworkValidation proto = captor.getValue(); in testOnUpdateNetworkValidationStateWithSuccessStatus() local 138 PersistAtomsProto.DataNetworkValidation proto = captor.getValue(); in testOnUpdateNetworkValidationStateWithFailureStatus() local 202 PersistAtomsProto.DataNetworkValidation proto = captor.getValue(); in testOnUpdateNetworkValidationStateWithUnsupportedStatus() local 237 PersistAtomsProto.DataNetworkValidation proto = captor.getValue(); in testOnDataNetworkDisconnected() local 278 PersistAtomsProto.DataNetworkValidation proto = captor.getValue(); in testOnUpdateNetworkValidationState_DupStatus() local
|
/frameworks/base/tools/powerstats/ |
D | PowerStatsServiceProtoParser.java | 28 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/ |
D | ProtoUtils.java | 36 public static void toAggStatsProto(ProtoOutputStream proto, long fieldId, in toAggStatsProto() 50 public static void toAggStatsProto(ProtoOutputStream proto, long fieldId, in toAggStatsProto() 58 public static void toDuration(ProtoOutputStream proto, long fieldId, long startMs, long endMs) { in toDuration() 68 public static void writeBitWiseFlagsToProtoEnum(ProtoOutputStream proto, long fieldId, in writeBitWiseFlagsToProtoEnum() 89 public static String currentFieldToString(ProtoInputStream proto) throws IOException { in currentFieldToString()
|
/frameworks/base/services/core/java/com/android/server/ |
D | DiskStatsService.java | 94 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/ |
D | NotificationHistoryProtoHelper.java | 45 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/ |
D | SmsStats.java | 94 IncomingSms proto = getIncomingDefaultProto(is3gpp2, SOURCE_NOT_INJECTED, isEmergency); in onDroppedIncomingMultipartSms() local 108 IncomingSms proto = getIncomingDefaultProto(is3gpp2, smsSource, false); in onIncomingSmsVoicemail() local 115 IncomingSms proto = getIncomingDefaultProto(false /* is3gpp2 */, smsSource, false); in onIncomingSmsTypeZero() local 122 IncomingSms proto = getIncomingDefaultProto(false /* is3gpp2 */, smsSource, false); in onIncomingSmsPP() local 132 IncomingSms proto = getIncomingDefaultProto(is3gpp2, smsSource, isEmergency); in onIncomingSmsSuccess() local 143 IncomingSms proto = getIncomingDefaultProto(is3gpp2, smsSource, isEmergency); in onIncomingSmsError() local 151 IncomingSms proto = getIncomingDefaultProto(false, smsSource, isEmergency); in onIncomingSmsWapPush() local 172 OutgoingSms proto = in onOutgoingSms() local 214 OutgoingShortCodeSms proto = new OutgoingShortCodeSms(); in onOutgoingShortCodeSms() local 224 IncomingSms proto = new IncomingSms(); in getIncomingDefaultProto() local [all …]
|
D | VoiceCallSessionStats.java | 218 VoiceCallSession proto = mCallProtos.get(id); in onRilCallListChanged() local 314 VoiceCallSession proto = mCallProtos.get(id); in onAudioCodecChanged() local 335 VoiceCallSession proto = mCallProtos.get(id); in onVideoStateChange() local 349 VoiceCallSession proto = mCallProtos.get(id); in onMultipartyChange() local 369 VoiceCallSession proto = mCallProtos.get(id); in onCallStateChanged() local 400 VoiceCallSession proto = mCallProtos.get(id); in onRilSrvccStateChanged() local 444 VoiceCallSession proto = mCallProtos.get(id); in acceptCall() local 469 VoiceCallSession proto = new VoiceCallSession(); in addCall() local 535 VoiceCallSession proto = mCallProtos.get(connectionId); in finishCall() local 597 VoiceCallSession proto = mCallProtos.get(id); in setRttStarted() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/ |
D | NotificationPanelLoggerImpl.java | 37 public void logPanelShown(boolean isLockscreen, Notifications.NotificationList proto) { in logPanelShown() 48 final Notifications.NotificationList proto = NotificationPanelLogger.toNotificationProto( in logPanelShown() local 58 final Notifications.NotificationList proto = NotificationPanelLogger.toNotificationProto( in logNotificationDrag() local
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/tracing/ |
D | LegacyTransitionTracer.java | 115 com.android.wm.shell.nano.Transition proto = new com.android.wm.shell.nano.Transition(); in logDispatched() local 138 com.android.wm.shell.nano.Transition proto = new com.android.wm.shell.nano.Transition(); in logMergeRequested() local 154 com.android.wm.shell.nano.Transition proto = new com.android.wm.shell.nano.Transition(); in logMerged() local 169 com.android.wm.shell.nano.Transition proto = new com.android.wm.shell.nano.Transition(); in logAborted() local 245 com.android.wm.shell.nano.WmShellTransitionTraceProto proto = in writeTraceToFileLocked() local 264 com.android.wm.shell.nano.WmShellTransitionTraceProto proto) { in writeHandlerMappingToProto() 280 private void handleOnEntryRemovedFromTrace(Object proto) { in handleOnEntryRemovedFromTrace()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | Vibration.java | 331 void dump(ProtoOutputStream proto, long fieldId) { in dump() 357 ProtoOutputStream proto, long fieldId, CombinedVibration effect) { in dumpEffect() 365 ProtoOutputStream proto, long fieldId, CombinedVibration.Sequential effect) { in dumpEffect() 382 ProtoOutputStream proto, long fieldId, CombinedVibration.Mono effect) { in dumpEffect() 389 ProtoOutputStream proto, long fieldId, CombinedVibration.Stereo effect) { in dumpEffect() 399 ProtoOutputStream proto, long fieldId, VibrationEffect effect) { in dumpEffect() 409 private void dumpEffect(ProtoOutputStream proto, long fieldId, in dumpEffect() 424 private void dumpEffect(ProtoOutputStream proto, long fieldId, StepSegment segment) { in dumpEffect() 432 private void dumpEffect(ProtoOutputStream proto, long fieldId, RampSegment segment) { in dumpEffect() 442 private void dumpEffect(ProtoOutputStream proto, long fieldId, in dumpEffect() [all …]
|
D | GroupedAggregatedLogRecords.java | 92 final synchronized void dump(ProtoOutputStream proto) { in dump() 144 synchronized void dump(ProtoOutputStream proto, long fieldId) { in dump() 180 void dump(ProtoOutputStream proto, long fieldId); in dump()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | TraceBuffer.java | 64 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/native/services/surfaceflinger/tests/unittests/ |
D | TransactionTracingTest.cpp | 120 perfetto::protos::TransactionTraceFile proto = writeToProto(); in TEST_F() local 206 perfetto::protos::TransactionTraceFile proto = writeToProto(); in TEST_F() local 225 perfetto::protos::TransactionTraceFile proto = writeToProto(); in TEST_F() local 236 perfetto::protos::TransactionTraceFile proto = writeToProto(); in TEST_F() local 248 perfetto::protos::TransactionTraceFile proto = writeToProto(); in TEST_F() local 309 perfetto::protos::TransactionTraceFile proto = writeToProto(); in TEST_F() local
|
/frameworks/base/core/java/com/android/internal/util/dump/ |
D | DumpUtils.java | 33 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/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PulledStatsTest.java | 58 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/ |
D | LocalAnimationAdapter.java | 91 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/ |
D | SettingsStatsUtil.java | 85 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
|