Home
last modified time | relevance | path

Searched refs:PacketView (Results 1 – 25 of 40) sorted by relevance

12

/system/bt/vendor_libs/test_vendor_lib/model/controller/
Ddual_mode_controller.h98 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 …]
Ddual_mode_controller.cc43 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/
Dpacket_view.cc27 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 …]
Dpacket_view.h34 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;
Dpacket_view_unittest.cc26 using bluetooth::packet::PacketView;
71 using PacketViewTypes = ::testing::Types<PacketView<true>, PacketView<false>>;
87 using PacketViewTypes = ::testing::Types<PacketView<true>, PacketView<false>>;
103PacketView<true> packet({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.siz… in TEST()
117PacketView<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()
367PacketView<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/
Dpacket_view.cc27 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 …]
Dpacket_view.h32 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/
Dacl_packet_view.cc28 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()
Dacl_packet_view.h31 class AclPacketView : public PacketView<true> {
36 static AclPacketView Create(PacketView<true> packet_view);
41 PacketView<true> GetPayload() const;
45 AclPacketView(PacketView<true> packet_view);
Dcommand_packet_view.h30 class CommandPacketView : public PacketView<true> {
38 PacketView<true> GetPayload() const;
Dsco_packet_view.h32 class ScoPacketView : public PacketView<true> {
40 PacketView<true> GetPayload() const;
/system/bt/vendor_libs/test_vendor_lib/packets/test/
Dpacket_view_test.cc68 using PacketViewTypes = ::testing::Types<PacketView<true>, PacketView<false>>;
84 using PacketViewTypes = ::testing::Types<PacketView<true>, PacketView<false>>;
100PacketView<true> packet({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.siz… in TEST()
114PacketView<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()
364PacketView<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/
Dio_capability_negative_response_view.h27 class IoCapabilityNegativeResponseView : public PacketView<true> {
43 IoCapabilityNegativeResponseView(const PacketView<true>& view) : PacketView(view) {} in IoCapabilityNegativeResponseView()
Ddisconnect_view.h27 class DisconnectView : public PacketView<true> {
43 DisconnectView(const PacketView<true>& view) : PacketView(view) {} in DisconnectView()
Dpage_response_view.h27 class PageResponseView : public PacketView<true> {
43 PageResponseView(const PacketView<true>& view) : PacketView(view) {} in PageResponseView()
Dencrypt_connection_view.h27 class EncryptConnectionView : public PacketView<true> {
44 EncryptConnectionView(const PacketView<true>& view) : PacketView(view) {} in EncryptConnectionView()
Dpage_view.h27 class PageView : public PacketView<true> {
47 PageView(const PacketView<true>& view) : PacketView(view) {} in PageView()
Dinquiry_view.h28 class InquiryView : public PacketView<true> {
44 InquiryView(const PacketView<true>& view) : PacketView(view) {} in InquiryView()
Dresponse_view.h29 class ResponseView : public PacketView<true> {
49 ResponseView(const PacketView<true>& view) : PacketView(view) {} in ResponseView()
Dcommand_view.h29 class CommandView : public PacketView<true> {
49 CommandView(const PacketView<true>& view) : PacketView(view) {} in CommandView()
Dio_capability_view.h27 class IoCapabilityView : public PacketView<true> {
50 IoCapabilityView(const PacketView<true>& view) : PacketView(view) {} in IoCapabilityView()
Dle_advertisement_view.h30 class LeAdvertisementView : public PacketView<true>, public LeAdvertisement {
52 LeAdvertisementView(const PacketView<true>& view) : PacketView(view) {} in LeAdvertisementView()
Dview_forwarder_builder.h34 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_;
Dcommand_builder.h34 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_;
Dinquiry_response_view.h28 class InquiryResponseView : public PacketView<true> {
68 InquiryResponseView(const PacketView<true>& view) : PacketView(view) {} in InquiryResponseView()

12