OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:lsusb
(Results
1 - 2
of
2
) sorted by null
/external/libmojo/third_party/catapult/devil/devil/utils/
lsusb.py
18
"""Calls
lsusb
-v on device."""
20
['
lsusb
', '-v', '-s', '%s:%s' % (bus_id, dev_id)], timeout=10)
52
'
lsusb
parsing error: unexpected indentation: "%s"', line)
77
logging.error('
lsusb
parsing error: unrecognized line: "%s"', line)
81
def
lsusb
():
function
82
"""Call
lsusb
and return the parsed output."""
84
['
lsusb
'], timeout=10)
95
logging.info('
lsusb
-v %s:%s timed out.', bus_num, dev_num)
99
return cmd_helper.GetCmdOutput(['
lsusb
'])
108
return [serial for serial in (get_lsusb_serial(d) for d in
lsusb
())
[
all
...]
/external/chromium-trace/catapult/devil/devil/utils/
lsusb.py
20
"""Calls
lsusb
-v on device."""
22
['
lsusb
', '-v', '-s', '%s:%s' % (bus_id, dev_id)], timeout=10)
28
# to the
lsusb
output. It looks first for a line containing
50
# e.g. the following
lsusb
output:
106
'
lsusb
parsing error: unexpected indentation: "%s"', line)
133
logger.error('
lsusb
parsing error: unrecognized line: "%s"', line)
137
def
lsusb
():
function
138
"""Call
lsusb
and return the parsed output."""
140
['
lsusb
'], timeout=10)
151
logger.info('
lsusb
-v %s:%s timed out.', bus_num, dev_num
[
all
...]
Completed in 192 milliseconds