Searched refs:MTB (Results 1 – 6 of 6) sorted by relevance
/external/autotest/client/site_tests/firmware_TouchMTB/ |
D | mtb.py | 16 from firmware_constants import AXIS, GV, MTB, UNIT, VAL 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): 79 evemu_event = evemu_format_syn_report % event[MTB.EV_TIME] 81 evemu_event = evemu_format % (event[MTB.EV_TIME], 82 event[MTB.EV_TYPE], [all …]
|
D | firmware_constants.py | 163 MTB = _MTB() variable 164 MTB.EV_TIME = 'EV_TIME' 165 MTB.EV_TYPE = 'EV_TYPE' 166 MTB.EV_CODE = 'EV_CODE' 167 MTB.EV_VALUE = 'EV_VALUE' 168 MTB.SYN_REPORT = 'SYN_REPORT' 169 MTB.SLOT = 'slot' 170 MTB.POINTS = 'points'
|
D | control | 7 PURPOSE = 'Verify the MTB packets generated by touch device firmware.'
|
D | validators.py | 70 from firmware_constants import AXIS, GV, MTB, UNIT, VAL 1099 slot = displacements[tid][MTB.SLOT]
|
/external/autotest/client/site_tests/firmware_TouchMTB/tests/ |
D | validators_unittest.py | 18 from firmware_constants import AXIS, GV, MTB, PLATFORM, VAL 840 self.assertTrue(final_state_packet[0][MTB.EV_VALUE] == 2) 841 self.assertTrue(final_state_packet[1][MTB.EV_VALUE] == 2427) 842 self.assertTrue(final_state_packet[2][MTB.EV_VALUE] == 670) 843 self.assertTrue(final_state_packet[3][MTB.EV_VALUE] == 361) 844 self.assertTrue(final_state_packet[4][MTB.EV_VALUE] == 26) 847 self.assertTrue(final_state_packet[5][MTB.EV_VALUE] == 3) 848 self.assertTrue(final_state_packet[6][MTB.EV_VALUE] == 2426) 849 self.assertTrue(final_state_packet[7][MTB.EV_VALUE] == 670) 850 self.assertTrue(final_state_packet[8][MTB.EV_VALUE] == 368) [all …]
|
D | mtb_unittest.py | 18 from firmware_constants import AXIS, GV, MTB, PLATFORM, UNIT, VAL
|