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.py21 _gs_domain = global_config.global_config.get_config_value(
23 _chromeos_image_archive = global_config.global_config.get_config_value(
25 _arg_prefix = global_config.global_config.get_config_value(
30 _retrieve_logs_cgi = global_config.global_config.get_config_value(
32 _generic_results_bin = global_config.global_config.get_config_value(
34 _debug_dir = global_config.global_config.get_config_value(
39 _job_view = global_config.global_config.get_config_value(
44 _gs_file_prefix = global_config.global_config.get_config_value(
48 _CRBUG_URL = global_config.global_config.get_config_value(
52 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.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(
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.py92 db_user = CONFIG.get_config_value('AUTOTEST_WEB', 'user')
93 db_password = CONFIG.get_config_value('AUTOTEST_WEB', 'password')
95 global_db_user = CONFIG.get_config_value(
97 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(
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(
Dstable_version_utils.py32 versions = {DEFAULT: global_config.global_config.get_config_value(
51 return 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.py41 _SHERIFF_JS = CONFIG.get_config_value('NOTIFICATIONS', 'sheriffs', default='')
42 _LAB_SHERIFF_JS = CONFIG.get_config_value(
44 _CHROMIUM_BUILD_URL = CONFIG.get_config_value(
49 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')
490 hostname = CONFIG.get_config_value('SHARD', 'shard_hostname', default=None)
496 return CONFIG.get_config_value('SERVER', 'global_afe_hostname')
511 restricted_groups = CONFIG.get_config_value(
744 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.py118 c.get_config_value.expect_call('PACKAGES',
135 c.get_config_value.expect_call('PACKAGES',
139 c.get_config_value.expect_call('PACKAGES',
155 c.get_config_value.expect_call('PACKAGES',
209 c.get_config_value.expect_call("PACKAGES",
303 c.get_config_value.expect_call('PACKAGES',
306 c.get_config_value.expect_call('PACKAGES',
Dsystem_utils.py26 drones = global_config.global_config.get_config_value(
38 shards = 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 …]
Dmoblab_rpc_interface.py157 if original_config.get_config_value(section, key,
187 if original_config.get_config_value(section, key,
333 value =_CONFIG.get_config_value('CROS', _IMAGE_STORAGE_SERVER)
336 value = _CONFIG.get_config_value('CROS', _RESULT_STORAGE_SERVER,
906 gs_image_location =_CONFIG.get_config_value('CROS', _IMAGE_STORAGE_SERVER)
1034 ap_name =_CONFIG.get_config_value('MOBLAB', _WIFI_AP_NAME, default=None)
1036 ap_pass =_CONFIG.get_config_value('MOBLAB', _WIFI_AP_PASS, default='')
1056 gs_image_location =_CONFIG.get_config_value('CROS', _IMAGE_STORAGE_SERVER)
1078 value =_CONFIG.get_config_value('MOBLAB', _WIFI_AP_NAME,
1082 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/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/scheduler/
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(
897 copy_task_results_back = global_config.global_config.get_config_value(
900 copy_parse_log_back = global_config.global_config.get_config_value(

12345