/external/chromium_org/tools/usb_gadget/ |
echo_gadget.py | 15 import usb_constants namespace 27 idVendor=usb_constants.VendorID.GOOGLE, 28 idProduct=usb_constants.ProductID.GOOGLE_ECHO_GADGET, 40 bInterfaceClass=usb_constants.DeviceClass.VENDOR, 47 bmAttributes=usb_constants.TransferType.INTERRUPT, 53 bmAttributes=usb_constants.TransferType.INTERRUPT, 61 bInterfaceClass=usb_constants.DeviceClass.VENDOR, 68 bmAttributes=usb_constants.TransferType.BULK, 74 bmAttributes=usb_constants.TransferType.BULK, 82 bInterfaceClass=usb_constants.DeviceClass.VENDOR [all...] |
gadget.py | 10 import usb_constants namespace 28 self._speed = usb_constants.Speed.UNKNOWN 48 if self._speed == usb_constants.Speed.FULL: 50 elif self._speed == usb_constants.Speed.HIGH: 89 self._speed = usb_constants.Speed.UNKNOWN 110 assert request_type & usb_constants.Dir.IN 111 typ = request_type & usb_constants.Type.MASK 112 recipient = request_type & usb_constants.Recipient.MASK 113 if typ == usb_constants.Type.STANDARD: 116 elif typ == usb_constants.Type.CLASS [all...] |
default_gadget.py | 8 import usb_constants namespace 16 idVendor=usb_constants.VendorID.GOOGLE, 17 idProduct=usb_constants.ProductID.GOOGLE_TEST_GADGET,
|
mouse_gadget_test.py | 12 import usb_constants namespace 20 g.Connected(chip, usb_constants.Speed.FULL) 32 g.Connected(chip, usb_constants.Speed.FULL) 39 g.Connected(chip, usb_constants.Speed.FULL)
|
gadget_test.py | 11 import usb_constants namespace 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 [all...] |
keyboard_gadget_test.py | 12 import usb_constants namespace 20 g.Connected(chip, usb_constants.Speed.FULL) 35 g.Connected(chip, usb_constants.Speed.FULL) 54 g.Connected(chip, usb_constants.Speed.FULL)
|
hid_constants.py | 8 import usb_constants namespace 17 HID = usb_constants.Type.CLASS | 0x01 18 REPORT = usb_constants.Type.CLASS | 0x02 19 PHYSICAL = usb_constants.Type.CLASS | 0x03
|
hid_gadget.py | 19 import usb_constants namespace 59 bInterfaceClass=usb_constants.DeviceClass.HID, 70 bInterfaceClass=usb_constants.DeviceClass.HID, 89 bmAttributes=usb_constants.TransferType.INTERRUPT, 101 bmAttributes=usb_constants.TransferType.INTERRUPT, 109 bmAttributes=usb_constants.TransferType.INTERRUPT, 115 bmAttributes=usb_constants.TransferType.INTERRUPT, 136 if recipient == usb_constants.Recipient.INTERFACE: 161 if recipient != usb_constants.Recipient.INTERFACE: 188 if recipient != usb_constants.Recipient.INTERFACE [all...] |
hid_echo_gadget.py | 19 import usb_constants namespace 87 vendor_id=usb_constants.VendorID.GOOGLE, 88 product_id=usb_constants.ProductID.GOOGLE_HID_ECHO_GADGET,
|
usb_descriptors.py | 13 import usb_constants namespace 202 usb_constants.DescriptorType.DEVICE) 205 default=usb_constants.DeviceClass.PER_INTERFACE) 207 default=usb_constants.DeviceSubClass.PER_INTERFACE) 209 default=usb_constants.DeviceProtocol.PER_INTERFACE) 278 'bDescriptorType', 'B', usb_constants.DescriptorType.CONFIGURATION) 314 usb_constants.DescriptorType.INTERFACE) 319 default=usb_constants.InterfaceClass.VENDOR) 321 default=usb_constants.InterfaceSubClass.VENDOR) 323 default=usb_constants.InterfaceProtocol.VENDOR [all...] |
linux_gadgetfs.py | 20 import usb_constants namespace 34 usb_constants.TransferType.BULK: BULK, 35 usb_constants.TransferType.INTERRUPT: INTERRUPT, 36 usb_constants.TransferType.ISOCHRONOUS: ISOCHRONOUS 158 if request_type & usb_constants.Dir.IN: 212 endpoint_desc.bmAttributes & usb_constants.TransferType.MASK] 226 if self._gadget.GetSpeed() == usb_constants.Speed.HIGH: 244 if endpoint_addr & usb_constants.Dir.IN: 280 if not endpoint_addr & usb_constants.Dir.IN: 295 if endpoint_addr & usb_constants.Dir.IN [all...] |
hid_gadget_test.py | 13 import usb_constants namespace 88 g.Connected(chip, usb_constants.Speed.HIGH) 96 g.Connected(chip, usb_constants.Speed.HIGH) 141 g.Connected(chip, usb_constants.Speed.HIGH) 191 g.Connected(chip, usb_constants.Speed.HIGH) 201 g.Connected(chip, usb_constants.Speed.HIGH) 211 g.Connected(chip, usb_constants.Speed.HIGH)
|
mouse_gadget.py | 17 import usb_constants namespace 106 vendor_id=usb_constants.VendorID.GOOGLE, 107 product_id=usb_constants.ProductID.GOOGLE_MOUSE_GADGET,
|
keyboard_gadget.py | 17 import usb_constants namespace 145 vendor_id=usb_constants.VendorID.GOOGLE, 146 product_id=usb_constants.ProductID.GOOGLE_KEYBOARD_GADGET,
|