<!--
Copyright 2023 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<!--
This file describes the enumerations referenced by entries in histograms.xml for
this directory. Some enums may instead be listed in the central enums.xml file
at src/tools/metrics/histograms/enums.xml when multiple files use them.
For best practices on writing enumerations descriptions, see
https://chromium.googlesource.com/chromium/src.git/+/HEAD/tools/metrics/histograms/README.md#Enum-Histograms
Please follow the instructions in the OWNERS file in this directory to find a
reviewer. If no OWNERS file exists, please consider signing up at
go/reviewing-metrics (Googlers only), as all subdirectories are expected to
have an OWNERS file. As a last resort you can send the CL to
[email protected].
-->
<histogram-configuration>
<!-- Enum types -->
<enums>
<enum name="CorruptionStates">
<int value="0" label="Mount Failed"/>
<int value="1" label="Rolled Back During Mount"/>
<int value="2" label="Corruption Detected After Mount"/>
</enum>
<enum name="CrostiniAppLaunchAppType">
<int value="0" label="Unknown App"/>
<int value="1" label="Terminal"/>
<int value="2" label="Registered App"/>
</enum>
<enum name="CrostiniContainerOsVersion">
<int value="0" label="Unknown"/>
<int value="1" label="Debian Stretch"/>
<int value="2" label="Debian Buster"/>
<int value="3" label="Other Debian Version"/>
<int value="4" label="Non-Debian OS"/>
<int value="5" label="Debian Bullseye"/>
<int value="6" label="Debian Bookworm"/>
</enum>
<enum name="CrostiniDiskImageStatus">
<!-- Keep this in sync with concierge_service.proto in ChromeOS. -->
<int value="0" label="DISK_STATUS_UNKNOWN"/>
<int value="1" label="DISK_STATUS_CREATED"/>
<int value="2" label="DISK_STATUS_EXISTS"/>
<int value="3" label="DISK_STATUS_FAILED"/>
<int value="4" label="DISK_STATUS_DOES_NOT_EXIST"/>
<int value="5" label="DISK_STATUS_DESTROYED"/>
<int value="6" label="DISK_STATUS_IN_PROGRESS"/>
<int value="7" label="DISK_STATUS_RESIZED"/>
<int value="8" label="DISK_STATUS_NOT_ENOUGH_SPACE"/>
</enum>
<enum name="CrostiniDiskImageType">
<int value="0" label="DISK_TYPE_UNKNOWN"/>
<int value="1" label="DISK_TYPE_QCOW2_SPARSE"/>
<int value="2" label="DISK_TYPE_RAW_SPARSE"/>
<int value="3" label="DISK_TYPE_RAW_PREALLOCAED"/>
<int value="4" label="DISK_TYPE_MULTI_DISK"/>
</enum>
<enum name="CrostiniExportContainerResult">
<int value="0" label="Success"/>
<int value="1" label="Failed"/>
<int value="2" label="Failed VM Stopped"/>
<int value="3" label="Failed VM Started"/>
</enum>
<enum name="CrostiniImportContainerResult">
<int value="0" label="Success"/>
<int value="1" label="Failed"/>
<int value="2" label="Failed VM Stopped"/>
<int value="3" label="Failed VM Started"/>
<int value="4" label="Failed Architecture mismatch"/>
<int value="5" label="Failed Insufficient Space"/>
</enum>
<enum name="CrostiniInstallerState">
<!-- Keep this in sync with InstallerState in crostini_types.mojom -->
<int value="0" label="Start"/>
<int value="1" label="InstallImageLoader"/>
<int value="2" label="CreateDiskImage"/>
<int value="3" label="StartTerminaVm"/>
<int value="4" label="StartLxd"/>
<int value="5" label="CreateContainer"/>
<int value="6" label="SetupContainer"/>
<int value="7" label="StartContainer"/>
<int value="8" label="FetchSshKeys (Obsolete crbug/1198006)"/>
<int value="9" label="MountContainer (Obsolete crbug/1198006)"/>
<int value="10" label="ConfigureContainer"/>
</enum>
<enum name="CrostiniResult">
<int value="0" label="SUCCESS"/>
<int value="4" label="CREATE_DISK_IMAGE_FAILED"/>
<int value="5" label="VM_START_FAILED"/>
<int value="6" label="VM_STOP_FAILED"/>
<int value="7" label="DESTROY_DISK_IMAGE_FAILED"/>
<int value="8" label="LIST_VM_DISKS_FAILED"/>
<int value="9" label="CLIENT_ERROR"/>
<int value="11" label="CONTAINER_DOWNLOAD_TIMED_OUT"/>
<int value="12" label="CONTAINER_CREATE_CANCELLED"/>
<int value="13" label="CONTAINER_CREATE_FAILED"/>
<int value="14" label="CONTAINER_START_CANCELLED"/>
<int value="15" label="CONTAINER_START_FAILED"/>
<int value="17" label="INSTALL_LINUX_PACKAGE_FAILED"/>
<int value="18" label="BLOCKING_OPERATION_ALREADY_ACTIVE"/>
<int value="19" label="UNINSTALL_PACKAGE_FAILED"/>
<int value="20" label="SSHFS_MOUNT_ERROR"/>
<int value="21" label="OFFLINE_WHEN_UPGRADE_REQUIRED"/>
<int value="22" label="LOAD_COMPONENT_FAILED"/>
<int value="27" label="CROSTINI_UNINSTALLER_RUNNING"/>
<int value="29" label="UNKNOWN_ERROR"/>
<int value="30" label="CONTAINER_EXPORT_IMPORT_FAILED"/>
<int value="31" label="CONTAINER_EXPORT_IMPORT_FAILED_VM_STOPPED"/>
<int value="32" label="CONTAINER_EXPORT_IMPORT_FAILED_VM_STARTED"/>
<int value="33" label="CONTAINER_EXPORT_IMPORT_FAILED_ARCHITECTURE"/>
<int value="34" label="NOT_ALLOWED"/>
<int value="35" label="CONTAINER_EXPORT_IMPORT_FAILED_SPACE"/>
<int value="36" label="GET_CONTAINER_SSH_KEYS_FAILED"/>
<int value="37" label="CONTAINER_EXPORT_IMPORT_CANCELLED"/>
<int value="38" label="RESTART_ABORTED"/>
<int value="39" label="RESTART_FAILED_VM_STOPPED"/>
<int value="40" label="UPGRADE_CONTAINER_STARTED"/>
<int value="41" label="UPGRADE_CONTAINER_ALREADY_RUNNING"/>
<int value="42" label="UPGRADE_CONTAINER_NOT_SUPPORTED"/>
<int value="43" label="UPGRADE_CONTAINER_ALREADY_UPGRADED"/>
<int value="44" label="UPGRADE_CONTAINER_FAILED"/>
<int value="45" label="CANCEL_UPGRADE_CONTAINER_FAILED"/>
<int value="46" label="CONCIERGE_START_FAILED"/>
<int value="47" label="CONTAINER_CONFIGURATION_FAILED"/>
<int value="48" label="LOAD_COMPONENT_UPDATE_IN_PROGRESS"/>
<int value="49" label="NEVER_FINISHED"/>
<int value="50" label="CONTAINER_SETUP_FAILED"/>
<int value="51" label="START_LXD_FAILED"/>
<int value="52" label="INSTALL_IMAGE_LOADER_TIMED_OUT"/>
<int value="53" label="CREATE_DISK_IMAGE_TIMED_OUT"/>
<int value="54" label="START_TERMINA_VM_TIMED_OUT"/>
<int value="55" label="START_LXD_TIMED_OUT"/>
<int value="56" label="CREATE_CONTAINER_TIMED_OUT"/>
<int value="57" label="SETUP_CONTAINER_TIMED_OUT"/>
<int value="58" label="START_CONTAINER_TIMED_OUT"/>
<int value="59" label="FETCH_SSH_KEYS_TIMED_OUT"/>
<int value="60" label="MOUNT_CONTAINER_TIMED_OUT"/>
<int value="61" label="UNKNOWN_STATE_TIMED_OUT"/>
<int value="62" label="NEED_UPDATE"/>
<int value="63" label="SHARE_PATHS_FAILED"/>
<int value="64" label="UNREGISTERED_APPLICATION"/>
<int value="65" label="VSH_CONNECT_FAILED"/>
<int value="66" label="CONTAINER_STOP_FAILED"/>
<int value="67" label="CONTAINER_STOP_CANCELLED"/>
<int value="68" label="WAYLAND_SERVER_CREATION_FAILED"/>
<int value="69" label="CONFIGURE_CONTAINER_TIMED_OUT"/>
<int value="70" label="RESTART_REQUEST_CANCELLED"/>
<int value="71" label="CREATE_DISK_IMAGE_NO_RESPONSE"/>
<int value="72" label="CREATE_DISK_IMAGE_ALREADY_EXISTS"/>
<int value="73" label="UNINSTALL_TERMINA_FAILED"/>
<int value="74" label="START_LXD_FAILED_SIGNAL"/>
<int value="75" label="CONTAINER_CREATE_FAILED_SIGNAL"/>
<int value="76" label="STOP_VM_NO_RESPONSE"/>
<int value="77" label="SIGNAL_NOT_CONNECTED"/>
<int value="78" label="INSTALL_TERMINA_CANCELLED"/>
<int value="79" label="START_TIMED_OUT"/>
</enum>
<enum name="CrostiniSettingsEvent">
<int value="0" label="Enable ADB sideloading"/>
<int value="1" label="Disable ADB sideloading"/>
</enum>
<enum name="CrostiniSetupResult">
<int value="0" label="Not Started"/>
<int value="1" label="User Cancelled"/>
<int value="2" label="Success"/>
<int value="3" label="Error Loading Termina"/>
<int value="4" label="Error Starting Concierge"/>
<int value="5" label="Error Creating Disk Image"/>
<int value="6" label="Error Starting Termina VM"/>
<int value="7" label="Error Starting Container"/>
<int value="8" label="Error Offline"/>
<int value="9" label="Error Fetching Ssh Keys"/>
<int value="10" label="Error Mounting Container"/>
<int value="11" label="Error Setting Up Container"/>
<int value="12" label="User Cancelled At Start"/>
<int value="13" label="User Cancelled While Installing Image Loader"/>
<int value="14" label="User Cancelled While Starting Concierge"/>
<int value="15" label="User Cancelled While Creating Disk Image"/>
<int value="16" label="User Cancelled While Starting Termina VM"/>
<int value="17" label="User Cancelled While Creating Container"/>
<int value="18" label="User Cancelled While Starting Container"/>
<int value="19" label="User Cancelled While Setting Up Container"/>
<int value="20" label="User Cancelled While Fetching SSH Keys"/>
<int value="21" label="User Cancelled While Mounting Container"/>
<int value="22" label="Insufficient Disk Space"/>
<int value="23" label="Error Configuring Container"/>
<int value="24" label="User Cancelled While Configuring Container"/>
<int value="25" label="Error Creating Container"/>
<int value="26" label="Bug - Failed without capturing error code"/>
<int value="27" label="User Cancelled While Starting LXD"/>
<int value="28" label="Error Starting LXD"/>
<int value="29" label="Need Update"/>
</enum>
<enum name="CrostiniSshfsResult">
<int value="0" label="Success"/>
<int value="1" label="NotDefaultContainer"/>
<int value="2" label="ContainerNotRunning"/>
<int value="3" label="GetSshKeysFailed"/>
<int value="4" label="GetContainerInfoFailed"/>
<int value="5" label="MountErrorInternal"/>
<int value="6" label="MountErrorProgramFailed"/>
<int value="7" label="MountErrorOther"/>
</enum>
<enum name="CrostiniTerminalSetting">
<int value="0" label="unknown"/>
<int value="1" label="alt-gr-mode"/>
<int value="2" label="alt-backspace-is-meta-backspace"/>
<int value="3" label="alt-is-meta"/>
<int value="4" label="alt-sends-what"/>
<int value="5" label="audible-bell-sound"/>
<int value="6" label="desktop-notification-bell"/>
<int value="7" label="background-color"/>
<int value="8" label="background-image"/>
<int value="9" label="background-size"/>
<int value="10" label="background-position"/>
<int value="11" label="backspace-sends-backspace"/>
<int value="12" label="character-map-overrides"/>
<int value="13" label="close-on-exit"/>
<int value="14" label="cursor-blink"/>
<int value="15" label="cursor-blink-cycle"/>
<int value="16" label="cursor-shape"/>
<int value="17" label="cursor-color"/>
<int value="18" label="color-palette-overrides"/>
<int value="19" label="copy-on-select"/>
<int value="20" label="use-default-window-copy"/>
<int value="21" label="clear-selection-after-copy"/>
<int value="22" label="ctrl-plus-minus-zero-zoom"/>
<int value="23" label="ctrl-c-copy"/>
<int value="24" label="ctrl-v-paste"/>
<int value="25" label="east-asian-ambiguous-as-two-column"/>
<int value="26" label="enable-8-bit-control"/>
<int value="27" label="enable-bold"/>
<int value="28" label="enable-bold-as-bright"/>
<int value="29" label="enable-blink"/>
<int value="30" label="enable-clipboard-notice"/>
<int value="31" label="enable-clipboard-write"/>
<int value="32" label="enable-dec12"/>
<int value="33" label="enable-csi-j-3"/>
<int value="34" label="environment"/>
<int value="35" label="font-family"/>
<int value="36" label="font-size"/>
<int value="37" label="font-smoothing"/>
<int value="38" label="foreground-color"/>
<int value="39" label="enable-resize-status"/>
<int value="40" label="hide-mouse-while-typing"/>
<int value="41" label="home-keys-scroll"/>
<int value="42" label="keybindings"/>
<int value="43" label="media-keys-are-fkeys"/>
<int value="44" label="meta-sends-escape"/>
<int value="45" label="mouse-right-click-paste"/>
<int value="46" label="mouse-paste-button"/>
<int value="47" label="word-break-match-left"/>
<int value="48" label="word-break-match-right"/>
<int value="49" label="word-break-match-middle"/>
<int value="50" label="page-keys-scroll"/>
<int value="51" label="pass-alt-number"/>
<int value="52" label="pass-ctrl-number"/>
<int value="53" label="pass-ctrl-n"/>
<int value="54" label="pass-ctrl-t"/>
<int value="55" label="pass-ctrl-tab"/>
<int value="56" label="pass-ctrl-w"/>
<int value="57" label="pass-meta-number"/>
<int value="58" label="pass-meta-v"/>
<int value="59" label="paste-on-drop"/>
<int value="60" label="receive-encoding"/>
<int value="61" label="scroll-on-keystroke"/>
<int value="62" label="scroll-on-output"/>
<int value="63" label="scrollbar-visible"/>
<int value="64" label="scroll-wheel-may-send-arrow-keys"/>
<int value="65" label="scroll-wheel-move-multiplier"/>
<int value="66" label="terminal-encoding"/>
<int value="67" label="shift-insert-paste"/>
<int value="68" label="user-css"/>
<int value="69" label="user-css-text"/>
<int value="70" label="allow-images-inline"/>
<int value="71" label="theme"/>
<int value="72" label="theme-variations"/>
<int value="73" label="find-result-color"/>
<int value="74" label="find-result-selected-color"/>
<int value="75" label="line-height-padding-size"/>
<int value="76" label="keybindings-os-defaults"/>
<int value="77" label="screen-padding-size"/>
<int value="78" label="screen-border-size"/>
<int value="79" label="screen-border-color"/>
<int value="80" label="line-height"/>
</enum>
<enum name="CrostiniUISurface">
<int value="0" label="Settings"/>
<int value="1" label="App List"/>
</enum>
<enum name="CrostiniUninstallResult">
<int value="0" label="User Cancelled"/>
<int value="1" label="Error"/>
<int value="2" label="Success"/>
</enum>
<enum name="CrostiniUnsupportedNotificationReason">
<int value="0" label="TabletMode"/>
<int value="1" label="VirtualKeyboard"/>
<int value="2" label="UnsupportedIME (removed since M120)"/>
</enum>
<enum name="CrostiniUpgradeAvailableNotificationClosed">
<int value="0" label="Unknown"/>
<int value="1" label="By User"/>
<int value="2" label="Upgrade Clicked"/>
<int value="3" label="Notification Body Clicked"/>
</enum>
<enum name="CrostiniUpgradeDialogEvent">
<int value="0" label="Dialog Shown"/>
<int value="1" label="Upgrade Succeeded"/>
<int value="2" label="Upgrade Canceled"/>
<int value="3" label="Upgrade Failed"/>
<int value="4" label="Upgrade Not Started"/>
<int value="5" label="Backup Started"/>
<int value="6" label="Backup Succeeded"/>
<int value="7" label="Backup Failed"/>
<int value="8" label="Restore Started"/>
<int value="9" label="Restore Succeeded"/>
<int value="10" label="Restore Failed"/>
</enum>
</enums>
</histogram-configuration>