/frameworks/native/services/surfaceflinger/Tracing/ |
D | TransactionProtoParser.h | 47 perfetto::protos::TransactionState toProto(const TransactionState&); 48 perfetto::protos::TransactionState toProto( 50 perfetto::protos::LayerCreationArgs toProto(const LayerCreationArgs& args); 51 perfetto::protos::LayerState toProto(const ResolvedComposerState&); 52 static perfetto::protos::DisplayInfo toProto(const frontend::DisplayInfo&, uint32_t layerStack); 63 perfetto::protos::DisplayState toProto(const DisplayState&);
|
D | TransactionTracing.cpp | 171 new perfetto::protos::TransactionState(mProtoParser.toProto(transaction)); in addQueuedTransaction() 247 entryProto.mutable_added_layers()->Add(std::move(mProtoParser.toProto(args))); in addEntry() 279 std::move(mProtoParser.toProto(displayInfo, layerStack.id))); in addEntry() 423 entryProto.mutable_added_layers()->Add(mProtoParser.toProto(state.args)); in createStartingStateProtoLocked() 426 perfetto::protos::TransactionState transactionProto = mProtoParser.toProto(mStartingStates); in createStartingStateProtoLocked() 439 entryProto.mutable_displays()->Add(mProtoParser.toProto(displayInfo, layerStack.id)); in createStartingStateProtoLocked()
|
D | TransactionProtoParser.cpp | 54 perfetto::protos::TransactionState TransactionProtoParser::toProto(const TransactionState& t) { in toProto() function in android::surfaceflinger::TransactionProtoParser 65 proto.mutable_layer_changes()->Add(std::move(toProto(layerState))); in toProto() 70 proto.mutable_display_changes()->Add(std::move(toProto(displayState))); in toProto() 82 perfetto::protos::TransactionState TransactionProtoParser::toProto( in toProto() function in android::surfaceflinger::TransactionProtoParser 87 perfetto::protos::LayerState layerProto = toProto(state); in toProto() 94 perfetto::protos::LayerState TransactionProtoParser::toProto( in toProto() function in android::surfaceflinger::TransactionProtoParser 266 perfetto::protos::DisplayState TransactionProtoParser::toProto(const DisplayState& display) { in toProto() function in android::surfaceflinger::TransactionProtoParser 291 perfetto::protos::LayerCreationArgs TransactionProtoParser::toProto(const LayerCreationArgs& args) { in toProto() function in android::surfaceflinger::TransactionProtoParser 568 perfetto::protos::DisplayInfo TransactionProtoParser::toProto( in toProto() function in android::surfaceflinger::TransactionProtoParser
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenPolicyTest.java | 351 assertProtoMatches(policy, policy.toProto()); in testZenPolicyMessagesInvalid() 363 assertProtoMatches(policy, policy.toProto()); in testZenPolicyCallsInvalid() 373 assertProtoMatches(policy, policy.toProto()); in testEmptyZenPolicy() 394 assertProtoMatches(policy, policy.toProto()); in testAllowReminders() 401 assertProtoMatches(policy, policy.toProto()); in testAllowReminders() 413 assertProtoMatches(policy, policy.toProto()); in testAllowEvents() 420 assertProtoMatches(policy, policy.toProto()); in testAllowEvents() 433 assertProtoMatches(policy, policy.toProto()); in testAllowMessages() 441 assertProtoMatches(policy, policy.toProto()); in testAllowMessages() 449 assertProtoMatches(policy, policy.toProto()); in testAllowMessages() [all …]
|
/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 | 285 mAtoms.voiceCallRatUsage = mVoiceCallRatTracker.toProto(); in addVoiceCallRatUsage()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | TileStateToProtoTest.kt | 35 val proto = state.toProto() in platformTile_INACTIVE() 56 val proto = state.toProto() in componentTile_UNAVAILABLE() 84 val proto = state.toProto() in adapterState_ACTIVE() 111 val proto = state.toProto() in adapterState_INACTIVE() 132 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 | 384 events.add(IpConnectivityEventBuilder.toProto(stats)); in flushStatistics() 391 events.add(IpConnectivityEventBuilder.toProto(ev)); in flushStatistics() 394 events.add(IpConnectivityEventBuilder.toProto(mWakeupStats.valueAt(i))); in flushStatistics() 429 list.add(IpConnectivityEventBuilder.toProto(mNetworkMetrics.valueAt(i).connectMetrics)); in listAsProtos() 432 list.add(IpConnectivityEventBuilder.toProto(mNetworkMetrics.valueAt(i).dnsMetrics)); in listAsProtos() 435 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 | 103 SFTimeStatsLayerProto toProto() const; 189 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 | 27 fun QSTile.State.toProto(): QsTileState? { in QSTile() method
|
D | QSTileHost.java | 624 .map(TileStateToProtoKt::toProto) in dumpProto()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TransactionProtoParserTest.cpp | 88 perfetto::protos::TransactionState proto = parser.toProto(t1); in TEST() 124 *displayInfoProto = TransactionProtoParser::toProto(d1, layerStack); in TEST()
|
/frameworks/native/services/surfaceflinger/FrameTimeline/ |
D | FrameTimeline.cpp | 206 FrameTimelineEvent::PresentType toProto(FramePresentMetadata presentMetadata) { in toProto() function 219 FrameTimelineEvent::PredictionType toProto(PredictionState predictionState) { in toProto() function 283 FrameTimelineEvent::JankSeverityType toProto(JankSeverityType jankSeverityType) { in toProto() function 774 actualSurfaceFrameStartEvent->set_present_type(toProto(mFramePresentMetadata)); in traceActuals() 780 actualSurfaceFrameStartEvent->set_prediction_type(toProto(mPredictionState)); in traceActuals() 782 actualSurfaceFrameStartEvent->set_jank_severity_type(toProto(mJankSeverityType)); in traceActuals() 1205 actualDisplayFrameStartEvent->set_prediction_type(toProto(PredictionState::Valid)); in addSkippedFrame() 1208 actualDisplayFrameStartEvent->set_jank_severity_type(toProto(JankSeverityType::None)); in addSkippedFrame() 1244 actualDisplayFrameStartEvent->set_present_type(toProto(mFramePresentMetadata)); in traceActuals() 1249 actualDisplayFrameStartEvent->set_prediction_type(toProto(mPredictionState)); in traceActuals() [all …]
|
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/ |
D | ViewCapture.java | 455 mNodesBg[index].toProto(idProvider, classList, nodeBuilder); 568 public ViewPropertyRef toProto(ViewIdProvider idProvider, ArrayList<Class> classList, 598 result = result.toProto(idProvider, classList, childViewNode);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/interactor/ |
D | CurrentTilesInteractor.kt | 45 import com.android.systemui.qs.toProto in <lambda>() 344 currentTiles.value.map { it.tile.state }.mapNotNull { it?.toProto() }.toTypedArray() in dumpProto()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/interactor/ |
D | CurrentTilesInteractorImplTest.kt | 51 import com.android.systemui.qs.toProto 603 assertThat(MessageNano.messageNanoEquals(proto.tiles[0], stateA.toProto())).isTrue() in protoDump() 604 assertThat(MessageNano.messageNanoEquals(proto.tiles[1], stateCustom.toProto())) in protoDump()
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenPolicy.java | 1524 public byte[] toProto() { in toProto() method in ZenPolicy
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 2955 boolean toProto = false; in dumpUnmonitored() 2997 toProto = true; in dumpUnmonitored() 3160 if (toProto) { in dumpUnmonitored()
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.cpp | 1109 SFTimeStatsGlobalProto timeStatsProto = mTimeStats.toProto(maxLayers); in dump()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 2361 /* optional DNDPolicyProto policy = 7 */ config.getZenPolicy().toProto(), in pullRules() 2400 policyProto = rule.zenPolicy.toProto(); in ruleToProtoLocked()
|