Searched refs:protoOutputStream (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/graphics/java/android/graphics/ |
D | Point.java | 135 public void writeToProto(@NonNull ProtoOutputStream protoOutputStream, long fieldId) { in writeToProto() argument 136 final long token = protoOutputStream.start(fieldId); in writeToProto() 137 protoOutputStream.write(PointProto.X, x); in writeToProto() 138 protoOutputStream.write(PointProto.Y, y); in writeToProto() 139 protoOutputStream.end(token); in writeToProto()
|
D | Rect.java | 242 public void writeToProto(@NonNull ProtoOutputStream protoOutputStream, long fieldId) { in writeToProto() argument 243 final long token = protoOutputStream.start(fieldId); in writeToProto() 244 protoOutputStream.write(RectProto.LEFT, left); in writeToProto() 245 protoOutputStream.write(RectProto.TOP, top); in writeToProto() 246 protoOutputStream.write(RectProto.RIGHT, right); in writeToProto() 247 protoOutputStream.write(RectProto.BOTTOM, bottom); in writeToProto() 248 protoOutputStream.end(token); in writeToProto()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 1108 public void writeToProto(ProtoOutputStream protoOutputStream, long fieldId, boolean persisted, in writeToProto() argument 1110 final long token = protoOutputStream.start(fieldId); in writeToProto() 1112 protoOutputStream.write(FONT_SCALE, fontScale); in writeToProto() 1113 protoOutputStream.write(MCC, mcc); in writeToProto() 1114 protoOutputStream.write(MNC, mnc); in writeToProto() 1116 protoOutputStream.write(LOCALE_LIST, mLocaleList.toLanguageTags()); in writeToProto() 1118 protoOutputStream.write(SCREEN_LAYOUT, screenLayout); in writeToProto() 1119 protoOutputStream.write(COLOR_MODE, colorMode); in writeToProto() 1120 protoOutputStream.write(TOUCHSCREEN, touchscreen); in writeToProto() 1121 protoOutputStream.write(KEYBOARD, keyboard); in writeToProto() [all …]
|
/frameworks/base/core/java/android/app/ |
D | WindowConfiguration.java | 584 public void writeToProto(ProtoOutputStream protoOutputStream, long fieldId) { in writeToProto() argument 585 final long token = protoOutputStream.start(fieldId); in writeToProto() 587 mAppBounds.writeToProto(protoOutputStream, APP_BOUNDS); in writeToProto() 589 protoOutputStream.write(WINDOWING_MODE, mWindowingMode); in writeToProto() 590 protoOutputStream.write(ACTIVITY_TYPE, mActivityType); in writeToProto() 592 mBounds.writeToProto(protoOutputStream, BOUNDS); in writeToProto() 594 protoOutputStream.end(token); in writeToProto()
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 704 public void writeToProto(ProtoOutputStream protoOutputStream, long fieldId) { in writeToProto() argument 705 final long token = protoOutputStream.start(fieldId); in writeToProto() 706 protoOutputStream.write(LOGICAL_WIDTH, logicalWidth); in writeToProto() 707 protoOutputStream.write(LOGICAL_HEIGHT, logicalHeight); in writeToProto() 708 protoOutputStream.write(APP_WIDTH, appWidth); in writeToProto() 709 protoOutputStream.write(APP_HEIGHT, appHeight); in writeToProto() 710 protoOutputStream.write(NAME, name); in writeToProto() 711 protoOutputStream.end(token); in writeToProto()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowTraceBuffer.java | 101 for (ProtoOutputStream protoOutputStream : mBuffer) { in writeTraceToFile() 102 proto = protoOutputStream; in writeTraceToFile()
|
D | ActivityMetricsLogger.java | 1091 final ProtoOutputStream protoOutputStream = in convertActivityRecordToProto() local 1094 record.writeToProto(protoOutputStream); in convertActivityRecordToProto() 1095 final byte[] bytes = protoOutputStream.getBytes(); in convertActivityRecordToProto()
|
/frameworks/base/startop/iorap/src/com/google/android/startop/iorap/ |
D | AppLaunchEvent.java | 372 final ProtoOutputStream protoOutputStream = in write() local 375 intent.writeToProto(protoOutputStream); in write() 376 final byte[] bytes = protoOutputStream.getBytes(); in write()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 2137 private void writeDeviceConfig(ProtoOutputStream protoOutputStream, long fieldId, 2140 if (protoOutputStream != null) { 2141 token = protoOutputStream.start(fieldId); 2142 protoOutputStream.write(DeviceConfigurationProto.STABLE_SCREEN_WIDTH_PX, 2144 protoOutputStream.write(DeviceConfigurationProto.STABLE_SCREEN_HEIGHT_PX, 2146 protoOutputStream.write(DeviceConfigurationProto.STABLE_DENSITY_DPI, 2158 if (protoOutputStream != null) { 2159 protoOutputStream.write(DeviceConfigurationProto.TOTAL_RAM, memreader.getTotalSize()); 2160 protoOutputStream.write(DeviceConfigurationProto.LOW_RAM, 2162 protoOutputStream.write(DeviceConfigurationProto.MAX_CORES, [all …]
|