Home
last modified time | relevance | path

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

/system/bt/main/shim/
Dhelpers.h120 std::vector<uint8_t> packet_vector(packet->begin(), packet->end()); in MakeLegacyBtHdrPacket()
122 osi_calloc(packet_vector.size() + preamble.size() + sizeof(BT_HDR))); in MakeLegacyBtHdrPacket()
124 std::copy(packet_vector.begin(), packet_vector.end(), in MakeLegacyBtHdrPacket()
126 buffer->len = preamble.size() + packet_vector.size(); in MakeLegacyBtHdrPacket()
Dl2c_api.cc226 std::vector<uint8_t> packet_vector(packet->begin(), packet->end()); in on_incoming_data() local
228 static_cast<BT_HDR*>(osi_calloc(packet_vector.size() + sizeof(BT_HDR))); in on_incoming_data()
229 std::copy(packet_vector.begin(), packet_vector.end(), buffer->data); in on_incoming_data()
230 buffer->len = packet_vector.size(); in on_incoming_data()
918 std::vector<uint8_t> packet_vector(packet->begin(), packet->end()); in on_incoming_data() local
920 static_cast<BT_HDR*>(osi_calloc(packet_vector.size() + sizeof(BT_HDR))); in on_incoming_data()
921 std::copy(packet_vector.begin(), packet_vector.end(), buffer->data); in on_incoming_data()
922 buffer->len = packet_vector.size(); in on_incoming_data()
1414 std::vector<uint8_t> packet_vector(packet->begin(), packet->end()); in on_incoming_data() local
1416 static_cast<BT_HDR*>(osi_calloc(packet_vector.size() + sizeof(BT_HDR))); in on_incoming_data()
[all …]
/system/bt/gd/l2cap/classic/internal/
Dsignalling_manager.cc637 std::vector<uint8_t> packet_vector{packet.begin(), packet.end()}; in OnEchoRequest() local
639 raw_builder->AddOctets(packet_vector); in OnEchoRequest()