/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
D | dual_mode_controller.h | 98 void HciInquiry(packets::PacketView<true> args); 101 void HciInquiryCancel(packets::PacketView<true> args); 104 void HciCreateConnection(packets::PacketView<true> args); 107 void HciDisconnect(packets::PacketView<true> args); 110 void HciAcceptConnectionRequest(packets::PacketView<true> args); 113 void HciRejectConnectionRequest(packets::PacketView<true> args); 116 void HciLinkKeyRequestReply(packets::PacketView<true> args); 119 void HciLinkKeyRequestNegativeReply(packets::PacketView<true> args); 122 void HciChangeConnectionPacketType(packets::PacketView<true> args); 125 void HciAuthenticationRequested(packets::PacketView<true> args); [all …]
|
D | dual_mode_controller.cc | 43 size_t LastNonZero(test_vendor_lib::packets::PacketView<true> view) { in LastNonZero() 141 …active_hci_commands_[static_cast<uint16_t>(opcode)] = [this](packets::PacketView<true> param) { me… in DualModeController() 223 void DualModeController::HciSniffSubrating(packets::PacketView<true> args) { in HciSniffSubrating() 305 void DualModeController::HciReset(packets::PacketView<true> args) { in HciReset() 312 void DualModeController::HciReadBufferSize(packets::PacketView<true> args) { in HciReadBufferSize() 322 void DualModeController::HciHostBufferSize(packets::PacketView<true> args) { in HciHostBufferSize() 327 void DualModeController::HciReadLocalVersionInformation(packets::PacketView<true> args) { in HciReadLocalVersionInformation() 336 void DualModeController::HciReadRemoteVersionInformation(packets::PacketView<true> args) { in HciReadRemoteVersionInformation() 347 void DualModeController::HciReadBdAddr(packets::PacketView<true> args) { in HciReadBdAddr() 354 void DualModeController::HciReadLocalSupportedCommands(packets::PacketView<true> args) { in HciReadLocalSupportedCommands() [all …]
|
/system/bt/gd/packet/ |
D | packet_view.cc | 27 PacketView<little_endian>::PacketView(const std::forward_list<class View> fragments) in PacketView() function in bluetooth::packet::PacketView 35 PacketView<little_endian>::PacketView(std::shared_ptr<std::vector<uint8_t>> packet) in PacketView() function in bluetooth::packet::PacketView 39 Iterator<little_endian> PacketView<little_endian>::begin() const { in begin() 44 Iterator<little_endian> PacketView<little_endian>::end() const { in end() 49 uint8_t PacketView<little_endian>::operator[](size_t index) const { in operator []() 54 uint8_t PacketView<little_endian>::at(size_t index) const { in at() 67 size_t PacketView<little_endian>::size() const { in size() 72 std::forward_list<View> PacketView<little_endian>::GetSubviewList(size_t begin, size_t end) const { in GetSubviewList() 93 PacketView<true> PacketView<little_endian>::GetLittleEndianSubview(size_t begin, size_t end) const { in GetLittleEndianSubview() 94 return PacketView<true>(GetSubviewList(begin, end)); in GetLittleEndianSubview() [all …]
|
D | packet_view.h | 34 class PacketView { 36 PacketView(const std::forward_list<class View> fragments); 37 PacketView(const PacketView& PacketView) = default; 38 PacketView(std::shared_ptr<std::vector<uint8_t>> packet); 39 virtual ~PacketView() = default; 51 PacketView<true> GetLittleEndianSubview(size_t begin, size_t end) const; 53 PacketView<false> GetBigEndianSubview(size_t begin, size_t end) const; 58 PacketView<little_endian>() = delete;
|
D | packet_view_unittest.cc | 26 using bluetooth::packet::PacketView; 71 using PacketViewTypes = ::testing::Types<PacketView<true>, PacketView<false>>; 87 using PacketViewTypes = ::testing::Types<PacketView<true>, PacketView<false>>; 103 …PacketView<true> packet({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.siz… in TEST() 117 …PacketView<false> packet({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.si… in TEST() 294 class SubPacketView : public PacketView<true> { 296 using PacketView<true>::PacketView; 297 PacketView<true> Slice(size_t header, size_t tail) { in Slice() 298 return PacketView<true>::GetLittleEndianSubview(header, tail); in Slice() 367 …PacketView<true> view({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.size(… in TEST() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/packets/ |
D | packet_view.cc | 27 PacketView<little_endian>::PacketView(const std::forward_list<class View> fragments) in PacketView() function in test_vendor_lib::packets::PacketView 35 PacketView<little_endian>::PacketView(std::shared_ptr<std::vector<uint8_t>> packet) in PacketView() function in test_vendor_lib::packets::PacketView 39 Iterator<little_endian> PacketView<little_endian>::begin() const { in begin() 44 Iterator<little_endian> PacketView<little_endian>::end() const { in end() 49 uint8_t PacketView<little_endian>::operator[](size_t index) const { in operator []() 54 uint8_t PacketView<little_endian>::at(size_t index) const { in at() 67 size_t PacketView<little_endian>::size() const { in size() 72 std::forward_list<View> PacketView<little_endian>::SubViewList(size_t begin, size_t end) const { in SubViewList() 92 PacketView<true> PacketView<little_endian>::SubViewLittleEndian(size_t begin, size_t end) const { in SubViewLittleEndian() 93 return PacketView<true>(SubViewList(begin, end)); in SubViewLittleEndian() [all …]
|
D | packet_view.h | 32 class PacketView { 34 PacketView(const std::forward_list<class View> fragments); 35 PacketView(const PacketView& PacketView) = default; 36 virtual ~PacketView() = default; 48 PacketView<true> SubViewLittleEndian(size_t begin, size_t end) const; 50 PacketView<false> SubViewBigEndian(size_t begin, size_t end) const; 53 PacketView(std::shared_ptr<std::vector<uint8_t>> packet); 58 PacketView<little_endian>() = delete;
|
/system/bt/vendor_libs/test_vendor_lib/packets/hci/ |
D | acl_packet_view.cc | 28 AclPacketView::AclPacketView(std::shared_ptr<std::vector<uint8_t>> packet) : PacketView<true>(packe… in AclPacketView() 30 AclPacketView::AclPacketView(PacketView<true> packet_view) : PacketView<true>(packet_view) {} in AclPacketView() 36 AclPacketView AclPacketView::Create(PacketView<true> packet_view) { in Create() 52 PacketView<true> AclPacketView::GetPayload() const { in GetPayload()
|
D | acl_packet_view.h | 31 class AclPacketView : public PacketView<true> { 36 static AclPacketView Create(PacketView<true> packet_view); 41 PacketView<true> GetPayload() const; 45 AclPacketView(PacketView<true> packet_view);
|
D | command_packet_view.h | 30 class CommandPacketView : public PacketView<true> { 38 PacketView<true> GetPayload() const;
|
D | sco_packet_view.h | 32 class ScoPacketView : public PacketView<true> { 40 PacketView<true> GetPayload() const;
|
/system/bt/vendor_libs/test_vendor_lib/packets/test/ |
D | packet_view_test.cc | 68 using PacketViewTypes = ::testing::Types<PacketView<true>, PacketView<false>>; 84 using PacketViewTypes = ::testing::Types<PacketView<true>, PacketView<false>>; 100 …PacketView<true> packet({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.siz… in TEST() 114 …PacketView<false> packet({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.si… in TEST() 291 class SubPacketView : public PacketView<true> { 293 using PacketView<true>::PacketView; 294 PacketView<true> Slice(size_t header, size_t tail) { in Slice() 295 return PacketView<true>::SubViewLittleEndian(header, tail); in Slice() 364 …PacketView<true> view({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.size(… in TEST() 365 PacketView<true> sub_1_view = view.SubViewLittleEndian(0, view.size()); in TEST() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/ |
D | io_capability_negative_response_view.h | 27 class IoCapabilityNegativeResponseView : public PacketView<true> { 43 IoCapabilityNegativeResponseView(const PacketView<true>& view) : PacketView(view) {} in IoCapabilityNegativeResponseView()
|
D | disconnect_view.h | 27 class DisconnectView : public PacketView<true> { 43 DisconnectView(const PacketView<true>& view) : PacketView(view) {} in DisconnectView()
|
D | page_response_view.h | 27 class PageResponseView : public PacketView<true> { 43 PageResponseView(const PacketView<true>& view) : PacketView(view) {} in PageResponseView()
|
D | encrypt_connection_view.h | 27 class EncryptConnectionView : public PacketView<true> { 44 EncryptConnectionView(const PacketView<true>& view) : PacketView(view) {} in EncryptConnectionView()
|
D | page_view.h | 27 class PageView : public PacketView<true> { 47 PageView(const PacketView<true>& view) : PacketView(view) {} in PageView()
|
D | inquiry_view.h | 28 class InquiryView : public PacketView<true> { 44 InquiryView(const PacketView<true>& view) : PacketView(view) {} in InquiryView()
|
D | response_view.h | 29 class ResponseView : public PacketView<true> { 49 ResponseView(const PacketView<true>& view) : PacketView(view) {} in ResponseView()
|
D | command_view.h | 29 class CommandView : public PacketView<true> { 49 CommandView(const PacketView<true>& view) : PacketView(view) {} in CommandView()
|
D | io_capability_view.h | 27 class IoCapabilityView : public PacketView<true> { 50 IoCapabilityView(const PacketView<true>& view) : PacketView(view) {} in IoCapabilityView()
|
D | le_advertisement_view.h | 30 class LeAdvertisementView : public PacketView<true>, public LeAdvertisement { 52 LeAdvertisementView(const PacketView<true>& view) : PacketView(view) {} in LeAdvertisementView()
|
D | view_forwarder_builder.h | 34 static std::unique_ptr<ViewForwarderBuilder> Create(PacketView<true> view) { in Create() 49 explicit ViewForwarderBuilder(PacketView<true> view) : view_(view) {} in ViewForwarderBuilder() 50 PacketView<true> view_;
|
D | command_builder.h | 34 static std::unique_ptr<CommandBuilder> Create(uint16_t opcode, PacketView<true> args) { in Create() 51 explicit CommandBuilder(uint16_t opcode, PacketView<true> args) : opcode_(opcode), args_(args) {} in CommandBuilder() 53 PacketView<true> args_;
|
D | inquiry_response_view.h | 28 class InquiryResponseView : public PacketView<true> { 68 InquiryResponseView(const PacketView<true>& view) : PacketView(view) {} in InquiryResponseView()
|