/system/bt/vendor_libs/linux/interface/ |
D | hci_packetizer.cc | 55 void HciPacketizer::OnDataReady(int fd, HciPacketType packet_type) { in OnDataReady() argument 60 preamble_size_for_type[packet_type] - bytes_read_)); in OnDataReady() 63 if (bytes_read_ == preamble_size_for_type[packet_type]) { in OnDataReady() 65 HciGetPacketLengthForType(packet_type, preamble_); in OnDataReady() 66 packet_.resize(preamble_size_for_type[packet_type] + packet_length); in OnDataReady() 67 memcpy(packet_.data(), preamble_, preamble_size_for_type[packet_type]); in OnDataReady() 78 packet_.data() + preamble_size_for_type[packet_type] + bytes_read_, in OnDataReady()
|
D | hci_packetizer.h | 37 void OnDataReady(int fd, HciPacketType packet_type);
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | hci_packetizer.cc | 58 void HciPacketizer::OnDataReady(int fd, hci::PacketType packet_type) { in OnDataReady() argument 70 …read(fd, preamble_ + bytes_read_, preamble_size[static_cast<uint8_t>(packet_type)] - bytes_read_)); in OnDataReady() 83 if (bytes_read_ == preamble_size[static_cast<uint8_t>(packet_type)]) { in OnDataReady() 84 size_t packet_length = HciGetPacketLengthForType(packet_type, preamble_); in OnDataReady() 85 packet_.resize(preamble_size[static_cast<uint8_t>(packet_type)] + packet_length); in OnDataReady() 86 memcpy(packet_.data(), preamble_, preamble_size[static_cast<uint8_t>(packet_type)]); in OnDataReady() 104 …read(fd, packet_.data() + preamble_size[static_cast<uint8_t>(packet_type)] + bytes_read_, bytes_re… in OnDataReady()
|
D | hci_socket_device.cc | 116 void HciSocketDevice::SendHci(hci::PacketType packet_type, const std::shared_ptr<std::vector<uint8_… in SendHci() argument 121 uint8_t type = static_cast<uint8_t>(packet_type); in SendHci()
|
D | hci_socket_device.h | 46 void SendHci(hci::PacketType packet_type, const std::shared_ptr<std::vector<uint8_t>> packet);
|
D | hci_packetizer.h | 32 void OnDataReady(int fd, hci::PacketType packet_type);
|
/system/bt/packet/avrcp/ |
D | vendor_packet.h | 29 CType ctype, CommandPdu pdu, PacketType packet_type, 48 VendorPacketBuilder(CType ctype, CommandPdu pdu, PacketType packet_type) in VendorPacketBuilder() argument 51 packet_type_(packet_type){}; in VendorPacketBuilder()
|
D | vendor_packet.cc | 23 CType ctype, CommandPdu pdu, PacketType packet_type, in MakeBuilder() argument 31 new VendorPacketBuilder(ctype, pdu, packet_type)); in MakeBuilder()
|
/system/core/debuggerd/tombstoned/ |
D | tombstoned_client.cpp | 48 packet.packet_type = CrashPacketType::kDumpRequest; in tombstoned_connect() 87 packet.packet_type = CrashPacketType::kCompletedDump; in tombstoned_notify_completion()
|
D | tombstoned.cpp | 227 .packet_type = CrashPacketType::kPerformDump in perform_request() 294 if (request.packet_type != CrashPacketType::kDumpRequest) { in crash_request_cb() 296 << StringPrintf("%#2hhX", request.packet_type); in crash_request_cb() 358 if (request.packet_type != CrashPacketType::kCompletedDump) { in crash_completed_cb() 360 << uint32_t(request.packet_type); in crash_completed_cb()
|
/system/core/debuggerd/ |
D | protocol.h | 54 CrashPacketType packet_type; member
|
D | debuggerd_test.cpp | 952 packet.packet_type = CrashPacketType::kDumpRequest; in TEST()
|
/system/bt/hci/src/ |
D | hci_inject.cc | 164 hci_packet_t packet_type = (hci_packet_t)buffer[0]; in read_ready() local 176 buf->event = hci_packet_to_event(packet_type); in read_ready()
|
/system/bt/btif/src/ |
D | btif_bqr.cc | 106 std::string PacketTypeToString(uint8_t packet_type) { in PacketTypeToString() argument 107 switch (packet_type) { in PacketTypeToString()
|
/system/bt/btif/include/ |
D | btif_bqr.h | 220 std::string PacketTypeToString(uint8_t packet_type);
|
/system/bt/tools/scripts/ |
D | dump_hearingaid_audio.py | 257 packet_type, data = unpack_data(data, 1) 258 if packet_type == 0x02: 261 elif packet_type == 0x04:
|
/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/ |
D | link_layer_packet_builder.cc | 145 Link::PacketType packet_type = received.GetType(); in ReWrap() local 151 new LinkLayerPacketBuilder(packet_type, std::move(builder), source, dest)); in ReWrap()
|
/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
D | dual_mode_controller.cc | 519 uint16_t packet_type = args_itr.extract<uint16_t>(); in HciChangeConnectionPacketType() local 521 hci::Status status = link_layer_controller_.ChangeConnectionPacketType(handle, packet_type); in HciChangeConnectionPacketType() 856 uint16_t packet_type = args_itr.extract<uint16_t>(); in HciCreateConnection() local 862 …link_layer_controller_.CreateConnection(address, packet_type, page_scan_mode, clock_offset, allow_… in HciCreateConnection()
|
D | link_layer_controller.h | 69 …hci::Status CreateConnection(const Address& addr, uint16_t packet_type, uint8_t page_scan_mode, ui…
|
/system/bt/vendor_libs/test_vendor_lib/packets/hci/ |
D | event_packet_builder.h | 186 uint16_t packet_type);
|
D | event_packet_builder.cc | 434 … uint16_t packet_type) { in CreateConnectionPacketTypeChangedEvent() argument 439 CHECK(evt_ptr->AddPayloadOctets2(packet_type)); in CreateConnectionPacketTypeChangedEvent()
|
/system/bt/stack/include/ |
D | hcimsgs.h | 456 extern void btsnd_hcic_enhanced_flush(uint16_t handle, uint8_t packet_type);
|
/system/bt/stack/hcic/ |
D | hcicmds.cc | 1262 void btsnd_hcic_enhanced_flush(uint16_t handle, uint8_t packet_type) { in btsnd_hcic_enhanced_flush() argument 1272 UINT8_TO_STREAM(pp, packet_type); in btsnd_hcic_enhanced_flush()
|