Home
last modified time | relevance | path

Searched refs:packet_data (Results 1 – 4 of 4) sorted by relevance

/system/bt/hci/test/
Dpacket_fragmenter_test.cpp78 uint8_t *packet_data = packet->data; in manufacture_packet_for_fragmentation() local
81 UINT16_TO_STREAM(packet_data, test_handle_start); in manufacture_packet_for_fragmentation()
82 UINT16_TO_STREAM(packet_data, data_length); in manufacture_packet_for_fragmentation()
85 memcpy(packet_data, data, data_length); in manufacture_packet_for_fragmentation()
148 uint8_t *packet_data = packet->data; in manufacture_packet_and_then_reassemble() local
150 UINT16_TO_STREAM(packet_data, test_handle_start); in manufacture_packet_and_then_reassemble()
151 UINT16_TO_STREAM(packet_data, length_to_send); in manufacture_packet_and_then_reassemble()
152 UINT16_TO_STREAM(packet_data, l2cap_length); in manufacture_packet_and_then_reassemble()
153 memcpy(packet_data, data, length_to_send - 2); in manufacture_packet_and_then_reassemble()
155 UINT16_TO_STREAM(packet_data, test_handle_continuation); in manufacture_packet_and_then_reassemble()
[all …]
Dhci_layer_test.cpp106 uint8_t *packet_data = packet->data; in manufacture_packet() local
109 UINT16_TO_STREAM(packet_data, test_handle); in manufacture_packet()
110 UINT16_TO_STREAM(packet_data, data_length); in manufacture_packet()
114 packet_data[i] = data[i]; in manufacture_packet()
118 STREAM_SKIP_UINT16(packet_data); in manufacture_packet()
119 UINT8_TO_STREAM(packet_data, data_length - 3); in manufacture_packet()
121 STREAM_SKIP_UINT8(packet_data); in manufacture_packet()
122 UINT8_TO_STREAM(packet_data, data_length - 2); in manufacture_packet()
Dhci_hal_mct_test.cpp61 static void expect_packet_synchronous(serial_data_type_t type, char *packet_data) { in expect_packet_synchronous() argument
62 int length = strlen(packet_data); in expect_packet_synchronous()
66 EXPECT_EQ(packet_data[i], byte); in expect_packet_synchronous()
Dhci_hal_h4_test.cpp66 static void expect_packet_synchronous(serial_data_type_t type, char *packet_data) { in expect_packet_synchronous() argument
67 int length = strlen(packet_data); in expect_packet_synchronous()
71 EXPECT_EQ(packet_data[i], byte); in expect_packet_synchronous()