1 # 2 # Copyright (C) 2018 The Android Open Source Project 3 # 4 # Licensed under the Apache License, Version 2.0 (the "License"); 5 # you may not use this file except in compliance with the License. 6 # You may obtain a copy of the License at 7 # 8 # http://www.apache.org/licenses/LICENSE-2.0 9 # 10 # Unless required by applicable law or agreed to in writing, software 11 # distributed under the License is distributed on an "AS IS" BASIS, 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 15 # 16 17 # The default Partner Android Build (PAB) public account. 18 # To obtain access permission, please reach out to Android partner engineering 19 # department of Google LLC. 20 _DEFAULT_ACCOUNT_ID = '543365459' 21 22 # The default Partner Android Build (PAB) internal account. 23 _DEFAULT_ACCOUNT_ID_INTERNAL = '541462473' 24 25 # The key value used for getting a fetched .zip android img file. 26 FULL_ZIPFILE = "full-zipfile" 27 28 # The default value for "flash --current". 29 _DEFAULT_FLASH_IMAGES = [ 30 FULL_ZIPFILE, 31 "bootloader.img", 32 "boot.img", 33 "cache.img", 34 "radio.img", 35 "system.img", 36 "userdata.img", 37 "vbmeta.img", 38 "vendor.img", 39 ] 40 41 # The environment variable for default serial numbers. 42 _ANDROID_SERIAL = "ANDROID_SERIAL" 43 44 _DEVICE_STATUS_DICT = { 45 "unknown": 0, 46 "fastboot": 1, 47 "online": 2, 48 "ready": 3, 49 "use": 4, 50 "error": 5} 51 52 # Default SPL date, used for gsispl command 53 _SPL_DEFAULT_DAY = 5 54 55 # Maximum number of leased jobs per host. 56 _MAX_LEASED_JOBS = 14 57