Searched refs:device_option (Results 1 – 6 of 6) sorted by relevance
/test/testfwk/xdevice/src/xdevice/_core/environment/ |
D | manager_env.py | 139 for device_option in device_options: 141 device = self.apply_device(device_option) 145 device.extend_value = device_option.extend_value 152 device_option.label) 164 def apply_device(self, device_option, timeout=3): argument 169 if device_option.required_manager not in support_types: 171 device_option.required_manager, manager_type)) 175 if device_option.label is None: 181 device_option.label not in support_labels: 183 device = manager.apply_device(device_option, timeout) [all …]
|
D | env_pool.py | 147 device_option = selector.format() 148 if not device_option: 152 if device_option.required_manager not in support_types: 154 device_option.required_manager, manager_type)) 158 if device_option.label is None: 163 device_option.label not in support_labels: 165 device = manager.apply_device(device_option, timeout) 167 device.env_index = device_option.get_env_index() 289 device_option = SelectionOption(self.__config, label) 292 device_option.required_manager = required_manager [all …]
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/managers/ |
D | manager_device.py | 123 def apply_device(self, device_option, timeout=3): argument 128 device = self.allocate_device_option(device_option) 138 return self.allocate_device_option(device_option) 143 def allocate_device_option(self, device_option): argument 154 LOG.debug("Require device label is: %s" % device_option.label) 156 if device_option.matches(device):
|
D | manager_lite.py | 77 def apply_device(self, device_option, timeout=10): argument 87 if device_option.matches(device):
|
/test/testfwk/xdevice/src/xdevice/_core/executor/ |
D | scheduler.py | 379 device_option = DeviceSelectionOption(options, label, test_source) 382 device_option.required_manager = required_manager 383 device_option.extend_value = device_dict 384 device_option.source_file = \ 386 if hasattr(device_option, "env_index"): 387 device_option.env_index = index 389 devices_option.append(device_option) 448 for device_option in device_options: 449 device_option.required_component = required_component 1284 device_option = DeviceSelectionOption( [all …]
|
/test/testfwk/xdevice/src/xdevice/_core/ |
D | interface.py | 57 def apply_device(self, device_option, timeout=10): argument
|