Home
last modified time | relevance | path

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

123456

/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.h35 static void writeToProto(const Rect& rect, std::function<RectProto*()> getRectProto);
36 static void writeToProto(const FloatRect& rect,
38 static void writeToProto(const Region& region, std::function<RegionProto*()> getRegionProto);
39 static void writeToProto(const half4 color, std::function<ColorProto*()> getColorProto);
40 static void writeToProto(const ui::Transform& transform, TransformProto* transformProto);
41 static void writeToProto(const sp<GraphicBuffer>& buffer,
43 static void writeToProto(const InputWindowInfo& inputInfo,
DLayerProtoHelper.cpp42 void LayerProtoHelper::writeToProto(const Region& region, in writeToProto() function in android::surfaceflinger::LayerProtoHelper
54 writeToProto(*head, getProtoRect); in writeToProto()
59 void LayerProtoHelper::writeToProto(const Rect& rect, std::function<RectProto*()> getRectProto) { in writeToProto() function in android::surfaceflinger::LayerProtoHelper
70 void LayerProtoHelper::writeToProto(const FloatRect& rect, in writeToProto() function in android::surfaceflinger::LayerProtoHelper
82 void LayerProtoHelper::writeToProto(const half4 color, std::function<ColorProto*()> getColorProto) { in writeToProto() function in android::surfaceflinger::LayerProtoHelper
93 void LayerProtoHelper::writeToProto(const ui::Transform& transform, in writeToProto() function in android::surfaceflinger::LayerProtoHelper
109 void LayerProtoHelper::writeToProto(const sp<GraphicBuffer>& buffer, in writeToProto() function in android::surfaceflinger::LayerProtoHelper
122 void LayerProtoHelper::writeToProto( in writeToProto() function in android::surfaceflinger::LayerProtoHelper
133 LayerProtoHelper::writeToProto({inputInfo.frameLeft, inputInfo.frameTop, inputInfo.frameRight, in writeToProto()
136 LayerProtoHelper::writeToProto(inputInfo.touchableRegion, in writeToProto()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowFrames.java398 public void writeToProto(@NonNull ProtoOutputStream proto, long fieldId) { in writeToProto() method in WindowFrames
400 mParentFrame.writeToProto(proto, PARENT_FRAME); in writeToProto()
401 mContentFrame.writeToProto(proto, CONTENT_FRAME); in writeToProto()
402 mDisplayFrame.writeToProto(proto, DISPLAY_FRAME); in writeToProto()
403 mOverscanFrame.writeToProto(proto, OVERSCAN_FRAME); in writeToProto()
404 mVisibleFrame.writeToProto(proto, VISIBLE_FRAME); in writeToProto()
405 mDecorFrame.writeToProto(proto, DECOR_FRAME); in writeToProto()
406 mOutsetFrame.writeToProto(proto, OUTSET_FRAME); in writeToProto()
407 mContainingFrame.writeToProto(proto, CONTAINING_FRAME); in writeToProto()
408 mFrame.writeToProto(proto, FRAME); in writeToProto()
[all …]
DAnimationAdapter.java85 default void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto() method
87 writeToProto(proto); in writeToProto()
91 void writeToProto(ProtoOutputStream proto); in writeToProto() method
DLocalAnimationAdapter.java84 public void writeToProto(ProtoOutputStream proto) { in writeToProto() method in LocalAnimationAdapter
86 mSpec.writeToProto(proto, ANIMATION_SPEC); in writeToProto()
146 default void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto() method
DConfigurationContainer.java571 protected void writeToProto(ProtoOutputStream proto, long fieldId, in writeToProto() method in ConfigurationContainer
579 mRequestedOverrideConfiguration.writeToProto(proto, OVERRIDE_CONFIGURATION, in writeToProto()
582 mFullConfiguration.writeToProto(proto, FULL_CONFIGURATION, false /* critical */); in writeToProto()
583 mMergedOverrideConfiguration.writeToProto(proto, MERGED_OVERRIDE_CONFIGURATION, in writeToProto()
DWindowToken.java273 public void writeToProto(ProtoOutputStream proto, long fieldId, in writeToProto() method in WindowToken
280 super.writeToProto(proto, WINDOW_CONTAINER, logLevel); in writeToProto()
284 w.writeToProto(proto, WINDOWS, logLevel); in writeToProto()
DWindowProcessListener.java64 void writeToProto(ProtoOutputStream proto, long fieldId); in writeToProto() method
DSurfaceAnimator.java342 void writeToProto(ProtoOutputStream proto, long fieldId) {
345 mAnimation.writeToProto(proto, ANIMATION_ADAPTER);
348 mLeash.writeToProto(proto, LEASH);
DTask.java763 public void writeToProto(ProtoOutputStream proto, long fieldId, in writeToProto() method in Task
770 super.writeToProto(proto, WINDOW_CONTAINER, logLevel); in writeToProto()
774 appWindowToken.writeToProto(proto, APP_WINDOW_TOKENS, logLevel); in writeToProto()
777 getBounds().writeToProto(proto, BOUNDS); in writeToProto()
778 mOverrideDisplayedBounds.writeToProto(proto, DISPLAYED_BOUNDS); in writeToProto()
/frameworks/base/core/java/android/view/
DRemoteAnimationTarget.java237 public void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto() method in RemoteAnimationTarget
241 leash.writeToProto(proto, LEASH); in writeToProto()
243 clipRect.writeToProto(proto, CLIP_RECT); in writeToProto()
244 contentInsets.writeToProto(proto, CONTENT_INSETS); in writeToProto()
246 position.writeToProto(proto, POSITION); in writeToProto()
247 sourceContainerBounds.writeToProto(proto, SOURCE_CONTAINER_BOUNDS); in writeToProto()
248 windowConfiguration.writeToProto(proto, WINDOW_CONFIGURATION); in writeToProto()
250 startLeash.writeToProto(proto, START_LEASH); in writeToProto()
253 startBounds.writeToProto(proto, START_BOUNDS); in writeToProto()
DDisplayCutout.java499 public void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto() method in DisplayCutout
501 mSafeInsets.writeToProto(proto, INSETS); in writeToProto()
502 mBounds.getRect(BOUNDS_POSITION_LEFT).writeToProto(proto, BOUND_LEFT); in writeToProto()
503 mBounds.getRect(BOUNDS_POSITION_TOP).writeToProto(proto, BOUND_TOP); in writeToProto()
504 mBounds.getRect(BOUNDS_POSITION_RIGHT).writeToProto(proto, BOUND_RIGHT); in writeToProto()
505 mBounds.getRect(BOUNDS_POSITION_BOTTOM).writeToProto(proto, BOUND_BOTTOM); in writeToProto()
/frameworks/base/services/core/java/com/android/server/am/
DActiveInstrumentation.java129 void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto() method in ActiveInstrumentation
131 mClass.writeToProto(proto, ActiveInstrumentationProto.CLASS); in writeToProto()
134 mRunningProcesses.get(i).writeToProto(proto, in writeToProto()
141 mTargetInfo.writeToProto(proto, ActiveInstrumentationProto.TARGET_INFO, 0); in writeToProto()
148 mArguments.writeToProto(proto, ActiveInstrumentationProto.ARGUMENTS); in writeToProto()
DReceiverList.java83 void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto() method in ReceiverList
85 app.writeToProto(proto, ReceiverListProto.APP); in writeToProto()
90 curBroadcast.writeToProto(proto, ReceiverListProto.CURRENT); in writeToProto()
96 bf.writeToProto(proto, ReceiverListProto.FILTERS); in writeToProto()
DIntentBindRecord.java111 public void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto() method in IntentBindRecord
114 intent.getIntent().writeToProto(proto, in writeToProto()
131 a.writeToProto(proto, IntentBindRecordProto.APPS); in writeToProto()
DServiceRecord.java183 public void writeToProto(ProtoOutputStream proto, long fieldId, long now) { in writeToProto() method in ServiceRecord.StartItem
191 intent.writeToProto(proto, ServiceRecordProto.StartItem.INTENT, true, true, in writeToProto()
195 neededGrants.writeToProto(proto, ServiceRecordProto.StartItem.NEEDED_GRANTS); in writeToProto()
198 uriPermissions.writeToProto(proto, ServiceRecordProto.StartItem.URI_PERMISSIONS); in writeToProto()
253 void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto() method in ServiceRecord
261 intent.getIntent().writeToProto(proto, ServiceRecordProto.INTENT, false, true, false, in writeToProto()
280 app.writeToProto(proto, ServiceRecordProto.APP); in writeToProto()
283 isolatedProc.writeToProto(proto, ServiceRecordProto.ISOLATED_PROC); in writeToProto()
290 foregroundNoti.writeToProto(proto, ServiceRecordProto.Foreground.NOTIFICATION); in writeToProto()
333 deliveredStarts.get(i).writeToProto(proto, in writeToProto()
[all …]
DBroadcastDispatcher.java76 void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto() method in BroadcastDispatcher.Deferrals
78 br.writeToProto(proto, fieldId); in writeToProto()
418 public void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto() method in BroadcastDispatcher
420 mCurrentBroadcast.writeToProto(proto, fieldId); in writeToProto()
423 d.writeToProto(proto, fieldId); in writeToProto()
426 br.writeToProto(proto, fieldId); in writeToProto()
429 d.writeToProto(proto, fieldId); in writeToProto()
DBroadcastFilter.java49 public void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto() method in BroadcastFilter
51 super.writeToProto(proto, BroadcastFilterProto.INTENT_FILTER); in writeToProto()
/frameworks/base/services/core/java/com/android/server/uri/
DNeededUriGrants.java37 public void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto() method in NeededUriGrants
45 this.get(i).writeToProto(proto, NeededUriGrantsProto.GRANTS); in writeToProto()
DUriPermissionOwner.java144 public void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto() method in UriPermissionOwner
150 p.uri.writeToProto(proto, UriPermissionOwnerProto.READ_PERMS); in writeToProto()
157 p.uri.writeToProto(proto, UriPermissionOwnerProto.WRITE_PERMS); in writeToProto()
/frameworks/base/core/tests/coretests/src/android/content/res/
DConfigurationTest.java87 writeToProto(proto, write); in testReadWriteProto()
107 private void writeToProto(File f, Configuration config) throws Exception { in writeToProto() method in ConfigurationTest
113 config.writeToProto(protoOut, IntervalStatsProto.Configuration.CONFIG, false, false); in writeToProto()
/frameworks/base/services/core/java/com/android/server/notification/
DPulledStats.java58 writeToProto(report, proto); in toParcelFileDescriptor()
109 void writeToProto(int report, ProtoOutputStream proto) { in writeToProto() method in PulledStats
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPulledStatsTest.java59 stats.writeToProto(1023123, proto); // a very large number in testPulledStats_UnknownReport()
79 stats.writeToProto(REPORT_REMOTE_VIEWS, protoStream); in testPulledStats_RemoteViewReportPackages()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkIdentitySet.java173 public void writeToProto(ProtoOutputStream proto, long tag) { in writeToProto() method in NetworkIdentitySet
177 ident.writeToProto(proto, NetworkIdentitySetProto.IDENTITIES); in writeToProto()
/frameworks/base/services/core/java/com/android/server/power/
DSuspendBlocker.java46 void writeToProto(ProtoOutputStream proto, long fieldId); in writeToProto() method

123456