Lines Matching refs:hal
53 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));
212 hal->transmit_data(DATA_TYPE_ACL, (uint8_t *)(sample_data2 + 1), strlen(sample_data2 + 1));
216 hal->transmit_data(DATA_TYPE_SCO, (uint8_t *)(sample_data3 + 1), strlen(sample_data3 + 1));