Home
last modified time | relevance | path

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

12345678910>>...19

/aosp12/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsProtoV2.java105 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 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()
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 DProtoOutputStream_test.cpp53 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 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()
/aosp12/frameworks/base/core/java/android/util/imetracing/
H A DInputConnectionHelper.java66 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 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
/aosp12/frameworks/base/tools/powerstats/
H A 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()
/aosp12/frameworks/base/core/java/android/util/proto/
H A 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()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
H A DSmsStats.java89 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 DVoiceCallSessionStats.java180 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/services/core/java/com/android/server/notification/
H A 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
/ohos5.0/foundation/communication/ipc/ipc/native/c/manager/src/
H A Diremote_invoker.c22 RemoteInvoker *InitRemoteInvoker(int32_t proto) in InitRemoteInvoker()
33 void DeinitRemoteInvoker(RemoteInvoker *invoker, int32_t proto) in DeinitRemoteInvoker()
H A Dipc_thread_pool.c63 static void ThreadContextDestructor(int32_t proto) in ThreadContextDestructor()
75 static RemoteInvoker *GetAndUpdateInvoker(int32_t proto) in GetAndUpdateInvoker()
88 int32_t proto = threadContext->proto; in ThreadHandler() local
141 int32_t SpawnNewThread(ThreadPool *threadPool, int32_t policy, int32_t proto) in SpawnNewThread()
/aosp12/frameworks/base/services/core/java/com/android/server/
H A 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
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/core/java/com/android/internal/util/
H A 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()
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/
H A Dipc_workthread.cpp43 int proto; member
55 std::string IPCWorkThread::MakeBasicThreadName(int proto, int threadIndex) in MakeBasicThreadName()
64 void IPCWorkThread::JoinThread(int proto, int policy) in JoinThread()
147 void IPCWorkThread::Start(int policy, int proto, int threadIndex) in Start()
/aosp12/bootable/recovery/tests/unit/
H A Dupdate_verifier_test.cpp134 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/services/core/java/com/android/server/vibrator/
H A DVibration.java271 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/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/converter/
H A DSchemaToProtoConverter.java117 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/frameworks/base/core/java/com/android/internal/util/dump/
H A 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()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
H A DProtoTracer.java78 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 DPipeOptionsConverter.cpp133 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()
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dnetlink_socket_diag.cpp88 int32_t NetLinkSocketDiag::ExecuteDestroySocket(uint8_t proto, const inet_diag_msg *msg) in ExecuteDestroySocket()
180 int32_t NetLinkSocketDiag::ProcessSockDiagDumpResponse(uint8_t proto, const std::string &ipAddr, bo… in ProcessSockDiagDumpResponse()
211 int32_t NetLinkSocketDiag::SendSockDiagDumpRequest(uint8_t proto, uint8_t family, uint32_t states) in SendSockDiagDumpRequest()
233 void NetLinkSocketDiag::SockDiagDumpCallback(uint8_t proto, const inet_diag_msg *msg, const std::st… in SockDiagDumpCallback()
275 const int32_t proto = IPPROTO_TCP; in DestroyLiveSockets() local
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/tracing/
H A DProtoTracer.java86 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/packages/SystemUI/src/com/android/systemui/analytics/
H A DSensorLoggerSession.java103 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

12345678910>>...19