Home
last modified time | relevance | path

Searched refs:num_packets (Results 1 – 18 of 18) sorted by relevance

/system/bt/gd/hci/
Dcontroller_test.cc80 uint8_t num_packets = 1; in HandleCommand() local
85 … event_builder = ReadLocalNameCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, local_name); in HandleCommand()
94 …event_builder = ReadLocalVersionInformationCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, in HandleCommand()
106 …ReadLocalSupportedCommandsCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, supported_comma… in HandleCommand()
114 …event_builder = ReadLocalExtendedFeaturesCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, … in HandleCommand()
119 num_packets, ErrorCode::SUCCESS, acl_data_packet_length, synchronous_data_packet_length, in HandleCommand()
123 … event_builder = ReadBdAddrCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, Address::kAny); in HandleCommand()
129 …event_builder = LeReadBufferSizeV1CompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, le_buff… in HandleCommand()
133 …LeReadLocalSupportedFeaturesCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, 0x001f1234567… in HandleCommand()
137 … LeReadSupportedStatesCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, 0x001f123456789abe); in HandleCommand()
[all …]
Dhci_layer_test.cc403 uint8_t num_packets = 1; in SetUp() local
405 …hal->callbacks->hciEventReceived(GetPacketBytes(ResetCompleteBuilder::Create(num_packets, error_co… in SetUp()
484 uint8_t num_packets = 0; in TEST_F() local
485 hal->callbacks->hciEventReceived(GetPacketBytes(NoCommandCompleteBuilder::Create(num_packets))); in TEST_F()
493 num_packets = 1; in TEST_F()
494 hal->callbacks->hciEventReceived(GetPacketBytes(NoCommandCompleteBuilder::Create(num_packets))); in TEST_F()
513 …ReadLocalVersionInformationCompleteBuilder::Create(num_packets, error_code, local_version_informat… in TEST_F()
551 uint8_t num_packets = 1; in TEST_F() local
560 …ReadLocalVersionInformationCompleteBuilder::Create(num_packets, error_code, local_version_informat… in TEST_F()
590 …GetPacketBytes(ReadLocalSupportedCommandsCompleteBuilder::Create(num_packets, error_code, supporte… in TEST_F()
[all …]
Dacl_manager_test.cc996 uint8_t num_packets = 1; in TEST_F() local
998 WriteDefaultLinkPolicySettingsCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS)); in TEST_F()
1123 uint8_t num_packets = 1; in TEST_F() local
1125 … RoleDiscoveryCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, handle_, Role::CENTRAL)); in TEST_F()
1136 uint8_t num_packets = 1; in TEST_F() local
1138 … ReadLinkPolicySettingsCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, handle_, 0x07)); in TEST_F()
1149 uint8_t num_packets = 1; in TEST_F() local
1151 WriteLinkPolicySettingsCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, handle_)); in TEST_F()
1164 uint8_t num_packets = 1; in TEST_F() local
1165 …test_hci_layer_->IncomingEvent(SniffSubratingCompleteBuilder::Create(num_packets, ErrorCode::SUCCE… in TEST_F()
[all …]
/system/bt/gd/hal/
Dhci_hal_host_test.cc324 int num_packets = 1000; in TEST_F() local
325 for (int i = 0; i < num_packets; i++) { in TEST_F()
328 while (incoming_packets_queue_.size() != num_packets) { in TEST_F()
330 for (int i = 0; i < num_packets; i++) { in TEST_F()
339 int num_packets = 1000; in TEST_F() local
340 for (int i = 0; i < num_packets; i++) { in TEST_F()
388 int num_packets = 1000; in TEST_F() local
390 for (int i = 0; i < num_packets; i++) { in TEST_F()
395 for (int i = 0; i < num_packets; i++) { in TEST_F()
404 int num_packets = 1000; in TEST_F() local
[all …]
/system/bt/gd/l2cap/le/internal/
Dlink_manager.cc203 void LinkManager::OnPendingPacketChange(hci::AddressWithType remote, int num_packets) { in OnPendingPacketChange() argument
204 if (disconnected_links_.count(remote) != 0 && num_packets == 0) { in OnPendingPacketChange()
207 } else if (num_packets != 0) { in OnPendingPacketChange()
Dlink_manager.h100 void OnPendingPacketChange(hci::AddressWithType remote, int num_packets);
/system/bt/stack/include/
Dacl_hci_link_interface.h70 void acl_packets_completed(uint16_t handle, uint16_t num_packets);
/system/bt/gd/l2cap/classic/internal/
Dlink_manager.cc127 void LinkManager::OnPendingPacketChange(hci::Address remote, int num_packets) { in OnPendingPacketChange() argument
128 if (disconnected_links_.count(remote) != 0 && num_packets == 0) { in OnPendingPacketChange()
131 } else if (num_packets != 0) { in OnPendingPacketChange()
Dlink_manager.h119 void OnPendingPacketChange(hci::Address remote, int num_packets);
/system/bt/vendor_libs/test_vendor_lib/test/
Dlink_layer_socket_device_test.cc253 static const int num_packets = 30; in TEST_F() local
256 for (int i = 0; i < num_packets; i++) { in TEST_F()
/system/bt/btif/test/
Dbtif_stack_test.cc115 void le_test_mode(bt_status_t status, uint16_t num_packets) { in le_test_mode() argument
/system/bt/main/shim/
Dacl_legacy_interface.h137 void (*on_packets_completed)(uint16_t handle, uint16_t num_packets);
/system/bt/test/headless/
Dheadless.cc136 void le_test_mode(bt_status_t status, uint16_t num_packets) { in le_test_mode() argument
/system/bt/include/hardware/
Dbluetooth.h468 typedef void (*le_test_mode_callback)(bt_status_t status, uint16_t num_packets);
/system/bt/gd/rust/topshim/btif/
Dbtif_shim.cc144 static void le_test_mode_cb(bt_status_t status, uint16_t num_packets) {} in le_test_mode_cb() argument
/system/bt/main/test/
Dmain_shim_test.cc82 void mock_on_packets_completed(uint16_t handle, uint16_t num_packets) { in mock_on_packets_completed() argument
/system/bt/stack/acl/
Dbtm_acl.cc2824 uint16_t num_packets{0}; in acl_parse_num_completed_pkts() local
2827 STREAM_TO_UINT16(num_packets, p); in acl_parse_num_completed_pkts()
2828 acl_packets_completed(handle, num_packets); in acl_parse_num_completed_pkts()
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dlink_layer_controller.cc392 int num_packets = in IncomingAclPacket() local
401 for (int i = 0; i < num_packets; i++) { in IncomingAclPacket()