Home
last modified time | relevance | path

Searched refs:get_config_value (Results 1 – 25 of 97) sorted by relevance

1234

/external/autotest/client/common_lib/
Dglobal_config_unittest.py101 val = self.conf.get_config_value("SECTION_A", "value_1", float)
108 val = self.conf.get_config_value("SECTION_B", "value_1", int)
111 val = self.conf.get_config_value("SECTION_B", "value_3", int)
113 val = self.conf.get_config_value("SECTION_B", "value_4", int)
119 val = self.conf.get_config_value("SECTION_A", "value_2")
141 val = self.conf.get_config_value("SECTION_C", "value_1")
145 val = self.conf.get_config_value("SECTION_D", "value_1")
157 val = self.conf.get_config_value("SECTION_C", "value_1")
161 val = self.conf.get_config_value("SECTION_D", "value_1")
169 val = self.conf.get_config_value("SECTION_B", "value_2", int)
[all …]
Dglobal_config.py171 def get_config_value(self, section, key, type=str, member in global_config_class
252 return self.get_config_value(section, key, type, **kwargs)
254 return self.get_config_value(fallback_section, fallback_key,
390 def get_config_value(self, section, key, type=str, member in FakeGlobalConfig
/external/autotest/server/cros/dynamic_suite/
Dreporting_utils.py27 _gs_domain = global_config.global_config.get_config_value(
29 _chromeos_image_archive = global_config.global_config.get_config_value(
31 _arg_prefix = global_config.global_config.get_config_value(
36 _retrieve_logs_cgi = global_config.global_config.get_config_value(
38 _generic_results_bin = global_config.global_config.get_config_value(
40 _debug_dir = global_config.global_config.get_config_value(
45 _job_view = global_config.global_config.get_config_value(
50 _gs_file_prefix = global_config.global_config.get_config_value(
54 _CRBUG_URL = global_config.global_config.get_config_value(
58 WMATRIX_RETRY_URL = global_config.global_config.get_config_value(
[all …]
Dtools.py33 return _CONFIG.get_config_value('CROS', 'image_url_pattern', type=str)
38 return _CONFIG.get_config_value('CROS', 'firmware_url_pattern', type=str)
43 return _CONFIG.get_config_value('CROS', 'factory_image_url_pattern',
49 return _CONFIG.get_config_value('CROS', 'sharding_factor', type=int)
54 return _CONFIG.get_config_value('CROS', 'infrastructure_user', type=str)
64 return _CONFIG.get_config_value('ANDROID', 'package_url_pattern',
67 return _CONFIG.get_config_value('CROS', 'package_url_pattern', type=str)
72 return _CONFIG.get_config_value('SCHEDULER', 'try_job_timeout_mins',
/external/autotest/site_utils/
Dcleanup_tko_db.py75 server = CONFIG.get_config_value(
77 default=CONFIG.get_config_value('AUTOTEST_WEB', 'host'))
78 user = CONFIG.get_config_value(
80 default=CONFIG.get_config_value('AUTOTEST_WEB', 'user'))
81 password = CONFIG.get_config_value(
83 default=CONFIG.get_config_value('AUTOTEST_WEB', 'password'))
84 database = CONFIG.get_config_value(
86 default=CONFIG.get_config_value('AUTOTEST_WEB', 'database'))
Dmysql_bootstrap.py70 DEFAULT_USER = global_config.global_config.get_config_value(
73 DEFAULT_PASS = global_config.global_config.get_config_value(
213 dest_host = global_config.global_config.get_config_value(
215 user = global_config.global_config.get_config_value(
217 password = global_config.global_config.get_config_value(
Dlabel_cleaner.py43 GLOBAL_AFE = global_config.global_config.get_config_value(
45 DB_SERVER = global_config.global_config.get_config_value('AUTOTEST_WEB', 'host')
46 USER = global_config.global_config.get_config_value('AUTOTEST_WEB', 'user')
47 PASSWD = global_config.global_config.get_config_value(
49 DATABASE = global_config.global_config.get_config_value(
51 RESPECT_STATIC_LABELS = global_config.global_config.get_config_value(
Drpc_logserver.py104 max_log_size = config.get_config_value('SERVER', 'rpc_max_log_size_mb',
106 number_of_old_logs = config.get_config_value('SERVER', 'rpc_num_old_logs',
108 log_path = config.get_config_value('SERVER', 'rpc_log_path')
Dstable_version_utils.py33 versions = {DEFAULT: global_config.global_config.get_config_value(
52 return global_config.global_config.get_config_value(
Dkill_slow_queries.py27 DEFAULT_USER = global_config.global_config.get_config_value(
29 DEFAULT_PASSWD = global_config.global_config.get_config_value(
31 DEFAULT_MAIL = global_config.global_config.get_config_value(
Dbackup_mysql_db.py129 user = global_config.global_config.get_config_value(
131 password = global_config.global_config.get_config_value(
181 respect_static_labels = global_config.global_config.get_config_value(
/external/autotest/site_utils/lxc/
Dconstants.py13 BASE = global_config.get_config_value('AUTOSERV', 'container_base_name')
25 CONTAINER_BASE_FOLDER_URL = global_config.get_config_value('AUTOSERV',
30 DEFAULT_CONTAINER_PATH = global_config.get_config_value('AUTOSERV',
33 DEFAULT_SHARED_HOST_PATH = global_config.get_config_value(
/external/autotest/server/hosts/
Dbase_classes_unittest.py52 global_config.global_config.get_config_value.expect_call(
61 global_config.global_config.get_config_value.expect_call(
70 global_config.global_config.get_config_value.expect_call(
80 global_config.global_config.get_config_value.expect_call(
91 global_config.global_config.get_config_value.expect_call(
Dchameleon_host.py24 ENABLE_SSH_TUNNEL_FOR_CHAMELEON = _CONFIG.get_config_value(
167 is_moblab = _CONFIG.get_config_value(
243 is_moblab = _CONFIG.get_config_value(
/external/autotest/server/
Dsite_utils.py49 _SHERIFF_JS = CONFIG.get_config_value('NOTIFICATIONS', 'sheriffs', default='')
50 _LAB_SHERIFF_JS = CONFIG.get_config_value(
52 _CHROMIUM_BUILD_URL = CONFIG.get_config_value(
57 ENABLE_DRONE_IN_RESTRICTED_SUBNET = CONFIG.get_config_value(
321 test_server_name = CONFIG.get_config_value('SERVER', 'hostname')
342 status_url = CONFIG.get_config_value('CROS', 'lab_status_url')
469 hostname = CONFIG.get_config_value('SHARD', 'shard_hostname', default=None)
475 return CONFIG.get_config_value('SERVER', 'global_afe_hostname')
490 restricted_groups = CONFIG.get_config_value(
709 creds_dir = CONFIG.get_config_value('SERVER', 'creds_dir', default='')
Dautotest_unittest.py118 c.get_config_value.expect_call('PACKAGES',
136 c.get_config_value.expect_call('PACKAGES',
140 c.get_config_value.expect_call('PACKAGES',
158 c.get_config_value.expect_call('PACKAGES',
212 c.get_config_value.expect_call("PACKAGES",
306 c.get_config_value.expect_call('PACKAGES',
309 c.get_config_value.expect_call('PACKAGES',
Dlab_status_unittest.py314 global_config.global_config.get_config_value(
320 global_config.global_config.get_config_value(
322 global_config.global_config.get_config_value(
334 global_config.global_config.get_config_value(
336 global_config.global_config.get_config_value(
/external/autotest/frontend/afe/
Dmoblab_rpc_interface_unittest.py227 config_mock.get_config_value(
229 config_mock.get_config_value(
310 original_config.get_config_value(
313 original_config.get_config_value(
316 original_config.get_config_value(
319 original_config.get_config_value(
355 original_config.get_config_value(
358 original_config.get_config_value(
375 config_mock.get_config_value(
453 config_mock.get_config_value(
[all …]
Drpcserver_logging.py8 LOGGING_ENABLED = config.get_config_value('SERVER', 'rpc_logging', type=bool)
14 logserver_enabled = config.get_config_value(
Dmoblab_rpc_interface.py155 if original_config.get_config_value(section, key,
185 if original_config.get_config_value(section, key,
331 value =_CONFIG.get_config_value('CROS', _IMAGE_STORAGE_SERVER)
334 value = _CONFIG.get_config_value('CROS', _RESULT_STORAGE_SERVER,
904 gs_image_location =_CONFIG.get_config_value('CROS', _IMAGE_STORAGE_SERVER)
1032 ap_name =_CONFIG.get_config_value('MOBLAB', _WIFI_AP_NAME, default=None)
1034 ap_pass =_CONFIG.get_config_value('MOBLAB', _WIFI_AP_PASS, default='')
1054 gs_image_location =_CONFIG.get_config_value('CROS', _IMAGE_STORAGE_SERVER)
1076 value =_CONFIG.get_config_value('MOBLAB', _WIFI_AP_NAME,
1080 value = _CONFIG.get_config_value('MOBLAB', _WIFI_AP_PASS,
/external/autotest/frontend/
Dsettings.py21 DEBUG = c.get_config_value(_section, "sql_debug_mode", type=bool, default=False)
22 TEMPLATE_DEBUG = c.get_config_value(_section, "template_debug_mode", type=bool,
Ddatabase_settings_helper.py38 SHARD_HOSTNAME = config.get_config_value('SHARD', 'shard_hostname',
54 return config.get_config_value(section, config_key, **kwargs)
/external/autotest/client/common_lib/hosts/
Dbase_classes.py59 DEFAULT_REBOOT_TIMEOUT = global_config.global_config.get_config_value(
61 WAIT_DOWN_REBOOT_TIMEOUT = global_config.global_config.get_config_value(
63 WAIT_DOWN_REBOOT_WARNING = global_config.global_config.get_config_value(
65 HOURS_TO_WAIT_FOR_RECOVERY = global_config.global_config.get_config_value(
225 get_config = global_config.global_config.get_config_value
/external/autotest/client/common_lib/cros/
Ddev_server.py61 SKIP_DEVSERVER_HEALTH_CHECK = CONFIG.get_config_value(
67 ANDROID_BUILD_NAME_PATTERN = CONFIG.get_config_value(
125 PREFER_LOCAL_DEVSERVER = CONFIG.get_config_value(
128 ENABLE_SSH_CONNECTION_FOR_DEVSERVER = CONFIG.get_config_value(
186 return CONFIG.get_config_value('CROS', 'image_storage_server', type=str)
196 return CONFIG.get_config_value('CROS', 'canary_channel_server', type=str)
206 factory_artifact = global_config.global_config.get_config_value(
261 return CONFIG.get_config_value('CROS', 'dev_server', type=list, default=[])
265 return CONFIG.get_config_value('CROS', 'crash_server', type=list,
908 url_pattern = CONFIG.get_config_value('CROS', 'image_url_pattern',
[all …]
/external/autotest/site_utils/stats/
Dmysql_stats.py28 DEFAULT_USER = global_config.global_config.get_config_value(
30 DEFAULT_PASSWD = global_config.global_config.get_config_value(

1234