Home | History | Annotate | Download | only in cros

Lines Matching refs:vid

631         vid: string of USB Vendor ID
641 def __init__(self, vid, pid, whitelisted, path):
642 self.vid = vid
685 _whitelisted: list of USB device vid:pid that are whitelisted.
709 def _is_whitelisted(self, vid, pid):
710 """Check to see if USB device vid:pid is whitelisted.
713 vid: string of USB vendor ID
717 True if vid:pid in whitelist file else False
722 match_str = "%s:%s" % (vid, pid)
741 logging.debug("No vid for USB @ %s", vid_path)
743 vid = utils.read_one_line(vid_path)
745 whitelisted = self._is_whitelisted(vid, pid)
746 self.devices.append(USBDevicePower(vid, pid, whitelisted, dirpath))