Home
last modified time | relevance | path

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

/aosp12/system/bt/gd/hci/
H A 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()
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 Dhci_layer_test.cc403 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 Dacl_manager_test.cc996 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 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 …]
/aosp12/hardware/interfaces/bluetooth/1.0/vts/functional/
H A DVtsHalBluetoothV1_0TargetTest.cpp203 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 DVtsHalBluetoothV1_1TargetTest.cpp205 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 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()
H A Dlink_manager.h100 void OnPendingPacketChange(hci::AddressWithType remote, int num_packets);
/aosp12/system/bt/gd/l2cap/classic/internal/
H A 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()
H A Dlink_manager.h119 void OnPendingPacketChange(hci::Address remote, int num_packets);
/aosp12/system/bt/vendor_libs/test_vendor_lib/test/
H A 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()
/aosp12/system/bt/stack/include/
H A Dacl_hci_link_interface.h70 void acl_packets_completed(uint16_t handle, uint16_t num_packets);
/aosp12/system/bt/btif/test/
H A Dbtif_stack_test.cc115 void le_test_mode(bt_status_t status, uint16_t num_packets) { in le_test_mode() argument
/aosp12/system/bt/main/shim/
H A Dacl_legacy_interface.h137 void (*on_packets_completed)(uint16_t handle, uint16_t num_packets);
/aosp12/system/bt/test/headless/
H A Dheadless.cc136 void le_test_mode(bt_status_t status, uint16_t num_packets) { in le_test_mode() argument
/aosp12/hardware/libhardware/include/hardware/
H A Dbluetooth.h383 typedef void (*le_test_mode_callback)(bt_status_t status, uint16_t num_packets);
/aosp12/system/bt/include/hardware/
H A Dbluetooth.h468 typedef void (*le_test_mode_callback)(bt_status_t status, uint16_t num_packets);
/aosp12/system/bt/gd/rust/topshim/btif/
H A Dbtif_shim.cc144 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 Dmain_shim_test.cc82 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 Dbtm_acl.cc2834 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 Dlink_layer_controller.cc392 int num_packets = in IncomingAclPacket() local
401 for (int i = 0; i < num_packets; i++) { in IncomingAclPacket()