Searched refs:_SendStruct (Results 1 – 2 of 2) sorted by relevance
/cts/tools/utils/ |
D | monsoon.py | 144 self._SendStruct("BBB", 0x01, 0x00, 0x00) 183 self._SendStruct("BBB", 0x01, 0x01, 0x00) 185 self._SendStruct("BBB", 0x01, 0x01, int((v - 2.0) * 100)) 193 self._SendStruct("BBB", 0x01, 0x0a, val & 0xff) 194 self._SendStruct("BBB", 0x01, 0x0b, val >> 8) 198 self._SendStruct("BBB", 0x01, 0x10, val) 203 self._SendStruct("BBB", 0x01, 0x1b, 0x01) # Mystery command 204 self._SendStruct("BBBBBBB", 0x02, 0xff, 0xff, 0xff, 0xff, 0x03, 0xe8) 209 self._SendStruct("BB", 0x03, 0x00) # stop 265 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
|