OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Mtb
(Results
1 - 3
of
3
) sorted by null
/external/autotest/client/site_tests/firmware_TouchMTB/tests/
mtb_unittest.py
5
# This module contains unit tests for the classes in the
mtb
module
14
import
mtb
namespace
18
from firmware_constants import AXIS, GV,
MTB
, PLATFORM, UNIT, VAL
19
from
mtb
import FingerPath, TidPacket
29
parser =
mtb
.MtbParser()
31
mtb_packets =
mtb
.
Mtb
(packets=packets)
35
class FakeMtb(
mtb
.
Mtb
):
36
"""A fake
MTB
class to set up x and y positions directly.""
[
all
...]
/external/autotest/client/site_tests/firmware_TouchMTB/
mtb.py
5
"""This module provides
MTB
parser and related packet methods."""
16
from firmware_constants import AXIS, GV,
MTB
, UNIT, VAL
44
""" A helper function to get
mtb
packets by parsing the event file.
48
return
Mtb
(packets=MtbParser().parse_file(event_file))
57
pretty_event.append('time %.6f,' % event[
MTB
.EV_TIME])
58
if event.get(
MTB
.SYN_REPORT):
61
ev_type = event[
MTB
.EV_TYPE]
63
ev_code = event[
MTB
.EV_CODE]
66
pretty_event.append('value %d' % event[
MTB
.EV_VALUE])
78
if event.get(
MTB
.SYN_REPORT)
[
all
...]
validators.py
11
(2) add proper method in
mtb
.
Mtb
class,
64
import
mtb
namespace
70
from firmware_constants import AXIS, GV,
MTB
, UNIT, VAL
197
self.packets =
mtb
.
Mtb
(device=self.device, packets=packets)
356
final_state_packet =
mtb
.create_final_state_packet(
[
all
...]
Completed in 2527 milliseconds