Home
last modified time | relevance | path

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

/system/bt/hci/test/
Dpacket_fragmenter_host_test.cc215 while (!partial_packets.empty()) { in FlushPartialPackets()
216 BT_HDR* partial_packet = partial_packets.at(kHandle); in FlushPartialPackets()
217 partial_packets.erase(kHandle); in FlushPartialPackets()
306 CHECK(partial_packets.size() == 0); in TEST_F()
319 CHECK(partial_packets.size() == 0); in TEST_F()
329 CHECK(partial_packets.size() == 0); in TEST_F()
344 CHECK(partial_packets.size() == 1); in TEST_F()
351 CHECK(partial_packets.size() == 0); in TEST_F()
367 CHECK(partial_packets.size() == 1); in TEST_F()
374 CHECK(partial_packets.size() == 1); in TEST_F()
[all …]
/system/bt/hci/src/
Dpacket_fragmenter.cc53 static std::unordered_map<uint16_t /* handle */, BT_HDR*> partial_packets; variable
61 partial_packets.clear(); in cleanup()
391 auto map_iter = partial_packets.find(handle); in reassemble_and_dispatch()
392 if (map_iter != partial_packets.end()) { in reassemble_and_dispatch()
399 partial_packets.erase(map_iter); in reassemble_and_dispatch()
446 partial_packets[handle] = partial_packet; in reassemble_and_dispatch()
451 auto map_iter = partial_packets.find(handle); in reassemble_and_dispatch()
452 if (map_iter == partial_packets.end()) { in reassemble_and_dispatch()
481 partial_packets.erase(handle); in reassemble_and_dispatch()