Home
last modified time | relevance | path

Searched refs:AddOctets (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Bluetooth/system/gd/packet/
Draw_builder.cc30 bool RawBuilder::AddOctets(size_t octets, const std::vector<uint8_t>& bytes) { in AddOctets() function in bluetooth::packet::RawBuilder
42 bool RawBuilder::AddOctets(const std::vector<uint8_t>& bytes) { in AddOctets() function in bluetooth::packet::RawBuilder
43 return AddOctets(bytes.size(), bytes); in AddOctets()
46 bool RawBuilder::AddOctets(size_t octets, uint64_t value) { in AddOctets() function in bluetooth::packet::RawBuilder
62 return AddOctets(octets, val_vector); in AddOctets()
66 return AddOctets(1, value); in AddOctets1()
70 return AddOctets(2, value); in AddOctets2()
74 return AddOctets(3, value); in AddOctets3()
78 return AddOctets(4, value); in AddOctets4()
82 return AddOctets(6, value); in AddOctets6()
[all …]
Draw_builder_unittest.cc51 count_builder->AddOctets(std::array<uint8_t, 6>{0x10, 0x11, 0x12, 0x13, 0x14, 0x15}); in TEST()
53 count_builder->AddOctets(count_subset); in TEST()
74 count_builder->AddOctets(count_last); in TEST()
89 ASSERT_TRUE(count_builder->AddOctets(count)); in TEST()
96 ASSERT_FALSE(count_builder->AddOctets(count_last)); in TEST()
Draw_builder.h46 bool AddOctets(size_t octets, const std::vector<uint8_t>& bytes);
51 bool AddOctets(const std::array<uint8_t, N>& bytes) { in AddOctets() function
60 bool AddOctets(const std::vector<uint8_t>& bytes);
73 bool AddOctets(size_t octets, uint64_t value);
/packages/modules/Bluetooth/system/gd/hci/
Dacl_builder_test.cc63 count_payload->AddOctets(counting_bytes); in TEST()
96 counting_down_bytes_payload->AddOctets(counting_down_bytes); in TEST()
129 payload->AddOctets(payload_bytes); in TEST()
Dhci_layer_test.cc563 acl_payload->AddOctets(bd_addr.address); in TEST_F()
583 acl_payload2->AddOctets(bd_addr.address); in TEST_F()
606 acl_payload->AddOctets(bd_addr.address); in TEST_F()
Dcontroller_test.cc194 payload->AddOctets(payload_bytes); in HandleCommand()
/packages/modules/Bluetooth/system/gd/security/test/
Dfake_l2cap_test.cc114 packet_one->AddOctets({1, 2, 3}); in TEST_F()
Dpairing_handler_le_pair_test.cc443 view_to_packet->AddOctets(std::vector(first_pkt->begin(), first_pkt->end())); in TEST_F()
/packages/modules/Bluetooth/system/gd/l2cap/internal/
Dbasic_mode_channel_data_controller_test.cc31 raw_builder->AddOctets(payload); in CreateSdu()
Dsender_test.cc40 raw_builder->AddOctets(payload); in CreateSdu()
Dscheduler_fifo_test.cc40 raw_builder->AddOctets(payload); in CreateSdu()
Denhanced_retransmission_mode_channel_data_controller_test.cc33 raw_builder->AddOctets(payload); in CreateSdu()
/packages/modules/Bluetooth/system/gd/l2cap/le/
Dfacade.cc253 packet_one->AddOctets(packet); in enqueue_callback()
407 packet_one->AddOctets(packet); in enqueue_callback()
/packages/modules/Bluetooth/system/btif/test/
Dbtif_core_test.cc983 payload->AddOctets({'d', 'a', 't', 'a'}); in TEST_F()
1038 payload->AddOctets({'d', 'a', 't', 'a'}); in TEST_F()
1111 payload->AddOctets({'d', 'a', 't', 'a'}); in TEST_F()
/packages/modules/Bluetooth/system/main/shim/
Dhelpers.h118 payload->AddOctets(bytes); in MakeUniquePacket()
Dhci_layer.cc126 payload->AddOctets(bytes); in MakeUniquePacket()
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dround_robin_scheduler_test.cc119 packet_one->AddOctets(packet); in enqueue_callback()
/packages/modules/Bluetooth/system/gd/l2cap/classic/
Dfacade.cc419 packet_one->AddOctets(packet); in SendPacket()
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/
Dsignalling_manager.cc657 raw_builder->AddOctets(packet_vector); in OnEchoRequest()