Home
last modified time | relevance | path

Searched refs:_config (Results 1 – 7 of 7) sorted by relevance

/tools/asuite/aidegen/lib/
Dconfig.py78 self._config = {}
84 self._config_backup = copy.deepcopy(self._config)
103 preferred_version = self._config.get(key, '')
106 preferred_version = self._config.get(self._KEY_APPEND, '')
127 self._config[key] = preferred_version
136 return self._config.get(self._KEY_PLUGIN_PREFERENCE, '')
145 self._config[self._KEY_PLUGIN_PREFERENCE] = preference
153 self._config = json.load(cfg_file)
167 json.dump(self._config, cfg_file, indent=4)
171 return any(key for key in self._config if key not in self._config_backup
[all …]
Dconfig_unittest.py282 cfg._config['preferred_version'] = ''
286 cfg._config['IntelliJ_preferred_version'] = result
294 cfg._config['preferred_version'] = 'a'
302 cfg._config[config.AidegenConfig._KEY_APPEND] = 'Yes'
304 self.assertEqual(cfg._config[config.AidegenConfig._KEY_APPEND], 'test')
306 self.assertEqual(cfg._config['IntelliJ_preferred_version'], 'test')
311 cfg._config[config.AidegenConfig._KEY_PLUGIN_PREFERENCE] = 'yes'
313 self.assertEqual(cfg._config[
319 cfg._config[config.AidegenConfig._KEY_PLUGIN_PREFERENCE] = 'yes'
/tools/asuite/atest/integration_tests/
Dsplit_build_test_script.py73 self._config = config
80 if self._config.device_serial:
81 return ' -s ' + self._config.device_serial
82 if ANDROID_BUILD_TOP_KEY not in os.environ and self._config.is_test_env:
93 if not self._config.device_serial:
95 return self._config.device_serial
111 return self._config
172 self._config = config
174 self._snapshot: Snapshot = Snapshot(self._config.snapshot_storage_path)
180 return self._config
[all …]
Datest_integration_test.py120 self._config = config
160 if self._config.is_test_env or not snapshot_ready:
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
Dota_chamber.py190 self._config = chamber_config
195 self._chamber.connect(self._config['ip_address'],
196 self._config['username'],
197 self._config['password'])
/tools/asuite/atest/
Datest_main.py173 _config = atest_utils.get_config_folder().joinpath('config')
174 if not _config.parent.is_dir():
175 _config.parent.mkdir(parents=True)
177 if not _config.is_file():
178 with open(_config, 'w+', encoding='utf8') as cache:
185 atest_utils.mark_yellow(_config),
190 with open(_config, 'r', encoding='utf8') as cache:
/tools/asuite/adevice/tests/common/
Dfakes.rs99 fn tracked_files(&self, _config: &Config) -> Result<Vec<String>> { in tracked_files()