Home
last modified time | relevance | path

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

12345

/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.py170 def get_config_value(self, section, key, type=str, member in global_config_class
251 return self.get_config_value(section, key, type, **kwargs)
253 return self.get_config_value(fallback_section, fallback_key,
389 def get_config_value(self, section, key, type=str, member in FakeGlobalConfig
/external/autotest/server/cros/dynamic_suite/
Dreporting_utils.py20 _gs_domain = global_config.global_config.get_config_value(
22 _chromeos_image_archive = global_config.global_config.get_config_value(
24 _arg_prefix = global_config.global_config.get_config_value(
29 _retrieve_logs_cgi = global_config.global_config.get_config_value(
31 _generic_results_bin = global_config.global_config.get_config_value(
33 _debug_dir = global_config.global_config.get_config_value(
38 _job_view = global_config.global_config.get_config_value(
43 _gs_file_prefix = global_config.global_config.get_config_value(
47 _CRBUG_URL = global_config.global_config.get_config_value(
51 WMATRIX_RETRY_URL = global_config.global_config.get_config_value(
[all …]
Dtools.py29 return _CONFIG.get_config_value('CROS', 'image_url_pattern', type=str)
34 return _CONFIG.get_config_value('CROS', 'firmware_url_pattern', type=str)
39 return _CONFIG.get_config_value('CROS', 'factory_image_url_pattern',
45 return _CONFIG.get_config_value('CROS', 'sharding_factor', type=int)
50 return _CONFIG.get_config_value('CROS', 'infrastructure_user', type=str)
60 return _CONFIG.get_config_value('ANDROID', 'package_url_pattern',
63 return _CONFIG.get_config_value('CROS', 'package_url_pattern', type=str)
68 return _CONFIG.get_config_value('SCHEDULER', 'try_job_timeout_mins',
/external/autotest/site_utils/
Dcleanup_tko_db.py52 server = CONFIG.get_config_value(
54 default=CONFIG.get_config_value('AUTOTEST_WEB', 'host'))
55 user = CONFIG.get_config_value(
57 default=CONFIG.get_config_value('AUTOTEST_WEB', 'user'))
58 password = CONFIG.get_config_value(
60 default=CONFIG.get_config_value('AUTOTEST_WEB', 'password'))
61 database = CONFIG.get_config_value(
63 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(
Ddb_replica_checker.py31 DATABASE_HOST = c.get_config_value(_section, "host")
32 REPLICA_DATABASE_HOST = c.get_config_value(_section, "readonly_host")
33 DATABASE_NAME = c.get_config_value(_section, "database")
34 DATABASE_USER = c.get_config_value(_section, "user")
35 DATABASE_PASSWORD = c.get_config_value(_section, "password")
Dcheck_slave_db_delay.py88 db_user = CONFIG.get_config_value('AUTOTEST_WEB', 'user')
89 db_password = CONFIG.get_config_value('AUTOTEST_WEB', 'password')
91 global_db_user = CONFIG.get_config_value(
93 global_db_password = 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(
Dstable_version_utils.py32 versions = {DEFAULT: global_config.global_config.get_config_value(
57 return global_config.global_config.get_config_value(
60 return global_config.global_config.get_config_value(
Drpc_logserver.py100 max_log_size = config.get_config_value('SERVER', 'rpc_max_log_size_mb',
102 number_of_old_logs = config.get_config_value('SERVER', 'rpc_num_old_logs',
104 log_path = config.get_config_value('SERVER', 'rpc_log_path')
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(
/external/autotest/site_utils/lxc/
Dconstants.py13 BASE = global_config.get_config_value('AUTOSERV', 'container_base_name')
24 SSP_ENABLED = global_config.get_config_value('AUTOSERV', 'enable_ssp_container',
27 CONTAINER_BASE_FOLDER_URL = global_config.get_config_value('AUTOSERV',
32 DEFAULT_CONTAINER_PATH = global_config.get_config_value('AUTOSERV',
35 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(
/external/autotest/scheduler/shard/
Dsimple_heartbeat_server.py154 default=config.get_config_value('AUTOTEST_WEB', 'host'),
158 default=config.get_config_value('AUTOTEST_WEB', 'database'),
162 default=config.get_config_value('AUTOTEST_WEB', 'user'),
166 default=config.get_config_value('AUTOTEST_WEB', 'password'),
170 default=config.get_config_value('AUTOTEST_WEB', 'port', default=''),
/external/autotest/server/
Dsite_utils.py40 _SHERIFF_JS = CONFIG.get_config_value('NOTIFICATIONS', 'sheriffs', default='')
41 _LAB_SHERIFF_JS = CONFIG.get_config_value(
43 _CHROMIUM_BUILD_URL = CONFIG.get_config_value(
48 ENABLE_DRONE_IN_RESTRICTED_SUBNET = CONFIG.get_config_value(
313 test_server_name = CONFIG.get_config_value('SERVER', 'hostname')
334 status_url = CONFIG.get_config_value('CROS', 'lab_status_url')
482 hostname = CONFIG.get_config_value('SHARD', 'shard_hostname', default=None)
488 return CONFIG.get_config_value('SERVER', 'global_afe_hostname')
503 restricted_groups = CONFIG.get_config_value(
761 creds_dir = CONFIG.get_config_value('SERVER', 'creds_dir', default='')
Dlab_status_unittest.py308 global_config.global_config.get_config_value(
314 global_config.global_config.get_config_value(
316 global_config.global_config.get_config_value(
328 global_config.global_config.get_config_value(
330 global_config.global_config.get_config_value(
Dautotest_unittest.py117 c.get_config_value.expect_call('PACKAGES',
134 c.get_config_value.expect_call('PACKAGES',
138 c.get_config_value.expect_call('PACKAGES',
154 c.get_config_value.expect_call('PACKAGES',
208 c.get_config_value.expect_call("PACKAGES",
302 c.get_config_value.expect_call('PACKAGES',
305 c.get_config_value.expect_call('PACKAGES',
/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 …]
Dmoblab_rpc_interface.py149 if original_config.get_config_value(section, key,
179 if original_config.get_config_value(section, key,
325 value =_CONFIG.get_config_value('CROS', _IMAGE_STORAGE_SERVER)
328 value = _CONFIG.get_config_value('CROS', _RESULT_STORAGE_SERVER,
898 gs_image_location =_CONFIG.get_config_value('CROS', _IMAGE_STORAGE_SERVER)
1012 ap_name =_CONFIG.get_config_value('MOBLAB', _WIFI_AP_NAME, default=None)
1014 ap_pass =_CONFIG.get_config_value('MOBLAB', _WIFI_AP_PASS, default='')
1029 gs_image_location =_CONFIG.get_config_value('CROS', _IMAGE_STORAGE_SERVER)
1051 value =_CONFIG.get_config_value('MOBLAB', _WIFI_AP_NAME,
1055 value = _CONFIG.get_config_value('MOBLAB', _WIFI_AP_PASS,
Drpcserver_logging.py8 LOGGING_ENABLED = config.get_config_value('SERVER', 'rpc_logging', type=bool)
14 logserver_enabled = config.get_config_value(
/external/autotest/scheduler/
Ddrones.py14 AUTOTEST_INSTALL_DIR = CONFIG.get_config_value('SCHEDULER',
16 DEFAULT_CONTAINER_PATH = CONFIG.get_config_value('AUTOSERV', 'container_path')
18 SSP_REQUIRED = CONFIG.get_config_value('SCHEDULER', 'exit_on_failed_ssp_setup',
173 base_container_name = CONFIG.get_config_value(
Dluciferlib.py42 config_level = (_config.get_config_value(_SECTION, 'lucifer_level')
177 return _config.get_config_value(_SECTION, 'jobdir')
190 return _config.get_config_value(_SECTION, 'binaries_path')
198 return _config.get_config_value(_SECTION, 'gcp_creds', default='')
Ddrone_manager.py36 _THREADED_DRONE_MANAGER = global_config.global_config.get_config_value(
42 ENABLE_ARCHIVING = global_config.global_config.get_config_value(
217 results_installation_dir = global_config.global_config.get_config_value(
247 pidfile_timeout = global_config.global_config.get_config_value(
307 disabled = config.get_config_value(
310 drone.max_processes = config.get_config_value(
314 allowed_users = config.get_config_value(
916 copy_task_results_back = global_config.global_config.get_config_value(
919 copy_parse_log_back = global_config.global_config.get_config_value(
/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,

12345