OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:gadget
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/tools/usb_gadget/
default_gadget.py
5
"""Default
gadget
configuration."""
7
import
gadget
namespace
12
class DefaultGadget(
gadget
.
Gadget
):
41
self.AddStringDescriptor(2, "Test
Gadget
(default state)")
echo_gadget.py
5
"""USB echo
gadget
module.
7
This
gadget
has pairs of IN/OUT endpoints that echo packets back to the host.
14
import
gadget
namespace
19
class EchoGadget(
gadget
.
Gadget
):
20
"""Echo
gadget
.
24
"""Create an echo
gadget
.
187
self.AddStringDescriptor(2, 'Echo
Gadget
')
hid_gadget.py
5
"""Human Interface Device
gadget
module.
7
This
gadget
emulates a USB Human Interface Device. Multiple logical components
17
import
gadget
namespace
23
class HidGadget(
gadget
.
Gadget
):
24
"""Generic HID
gadget
.
30
"""Create a HID
gadget
.
292
"""Represents a component of a HID
gadget
.
server.py
5
"""WSGI application to manage a USB
gadget
.
28
gadget
= None
variable
38
global
gadget
39
gadget
= new_gadget
40
gadget
.AddStringDescriptor(3, address)
41
chip.Create(
gadget
)
104
SwitchGadget(
gadget
)
136
if
gadget
!= default:
157
chip.Create(
gadget
)
gadget_test.py
10
import
gadget
namespace
123
g =
gadget
.
Gadget
(device_desc, fs_config_desc, hs_config_desc)
131
g =
gadget
.
Gadget
(device_desc, fs_config_desc, hs_config_desc)
140
g =
gadget
.
Gadget
(device_desc, fs_config_desc, hs_config_desc)
149
g =
gadget
.
Gadget
(device_desc, fs_config_desc, hs_config_desc)
154
g =
gadget
.Gadget(device_desc, fs_config_desc, hs_config_desc
[
all
...]
Completed in 494 milliseconds