Home
last modified time | relevance | path

Searched refs:received_bytes (Results 1 – 2 of 2) sorted by relevance

/packages/modules/adb/
Dtransport_benchmark.cpp64 std::atomic<size_t> received_bytes; in BM_Connection_Unidirectional() local
67 … server->SetReadCallback([&received_bytes](Connection*, std::unique_ptr<apacket> packet) -> bool { in BM_Connection_Unidirectional()
68 received_bytes += packet->payload.size(); in BM_Connection_Unidirectional()
90 received_bytes = 0; in BM_Connection_Unidirectional()
92 while (received_bytes < data_size) { in BM_Connection_Unidirectional()
119 std::atomic<size_t> received_bytes; in BM_Connection_Echo() local
124 … client->SetReadCallback([&received_bytes](Connection*, std::unique_ptr<apacket> packet) -> bool { in BM_Connection_Echo()
125 received_bytes += packet->payload.size(); in BM_Connection_Echo()
164 received_bytes = 0; in BM_Connection_Echo()
166 while (received_bytes < data_size) { in BM_Connection_Echo()
/packages/modules/Bluetooth/tools/rootcanal/scripts/
Dsend_simple_commands.py132 received_bytes = bytearray(received)
133 print(raw(received_bytes))