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(false), BT_STATUS_SUCCESS); in TEST_F() 42 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F() 52 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in TEST_F() 56 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F() 65 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in TEST_F() 74 EXPECT_EQ(bt_interface()->get_adapter_property(BT_PROPERTY_BDNAME), in TEST_F() 87 EXPECT_EQ(bt_interface()->set_adapter_property(new_name), BT_STATUS_SUCCESS); in TEST_F() 99 EXPECT_EQ(bt_interface()->set_adapter_property(old_name_property), in TEST_F() 108 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F() 116 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in TEST_F() [all …]
|
D | bluetooth_test.h | 45 const bt_interface_t* bt_interface();
|
D | bluetooth_test.cc | 75 const bt_interface_t* BluetoothTest::bt_interface() { return bt_interface_; } in bt_interface() function in bttest::BluetoothTest
|
/system/bt/tools/bdtool/ |
D | bdtool.c | 37 const bt_interface_t* bt_interface; variable 101 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main() 105 CALL_AND_WAIT(bt_interface->start_discovery(), discovery_state_changed); in main() 111 CALL_AND_WAIT(bt_interface->cancel_discovery(), discovery_state_changed); in main() 116 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main() 122 int rc = bt_interface->set_adapter_property(property); in main() 139 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main() 142 int rc = bt_interface->create_bond( in main() 150 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main() 158 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main() [all …]
|
D | adapter.c | 184 int rc = bt_interface->ssp_reply(remote_bd_addr, pairing_variant, in ssp_request()
|
/system/bt/test/suite/rfcomm/ |
D | rfcomm_test.cc | 34 ASSERT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in SetUp() 38 (const btsock_interface_t*)bt_interface()->get_profile_interface( in SetUp() 54 bt_interface()->get_remote_device_property(&devices[i], BT_PROPERTY_UUIDS); in SetUp() 79 ASSERT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TearDown()
|
/system/bt/test/suite/gatt/ |
D | gatt_test.cc | 37 ASSERT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in SetUp() 76 ASSERT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TearDown()
|