#!/usr/bin/env python2 | |
# Copyright 2020 The Chromium OS Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
# Hardware states | |
HW_STATE_NORMAL = 'NORMAL' | |
HW_STATE_ACCEPTABLE = 'ACCEPTABLE' | |
HW_STATE_NEED_REPLACEMENT = 'NEED_REPLACEMENT' | |
HW_STATE_NOT_DETECTED = 'NOT_DETECTED' | |
HW_STATE_UNKNOWN = 'UNKNOWN' | |
# Labels for hardware parts | |
DUT_STORAGE_STATE_PREFIX = 'storage_state' | |
SERVO_USB_STATE_PREFIX = 'servo_usb_state' |