Home
last modified time | relevance | path

Searched refs:PacketType (Results 1 – 25 of 61) sorted by relevance

123

/packages/modules/Bluetooth/tools/rootcanal/model/hci/
Dh4_parser.cc37 size_t H4Parser::HciGetPacketLengthForType(PacketType type, in HciGetPacketLengthForType()
40 packet_length_offset[static_cast<size_t>(PacketType::ISO) + 1] = { in HciGetPacketLengthForType()
51 if (type == PacketType::ACL) { in HciGetPacketLengthForType()
54 if (type == PacketType::ISO) { in HciGetPacketLengthForType()
72 case PacketType::COMMAND: in OnPacketReady()
75 case PacketType::ACL: in OnPacketReady()
78 case PacketType::SCO: in OnPacketReady()
81 case PacketType::EVENT: in OnPacketReady()
84 case PacketType::ISO: in OnPacketReady()
91 hci_packet_type_ = PacketType::UNKNOWN; in OnPacketReady()
[all …]
Dhci_socket_transport.cc34 packet_callback(PacketType::COMMAND, packet_copy); in RegisterCallbacks()
42 packet_callback(PacketType::ACL, packet_copy); in RegisterCallbacks()
47 packet_callback(PacketType::SCO, packet_copy); in RegisterCallbacks()
52 packet_callback(PacketType::ISO, packet_copy); in RegisterCallbacks()
59 void HciSocketTransport::Send(PacketType packet_type, in Send()
Dh4_parser.h97 static size_t HciGetPacketLengthForType(PacketType type,
100 PacketType hci_packet_type_{PacketType::UNKNOWN};
Dhci_sniffer.cc46 PacketType packet_type, in AppendRecord()
80 PacketType packet_type, in RegisterCallbacks()
97 void HciSniffer::Send(PacketType packet_type, in Send()
Dhci_transport.h28 PacketType, const std::shared_ptr<std::vector<uint8_t>>)>;
37 virtual void Send(PacketType packet_type,
Dhci_sniffer.h55 void Send(PacketType packet_type,
65 void AppendRecord(PacketDirection direction, PacketType type,
/packages/modules/Bluetooth/tools/rootcanal/test/
Dh4_parser_unittest.cc43 type_ = PacketType::COMMAND; in __anon362f6ab60102()
47 type_ = PacketType::EVENT; in __anon362f6ab60202()
51 type_ = PacketType::ACL; in __anon362f6ab60302()
55 type_ = PacketType::SCO; in __anon362f6ab60402()
59 type_ = PacketType::ISO; in __anon362f6ab60502()
65 PacketType type_;
73 uint8_t typ = (uint8_t)PacketType::ACL; in TEST_F()
81 uint8_t typ = (uint8_t)PacketType::ACL; in TEST_F()
123 std::vector<PacketType> types({PacketType::ACL, PacketType::SCO, in TEST_F()
124 PacketType::COMMAND, PacketType::EVENT, in TEST_F()
[all …]
/packages/modules/Bluetooth/tools/rootcanal/model/devices/
Dhci_device.cc65 transport_->Send(PacketType::EVENT, *packet); in HciDevice()
68 transport_->Send(PacketType::ACL, *packet); in HciDevice()
71 transport_->Send(PacketType::SCO, *packet); in HciDevice()
74 transport_->Send(PacketType::ISO, *packet); in HciDevice()
78 [this](PacketType packet_type, in HciDevice()
81 case PacketType::COMMAND: in HciDevice()
84 case PacketType::ACL: in HciDevice()
87 case PacketType::SCO: in HciDevice()
90 case PacketType::ISO: in HciDevice()
/packages/modules/Bluetooth/system/packet/tests/
Dpacket_test_helper.h28 template <class PacketType>
29 class TestPacketType : public PacketType {
31 using PacketType::PacketType;
33 static std::shared_ptr<TestPacketType<PacketType>> Make() { in Make()
34 return std::shared_ptr<TestPacketType<PacketType>>( in Make()
35 new TestPacketType<PacketType>()); in Make()
38 static std::shared_ptr<TestPacketType<PacketType>> Make( in Make()
40 return std::shared_ptr<TestPacketType<PacketType>>( in Make()
41 new TestPacketType<PacketType>(packet)); in Make()
44 static std::shared_ptr<TestPacketType<PacketType>> Make( in Make()
[all …]
/packages/modules/Bluetooth/system/gd/hal/
Dhci_hal_android.cc85 packet, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketType::EVT); in hciEventReceived()
95 packet, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketType::ACL); in aclDataReceived()
105 packet, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketType::SCO); in scoDataReceived()
115 packet, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketType::ISO); in isoDataReceived()
142 packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::CMD); in sendHciCommand()
148 packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ACL); in sendAclData()
154 packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::SCO); in sendScoData()
160 packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ISO); in sendIsoData()
Dsnoop_logger_test.cc285 …gger->Capture(kInformationRequest, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::CMD); in TEST_F()
308 …gger->Capture(kInformationRequest, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::CMD); in TEST_F()
335 …er->Capture(kSdpConnectionRequest, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ACL); in TEST_F()
362 …snoop_logger->Capture(kAvdtpSuspend, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::AC… in TEST_F()
389 …snoop_logger->Capture(kHfpAtNrec0, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ACL); in TEST_F()
417 kHfpAtNrec0, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ACL); in TEST_F()
477 kInformationRequest, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::CMD); in TEST_F()
499 kInformationRequest, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::CMD); in TEST_F()
501 kInformationRequest, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::CMD); in TEST_F()
529 …gger->Capture(kInformationRequest, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::CMD); in TEST_F()
[all …]
Dhci_hal_host_rootcanal.cc129 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::CMD); in sendHciCommand()
138 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ACL); in sendAclData()
147 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::SCO); in sendScoData()
156 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ISO); in sendIsoData()
288 …ogger_->Capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketType::EVT); in incoming_packet_received()
314 …ogger_->Capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketType::ACL); in incoming_packet_received()
340 …ogger_->Capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketType::SCO); in incoming_packet_received()
366 …ogger_->Capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketType::ISO); in incoming_packet_received()
Dhci_hal_host.cc254 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::CMD); in sendHciCommand()
263 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ACL); in sendAclData()
272 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::SCO); in sendScoData()
281 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ISO); in sendIsoData()
424 …ogger_->Capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketType::EVT); in incoming_packet_received()
454 …ogger_->Capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketType::ACL); in incoming_packet_received()
480 …ogger_->Capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketType::SCO); in incoming_packet_received()
506 …ogger_->Capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketType::ISO); in incoming_packet_received()
Dsnoop_logger.cc371 const HciPacket& packet, SnoopLogger::PacketType type, bool qualcomm_debug_log_enabled) { in delete_old_btsnooz_files()
387 case SnoopLogger::PacketType::CMD: in delete_old_btsnooz_files()
388 case SnoopLogger::PacketType::EVT: in delete_old_btsnooz_files()
392 case SnoopLogger::PacketType::ACL: { in delete_old_btsnooz_files()
421 case SnoopLogger::PacketType::ISO: in delete_old_btsnooz_files()
422 case SnoopLogger::PacketType::SCO: in delete_old_btsnooz_files()
1148 PacketType type, in FilterCapturedPacket()
1151 if (btsnoop_mode_ != kBtSnoopLogModeFiltered || type != PacketType::ACL) { in FilterCapturedPacket()
1190 void SnoopLogger::Capture(const HciPacket& immutable_packet, Direction direction, PacketType type) { in Capture()
1200 case PacketType::CMD: in Capture()
[all …]
/packages/modules/Bluetooth/system/packet/avrcp/
Dvendor_packet.h29 CType ctype, CommandPdu pdu, PacketType packet_type,
38 PacketType packet_type_;
48 VendorPacketBuilder(CType ctype, CommandPdu pdu, PacketType packet_type) in VendorPacketBuilder()
77 PacketType GetPacketType() const;
Dvendor_packet.cc27 CType ctype, CommandPdu pdu, PacketType packet_type, in MakeBuilder()
95 PacketType VendorPacket::GetPacketType() const { in GetPacketType()
97 return static_cast<PacketType>(value); in GetPacketType()
Dcapabilities_packet.h42 PacketType::SINGLE), in GetCapabilitiesRequestBuilder()
101 PacketType::SINGLE), in GetCapabilitiesResponseBuilder()
/packages/services/Car/cpp/computepipe/runner/stream_manager/
DSemanticManager.h40 proto::PacketType getType() const override;
47 const proto::PacketType& type);
55 proto::PacketType mType;
79 explicit SemanticManager(std::string name, int streamId, const proto::PacketType& type);
DSemanticManager.cpp17 proto::PacketType SemanticHandle::getType() const { in getType()
48 const proto::PacketType& type) { in setMemInfo()
174 SemanticManager::SemanticManager(std::string name, int streamId, const proto::PacketType& type) in SemanticManager()
DFactory.cpp65 case proto::PacketType::SEMANTIC_DATA: in getStreamManager()
67 case proto::PacketType::PIXEL_DATA: in getStreamManager()
/packages/services/Car/cpp/computepipe/proto/
DOutputConfig.proto5 enum PacketType { enum
14 optional PacketType type = 2;
/packages/services/Car/cpp/computepipe/runner/client_interface/
DPipeOptionsConverter.cpp108 PipeOutputConfigPacketType ConvertOutputType(proto::PacketType type) { in ConvertOutputType()
110 case proto::PacketType::SEMANTIC_DATA: in ConvertOutputType()
112 case proto::PacketType::PIXEL_DATA: in ConvertOutputType()
114 case proto::PacketType::PIXEL_ZERO_COPY_DATA: in ConvertOutputType()
/packages/modules/Bluetooth/tools/rootcanal/model/controller/
Dlink_layer_controller.cc2284 case model::packets::PacketType::LE_SCAN: in IncomingPacket()
2285 case model::packets::PacketType::LE_SCAN_RESPONSE: in IncomingPacket()
2286 case model::packets::PacketType::LE_LEGACY_ADVERTISING_PDU: in IncomingPacket()
2287 case model::packets::PacketType::LE_EXTENDED_ADVERTISING_PDU: in IncomingPacket()
2288 case model::packets::PacketType::LE_CONNECT: in IncomingPacket()
2328 case model::packets::PacketType::ACL: in IncomingPacket()
2331 case model::packets::PacketType::SCO: in IncomingPacket()
2334 case model::packets::PacketType::LE_CONNECTED_ISOCHRONOUS_PDU: in IncomingPacket()
2337 case model::packets::PacketType::DISCONNECT: in IncomingPacket()
2340 case model::packets::PacketType::LMP: in IncomingPacket()
[all …]
/packages/services/Car/cpp/computepipe/runner/stream_manager/include/
DStreamManager.h58 explicit StreamManager(std::string streamName, const proto::PacketType& type) in StreamManager()
78 proto::PacketType mType;
/packages/modules/Bluetooth/system/profile/avrcp/tests/
Davrcp_test_helper.h135 template <class PacketType>
145 auto packet1 = TestPacketType<PacketType>::Make(); in MatchAndExplain()
148 auto packet2 = TestPacketType<PacketType>::Make(); in MatchAndExplain()

123