/aosp12/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 …]
|
/aosp12/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 …]
|
/aosp12/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()
|
/aosp12/frameworks/base/core/java/android/util/imetracing/ |
H A D | InputConnectionHelper.java | 66 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
|
H A D | ImeTracingClientImpl.java | 38 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
|
/aosp12/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()
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
H A D | SmsStats.java | 89 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 D | VoiceCallSessionStats.java | 180 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 D | ProtoUtils.java | 34 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()
|
/aosp12/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
|
/aosp12/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 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 D | Vibration.java | 271 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 …]
|
/aosp12/frameworks/base/core/java/com/android/internal/util/ |
H A D | TraceBuffer.java | 62 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()
|
/aosp12/bootable/recovery/tests/unit/ |
H A D | update_verifier_test.cpp | 134 std::string proto = ConstructProto(partitions); in TEST_F() local 155 std::string proto = ConstructProto(partitions); in TEST_F() local 176 std::string proto = ConstructProto(partitions); in TEST_F() local 195 std::string proto = ConstructProto(partitions); in TEST_F() local 216 std::string proto = ConstructProto(partitions); in TEST_F() local
|
/aosp12/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/converter/ |
H A D | SchemaToProtoConverter.java | 117 public static AppSearchSchema toAppSearchSchema(@NonNull SchemaTypeConfigProtoOrBuilder proto) { in toAppSearchSchema() 129 private static AppSearchSchema.PropertyConfig toPropertyConfig( in toPropertyConfig() 159 private static AppSearchSchema.StringPropertyConfig toStringPropertyConfig( in toStringPropertyConfig() 175 private static AppSearchSchema.DocumentPropertyConfig toDocumentPropertyConfig( in toDocumentPropertyConfig()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
H A D | ProtoTracer.java | 78 LauncherTraceEntryProto.Builder proto = LauncherTraceEntryProto.newBuilder(); in updateBufferProto() local 103 public byte[] getProtoBytes(MessageLite.Builder proto) { in getProtoBytes() 108 public int getProtoSize(MessageLite.Builder proto) { in getProtoSize()
|
/aosp12/packages/services/Car/cpp/computepipe/runner/client_interface/ |
H A D | PipeOptionsConverter.cpp | 133 PipeInputConfig ConvertInputConfigProto(const proto::InputConfig& proto) { in ConvertInputConfigProto() 159 PipeOffloadConfig ConvertOffloadConfigProto(const proto::OffloadConfig& proto) { in ConvertOffloadConfigProto() 174 PipeOutputConfig ConvertOutputConfigProto(const proto::OutputConfig& proto) { in ConvertOutputConfigProto() 182 PipeTerminationConfig ConvertTerminationConfigProto(const proto::TerminationConfig& proto) { in ConvertTerminationConfigProto()
|
/aosp12/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()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/ |
H A D | SensorLoggerSession.java | 103 Session proto = new Session(); in toProto() local 119 PhoneEvent proto = new PhoneEvent(); in phoneEventToProto() local 126 SensorEvent proto = new SensorEvent(); in sensorEventToProto() local 136 TouchEvent proto = new TouchEvent(); in motionEventToProto() local
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/tracing/ |
H A D | ProtoTracer.java | 86 SystemUiTraceEntryProto proto = reuseObj != null in updateBufferProto() local 106 public byte[] getProtoBytes(MessageNano proto) { in getProtoBytes() 111 public int getProtoSize(MessageNano proto) { in getProtoSize()
|
/aosp12/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/stats/ |
H A D | StatsCollector.java | 155 private static byte[] getDocumentStorageInfoBytes( in getDocumentStorageInfoBytes() 176 private static byte[] getSchemaStoreStorageInfoBytes( in getSchemaStoreStorageInfoBytes() 188 private static byte[] getIndexStorageInfoBytes( in getIndexStorageInfoBytes()
|
/aosp12/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
|
/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | LocalAnimationAdapter.java | 81 public void dumpDebug(ProtoOutputStream proto) { in dumpDebug() 146 default void dumpDebug(ProtoOutputStream proto, long fieldId) { in dumpDebug() 152 void dumpDebugInner(ProtoOutputStream proto); in dumpDebugInner()
|
/aosp12/system/netd/server/ |
H A D | SockDiag.cpp | 110 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, uint8_t extensions, uint32_t states, in sendDumpRequest() 143 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, uint32_t states) { in sendDumpRequest() 150 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, const char *addrstr) { in sendDumpRequest() 219 int SockDiag::readDiagMsg(uint8_t proto, const SockDiag::DestroyFilter& shouldDestroy) { in readDiagMsg() 281 int SockDiag::sockDestroy(uint8_t proto, const inet_diag_msg *msg) { in sockDestroy() 309 int SockDiag::destroySockets(uint8_t proto, int family, const char* addrstr, int ifindex) { in destroySockets() 353 const int proto = IPPROTO_TCP; in destroyLiveSockets() local 372 const int proto = IPPROTO_TCP; in getLiveTcpInfos() local 395 int SockDiag::destroySockets(uint8_t proto, const uid_t uid, bool excludeLoopback) { in destroySockets()
|