Home
last modified time | relevance | path

Searched refs:hal (Results 1 – 6 of 6) sorted by relevance

/system/bt/hci/test/
Dhci_hal_h4_test.cpp53 static const hci_hal_t *hal; variable
64 EXPECT_EQ((size_t)1, hal->read_data(type, &byte, 1, true)); in expect_packet_synchronous()
68 hal->packet_finished(type); in expect_packet_synchronous()
113 while ((bytes_read = hal->read_data(type, &byte, 1, false)) != 0) {
118 hal->packet_finished(type);
139 hal = hci_hal_h4_get_test_interface(&vendor);
149 EXPECT_TRUE(hal->init(&callbacks, thread));
152 EXPECT_TRUE(hal->open());
158 hal->close();
208 hal->transmit_data(DATA_TYPE_COMMAND, (uint8_t *)(sample_data1 + 1), strlen(sample_data1 + 1));
[all …]
Dhci_hal_mct_test.cpp51 static const hci_hal_t *hal; variable
65 EXPECT_EQ((size_t)1, hal->read_data(type, &byte, 1, true)); in expect_packet_synchronous()
69 hal->packet_finished(type); in expect_packet_synchronous()
112 while ((bytes_read = hal->read_data(type, &byte, 1, false)) != 0) {
117 hal->packet_finished(type);
138 hal = hci_hal_mct_get_test_interface(&vendor);
155 EXPECT_TRUE(hal->init(&callbacks, thread));
158 EXPECT_TRUE(hal->open());
164 hal->close();
214 hal->transmit_data(DATA_TYPE_COMMAND, (uint8_t *)(sample_data1), strlen(sample_data1));
[all …]
Dhci_layer_test.cpp526 &hal,
546 hal.init = hal_init;
547 hal.open = hal_open;
548 hal.close = hal_close;
549 hal.read_data = hal_read_data;
550 hal.packet_finished = hal_packet_finished;
551 hal.transmit_data = hal_transmit_data;
591 hci_hal_t hal;
/system/bt/hci/src/
Dhci_layer.c113 static const hci_hal_t *hal; variable
238 hal->init(&hal_callbacks, thread); in start_up()
306 hal->close(); in shut_down()
401 hal->open(); in event_finish_startup()
488 hal->transmit_data(type, packet->data + packet->offset, packet->len); in transmit_fragment()
532 while (hal->read_data(type, &byte, 1, false) != 0) { in hal_says_data_ready()
575 …size_t bytes_read = hal->read_data(type, (incoming->buffer->data + incoming->index), incoming->byt… in hal_says_data_ready()
588 hal->packet_finished(type); in hal_says_data_ready()
620 hal->packet_finished(type); in hal_says_data_ready()
777 hal = hci_hal_get_interface(); in hci_layer_get_interface()
[all …]
/system/bt/tools/bdtool/
DAndroid.mk29 ../../test/suite/support/hal.c \
/system/bt/test/suite/
DAndroid.mk36 support/hal.c \