Searched refs:bt_interface (Results 1 – 7 of 7) sorted by relevance
/system/bt/test/suite/adapter/ |
D | adapter_unittest.cc | 38 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F() 42 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F() 52 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F() 56 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F() 65 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F() 74 EXPECT_EQ(bt_interface()->get_adapter_property(BT_PROPERTY_BDNAME), in TEST_F() 88 EXPECT_EQ(bt_interface()->set_adapter_property(new_name), BT_STATUS_SUCCESS); in TEST_F() 100 EXPECT_EQ(bt_interface()->set_adapter_property(old_name_property), in TEST_F() 109 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F() 117 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F() [all …]
|
D | bluetooth_test.h | 44 const bt_interface_t* bt_interface();
|
D | bluetooth_test.cc | 80 const bt_interface_t* BluetoothTest::bt_interface() { return bt_interface_; } in bt_interface() function in bttest::BluetoothTest
|
/system/bt/tools/bdtool/ |
D | bdtool.c | 36 const bt_interface_t* bt_interface; variable 100 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main() 104 CALL_AND_WAIT(bt_interface->start_discovery(), discovery_state_changed); in main() 110 CALL_AND_WAIT(bt_interface->cancel_discovery(), discovery_state_changed); in main() 115 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main() 121 int rc = bt_interface->set_adapter_property(property); in main() 138 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main() 141 int rc = bt_interface->create_bond( in main() 149 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main() 157 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main() [all …]
|
D | adapter.c | 182 int rc = bt_interface->ssp_reply(remote_bd_addr, pairing_variant, in ssp_request()
|
/system/bt/test/suite/rfcomm/ |
D | rfcomm_test.cc | 31 ASSERT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in SetUp() 35 (const btsock_interface_t*)bt_interface()->get_profile_interface( in SetUp() 49 bt_interface()->get_remote_device_property(&devices[i], BT_PROPERTY_UUIDS); in SetUp() 73 ASSERT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TearDown()
|
/system/bt/test/suite/gatt/ |
D | gatt_test.cc | 36 ASSERT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in SetUp() 75 ASSERT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TearDown()
|