/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenPolicyTest.java | 202 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/ |
D | TransactionProtoParser.h | 103 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&);
|
D | TransactionTracing.cpp | 151 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()
|
D | TransactionProtoParser.cpp | 25 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/ |
D | CallQualityMetrics.java | 241 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()
|
D | VoiceCallRatTracker.java | 66 public VoiceCallRatUsage[] toProto() { in toProto() method in VoiceCallRatTracker
|
D | PersistAtomsStorage.java | 255 mAtoms.voiceCallRatUsage = mVoiceCallRatTracker.toProto(); in addVoiceCallRatUsage()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | TileStateToProtoTest.kt | 34 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/ |
D | IpConnectivityEventBuilder.java | 71 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
|
D | NetdEventListenerService.java | 344 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()
|
D | DefaultNetworkMetrics.java | 92 list.add(IpConnectivityEventBuilder.toProto(ev)); in listEventsAsProto() 99 out.add(IpConnectivityEventBuilder.toProto(ev)); in flushEvents()
|
D | IpConnectivityMetrics.java | 203 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/ |
D | TimeStatsHelper.h | 100 SFTimeStatsLayerProto toProto() const; 187 SFTimeStatsGlobalProto toProto(std::optional<uint32_t> maxLayers) const;
|
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/ |
D | TimeStatsHelper.cpp | 195 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/ |
D | TileStateToProto.kt | 26 fun QSTile.State.toProto(): QsTileState? { in QSTile() method
|
D | QSTileHost.java | 647 .map(TileStateToProtoKt::toProto) in dumpProto()
|
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/ |
D | ViewCapture.java | 411 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/ |
D | TransactionProtoParserTest.cpp | 97 proto::TransactionState proto = parser.toProto(t1); in TEST()
|
/frameworks/native/services/surfaceflinger/FrameTimeline/ |
D | FrameTimeline.cpp | 201 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/ |
D | ZenPolicy.java | 1144 public byte[] toProto() { in toProto() method in ZenPolicy
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 2401 boolean toProto = false; in dump() 2443 toProto = true; in dump() 2588 if (toProto) { in dump()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 1259 .writeByteArray(config.toZenPolicy().toProto()); in pullRules() 1297 policyProto = rule.zenPolicy.toProto(); in ruleToProtoLocked()
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.cpp | 1101 SFTimeStatsGlobalProto timeStatsProto = mTimeStats.toProto(maxLayers); in dump()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | VoiceCallSessionStatsTest.java | 2313 ratUsage.set(tracker.toProto()); in setupRatUsageCapture()
|
/frameworks/base/services/ |
D | art-profile | 17942 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…
|