Home
last modified time | relevance | path

Searched refs:configs (Results 1 – 25 of 57) sorted by relevance

123

/tools/asuite/aidegen/vscode/
Dvscode_native_project_file_gen.py100 configs = {}
101 configs[_NAME] = _LINUX
108 configs[_INC_PATH] = paths
110 configs[_COMPILE_PATH] = ''
112 configs[_COMPILE_PATH] = _COMPILER_PATH
113 if not configs[_COMPILE_PATH]:
115 configs[_C_STANDARD] = _C_11
116 configs[_CPP_STANDARD] = _CPP_17
118 configs[_COMPILE_CMD] = os.path.join(
120 configs[_BROWSE] = browse
[all …]
/tools/test/connectivity/acts/framework/acts/
Dconfig_parser.py189 configs = utils.load_config(test_config_path)
191 testbeds = configs[keys.Config.key_testbed.value]
214 if (keys.Config.key_log_path.value not in configs
218 configs[keys.Config.key_log_path.value] = os.environ[_ENV_ACTS_LOGPATH]
219 if (keys.Config.key_test_paths.value not in configs
223 configs[keys.Config.key_test_paths.
225 if (keys.Config.key_test_failure_tracebacks not in configs
227 configs[keys.Config.key_test_failure_tracebacks.
232 configs[keys.Config.key_config_path.value] = config_path
233 _validate_test_config(configs)
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationUtilTest.java159 Set<String> configs = in testGetConfigNamesFromDirs() local
161 assertEquals(1, configs.size()); in testGetConfigNamesFromDirs()
162 assertTrue(configs.contains(config2.getAbsolutePath())); in testGetConfigNamesFromDirs()
165 configs = ConfigurationUtil.getConfigNamesFromDirs("", Arrays.asList(tmpDir)); in testGetConfigNamesFromDirs()
166 assertEquals(2, configs.size()); in testGetConfigNamesFromDirs()
167 assertTrue(configs.contains(config1.getAbsolutePath())); in testGetConfigNamesFromDirs()
168 assertTrue(configs.contains(config2.getAbsolutePath())); in testGetConfigNamesFromDirs()
194 Set<File> configs = in testGetConfigNamesFromDirs_patterns() local
197 assertEquals(1, configs.size()); in testGetConfigNamesFromDirs_patterns()
198 assertTrue(configs.contains(config2)); in testGetConfigNamesFromDirs_patterns()
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/
Dbuds_controller.py33 def create(configs): argument
56 if not isinstance(configs, list):
57 raise ConfigError('Malformatted config %s. Must be a list.' % configs)
59 for config in configs:
Dchameleon_controller.py46 def create(configs): argument
47 if not configs:
49 elif not isinstance(configs, list):
51 elif isinstance(configs[0], str):
53 chameleons = get_instances(configs)
Darduino_wifi_dongle.py57 def create(configs): argument
67 if not configs:
69 elif not isinstance(configs, list):
71 elif isinstance(configs[0], str):
73 return get_instances(configs)
76 return get_instances_with_configs(configs)
84 def get_instances(configs): argument
86 for s in configs:
91 def get_instances_with_configs(configs): argument
93 for c in configs:
Dpdu.py23 def create(configs): argument
37 if configs:
39 for config in configs:
Dmonsoon.py24 def create(configs): argument
41 for config in configs:
Daccess_point.py47 def create(configs): argument
60 return [AccessPoint(c) for c in configs]
109 def __init__(self, configs): argument
114 self.ssh_settings = settings.from_config(configs['ssh_config'])
118 if 'ap_subnet' in configs:
119 self._AP_2G_SUBNET_STR = configs['ap_subnet']['2g']
120 self._AP_5G_SUBNET_STR = configs['ap_subnet']['5g']
507 configs = (iface_wlan, iface_lan, bridge_ip)
509 return configs
Dsniffer.py24 def create(configs): argument
38 for c in configs:
Dnative_android_device.py31 def create(configs): argument
33 ads = get_instances(configs)
Dpacket_capture.py53 def create(configs): argument
54 return [PacketCapture(c) for c in configs]
96 def __init__(self, configs): argument
102 self.ssh_settings = settings.from_config(configs['ssh_config'])
Dfuchsia_device.py92 def create(configs): argument
93 if not configs:
95 elif not isinstance(configs, list):
97 for index, config in enumerate(configs):
99 configs[index] = {"ip": config}
102 (index, configs))
103 return get_instances(configs)
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbt_factory.py19 def create(configs): argument
34 for config in configs:
/tools/test/connectivity/acts/framework/tests/
Dmock_controller.py24 def create(configs): argument
26 for c in configs:
/tools/tradefederation/core/tests/src/com/android/tradefed/presubmit/
DDeviceTestsConfigValidation.java63 List<File> configs = new ArrayList<>(); in testConfigsLoad() local
68 configs.addAll( in testConfigsLoad()
71 for (File config : configs) { in testConfigsLoad()
DGeneralTestsConfigValidation.java98 List<String> configs = new ArrayList<>(); in testConfigsLoad() local
102 configs.addAll(ConfigurationUtil.getConfigNamesFromDirs(null, extraTestCasesDirs)); in testConfigsLoad()
103 for (String configName : configs) { in testConfigsLoad()
/tools/test/connectivity/acts/framework/acts/test_utils/gnss/
Dgnss_testlog_utils.py94 def parse_log_to_df(filename, configs, index_rownum=True): argument
129 for key, regex_string in configs.items():
174 configs=CONFIG_GPSTTFFLOG,
223 configs=CONFIG_GPSAPILOG,
299 configs=CONFIG_GPSAPILOG,
/tools/test/connectivity/acts/tests/google/power/bt/
DPowerBLEscanTest.py28 def __init__(self, configs): argument
29 super().__init__(configs)
DPowerBLEadvertiseTest.py28 def __init__(self, configs): argument
29 super().__init__(configs)
DPowerBTa2dpTest.py27 def __init__(self, configs): argument
28 super().__init__(configs)
/tools/carrier_settings/proto/
Dcarrier_settings.proto23 // Settings of one carrier, including apns and configs
35 // Carrier configs
36 optional CarrierConfig configs = 4; field
40 // Vendor carrier configs
169 // Carrier configs
191 // The configs of one vendor client.
208 // A collection of configs from vendor clients.
/tools/carrier_settings/java/
DCarrierProtoUtils.java108 List<CarrierConfig.Config> configs = new ArrayList<>(baseBuilder.getConfigList());
109 Collections.sort(configs, Comparator.comparing(CarrierConfig.Config::getKey));
111 baseBuilder.addAllConfig(configs);
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTfSuiteRunner.java96 List<String> configs = configFactory.getConfigList(mSuitePrefix, false); in loadTests() local
127 configs.addAll( in loadTests()
132 Collections.sort(configs); in loadTests()
133 for (String configName : configs) { in loadTests()
/tools/test/connectivity/acts/framework/tests/event/
Devent_bus_integration_test.py34 def __init__(self, configs): argument
37 super().__init__(configs)

123