/packages/apps/Car/RotaryController/src/com/android/car/rotary/ |
D | DumpUtils.java | 40 static void writeFocusDirection(@NonNull DualDumpOutputStream dumpOutputStream, in writeFocusDirection() argument 44 dumpOutputStream.write(fieldName, fieldId, Navigator.directionToString(focusDirection)); in writeFocusDirection() 64 dumpOutputStream.write(fieldName, fieldId, val); in writeFocusDirection() 68 static void writeRect(@NonNull DualDumpOutputStream dumpOutputStream, @NonNull Rect rect, in writeRect() argument 70 long fieldToken = dumpOutputStream.start(fieldName, fieldId); in writeRect() 71 dumpOutputStream.write("left", RotaryProtos.Rect.LEFT, rect.left); in writeRect() 72 dumpOutputStream.write("top", RotaryProtos.Rect.TOP, rect.top); in writeRect() 73 dumpOutputStream.write("right", RotaryProtos.Rect.RIGHT, rect.right); in writeRect() 74 dumpOutputStream.write("bottom", RotaryProtos.Rect.BOTTOM, rect.bottom); in writeRect() 75 dumpOutputStream.end(fieldToken); in writeRect() [all …]
|
D | WindowCache.java | 122 void dump(@NonNull DualDumpOutputStream dumpOutputStream, boolean dumpAsProto, in dump() argument 124 long fieldToken = dumpOutputStream.start(fieldName, fieldId); in dump() 125 DumpUtils.writeIntegers(dumpOutputStream, dumpAsProto, "windowIds", in dump() 127 DumpUtils.writeWindowTypes(dumpOutputStream, dumpAsProto, "windowTypes", in dump() 129 DumpUtils.writeFocusedNodes(dumpOutputStream, dumpAsProto, "focusedNodes", in dump() 131 dumpOutputStream.end(fieldToken); in dump()
|
D | SurfaceViewHelper.java | 101 void dump(@NonNull DualDumpOutputStream dumpOutputStream, boolean dumpAsProto, in dump() argument 103 long fieldToken = dumpOutputStream.start(fieldName, fieldId); in dump() 104 dumpOutputStream.write("hostApp", RotaryProtos.SurfaceViewHelper.HOST_APP, mHostApp); in dump() 105 DumpUtils.writeCharSequences(dumpOutputStream, dumpAsProto, "clientApps", in dump() 107 dumpOutputStream.end(fieldToken); in dump()
|
D | RotaryService.java | 2968 DualDumpOutputStream dumpOutputStream = dumpAsProto in dump() local 2971 dumpOutputStream.write("rotationAcceleration2xMs", in dump() 2973 dumpOutputStream.write("rotationAcceleration3xMs", in dump() 2975 DumpUtils.writeObject(dumpOutputStream, "focusedNode", in dump() 2977 DumpUtils.writeObject(dumpOutputStream, "editNode", RotaryProtos.RotaryService.EDIT_NODE, in dump() 2979 DumpUtils.writeObject(dumpOutputStream, "focusArea", RotaryProtos.RotaryService.FOCUS_AREA, in dump() 2981 DumpUtils.writeObject(dumpOutputStream, "lastTouchedNode", in dump() 2983 dumpOutputStream.write("rotaryInputMethod", RotaryProtos.RotaryService.ROTARY_INPUT_METHOD, in dump() 2985 dumpOutputStream.write("defaultTouchInputMethod", in dump() 2987 dumpOutputStream.write("touchInputMethod", RotaryProtos.RotaryService.TOUCH_INPUT_METHOD, in dump() [all …]
|
D | Navigator.java | 1139 void dump(@NonNull DualDumpOutputStream dumpOutputStream, boolean dumpAsProto, 1141 long fieldToken = dumpOutputStream.start(fieldName, fieldId); 1142 dumpOutputStream.write("hunLeft", RotaryProtos.Navigator.HUN_LEFT, mHunLeft); 1143 dumpOutputStream.write("hunRight", RotaryProtos.Navigator.HUN_RIGHT, mHunRight); 1144 DumpUtils.writeFocusDirection(dumpOutputStream, dumpAsProto, "hunNudgeDirection", 1146 DumpUtils.writeRect(dumpOutputStream, mAppWindowBounds, "appWindowBounds", 1148 mSurfaceViewHelper.dump(dumpOutputStream, dumpAsProto, "surfaceViewHelper", 1150 dumpOutputStream.end(fieldToken);
|
/packages/modules/Permission/service/java/com/android/role/ |
D | RoleUserState.java | 494 public void dump(@NonNull DualDumpOutputStream dumpOutputStream, @NonNull String fieldName, in dump() argument 507 long fieldToken = dumpOutputStream.start(fieldName, fieldId); in dump() 508 dumpOutputStream.write("user_id", RoleUserStateProto.USER_ID, mUserId); in dump() 509 dumpOutputStream.write("version", RoleUserStateProto.VERSION, version); in dump() 510 dumpOutputStream.write("packages_hash", RoleUserStateProto.PACKAGES_HASH, packagesHash); in dump() 518 long rolesToken = dumpOutputStream.start("roles", RoleUserStateProto.ROLES); in dump() 519 dumpOutputStream.write("name", RoleProto.NAME, roleName); in dump() 520 dumpOutputStream.write("fallback_enabled", RoleProto.FALLBACK_ENABLED, fallbackEnabled); in dump() 525 dumpOutputStream.write("holders", RoleProto.HOLDERS, roleHolder); in dump() 528 dumpOutputStream.end(rolesToken); in dump() [all …]
|
D | RoleService.java | 1009 DualDumpOutputStream dumpOutputStream; in dump() local 1011 dumpOutputStream = new DualDumpOutputStream(new ProtoOutputStream( in dump() 1015 dumpOutputStream = new DualDumpOutputStream(new IndentingPrintWriter(fout, " ")); in dump() 1023 userState.dump(dumpOutputStream, "user_states", in dump() 1028 dumpOutputStream.flush(); in dump()
|