Home
last modified time | relevance | path

Searched refs:packet_type (Results 1 – 25 of 34) sorted by relevance

12

/system/bt/vendor_libs/linux/interface/
Dhci_packetizer.cc55 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()
Dhci_packetizer.h37 void OnDataReady(int fd, HciPacketType packet_type);
/system/bt/packet/avrcp/
Dvendor_packet.h29 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()
Dvendor_packet.cc23 CType ctype, CommandPdu pdu, PacketType packet_type, in MakeBuilder() argument
31 new VendorPacketBuilder(ctype, pdu, packet_type)); in MakeBuilder()
/system/bt/tools/scripts/
Dbtsnoop_live.py263 packet_type = struct.unpack(">B", snoop_data[0:1])[0]
264 if packet_type == 1:
267 elif packet_type == 2:
273 elif packet_type == 3:
279 elif packet_type == 4:
Ddump_hearingaid_audio.py304 packet_type, data = unpack_data(data, 1)
305 if packet_type == 0x02:
308 elif packet_type == 0x04:
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dhci_socket_device.cc122 PacketType packet_type, in SendHci() argument
126 static_cast<int>(packet_type)); in SendHci()
129 uint8_t type = static_cast<uint8_t>(packet_type); in SendHci()
Dhci_socket_device.h42 void SendHci(PacketType packet_type,
/system/core/debuggerd/tombstoned/
Dtombstoned_client.cpp53 packet.packet_type = CrashPacketType::kDumpRequest; in tombstoned_connect()
102 packet.packet_type = CrashPacketType::kCompletedDump; in tombstoned_notify_completion()
Dtombstoned.cpp302 TombstonedCrashPacket response = {.packet_type = CrashPacketType::kPerformDump}; in perform_request()
372 if (request.packet_type != CrashPacketType::kDumpRequest) { in crash_request_cb()
374 << StringPrintf("%#2hhX", request.packet_type); in crash_request_cb()
445 if (request.packet_type != CrashPacketType::kCompletedDump) { in crash_completed()
447 << uint32_t(request.packet_type); in crash_completed()
/system/core/debuggerd/
Dprotocol.h54 CrashPacketType packet_type; member
/system/bt/hci/src/
Dhci_inject.cc167 hci_packet_t packet_type = (hci_packet_t)buffer[0]; in read_ready() local
179 buf->event = hci_packet_to_event(packet_type); in read_ready()
/system/bt/gd/hci/acl_manager/
Dconnection_management_callbacks.h31 virtual void OnConnectionPacketTypeChanged(uint16_t packet_type) = 0;
Dclassic_acl_connection.h41 virtual bool ChangeConnectionPacketType(uint16_t packet_type);
Dclassic_acl_connection.cc56 void OnConnectionPacketTypeChanged(uint16_t packet_type) override { in OnConnectionPacketTypeChanged() argument
57 SAVE_OR_CALL(OnConnectionPacketTypeChanged, packet_type) in OnConnectionPacketTypeChanged()
370 bool ClassicAclConnection::ChangeConnectionPacketType(uint16_t packet_type) { in ChangeConnectionPacketType() argument
372 ChangeConnectionPacketTypeBuilder::Create(handle_, packet_type), in ChangeConnectionPacketType()
/system/bt/main/shim/
Dacl_legacy_interface.h79 void (*on_packet_type_changed)(uint16_t packet_type);
/system/bt/btif/include/
Dbtif_bqr.h308 std::string PacketTypeToString(uint8_t packet_type);
/system/bt/btif/src/
Dbtif_bqr.cc165 std::string PacketTypeToString(uint8_t packet_type) { in PacketTypeToString() argument
166 switch (packet_type) { in PacketTypeToString()
/system/bt/gd/l2cap/classic/internal/
Dlink.cc315 void Link::OnConnectionPacketTypeChanged(uint16_t packet_type) { in OnConnectionPacketTypeChanged() argument
316 LOG_INFO("UNIMPLEMENTED %s packet_type:%x", __func__, packet_type); in OnConnectionPacketTypeChanged()
Dlink.h154 void OnConnectionPacketTypeChanged(uint16_t packet_type) override;
/system/bt/test/mock/
Dmock_hcic_hcicmds.cc99 void btsnd_hcic_enhanced_flush(uint16_t handle, uint8_t packet_type) { in btsnd_hcic_enhanced_flush() argument
/system/bt/gd/hci/facade/
Dacl_manager_facade.cc404 void OnConnectionPacketTypeChanged(uint16_t packet_type) override { in OnConnectionPacketTypeChanged() argument
405 LOG_INFO("OnConnectionPacketTypeChanged packet_type:%d", packet_type); in OnConnectionPacketTypeChanged()
/system/bt/gd/rust/link/src/acl/classic/
Dmod.rs247 packet_type: 0x4408 /* DM 1,3,5 */ | 0x8810, /*DH 1,3,5 */ in build_create_connection()
/system/bt/gd/hci/
Dhci_layer_test.cc689 uint16_t packet_type = 0x1234; in TEST_F() local
695 …bd_addr, packet_type, page_scan_repetition_mode, clock_offset, clock_offset_valid, allow_role_swit… in TEST_F()
707 ASSERT_EQ(packet_type, view.GetPacketType()); in TEST_F()
/system/bt/stack/include/
Dhcimsgs.h214 void (*EnhancedFlush)(uint16_t handle, uint8_t packet_type);
407 extern void btsnd_hcic_enhanced_flush(uint16_t handle, uint8_t packet_type);

12