/frameworks/base/graphics/java/android/graphics/ |
D | GraphicsProtos.java | 41 @NonNull Point point, @NonNull ProtoOutputStream protoOutputStream, long fieldId) { in dumpPointProto() argument 42 final long token = protoOutputStream.start(fieldId); in dumpPointProto() 43 protoOutputStream.write(PointProto.X, point.x); in dumpPointProto() 44 protoOutputStream.write(PointProto.Y, point.y); in dumpPointProto() 45 protoOutputStream.end(token); in dumpPointProto()
|
D | Rect.java | 243 public void dumpDebug(@NonNull ProtoOutputStream protoOutputStream, long fieldId) { in dumpDebug() argument 244 final long token = protoOutputStream.start(fieldId); in dumpDebug() 245 protoOutputStream.write(RectProto.LEFT, left); in dumpDebug() 246 protoOutputStream.write(RectProto.TOP, top); in dumpDebug() 247 protoOutputStream.write(RectProto.RIGHT, right); in dumpDebug() 248 protoOutputStream.write(RectProto.BOTTOM, bottom); in dumpDebug() 249 protoOutputStream.end(token); in dumpDebug()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | EventHistoryImpl.java | 244 return (protoOutputStream, data) -> { in protoStreamWriter() 246 long token = protoOutputStream.start(PeopleEventsProto.EVENTS); in protoStreamWriter() 247 event.writeToProto(protoOutputStream); in protoStreamWriter() 248 protoOutputStream.end(token); in protoStreamWriter() 317 return (protoOutputStream, data) -> { 321 long token = protoOutputStream.start(PeopleEventIndexesProto.TYPED_INDEXES); 322 protoOutputStream.write(TypedPeopleEventIndexProto.EVENT_TYPE, eventType); 323 long indexToken = protoOutputStream.start(TypedPeopleEventIndexProto.INDEX); 324 index.writeToProto(protoOutputStream); 325 protoOutputStream.end(indexToken); [all …]
|
D | ConversationInfo.java | 332 void writeToProto(@NonNull ProtoOutputStream protoOutputStream) { in writeToProto() argument 333 protoOutputStream.write(ConversationInfoProto.SHORTCUT_ID, mShortcutId); in writeToProto() 335 long locusIdToken = protoOutputStream.start(ConversationInfoProto.LOCUS_ID_PROTO); in writeToProto() 336 protoOutputStream.write(LocusIdProto.LOCUS_ID, mLocusId.getId()); in writeToProto() 337 protoOutputStream.end(locusIdToken); in writeToProto() 340 protoOutputStream.write(ConversationInfoProto.CONTACT_URI, mContactUri.toString()); in writeToProto() 343 protoOutputStream.write(ConversationInfoProto.NOTIFICATION_CHANNEL_ID, in writeToProto() 347 protoOutputStream.write(ConversationInfoProto.PARENT_NOTIFICATION_CHANNEL_ID, in writeToProto() 350 protoOutputStream.write(ConversationInfoProto.LAST_EVENT_TIMESTAMP, mLastEventTimestamp); in writeToProto() 351 protoOutputStream.write(ConversationInfoProto.CREATION_TIMESTAMP, mCreationTimestamp); in writeToProto() [all …]
|
D | Event.java | 154 void writeToProto(@NonNull ProtoOutputStream protoOutputStream) { in writeToProto() argument 155 protoOutputStream.write(PeopleEventProto.EVENT_TYPE, mType); in writeToProto() 156 protoOutputStream.write(PeopleEventProto.TIME, mTimestamp); in writeToProto() 157 protoOutputStream.write(PeopleEventProto.DURATION, mDurationSeconds); in writeToProto()
|
D | AbstractProtoDiskReadWriter.java | 115 final ProtoOutputStream protoOutputStream = new ProtoOutputStream(fileOutputStream); in writeTo() local 116 protoStreamWriter().write(protoOutputStream, data); in writeTo() 117 protoOutputStream.flush(); in writeTo() 239 void write(@NonNull ProtoOutputStream protoOutputStream, @NonNull T data); in write() argument
|
D | ConversationStore.java | 327 return (protoOutputStream, data) -> { in protoStreamWriter() 329 long token = protoOutputStream.start(ConversationInfosProto.CONVERSATION_INFOS); in protoStreamWriter() 330 conversationInfo.writeToProto(protoOutputStream); in protoStreamWriter() 331 protoOutputStream.end(token); in protoStreamWriter()
|
D | EventIndex.java | 260 synchronized void writeToProto(@NonNull ProtoOutputStream protoOutputStream) { in writeToProto() argument 262 protoOutputStream.write(PeopleEventIndexProto.EVENT_BITMAPS, bitmap); in writeToProto() 264 protoOutputStream.write(PeopleEventIndexProto.LAST_UPDATED_TIME, mLastUpdatedTime); in writeToProto()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 1225 public void dumpDebug(ProtoOutputStream protoOutputStream, long fieldId, boolean persisted, in dumpDebug() argument 1227 final long token = protoOutputStream.start(fieldId); in dumpDebug() 1229 protoOutputStream.write(FONT_SCALE, fontScale); in dumpDebug() 1230 protoOutputStream.write(MCC, mcc); in dumpDebug() 1231 protoOutputStream.write(MNC, mnc); in dumpDebug() 1233 protoOutputStream.write(LOCALE_LIST, mLocaleList.toLanguageTags()); in dumpDebug() 1235 protoOutputStream.write(SCREEN_LAYOUT, screenLayout); in dumpDebug() 1236 protoOutputStream.write(COLOR_MODE, colorMode); in dumpDebug() 1237 protoOutputStream.write(TOUCHSCREEN, touchscreen); in dumpDebug() 1238 protoOutputStream.write(KEYBOARD, keyboard); in dumpDebug() [all …]
|
/frameworks/base/services/core/java/com/android/server/apphibernation/ |
D | HibernationStateDiskStore.java | 154 ProtoOutputStream protoOutputStream = new ProtoOutputStream(fileOutputStream); in writeStateProto() local 155 mProtoReadWriter.writeToProto(protoOutputStream, states); in writeStateProto() 156 protoOutputStream.flush(); in writeStateProto()
|
/frameworks/base/core/java/android/app/ |
D | WindowConfiguration.java | 729 public void dumpDebug(ProtoOutputStream protoOutputStream, long fieldId) { in dumpDebug() argument 730 final long token = protoOutputStream.start(fieldId); in dumpDebug() 732 mAppBounds.dumpDebug(protoOutputStream, APP_BOUNDS); in dumpDebug() 734 protoOutputStream.write(WINDOWING_MODE, mWindowingMode); in dumpDebug() 735 protoOutputStream.write(ACTIVITY_TYPE, mActivityType); in dumpDebug() 736 mBounds.dumpDebug(protoOutputStream, BOUNDS); in dumpDebug() 737 mMaxBounds.dumpDebug(protoOutputStream, MAX_BOUNDS); in dumpDebug() 738 protoOutputStream.end(token); in dumpDebug()
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 834 public void dumpDebug(ProtoOutputStream protoOutputStream, long fieldId) { in dumpDebug() argument 835 final long token = protoOutputStream.start(fieldId); in dumpDebug() 836 protoOutputStream.write(LOGICAL_WIDTH, logicalWidth); in dumpDebug() 837 protoOutputStream.write(LOGICAL_HEIGHT, logicalHeight); in dumpDebug() 838 protoOutputStream.write(APP_WIDTH, appWidth); in dumpDebug() 839 protoOutputStream.write(APP_HEIGHT, appHeight); in dumpDebug() 840 protoOutputStream.write(NAME, name); in dumpDebug() 841 protoOutputStream.write(FLAGS, flags); in dumpDebug() 842 protoOutputStream.end(token); in dumpDebug()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | TraceBuffer.java | 95 for (ProtoOutputStream protoOutputStream : buffer) { in write() 96 byte[] protoBytes = protoOutputStream.getBytes(); in write()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | ConversationInfoTest.java | 303 final ProtoOutputStream protoOutputStream = new ProtoOutputStream(); in testBuildFromProtoPayload() local 304 conversationInfo.writeToProto(protoOutputStream); in testBuildFromProtoPayload() 306 ConversationInfo.readFromProto(new ProtoInputStream(protoOutputStream.getBytes())); in testBuildFromProtoPayload()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 2371 private void writeDeviceConfig(ProtoOutputStream protoOutputStream, long fieldId, 2374 if (protoOutputStream != null) { 2375 token = protoOutputStream.start(fieldId); 2376 protoOutputStream.write(DeviceConfigurationProto.STABLE_SCREEN_WIDTH_PX, 2378 protoOutputStream.write(DeviceConfigurationProto.STABLE_SCREEN_HEIGHT_PX, 2380 protoOutputStream.write(DeviceConfigurationProto.STABLE_DENSITY_DPI, 2392 if (protoOutputStream != null) { 2393 protoOutputStream.write(DeviceConfigurationProto.TOTAL_RAM, memreader.getTotalSize()); 2394 protoOutputStream.write(DeviceConfigurationProto.LOW_RAM, 2396 protoOutputStream.write(DeviceConfigurationProto.MAX_CORES, [all …]
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | StatsPullAtomService.java | 3524 ProtoOutputStream protoOutputStream = new ProtoOutputStream(byteArrayOutputStream); 3528 protoOutputStream.write(android.app.time.MetricsTimeZoneSuggestion.TYPE, 3532 protoOutputStream.write( 3539 protoOutputStream.write( 3545 protoOutputStream.flush(); 4740 ProtoOutputStream protoOutputStream = new ProtoOutputStream(); 4742 protoOutputStream.write( 4746 return protoOutputStream.getBytes(); 4750 ProtoOutputStream protoOutputStream = new ProtoOutputStream(); 4752 protoOutputStream.write( [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Computer.java | 607 void dumpSharedLibrariesProto(@NonNull ProtoOutputStream protoOutputStream); in dumpSharedLibrariesProto() argument
|