/aosp14/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsProtoV2.java | 105 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 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() 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/libs/protoutil/tests/ |
H A D | ProtoOutputStream_test.cpp | 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 328 ProtoOutputStream proto; in TEST() local 339 ProtoOutputStream proto; in TEST() local [all …]
|
/aosp14/frameworks/base/core/java/com/android/internal/print/ |
H A 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()
|
/aosp14/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | InputConnectionProtoDumper.java | 66 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
|
H A 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
|
/aosp14/frameworks/base/tools/powerstats/ |
H A 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()
|
/aosp14/frameworks/base/core/java/android/util/proto/ |
H A D | ProtoUtils.java | 35 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()
|
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A 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
|
/aosp14/frameworks/base/services/core/java/com/android/server/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
H A D | TileStateToProtoTest.kt | 34 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 D | Tracer.java | 112 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()
|
/aosp14/frameworks/base/services/core/java/com/android/server/vibrator/ |
H A D | Vibration.java | 255 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 …]
|
/aosp14/frameworks/base/core/java/com/android/internal/util/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/ |
H A D | NotificationPanelLoggerImpl.java | 37 final Notifications.NotificationList proto = NotificationPanelLogger.toNotificationProto( in logPanelShown() local 47 final Notifications.NotificationList proto = NotificationPanelLogger.toNotificationProto( in logNotificationDrag() local
|
/aosp14/frameworks/base/core/java/com/android/internal/util/dump/ |
H A 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()
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | PulledStatsTest.java | 58 final ProtoOutputStream proto = new ProtoOutputStream(bytes); in testPulledStats_UnknownReport() local 83 NotificationRemoteViewsProto proto = in testPulledStats_RemoteViewReportPackages() local
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A 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()
|
H A D | AnimationAdapter.java | 98 default void dumpDebug(ProtoOutputStream proto, long fieldId) { in dumpDebug() 104 void dumpDebug(ProtoOutputStream proto); in dumpDebug()
|
/aosp14/frameworks/base/services/core/java/com/android/server/stats/pull/ |
H A 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
|
/aosp14/frameworks/base/core/tests/batterystatstests/BatteryUsageStatsProtoTests/src/com/android/internal/os/ |
H A D | BatteryUsageStatsPulledTest.java | 56 BatteryUsageStatsAtomsProto proto; in testGetStatsProto() local 211 @BatteryConsumer.PowerModel int powerModel, BatteryUsageStatsAtomsProto proto) { in assertPowerComponentModel() 361 BatteryUsageStatsAtomsProto proto; in testLargeAtomTruncated() local
|
/aosp14/frameworks/base/libs/hwui/service/ |
H A D | GraphicsStatsService.cpp | 162 bool mergeProfileDataIntoProto(protos::GraphicsStatsProto* proto, const std::string& package, in mergeProfileDataIntoProto() 254 static int32_t findPercentile(protos::GraphicsStatsProto* proto, int percentile) { in findPercentile() 266 static int32_t findGPUPercentile(protos::GraphicsStatsProto* proto, int percentile) { in findGPUPercentile() 282 void dumpAsTextToFd(protos::GraphicsStatsProto* proto, int fd) { in dumpAsTextToFd() 380 protos::GraphicsStatsServiceDumpProto& proto() { return mProto; } in proto() function in android::uirenderer::GraphicsStatsService::Dump 495 util::ProtoOutputStream proto; in writeCpuHistogram() local 515 util::ProtoOutputStream proto; in writeGpuHistogram() local
|
/aosp14/frameworks/base/cmds/incident_helper/src/parsers/ |
H A D | CpuInfoParser.cpp | 26 static void writeSuffixLine(ProtoOutputStream* proto, uint64_t fieldId, in writeSuffixLine() 56 ProtoOutputStream proto; in Parse() local
|
/aosp14/frameworks/base/core/java/android/view/inputmethod/ |
H A D | DumpableInputConnection.java | 31 void dumpDebug(@NonNull ProtoOutputStream proto, long fieldId); in dumpDebug()
|
/aosp14/frameworks/base/cmds/am/src/com/android/commands/am/ |
H A D | Instrument.java | 260 final ProtoOutputStream proto = new ProtoOutputStream(); in onInstrumentationStatusLocked() local 285 final ProtoOutputStream proto = new ProtoOutputStream(); in onInstrumentationFinishedLocked() local 299 final ProtoOutputStream proto = new ProtoOutputStream(); in onError() local 310 private void writeBundle(ProtoOutputStream proto, long fieldId, Bundle bundle) { in writeBundle() 349 private void outputProto(ProtoOutputStream proto) { in outputProto()
|