Searched refs:_SendStruct (Results 1 – 2 of 2) sorted by relevance
/cts/tools/utils/ |
D | monsoon.py | 153 self._SendStruct("BBB", 0x01, 0x00, 0x00) 192 self._SendStruct("BBB", 0x01, 0x01, 0x00) 194 self._SendStruct("BBB", 0x01, 0x01, int((v - 2.0) * 100)) 202 self._SendStruct("BBB", 0x01, 0x0a, val & 0xff) 203 self._SendStruct("BBB", 0x01, 0x0b, val >> 8) 207 self._SendStruct("BBB", 0x01, 0x10, val) 212 self._SendStruct("BBB", 0x01, 0x1b, 0x01) # Mystery command 213 self._SendStruct("BBBBBBB", 0x02, 0xff, 0xff, 0xff, 0xff, 0x03, 0xe8) 218 self._SendStruct("BB", 0x03, 0x00) # stop 279 def _SendStruct(self, fmt, *args): member in Monsoon
|
/cts/apps/CtsVerifier/assets/scripts/power_monitors/ |
D | monsoon.py | 259 self._SendStruct("BBB", 0x01, 0x00, 0x00) 300 self._SendStruct("BBB", 0x01, 0x01, 0x00) 302 self._SendStruct("BBB", 0x01, 0x01, int((v - 2.0) * 100)) 310 self._SendStruct("BBB", 0x01, 0x0a, val & 0xff) 311 self._SendStruct("BBB", 0x01, 0x0b, val >> 8) 316 self._SendStruct("BBB", 0x01, 0x10, val) 321 self._SendStruct("BBB", 0x01, 0x1b, 0x01) # Mystery command 322 self._SendStruct("BBBBBBB", 0x02, 0xff, 0xff, 0xff, 0xff, 0x03, 0xe8) 328 self._SendStruct("BB", 0x03, 0x00) # stop 386 def _SendStruct(self, fmt, *args): member in Power_Monitor
|