Searched refs:dir_entry (Results 1 – 1 of 1) sorted by relevance
/cts/apps/CameraITS/tools/ |
D | hardware.py | 181 def _read_tty_name(self, dir_entry, inf, cfg): argument 193 '%s:%d.%d' % (dir_entry, cfg, inf)) 214 def _init_device_list_callback(self, _, dir_entry): argument 222 path = os.path.join(self._USB_DEVICE_SYS_ROOT, dir_entry) 237 device[self.KEY_TTY] = self._read_tty_name(dir_entry, 241 def _list_all_tty_devices_callback(self, dev_list, dir_entry): argument 249 dev_path = os.path.join(self._USB_DEVICE_SYS_ROOT, dir_entry) 267 tty_path = self._read_tty_name(dir_entry, inf, cfg) 318 for dir_entry in dir_list: 319 if file_re.match(dir_entry): [all …]
|