Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java202 assertProtoMatches(policy, policy.toProto()); in testZenPolicyMessagesInvalid()
214 assertProtoMatches(policy, policy.toProto()); in testZenPolicyCallsInvalid()
224 assertProtoMatches(policy, policy.toProto()); in testEmptyZenPolicy()
236 assertProtoMatches(policy, policy.toProto()); in testAllowReminders()
243 assertProtoMatches(policy, policy.toProto()); in testAllowReminders()
255 assertProtoMatches(policy, policy.toProto()); in testAllowEvents()
262 assertProtoMatches(policy, policy.toProto()); in testAllowEvents()
275 assertProtoMatches(policy, policy.toProto()); in testAllowMessages()
283 assertProtoMatches(policy, policy.toProto()); in testAllowMessages()
291 assertProtoMatches(policy, policy.toProto()); in testAllowMessages()
[all …]
/frameworks/native/services/surfaceflinger/Tracing/
DTransactionProtoParser.h103 proto::TransactionState toProto(const TransactionState&);
104 proto::TransactionState toProto(const std::map<int32_t /* layerId */, TracingLayerState>&);
105 proto::LayerCreationArgs toProto(const TracingLayerCreationArgs& args);
113 proto::LayerState toProto(const layer_state_t&);
114 proto::DisplayState toProto(const DisplayState&);
DTransactionTracing.cpp151 new proto::TransactionState(mLockfreeProtoParser.toProto(transaction)); in addQueuedTransaction()
307 mCreatedLayers.push_back(mProtoParser.toProto(args)); in onLayerAdded()
318 mCreatedLayers.emplace_back(mProtoParser.toProto(args)); in onMirrorLayerAdded()
397 entryProto->mutable_added_layers()->Add(mProtoParser.toProto(state.args)); in addStartingStateToProtoLocked()
400 proto::TransactionState transactionProto = mProtoParser.toProto(mStartingStates); in addStartingStateToProtoLocked()
DTransactionProtoParser.cpp25 proto::TransactionState TransactionProtoParser::toProto(const TransactionState& t) { in toProto() function in android::surfaceflinger::TransactionProtoParser
36 proto.mutable_layer_changes()->Add(std::move(toProto(layerState.state))); in toProto()
41 proto.mutable_display_changes()->Add(std::move(toProto(displayState))); in toProto()
46 proto::TransactionState TransactionProtoParser::toProto( in toProto() function in android::surfaceflinger::TransactionProtoParser
51 proto::LayerState layerProto = toProto(state); in toProto()
73 proto::LayerState TransactionProtoParser::toProto(const layer_state_t& layer) { in toProto() function in android::surfaceflinger::TransactionProtoParser
268 proto::DisplayState TransactionProtoParser::toProto(const DisplayState& display) { in toProto() function in android::surfaceflinger::TransactionProtoParser
293 proto::LayerCreationArgs TransactionProtoParser::toProto(const TracingLayerCreationArgs& args) { in toProto() function in android::surfaceflinger::TransactionProtoParser
/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()
DVoiceCallRatTracker.java66 public VoiceCallRatUsage[] toProto() { in toProto() method in VoiceCallRatTracker
DPersistAtomsStorage.java255 mAtoms.voiceCallRatUsage = mVoiceCallRatTracker.toProto(); in addVoiceCallRatUsage()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DTileStateToProtoTest.kt34 val proto = state.toProto() in platformTile_INACTIVE()
55 val proto = state.toProto() in componentTile_UNAVAILABLE()
79 val proto = state.toProto() in booleanState_ACTIVE()
100 val proto = state.toProto() in noSpec_returnsNull()
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityEventBuilder.java71 public static List<IpConnectivityEvent> toProto(List<ConnectivityMetricsEvent> eventsIn) { in toProto() method in IpConnectivityEventBuilder
74 final IpConnectivityEvent out = toProto(in); in toProto()
83 public static IpConnectivityEvent toProto(ConnectivityMetricsEvent ev) { in toProto() method in IpConnectivityEventBuilder
92 public static IpConnectivityEvent toProto(ConnectStats in) { in toProto() method in IpConnectivityEventBuilder
106 public static IpConnectivityEvent toProto(DnsEvent in) { in toProto() method in IpConnectivityEventBuilder
118 public static IpConnectivityEvent toProto(WakeupStats in) { in toProto() method in IpConnectivityEventBuilder
139 public static IpConnectivityEvent toProto(DefaultNetworkEvent in) { in toProto() method in IpConnectivityEventBuilder
DNetdEventListenerService.java344 events.add(IpConnectivityEventBuilder.toProto(stats)); in flushStatistics()
351 events.add(IpConnectivityEventBuilder.toProto(ev)); in flushStatistics()
354 events.add(IpConnectivityEventBuilder.toProto(mWakeupStats.valueAt(i))); in flushStatistics()
389 list.add(IpConnectivityEventBuilder.toProto(mNetworkMetrics.valueAt(i).connectMetrics)); in listAsProtos()
392 list.add(IpConnectivityEventBuilder.toProto(mNetworkMetrics.valueAt(i).dnsMetrics)); in listAsProtos()
395 list.add(IpConnectivityEventBuilder.toProto(mWakeupStats.valueAt(i))); in listAsProtos()
DDefaultNetworkMetrics.java92 list.add(IpConnectivityEventBuilder.toProto(ev)); in listEventsAsProto()
99 out.add(IpConnectivityEventBuilder.toProto(ev)); in flushEvents()
DIpConnectivityMetrics.java203 final List<IpConnectivityEvent> protoEvents = IpConnectivityEventBuilder.toProto(events); in flushEncodedOutput()
249 final List<IpConnectivityEvent> events = IpConnectivityEventBuilder.toProto(getEvents()); in listEventsAsProtos()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/include/timestatsproto/
DTimeStatsHelper.h100 SFTimeStatsLayerProto toProto() const;
187 SFTimeStatsGlobalProto toProto(std::optional<uint32_t> maxLayers) const;
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
DTimeStatsHelper.cpp195 SFTimeStatsLayerProto TimeStatsHelper::TimeStatsLayer::toProto() const { in toProto() function in android::surfaceflinger::TimeStatsHelper::TimeStatsLayer
213 SFTimeStatsGlobalProto TimeStatsHelper::TimeStatsGlobal::toProto( in toProto() function in android::surfaceflinger::TimeStatsHelper::TimeStatsGlobal
247 layerProto->CopyFrom(ele->toProto()); in toProto()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTileStateToProto.kt26 fun QSTile.State.toProto(): QsTileState? { in QSTile() method
DQSTileHost.java647 .map(TileStateToProtoKt::toProto) in dumpProto()
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/
DViewCapture.java411 mNodesBg[index].toProto(idProvider, classList, nodeBuilder);
503 public ViewPropertyRef toProto(ViewIdProvider idProvider, ArrayList<Class> classList,
531 result = result.toProto(idProvider, classList, childViewNode);
/frameworks/native/services/surfaceflinger/tests/unittests/
DTransactionProtoParserTest.cpp97 proto::TransactionState proto = parser.toProto(t1); in TEST()
/frameworks/native/services/surfaceflinger/FrameTimeline/
DFrameTimeline.cpp201 FrameTimelineEvent::PresentType toProto(FramePresentMetadata presentMetadata) { in toProto() function
214 FrameTimelineEvent::PredictionType toProto(PredictionState predictionState) { in toProto() function
696 actualSurfaceFrameStartEvent->set_present_type(toProto(mFramePresentMetadata)); in traceActuals()
702 actualSurfaceFrameStartEvent->set_prediction_type(toProto(mPredictionState)); in traceActuals()
1074 actualDisplayFrameStartEvent->set_present_type(toProto(mFramePresentMetadata)); in traceActuals()
1079 actualDisplayFrameStartEvent->set_prediction_type(toProto(mPredictionState)); in traceActuals()
/frameworks/base/core/java/android/service/notification/
DZenPolicy.java1144 public byte[] toProto() { in toProto() method in ZenPolicy
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java2401 boolean toProto = false; in dump()
2443 toProto = true; in dump()
2588 if (toProto) { in dump()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1259 .writeByteArray(config.toZenPolicy().toProto()); in pullRules()
1297 policyProto = rule.zenPolicy.toProto(); in ruleToProtoLocked()
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp1101 SFTimeStatsGlobalProto timeStatsProto = mTimeStats.toProto(maxLayers); in dump()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DVoiceCallSessionStatsTest.java2313 ratUsage.set(tracker.toProto()); in setupRatUsageCapture()
/frameworks/base/services/
Dart-profile17942 HPLcom/android/server/connectivity/IpConnectivityEventBuilder;->toProto(Landroid/net/ConnectivityMe…
17943 PLcom/android/server/connectivity/IpConnectivityEventBuilder;->toProto(Landroid/net/metrics/Connect…
17944 PLcom/android/server/connectivity/IpConnectivityEventBuilder;->toProto(Landroid/net/metrics/DnsEven…
17945 PLcom/android/server/connectivity/IpConnectivityEventBuilder;->toProto(Landroid/net/metrics/WakeupS…
17946 HPLcom/android/server/connectivity/IpConnectivityEventBuilder;->toProto(Ljava/util/List;)Ljava/util…