/aosp12/system/bt/gd/hci/ |
H A D | controller_test.cc | 80 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() 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() 137 … LeReadSupportedStatesCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, 0x001f123456789abe); in HandleCommand() 150 …LeReadMaximumAdvertisingDataLengthCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, 0x0672); in HandleCommand() 154 …LeReadNumberOfSupportedAdvertisingSetsCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, 0xF… in HandleCommand() 172 … event_builder = LeGetVendorCapabilitiesCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, in HandleCommand() 179 event_builder = SetEventMaskCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS); in HandleCommand() [all …]
|
H A D | hci_layer_test.cc | 403 uint8_t num_packets = 1; in SetUp() local 484 uint8_t num_packets = 0; in TEST_F() local 493 num_packets = 1; in TEST_F() 551 uint8_t num_packets = 1; in TEST_F() local 640 uint8_t num_packets = 1; in TEST_F() local 671 uint8_t num_packets = 1; in TEST_F() local 792 const uint16_t num_packets = 100; in TEST_F() local 795 for (uint16_t i = 0; i < num_packets; i++) { in TEST_F() 837 acl_payload->AddOctets2(num_packets); in TEST_F() 853 const uint16_t num_packets = 100; in TEST_F() local [all …]
|
H A D | acl_manager_test.cc | 996 uint8_t num_packets = 1; in TEST_F() local 1123 uint8_t num_packets = 1; in TEST_F() local 1136 uint8_t num_packets = 1; in TEST_F() local 1149 uint8_t num_packets = 1; in TEST_F() local 1164 uint8_t num_packets = 1; in TEST_F() local 1176 uint8_t num_packets = 1; in TEST_F() local 1189 uint8_t num_packets = 1; in TEST_F() local 1203 uint8_t num_packets = 1; in TEST_F() local 1216 uint8_t num_packets = 1; in TEST_F() local 1229 uint8_t num_packets = 1; in TEST_F() local [all …]
|
/aosp12/system/bt/gd/hal/ |
H A D | hci_hal_host_test.cc | 324 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 …]
|
/aosp12/hardware/interfaces/bluetooth/1.0/vts/functional/ |
H A D | VtsHalBluetoothV1_0TargetTest.cpp | 203 void sendAndCheckHCI(int num_packets); 204 void sendAndCheckSCO(int num_packets, size_t size, uint16_t handle); 205 void sendAndCheckACL(int num_packets, size_t size, uint16_t handle); 387 void BluetoothHidlTest::sendAndCheckHCI(int num_packets) { in sendAndCheckHCI() argument 390 for (int n = 0; n < num_packets; n++) { in sendAndCheckHCI() 429 if (n == num_packets - 1) { in sendAndCheckHCI() 436 logger.setTotalBytes(command_size * num_packets * 2); in sendAndCheckHCI() 443 for (int n = 0; n < num_packets; n++) { in sendAndCheckSCO() 479 logger.setTotalBytes(num_packets * size * 2); in sendAndCheckSCO() 486 for (int n = 0; n < num_packets; n++) { in sendAndCheckACL() [all …]
|
/aosp12/hardware/interfaces/bluetooth/1.1/vts/functional/ |
H A D | VtsHalBluetoothV1_1TargetTest.cpp | 205 void sendAndCheckHCI(int num_packets); 206 void sendAndCheckSCO(int num_packets, size_t size, uint16_t handle); 207 void sendAndCheckACL(int num_packets, size_t size, uint16_t handle); 399 void BluetoothHidlTest::sendAndCheckHCI(int num_packets) { in sendAndCheckHCI() argument 402 for (int n = 0; n < num_packets; n++) { in sendAndCheckHCI() 441 if (n == num_packets - 1) { in sendAndCheckHCI() 448 logger.setTotalBytes(command_size * num_packets * 2); in sendAndCheckHCI() 455 for (int n = 0; n < num_packets; n++) { in sendAndCheckSCO() 491 logger.setTotalBytes(num_packets * size * 2); in sendAndCheckSCO() 498 for (int n = 0; n < num_packets; n++) { in sendAndCheckACL() [all …]
|
/aosp12/system/bt/gd/l2cap/le/internal/ |
H A D | link_manager.cc | 203 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()
|
H A D | link_manager.h | 100 void OnPendingPacketChange(hci::AddressWithType remote, int num_packets);
|
/aosp12/system/bt/gd/l2cap/classic/internal/ |
H A D | link_manager.cc | 127 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()
|
H A D | link_manager.h | 119 void OnPendingPacketChange(hci::Address remote, int num_packets);
|
/aosp12/system/bt/vendor_libs/test_vendor_lib/test/ |
H A D | link_layer_socket_device_test.cc | 253 static const int num_packets = 30; in TEST_F() local 256 for (int i = 0; i < num_packets; i++) { in TEST_F()
|
/aosp12/system/bt/stack/include/ |
H A D | acl_hci_link_interface.h | 70 void acl_packets_completed(uint16_t handle, uint16_t num_packets);
|
/aosp12/system/bt/btif/test/ |
H A D | btif_stack_test.cc | 115 void le_test_mode(bt_status_t status, uint16_t num_packets) { in le_test_mode() argument
|
/aosp12/system/bt/main/shim/ |
H A D | acl_legacy_interface.h | 137 void (*on_packets_completed)(uint16_t handle, uint16_t num_packets);
|
/aosp12/system/bt/test/headless/ |
H A D | headless.cc | 136 void le_test_mode(bt_status_t status, uint16_t num_packets) { in le_test_mode() argument
|
/aosp12/hardware/libhardware/include/hardware/ |
H A D | bluetooth.h | 383 typedef void (*le_test_mode_callback)(bt_status_t status, uint16_t num_packets);
|
/aosp12/system/bt/include/hardware/ |
H A D | bluetooth.h | 468 typedef void (*le_test_mode_callback)(bt_status_t status, uint16_t num_packets);
|
/aosp12/system/bt/gd/rust/topshim/btif/ |
H A D | btif_shim.cc | 144 static void le_test_mode_cb(bt_status_t status, uint16_t num_packets) {} in le_test_mode_cb() argument
|
/aosp12/system/bt/main/test/ |
H A D | main_shim_test.cc | 82 void mock_on_packets_completed(uint16_t handle, uint16_t num_packets) { in mock_on_packets_completed() argument
|
/aosp12/system/bt/stack/acl/ |
H A D | btm_acl.cc | 2834 uint16_t num_packets{0}; in acl_parse_num_completed_pkts() local 2837 STREAM_TO_UINT16(num_packets, p); in acl_parse_num_completed_pkts() 2838 acl_packets_completed(handle, num_packets); in acl_parse_num_completed_pkts()
|
/aosp12/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
H A D | link_layer_controller.cc | 392 int num_packets = in IncomingAclPacket() local 401 for (int i = 0; i < num_packets; i++) { in IncomingAclPacket()
|