blob: 0eabfb4d623356bfb502b90ed5184a53d3d2e503 [file] [log] [blame]
Otabek Kasimov832d9162020-07-27 19:24:57 -07001# Copyright (c) 2020 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5# Device is not fixable due issues with hardware and has to be replaced
6DEVICE_STATE_NEEDS_REPLACEMENT = 'needs_replacement'
7# Device required manual attention to be fixed
8DEVICE_STATE_NEEDS_MANUAL_REPAIR = 'needs_manual_repair'
Gregory Nisbetd3007d22020-09-02 12:04:07 -07009
Garry Wang4992b5a2020-09-25 17:23:31 -070010# Timeout for verifiers.
Garry Wangf1502762020-10-13 17:00:52 -070011SHORT_VERIFY_TIMEOUT_SEC = 60
Garry Wang4992b5a2020-09-25 17:23:31 -070012VERIFY_TIMEOUT_SEC = 60 * 5
Garry Wangf1502762020-10-13 17:00:52 -070013LONG_VERIFY_TIMEOUT_SEC = 60 * 20
Gregory Nisbetd3007d22020-09-02 12:04:07 -070014
Garry Wang4992b5a2020-09-25 17:23:31 -070015# Timeout for repair actions.
16SHORT_REPAIR_TIMEOUT_SEC = 60
17REPAIR_TIMEOUT_SEC = 60 * 10
18LONG_REPAIR_TIMEOUT_SEC = 60 * 30
Otabek Kasimov58e22562020-11-03 17:17:41 -080019
20# Minimum battery level for the good DUT.
21MIN_BATTERY_LEVEL = 80.0