Searched refs:PacketType (Results 1 – 8 of 8) sorted by relevance
/hardware/interfaces/bluetooth/hci/ |
D | h4_protocol.cc | 43 size_t H4Protocol::Send(PacketType type, const std::vector<uint8_t>& vector) { in Send() 47 size_t H4Protocol::Send(PacketType type, const uint8_t* data, size_t length) { in Send() 75 case PacketType::COMMAND: in OnPacketReady() 78 case PacketType::ACL_DATA: in OnPacketReady() 81 case PacketType::SCO_DATA: in OnPacketReady() 84 case PacketType::EVENT: in OnPacketReady() 87 case PacketType::ISO_DATA: in OnPacketReady() 102 if (hci_packet_type_ == PacketType::UNKNOWN) { in SendDataToPacketizer() 104 static_cast<PacketType>(input_buffer.data()[buffer_offset]); in SendDataToPacketizer() 113 hci_packet_type_ = PacketType::UNKNOWN; in SendDataToPacketizer()
|
D | h4_protocol.h | 36 size_t Send(PacketType type, const uint8_t* data, size_t length); 37 size_t Send(PacketType type, const std::vector<uint8_t>& data); 56 PacketType hci_packet_type_{PacketType::UNKNOWN};
|
D | hci_packetizer.cc | 39 size_t HciGetPacketLengthForType(PacketType type, in HciGetPacketLengthForType() 42 if (type != PacketType::ACL_DATA && type != PacketType::ISO_DATA) { in HciGetPacketLengthForType() 52 bool HciPacketizer::OnDataReady(PacketType packet_type, in OnDataReady()
|
D | hci_packetizer.h | 30 bool OnDataReady(PacketType packet_type, const std::vector<uint8_t>& data,
|
D | hci_internals.h | 24 enum class PacketType : uint8_t { enum
|
/hardware/interfaces/bluetooth/hci/test/ |
D | h4_protocol_unittest.cc | 97 void SendAndReadUartOutbound(PacketType type, char* data) { in SendAndReadUartOutbound() 124 header_[0] = static_cast<uint8_t>(PacketType::ACL_DATA); in ExpectInboundAclData() 151 header_[0] = static_cast<uint8_t>(PacketType::SCO_DATA); in ExpectInboundScoData() 169 header_[0] = static_cast<uint8_t>(PacketType::EVENT); in ExpectInboundEvent() 179 char preamble[3] = {static_cast<uint8_t>(PacketType::EVENT), 9, 0}; in WriteInboundEvent() 188 header_[0] = static_cast<uint8_t>(PacketType::ISO_DATA); in ExpectInboundIsoData() 210 char preamble[5] = {static_cast<uint8_t>(PacketType::ACL_DATA), 19, 92, 0, in WriteAndExpectManyInboundAclDataPackets() 232 char preamble[5] = {static_cast<uint8_t>(PacketType::ACL_DATA), 19, 92, 0, in WriteAndExpectManyAclDataPacketsDifferentOffsetsShort() 286 SendAndReadUartOutbound(PacketType::COMMAND, sample_data1); in TEST_F() 287 SendAndReadUartOutbound(PacketType::ACL_DATA, sample_data2); in TEST_F() [all …]
|
/hardware/interfaces/bluetooth/aidl/default/ |
D | BluetoothHci.cpp | 185 ndk::ScopedAStatus result = send(PacketType::COMMAND, reset); in reset() 330 return send(PacketType::COMMAND, packet); in sendHciCommand() 335 return send(PacketType::ACL_DATA, packet); in sendAclData() 340 return send(PacketType::SCO_DATA, packet); in sendScoData() 345 return send(PacketType::ISO_DATA, packet); in sendIsoData() 348 ndk::ScopedAStatus BluetoothHci::send(PacketType type, in send()
|
D | BluetoothHci.h | 70 ::android::hardware::bluetooth::hci::PacketType type,
|