Lines Matching refs:dump
834 void InputReader::dump(std::string& dump) { in dump() argument
837 mEventHub->dump(dump); in dump()
838 dump += "\n"; in dump()
840 dump += "Input Reader State:\n"; in dump()
843 mDevices.valueAt(i)->dump(dump); in dump()
846 dump += INDENT "Configuration:\n"; in dump()
847 dump += INDENT2 "ExcludedDeviceNames: ["; in dump()
850 dump += ", "; in dump()
852 dump += mConfig.excludedDeviceNames[i]; in dump()
854 dump += "]\n"; in dump()
855 dump += StringPrintf(INDENT2 "VirtualKeyQuietTime: %0.1fms\n", in dump()
858 dump += StringPrintf(INDENT2 "PointerVelocityControlParameters: " in dump()
865 dump += StringPrintf(INDENT2 "WheelVelocityControlParameters: " in dump()
872 dump += StringPrintf(INDENT2 "PointerGesture:\n"); in dump()
873 dump += StringPrintf(INDENT3 "Enabled: %s\n", in dump()
875 dump += StringPrintf(INDENT3 "QuietInterval: %0.1fms\n", in dump()
877 dump += StringPrintf(INDENT3 "DragMinSwitchSpeed: %0.1fpx/s\n", in dump()
879 dump += StringPrintf(INDENT3 "TapInterval: %0.1fms\n", in dump()
881 dump += StringPrintf(INDENT3 "TapDragInterval: %0.1fms\n", in dump()
883 dump += StringPrintf(INDENT3 "TapSlop: %0.1fpx\n", in dump()
885 dump += StringPrintf(INDENT3 "MultitouchSettleInterval: %0.1fms\n", in dump()
887 dump += StringPrintf(INDENT3 "MultitouchMinDistance: %0.1fpx\n", in dump()
889 dump += StringPrintf(INDENT3 "SwipeTransitionAngleCosine: %0.1f\n", in dump()
891 dump += StringPrintf(INDENT3 "SwipeMaxWidthRatio: %0.1f\n", in dump()
893 dump += StringPrintf(INDENT3 "MovementSpeedRatio: %0.1f\n", in dump()
895 dump += StringPrintf(INDENT3 "ZoomSpeedRatio: %0.1f\n", in dump()
898 dump += INDENT3 "Viewports:\n"; in dump()
899 mConfig.dump(dump); in dump()
1018 void InputDevice::dump(std::string& dump) { in dump() argument
1022 dump += StringPrintf(INDENT "Device %d: %s\n", deviceInfo.getId(), in dump()
1024 dump += StringPrintf(INDENT2 "Generation: %d\n", mGeneration); in dump()
1025 dump += StringPrintf(INDENT2 "IsExternal: %s\n", toString(mIsExternal)); in dump()
1026 dump += StringPrintf(INDENT2 "AssociatedDisplayPort: "); in dump()
1028 dump += StringPrintf("%" PRIu8 "\n", *mAssociatedDisplayPort); in dump()
1030 dump += "<none>\n"; in dump()
1032 dump += StringPrintf(INDENT2 "HasMic: %s\n", toString(mHasMic)); in dump()
1033 dump += StringPrintf(INDENT2 "Sources: 0x%08x\n", deviceInfo.getSources()); in dump()
1034 dump += StringPrintf(INDENT2 "KeyboardType: %d\n", deviceInfo.getKeyboardType()); in dump()
1038 dump += INDENT2 "Motion Ranges:\n"; in dump()
1049 dump += StringPrintf(INDENT3 "%s: source=0x%08x, " in dump()
1059 mapper->dump(dump); in dump()
1937 void InputMapper::dump(std::string& dump) { in dump() argument
1999 void InputMapper::dumpRawAbsoluteAxisInfo(std::string& dump, in dumpRawAbsoluteAxisInfo() argument
2002 dump += StringPrintf(INDENT4 "%s: min=%d, max=%d, flat=%d, fuzz=%d, resolution=%d\n", in dumpRawAbsoluteAxisInfo()
2005 dump += StringPrintf(INDENT4 "%s: unknown range\n", name); in dumpRawAbsoluteAxisInfo()
2009 void InputMapper::dumpStylusState(std::string& dump, const StylusState& state) { in dumpStylusState() argument
2010 dump += StringPrintf(INDENT4 "When: %" PRId64 "\n", state.when); in dumpStylusState()
2011 dump += StringPrintf(INDENT4 "Pressure: %f\n", state.pressure); in dumpStylusState()
2012 dump += StringPrintf(INDENT4 "Button State: 0x%08x\n", state.buttons); in dumpStylusState()
2013 dump += StringPrintf(INDENT4 "Tool Type: %" PRId32 "\n", state.toolType); in dumpStylusState()
2068 void SwitchInputMapper::dump(std::string& dump) { in dump() function in android::SwitchInputMapper
2069 dump += INDENT2 "Switch Input Mapper:\n"; in dump()
2070 dump += StringPrintf(INDENT3 "SwitchValues: %x\n", mSwitchValues); in dump()
2180 void VibratorInputMapper::dump(std::string& dump) { in dump() function in android::VibratorInputMapper
2181 dump += INDENT2 "Vibrator Input Mapper:\n"; in dump()
2182 dump += StringPrintf(INDENT3 "Vibrating: %s\n", toString(mVibrating)); in dump()
2221 void KeyboardInputMapper::dump(std::string& dump) { in dump() function in android::KeyboardInputMapper
2222 dump += INDENT2 "Keyboard Input Mapper:\n"; in dump()
2223 dumpParameters(dump); in dump()
2224 dump += StringPrintf(INDENT3 "KeyboardType: %d\n", mKeyboardType); in dump()
2225 dump += StringPrintf(INDENT3 "Orientation: %d\n", getOrientation()); in dump()
2226 dump += StringPrintf(INDENT3 "KeyDowns: %zu keys currently down\n", mKeyDowns.size()); in dump()
2227 dump += StringPrintf(INDENT3 "MetaState: 0x%0x\n", mMetaState); in dump()
2228 dump += StringPrintf(INDENT3 "DownTime: %" PRId64 "\n", mDownTime); in dump()
2277 void KeyboardInputMapper::dumpParameters(std::string& dump) { in dumpParameters() argument
2278 dump += INDENT3 "Parameters:\n"; in dumpParameters()
2279 dump += StringPrintf(INDENT4 "OrientationAware: %s\n", in dumpParameters()
2281 dump += StringPrintf(INDENT4 "HandlesKeyRepeat: %s\n", in dumpParameters()
2560 void CursorInputMapper::dump(std::string& dump) { in dump() function in android::CursorInputMapper
2561 dump += INDENT2 "Cursor Input Mapper:\n"; in dump()
2562 dumpParameters(dump); in dump()
2563 dump += StringPrintf(INDENT3 "XScale: %0.3f\n", mXScale); in dump()
2564 dump += StringPrintf(INDENT3 "YScale: %0.3f\n", mYScale); in dump()
2565 dump += StringPrintf(INDENT3 "XPrecision: %0.3f\n", mXPrecision); in dump()
2566 dump += StringPrintf(INDENT3 "YPrecision: %0.3f\n", mYPrecision); in dump()
2567 dump += StringPrintf(INDENT3 "HaveVWheel: %s\n", in dump()
2569 dump += StringPrintf(INDENT3 "HaveHWheel: %s\n", in dump()
2571 dump += StringPrintf(INDENT3 "VWheelScale: %0.3f\n", mVWheelScale); in dump()
2572 dump += StringPrintf(INDENT3 "HWheelScale: %0.3f\n", mHWheelScale); in dump()
2573 dump += StringPrintf(INDENT3 "Orientation: %d\n", mOrientation); in dump()
2574 dump += StringPrintf(INDENT3 "ButtonState: 0x%08x\n", mButtonState); in dump()
2575 dump += StringPrintf(INDENT3 "Down: %s\n", toString(isPointerDown(mButtonState))); in dump()
2576 dump += StringPrintf(INDENT3 "DownTime: %" PRId64 "\n", mDownTime); in dump()
2687 void CursorInputMapper::dumpParameters(std::string& dump) { in dumpParameters() argument
2688 dump += INDENT3 "Parameters:\n"; in dumpParameters()
2689 dump += StringPrintf(INDENT4 "HasAssociatedDisplay: %s\n", in dumpParameters()
2694 dump += INDENT4 "Mode: pointer\n"; in dumpParameters()
2697 dump += INDENT4 "Mode: relative pointer\n"; in dumpParameters()
2700 dump += INDENT4 "Mode: navigation\n"; in dumpParameters()
2706 dump += StringPrintf(INDENT4 "OrientationAware: %s\n", in dumpParameters()
2977 void RotaryEncoderInputMapper::dump(std::string& dump) { in dump() function in android::RotaryEncoderInputMapper
2978 dump += INDENT2 "Rotary Encoder Input Mapper:\n"; in dump()
2979 dump += StringPrintf(INDENT3 "HaveWheel: %s\n", in dump()
3131 void TouchInputMapper::dump(std::string& dump) { in dump() function in android::TouchInputMapper
3132 dump += StringPrintf(INDENT2 "Touch Input Mapper (mode - %s):\n", modeToString(mDeviceMode)); in dump()
3133 dumpParameters(dump); in dump()
3134 dumpVirtualKeys(dump); in dump()
3135 dumpRawPointerAxes(dump); in dump()
3136 dumpCalibration(dump); in dump()
3137 dumpAffineTransformation(dump); in dump()
3138 dumpSurface(dump); in dump()
3140 dump += StringPrintf(INDENT3 "Translation and Scaling Factors:\n"); in dump()
3141 dump += StringPrintf(INDENT4 "XTranslate: %0.3f\n", mXTranslate); in dump()
3142 dump += StringPrintf(INDENT4 "YTranslate: %0.3f\n", mYTranslate); in dump()
3143 dump += StringPrintf(INDENT4 "XScale: %0.3f\n", mXScale); in dump()
3144 dump += StringPrintf(INDENT4 "YScale: %0.3f\n", mYScale); in dump()
3145 dump += StringPrintf(INDENT4 "XPrecision: %0.3f\n", mXPrecision); in dump()
3146 dump += StringPrintf(INDENT4 "YPrecision: %0.3f\n", mYPrecision); in dump()
3147 dump += StringPrintf(INDENT4 "GeometricScale: %0.3f\n", mGeometricScale); in dump()
3148 dump += StringPrintf(INDENT4 "PressureScale: %0.3f\n", mPressureScale); in dump()
3149 dump += StringPrintf(INDENT4 "SizeScale: %0.3f\n", mSizeScale); in dump()
3150 dump += StringPrintf(INDENT4 "OrientationScale: %0.3f\n", mOrientationScale); in dump()
3151 dump += StringPrintf(INDENT4 "DistanceScale: %0.3f\n", mDistanceScale); in dump()
3152 dump += StringPrintf(INDENT4 "HaveTilt: %s\n", toString(mHaveTilt)); in dump()
3153 dump += StringPrintf(INDENT4 "TiltXCenter: %0.3f\n", mTiltXCenter); in dump()
3154 dump += StringPrintf(INDENT4 "TiltXScale: %0.3f\n", mTiltXScale); in dump()
3155 dump += StringPrintf(INDENT4 "TiltYCenter: %0.3f\n", mTiltYCenter); in dump()
3156 dump += StringPrintf(INDENT4 "TiltYScale: %0.3f\n", mTiltYScale); in dump()
3158 dump += StringPrintf(INDENT3 "Last Raw Button State: 0x%08x\n", mLastRawState.buttonState); in dump()
3159 dump += StringPrintf(INDENT3 "Last Raw Touch: pointerCount=%d\n", in dump()
3163 dump += StringPrintf(INDENT4 "[%d]: id=%d, x=%d, y=%d, pressure=%d, " in dump()
3174 … dump += StringPrintf(INDENT3 "Last Cooked Button State: 0x%08x\n", mLastCookedState.buttonState); in dump()
3175 dump += StringPrintf(INDENT3 "Last Cooked Touch: pointerCount=%d\n", in dump()
3181 dump += StringPrintf(INDENT4 "[%d]: id=%d, x=%0.3f, y=%0.3f, pressure=%0.3f, " in dump()
3200 dump += INDENT3 "Stylus Fusion:\n"; in dump()
3201 dump += StringPrintf(INDENT4 "ExternalStylusConnected: %s\n", in dump()
3203 dump += StringPrintf(INDENT4 "External Stylus ID: %" PRId64 "\n", mExternalStylusId); in dump()
3204 dump += StringPrintf(INDENT4 "External Stylus Data Timeout: %" PRId64 "\n", in dump()
3206 dump += INDENT3 "External Stylus State:\n"; in dump()
3207 dumpStylusState(dump, mExternalStylusState); in dump()
3210 dump += StringPrintf(INDENT3 "Pointer Gesture Detector:\n"); in dump()
3211 dump += StringPrintf(INDENT4 "XMovementScale: %0.3f\n", in dump()
3213 dump += StringPrintf(INDENT4 "YMovementScale: %0.3f\n", in dump()
3215 dump += StringPrintf(INDENT4 "XZoomScale: %0.3f\n", in dump()
3217 dump += StringPrintf(INDENT4 "YZoomScale: %0.3f\n", in dump()
3219 dump += StringPrintf(INDENT4 "MaxSwipeWidth: %f\n", in dump()
3385 void TouchInputMapper::dumpParameters(std::string& dump) { in dumpParameters() argument
3386 dump += INDENT3 "Parameters:\n"; in dumpParameters()
3390 dump += INDENT4 "GestureMode: single-touch\n"; in dumpParameters()
3393 dump += INDENT4 "GestureMode: multi-touch\n"; in dumpParameters()
3401 dump += INDENT4 "DeviceType: touchScreen\n"; in dumpParameters()
3404 dump += INDENT4 "DeviceType: touchPad\n"; in dumpParameters()
3407 dump += INDENT4 "DeviceType: touchNavigation\n"; in dumpParameters()
3410 dump += INDENT4 "DeviceType: pointer\n"; in dumpParameters()
3416 dump += StringPrintf( in dumpParameters()
3421 dump += StringPrintf(INDENT4 "OrientationAware: %s\n", in dumpParameters()
3429 void TouchInputMapper::dumpRawPointerAxes(std::string& dump) { in dumpRawPointerAxes() argument
3430 dump += INDENT3 "Raw Touch Axes:\n"; in dumpRawPointerAxes()
3431 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.x, "X"); in dumpRawPointerAxes()
3432 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.y, "Y"); in dumpRawPointerAxes()
3433 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.pressure, "Pressure"); in dumpRawPointerAxes()
3434 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.touchMajor, "TouchMajor"); in dumpRawPointerAxes()
3435 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.touchMinor, "TouchMinor"); in dumpRawPointerAxes()
3436 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.toolMajor, "ToolMajor"); in dumpRawPointerAxes()
3437 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.toolMinor, "ToolMinor"); in dumpRawPointerAxes()
3438 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.orientation, "Orientation"); in dumpRawPointerAxes()
3439 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.distance, "Distance"); in dumpRawPointerAxes()
3440 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.tiltX, "TiltX"); in dumpRawPointerAxes()
3441 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.tiltY, "TiltY"); in dumpRawPointerAxes()
3442 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.trackingId, "TrackingId"); in dumpRawPointerAxes()
3443 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.slot, "Slot"); in dumpRawPointerAxes()
3929 void TouchInputMapper::dumpSurface(std::string& dump) { in dumpSurface() argument
3930 dump += StringPrintf(INDENT3 "%s\n", mViewport.toString().c_str()); in dumpSurface()
3931 dump += StringPrintf(INDENT3 "SurfaceWidth: %dpx\n", mSurfaceWidth); in dumpSurface()
3932 dump += StringPrintf(INDENT3 "SurfaceHeight: %dpx\n", mSurfaceHeight); in dumpSurface()
3933 dump += StringPrintf(INDENT3 "SurfaceLeft: %d\n", mSurfaceLeft); in dumpSurface()
3934 dump += StringPrintf(INDENT3 "SurfaceTop: %d\n", mSurfaceTop); in dumpSurface()
3935 dump += StringPrintf(INDENT3 "PhysicalWidth: %dpx\n", mPhysicalWidth); in dumpSurface()
3936 dump += StringPrintf(INDENT3 "PhysicalHeight: %dpx\n", mPhysicalHeight); in dumpSurface()
3937 dump += StringPrintf(INDENT3 "PhysicalLeft: %d\n", mPhysicalLeft); in dumpSurface()
3938 dump += StringPrintf(INDENT3 "PhysicalTop: %d\n", mPhysicalTop); in dumpSurface()
3939 dump += StringPrintf(INDENT3 "SurfaceOrientation: %d\n", mSurfaceOrientation); in dumpSurface()
3990 void TouchInputMapper::dumpVirtualKeys(std::string& dump) { in dumpVirtualKeys() argument
3992 dump += INDENT3 "Virtual Keys:\n"; in dumpVirtualKeys()
3996 dump += StringPrintf(INDENT4 "%zu: scanCode=%d, keyCode=%d, " in dumpVirtualKeys()
4145 void TouchInputMapper::dumpCalibration(std::string& dump) { in dumpCalibration() argument
4146 dump += INDENT3 "Calibration:\n"; in dumpCalibration()
4151 dump += INDENT4 "touch.size.calibration: none\n"; in dumpCalibration()
4154 dump += INDENT4 "touch.size.calibration: geometric\n"; in dumpCalibration()
4157 dump += INDENT4 "touch.size.calibration: diameter\n"; in dumpCalibration()
4160 dump += INDENT4 "touch.size.calibration: box\n"; in dumpCalibration()
4163 dump += INDENT4 "touch.size.calibration: area\n"; in dumpCalibration()
4170 dump += StringPrintf(INDENT4 "touch.size.scale: %0.3f\n", in dumpCalibration()
4175 dump += StringPrintf(INDENT4 "touch.size.bias: %0.3f\n", in dumpCalibration()
4180 dump += StringPrintf(INDENT4 "touch.size.isSummed: %s\n", in dumpCalibration()
4187 dump += INDENT4 "touch.pressure.calibration: none\n"; in dumpCalibration()
4190 dump += INDENT4 "touch.pressure.calibration: physical\n"; in dumpCalibration()
4193 dump += INDENT4 "touch.pressure.calibration: amplitude\n"; in dumpCalibration()
4200 dump += StringPrintf(INDENT4 "touch.pressure.scale: %0.3f\n", in dumpCalibration()
4207 dump += INDENT4 "touch.orientation.calibration: none\n"; in dumpCalibration()
4210 dump += INDENT4 "touch.orientation.calibration: interpolated\n"; in dumpCalibration()
4213 dump += INDENT4 "touch.orientation.calibration: vector\n"; in dumpCalibration()
4222 dump += INDENT4 "touch.distance.calibration: none\n"; in dumpCalibration()
4225 dump += INDENT4 "touch.distance.calibration: scaled\n"; in dumpCalibration()
4232 dump += StringPrintf(INDENT4 "touch.distance.scale: %0.3f\n", in dumpCalibration()
4238 dump += INDENT4 "touch.coverage.calibration: none\n"; in dumpCalibration()
4241 dump += INDENT4 "touch.coverage.calibration: box\n"; in dumpCalibration()
4248 void TouchInputMapper::dumpAffineTransformation(std::string& dump) { in dumpAffineTransformation() argument
4249 dump += INDENT3 "Affine Transformation:\n"; in dumpAffineTransformation()
4251 dump += StringPrintf(INDENT4 "X scale: %0.3f\n", mAffineTransform.x_scale); in dumpAffineTransformation()
4252 dump += StringPrintf(INDENT4 "X ymix: %0.3f\n", mAffineTransform.x_ymix); in dumpAffineTransformation()
4253 dump += StringPrintf(INDENT4 "X offset: %0.3f\n", mAffineTransform.x_offset); in dumpAffineTransformation()
4254 dump += StringPrintf(INDENT4 "Y xmix: %0.3f\n", mAffineTransform.y_xmix); in dumpAffineTransformation()
4255 dump += StringPrintf(INDENT4 "Y scale: %0.3f\n", mAffineTransform.y_scale); in dumpAffineTransformation()
4256 dump += StringPrintf(INDENT4 "Y offset: %0.3f\n", mAffineTransform.y_offset); in dumpAffineTransformation()
7088 void ExternalStylusInputMapper::dump(std::string& dump) { in dump() function in android::ExternalStylusInputMapper
7089 dump += INDENT2 "External Stylus Input Mapper:\n"; in dump()
7090 dump += INDENT3 "Raw Stylus Axes:\n"; in dump()
7091 dumpRawAbsoluteAxisInfo(dump, mRawPressureAxis, "Pressure"); in dump()
7092 dump += INDENT3 "Stylus State:\n"; in dump()
7093 dumpStylusState(dump, mStylusState); in dump()
7197 void JoystickInputMapper::dump(std::string& dump) { in dump() function in android::JoystickInputMapper
7198 dump += INDENT2 "Joystick Input Mapper:\n"; in dump()
7200 dump += INDENT3 "Axes:\n"; in dump()
7206 dump += StringPrintf(INDENT4 "%s", label); in dump()
7208 dump += StringPrintf(INDENT4 "%d", axis.axisInfo.axis); in dump()
7213 dump += StringPrintf(" / %s (split at %d)", label, axis.axisInfo.splitValue); in dump()
7215 dump += StringPrintf(" / %d (split at %d)", axis.axisInfo.highAxis, in dump()
7219 dump += " (invert)"; in dump()
7222 dump += StringPrintf(": min=%0.5f, max=%0.5f, flat=%0.5f, fuzz=%0.5f, resolution=%0.5f\n", in dump()
7224 dump += StringPrintf(INDENT4 " scale=%0.5f, offset=%0.5f, " in dump()
7227 dump += StringPrintf(INDENT4 " rawAxis=%d, rawMin=%d, rawMax=%d, " in dump()