Home
last modified time | relevance | path

Searched refs:data_len (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2207/
Dpoc.cpp27 uint8_t data_len = SIZE * 6; in main() local
32 nfa_hci_handle_admin_gate_rsp(data, data_len); in main()
/cts/tools/utils/
Dmonsoon.py282 data_len = len(data) + 1
283 checksum = (data_len + sum(struct.unpack("B" * len(data), data))) % 256
284 out = struct.pack("B", data_len) + data + struct.pack("B", checksum)
295 data_len = struct.unpack("B", len_char)
296 data_len = ord(len_char)
297 if not data_len: return ""
299 result = self.ser.read(data_len)
300 if len(result) != data_len: return None
302 checksum = (data_len + sum(struct.unpack("B" * len(body), body))) % 256
/cts/apps/CtsVerifier/assets/scripts/power_monitors/
Dmonsoon.py389 data_len = len(data) + 1
390 checksum = (data_len + sum(struct.unpack("B" * len(data), data))) % 256
391 out = struct.pack("B", data_len) + data + struct.pack("B", checksum)
402 data_len = struct.unpack("B", len_char)
403 data_len = ord(len_char)
404 if not data_len: return ""
406 result = self.ser.read(data_len)
407 if len(result) != data_len: return None
409 checksum = (data_len + sum(struct.unpack("B" * len(body), body))) % 256