Home
last modified time | relevance | path

Searched refs:HciPacketType (Results 1 – 7 of 7) sorted by relevance

/system/bt/gd/rust/hal/src/
Drootcanal_hal.rs21 enum HciPacketType { enum
88 if buffer[0] == HciPacketType::Event as u8 { in dispatch_incoming()
101 } else if buffer[0] == HciPacketType::Acl as u8 { in dispatch_incoming()
114 } else if buffer[0] == HciPacketType::Iso as u8 { in dispatch_incoming()
143 …Some(cmd) = cmd_rx.recv() => write_with_type(&mut writer, HciPacketType::Command, cmd.to_bytes()).… in dispatch_outgoing()
144 …Some(acl) = acl_rx.recv() => write_with_type(&mut writer, HciPacketType::Acl, acl.to_bytes()).awai… in dispatch_outgoing()
145 …Some(iso) = iso_rx.recv() => write_with_type(&mut writer, HciPacketType::Iso, iso.to_bytes()).awai… in dispatch_outgoing()
153 async fn write_with_type<W>(writer: &mut W, t: HciPacketType, b: Bytes) -> Result<()> in write_with_type() argument
/system/bt/vendor_libs/linux/interface/
Dhci_packetizer.cc35 size_t HciGetPacketLengthForType(HciPacketType type, const uint8_t* preamble) { in HciGetPacketLengthForType()
55 void HciPacketizer::OnDataReady(int fd, HciPacketType packet_type) { in OnDataReady()
Dhci_internals.h22 enum HciPacketType { enum
Dhci_packetizer.h37 void OnDataReady(int fd, HciPacketType packet_type);
Dh4_protocol.h58 HciPacketType hci_packet_type_{HCI_PACKET_TYPE_UNKNOWN};
Dh4_protocol.cc101 hci_packet_type_ = static_cast<HciPacketType>(tpkt.data()[0]); in OnDataReady()
/system/bt/hci/src/
Dhci_layer_linux.cc87 enum HciPacketType { enum