Home
last modified time | relevance | path

Searched refs:toProto (Results 1 – 24 of 24) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DCallQualityMetrics.java241 private static TelephonyCallSession.Event.SignalStrength toProto(int ss) { in toProto() method in CallQualityMetrics
267 summary.worstSsWithGoodQuality = toProto(mWorstSsWithGoodDlQuality.second); in getCallQualitySummaryDl()
272 summary.bestSsWithGoodQuality = toProto(mBestSsWithGoodDlQuality.second); in getCallQualitySummaryDl()
277 summary.worstSsWithBadQuality = toProto(mWorstSsWithBadDlQuality.second); in getCallQualitySummaryDl()
282 summary.bestSsWithBadQuality = toProto(mBestSsWithBadDlQuality.second); in getCallQualitySummaryDl()
307 summary.worstSsWithGoodQuality = toProto(mWorstSsWithGoodUlQuality.second); in getCallQualitySummaryUl()
312 summary.bestSsWithGoodQuality = toProto(mBestSsWithGoodUlQuality.second); in getCallQualitySummaryUl()
317 summary.worstSsWithBadQuality = toProto(mWorstSsWithBadUlQuality.second); in getCallQualitySummaryUl()
322 summary.bestSsWithBadQuality = toProto(mBestSsWithBadUlQuality.second); in getCallQualitySummaryUl()
DPersistAtomsStorage.java87 mAtoms.rawVoiceCallRatUsage = mVoiceCallRatTracker.toProto(); in addVoiceCallRatUsage()
DVoiceCallRatTracker.java66 public RawVoiceCallRatUsage[] toProto() { in toProto() method in VoiceCallRatTracker
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DIntCounterTest.java45 assertKeyCountsEqual(new Int32Count[0], counter.toProto()); in testEmpty()
70 assertKeyCountsEqual(expected, counter.toProto()); in testAddToCounter()
90 assertKeyCountsEqual(expected, counter.toProto()); in testAddToClampedCounter()
DIntHistogramTest.java94 HistogramBucketInt32[] actualProto = mHistogram.toProto(); in testAddToHistogram()
136 HistogramBucketInt32[] actualProto = mHistogram.toProto(); in testAddToHistogramWithGap()
186 HistogramBucketInt32[] actualProto = mHistogram.toProto(); in testAddNegativeToHistogram()
216 assertHistogramBucketsEqual(expectedProto, mHistogram.toProto()); in testEmptyHistogram()
239 assertHistogramBucketsEqual(expectedProto, mHistogram.toProto()); in testLength1Histogram()
DObjectCounterTest.java134 new ObjectCounter<TestKey>().toProto(TestKeyProto.class, CONVERTER)); in testEmpty()
153 TestKeyProto[] actual = counter.toProto(TestKeyProto.class, CONVERTER); in testAddToCounter()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DIntCounter.java130 public <T> T[] toProto(Class<T> protoClass, ProtobufConverter<T> converter) { in toProto() method
144 public Int32Count[] toProto() { in toProto() method
145 return toProto(Int32Count.class, (key, count) -> { in toProto()
DIntHistogram.java236 public <T> T[] toProto(Class<T> protoClass, ProtobufConverter<T> converter) { in toProto() method
250 public HistogramBucketInt32[] toProto() { in toProto() method
251 return toProto(HistogramBucketInt32.class, (start, end, count) -> { in toProto()
DObjectCounter.java114 public <T> T[] toProto(Class<T> protoClass, ProtobufConverter<K, T> converter) { in toProto() method in ObjectCounter
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/include/timestatsproto/
DTimeStatsHelper.h52 SFTimeStatsLayerProto toProto() const;
68 SFTimeStatsGlobalProto toProto(std::optional<uint32_t> maxLayers) const;
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityEventBuilder.java72 public static List<IpConnectivityEvent> toProto(List<ConnectivityMetricsEvent> eventsIn) { in toProto() method in IpConnectivityEventBuilder
75 final IpConnectivityEvent out = toProto(in); in toProto()
84 public static IpConnectivityEvent toProto(ConnectivityMetricsEvent ev) { in toProto() method in IpConnectivityEventBuilder
93 public static IpConnectivityEvent toProto(ConnectStats in) { in toProto() method in IpConnectivityEventBuilder
107 public static IpConnectivityEvent toProto(DnsEvent in) { in toProto() method in IpConnectivityEventBuilder
119 public static IpConnectivityEvent toProto(WakeupStats in) { in toProto() method in IpConnectivityEventBuilder
140 public static IpConnectivityEvent toProto(DefaultNetworkEvent in) { in toProto() method in IpConnectivityEventBuilder
DNetdEventListenerService.java335 events.add(IpConnectivityEventBuilder.toProto(stats)); in flushStatistics()
342 events.add(IpConnectivityEventBuilder.toProto(ev)); in flushStatistics()
345 events.add(IpConnectivityEventBuilder.toProto(mWakeupStats.valueAt(i))); in flushStatistics()
376 pw.print(IpConnectivityEventBuilder.toProto(mNetworkMetrics.valueAt(i).connectMetrics)); in listAsProtos()
379 pw.print(IpConnectivityEventBuilder.toProto(mNetworkMetrics.valueAt(i).dnsMetrics)); in listAsProtos()
382 pw.print(IpConnectivityEventBuilder.toProto(mWakeupStats.valueAt(i))); in listAsProtos()
DDefaultNetworkMetrics.java86 pw.print(IpConnectivityEventBuilder.toProto(ev)); in listEventsAsProto()
92 out.add(IpConnectivityEventBuilder.toProto(ev)); in flushEvents()
DIpConnectivityMetrics.java197 final List<IpConnectivityEvent> protoEvents = IpConnectivityEventBuilder.toProto(events); in flushEncodedOutput()
247 for (IpConnectivityEvent ev : IpConnectivityEventBuilder.toProto(events)) { in cmdListAsProto()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
DTimeStatsHelper.cpp122 SFTimeStatsLayerProto TimeStatsHelper::TimeStatsLayer::toProto() const { in toProto() function in android::surfaceflinger::TimeStatsHelper::TimeStatsLayer
140 SFTimeStatsGlobalProto TimeStatsHelper::TimeStatsGlobal::toProto( in toProto() function in android::surfaceflinger::TimeStatsHelper::TimeStatsGlobal
164 layerProto->CopyFrom(ele->toProto()); in toProto()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DIpConnectivityEventBuilderTest.java224 verifySerialization(want, IpConnectivityEventBuilder.toProto(ev)); in testDefaultNetworkEventSerialization()
507 IpConnectivityEvent got = IpConnectivityEventBuilder.toProto(stats); in testWakeupStatsSerialization()
548 IpConnectivityEventBuilder.toProto(Arrays.asList(input)); in verifySerialization()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMetrics.java3397 linkProbeStats.successRssiCounts = mLinkProbeSuccessRssiCounts.toProto(); in consolidateProto()
3398 linkProbeStats.failureRssiCounts = mLinkProbeFailureRssiCounts.toProto(); in consolidateProto()
3399 linkProbeStats.successLinkSpeedCounts = mLinkProbeSuccessLinkSpeedCounts.toProto(); in consolidateProto()
3400 linkProbeStats.failureLinkSpeedCounts = mLinkProbeFailureLinkSpeedCounts.toProto(); in consolidateProto()
3402 mLinkProbeSuccessSecondsSinceLastTxSuccessHistogram.toProto(); in consolidateProto()
3404 mLinkProbeFailureSecondsSinceLastTxSuccessHistogram.toProto(); in consolidateProto()
3406 mLinkProbeSuccessElapsedTimeMsHistogram.toProto(); in consolidateProto()
3407 linkProbeStats.failureReasonCounts = mLinkProbeFailureReasonCounts.toProto( in consolidateProto()
3415 linkProbeStats.experimentProbeCounts = mLinkProbeExperimentProbeCounts.toProto( in consolidateProto()
3429 mWifiNetworkRequestApiMatchSizeHistogram.toProto(); in consolidateProto()
[all …]
DDppMetrics.java282 log.dppOperationTime = mHistogramDppOperationTime.toProto(); in consolidateProto()
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DDataCollector.java192 Session proto = currentSession.toProto(); in reportRejectedTouch()
212 byte[] b = Session.toByteArray(currentSession.toProto()); in queueSession()
DSensorLoggerSession.java102 public Session toProto() { in toProto() method in SensorLoggerSession
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java1325 boolean toProto = false; in dump()
1366 toProto = true; in dump()
1464 if (toProto) { in dump()
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp615 SFTimeStatsGlobalProto timeStatsProto = mTimeStats.toProto(maxLayers); in dump()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DVoiceCallSessionStatsTest.java1896 ratUsage.set(tracker.toProto()); in setupRatUsageCapture()
/frameworks/base/services/
Dart-profile5393 PLcom/android/server/connectivity/IpConnectivityEventBuilder;->toProto(Landroid/net/metrics/Connect…
5394 PLcom/android/server/connectivity/IpConnectivityEventBuilder;->toProto(Landroid/net/metrics/Default…
5395 PLcom/android/server/connectivity/IpConnectivityEventBuilder;->toProto(Landroid/net/metrics/DnsEven…
5396 PLcom/android/server/connectivity/IpConnectivityEventBuilder;->toProto(Landroid/net/metrics/WakeupS…
5397 PLcom/android/server/connectivity/IpConnectivityEventBuilder;->toProto(Ljava/util/List;)Ljava/util/…