metrics_registry/
metrics_registry.rspub const CUSTOMER_NAME: &str = "fuchsia";
pub const CUSTOMER_ID: u32 = 1;
pub const PROJECT_NAME: &str = "input_pipeline";
pub const PROJECT_ID: u32 = 19;
pub const INPUT_PIPELINE_ERROR_METRIC_ID: u32 = 1;
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum InputPipelineMetricDimensionEvent {
Unset = 0,
AutorepeatCouldNotFireTimer = 1,
AutorepeatCouldNotRunAutorepeat = 2,
ConsumerControlsSendEventFailed = 3,
FactoryResetFailedToReset = 4,
FactoryResetNotAllowedReset = 5,
FactoryResetFailedToSendCountdown = 6,
FocusChainListenerRequestError = 7,
ImeFailedToDispatchKeyToIme = 8,
InputDeviceCreateInputReportProxyFailed = 9,
InputDeviceGetInputReportsReaderError = 10,
InputPipelineCouldNotForwardEvent = 11,
InputPipelineDisplayOwnershipIsNotSupposedToTerminate = 12,
InputPipelineAutorepeatRunningError = 13,
InputPipelineUnableToWatchForNewInputDevices = 14,
InputPipelineCouldNotForwardEventFromDriver = 15,
InputPipelineStopHandlingEvents = 16,
InputPipelineNoDeviceDescriptor = 17,
InputPipelineFailedToBind = 18,
KeyboardEmptyDeviceInfo = 19,
KeyboardFailedToParse = 20,
KeyboardFailedToSendKeyboardEvent = 21,
MediaButtonErrorWhilePushingTask = 22,
MouseDescriptionNotMouse = 23,
MouseFailedToSendEvent = 24,
MouseInjectorUpdateCursorRendererFailed = 25,
MouseInjectorEnsureInjectorRegisteredFailed = 26,
MouseInjectorSendEventToScenicFailed = 27,
MouseInjectorMissingIsPrecisionScroll = 28,
MouseInjectorErrorWhileReadingViewportUpdate = 29,
MouseInjectorViewportUpdateStreamTerminatedUnexpectedly = 30,
PointerDisplayScaleNoPhysicalPixel = 31,
PointerSensorScaleHandlerScaledMotionInvalid = 32,
PointerSensorScaleHandlerScaledScrollInvalid = 33,
TextSettingsHandlerExit = 34,
TextSettingsHandlerCantRun = 35,
TouchFailedToSendTouchScreenEvent = 36,
TouchFailedToSendTouchpadEvent = 37,
TouchInjectorEnsureInjectorRegisteredFailed = 38,
TouchInjectorSendEventToScenicFailed = 39,
TouchInjectorErrorWhileReadingViewportUpdate = 40,
TouchInjectorViewportUpdateStreamTerminatedUnexpectedly = 41,
LightEmptyDeviceInfo = 42,
LightFailedToSendEvent = 43,
}
impl cobalt_client::traits::AsEventCode for InputPipelineMetricDimensionEvent {
fn as_event_code(&self) -> u32 {
*self as u32
}
}
pub use InputPipelineMetricDimensionEvent as InputPipelineErrorMetricDimensionEvent;