Lines Matching defs:usb_constants
11 import usb_constants
36 bmAttributes=usb_constants.TransferType.BULK,
44 bmAttributes=usb_constants.TransferType.BULK,
58 bmAttributes=usb_constants.TransferType.INTERRUPT,
66 bmAttributes=usb_constants.TransferType.INTERRUPT,
83 bmAttributes=usb_constants.TransferType.BULK,
91 bmAttributes=usb_constants.TransferType.BULK,
105 bmAttributes=usb_constants.TransferType.INTERRUPT,
113 bmAttributes=usb_constants.TransferType.INTERRUPT,
132 g.Connected(mock.Mock(), usb_constants.Speed.FULL)
134 self.assertEquals(g.GetSpeed(), usb_constants.Speed.FULL)
141 g.Connected(mock.Mock(), usb_constants.Speed.HIGH)
143 self.assertEquals(g.GetSpeed(), usb_constants.Speed.HIGH)
192 g.Connected(chip, usb_constants.Speed.HIGH)
202 g.Connected(chip, usb_constants.Speed.HIGH)
213 g.Connected(mock.Mock(), usb_constants.Speed.HIGH)
219 g.Connected(chip, usb_constants.Speed.HIGH)
244 g.Connected(mock.Mock(), usb_constants.Speed.HIGH)
251 g.Connected(chip, usb_constants.Speed.HIGH)
259 g.Connected(mock.Mock(), usb_constants.Speed.HIGH)
268 g.Connected(chip, usb_constants.Speed.HIGH)
279 g.Connected(chip, usb_constants.Speed.HIGH)