blob: 0815d91396d9851668bba65a857fb907abeab668 [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'
Otabek Kasimovf4f39d92020-11-25 16:16:59 -08009# Device required re-deployment to be fixed
10DEVICE_STATE_NEEDS_DEPLOY = 'needs_deploy'
Gregory Nisbetd3007d22020-09-02 12:04:07 -070011
Garry Wang4992b5a2020-09-25 17:23:31 -070012# Timeout for verifiers.
Garry Wangf1502762020-10-13 17:00:52 -070013SHORT_VERIFY_TIMEOUT_SEC = 60
Garry Wang4992b5a2020-09-25 17:23:31 -070014VERIFY_TIMEOUT_SEC = 60 * 5
Garry Wangf1502762020-10-13 17:00:52 -070015LONG_VERIFY_TIMEOUT_SEC = 60 * 20
Gregory Nisbetd3007d22020-09-02 12:04:07 -070016
Garry Wang4992b5a2020-09-25 17:23:31 -070017# Timeout for repair actions.
18SHORT_REPAIR_TIMEOUT_SEC = 60
19REPAIR_TIMEOUT_SEC = 60 * 10
20LONG_REPAIR_TIMEOUT_SEC = 60 * 30
Otabek Kasimov58e22562020-11-03 17:17:41 -080021
22# Minimum battery level for the good DUT.
23MIN_BATTERY_LEVEL = 80.0