Home
last modified time | relevance | path

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

/system/bt/test/suite/adapter/
Dadapter_unittest.cpp41 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in TEST_F()
45 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
55 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in TEST_F()
59 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
68 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in TEST_F()
77 EXPECT_EQ(bt_interface()->get_adapter_property(BT_PROPERTY_BDNAME), in TEST_F()
90 EXPECT_EQ(bt_interface()->set_adapter_property(new_name), BT_STATUS_SUCCESS); in TEST_F()
103 EXPECT_EQ(bt_interface()->set_adapter_property(old_name_property), BT_STATUS_SUCCESS); in TEST_F()
110 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
118 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in TEST_F()
[all …]
Dbluetooth_test.h50 const bt_interface_t* bt_interface();
Dbluetooth_test.cpp73 const bt_interface_t* BluetoothTest::bt_interface() { in bt_interface() function in bttest::BluetoothTest
/system/bt/tools/bdtool/
Dbdtool.c33 const bt_interface_t *bt_interface; variable
102 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
106 CALL_AND_WAIT(bt_interface->start_discovery(), discovery_state_changed); in main()
112 CALL_AND_WAIT(bt_interface->cancel_discovery(), discovery_state_changed); in main()
117 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
122 int rc = bt_interface->set_adapter_property(property); in main()
136 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
139 …int rc = bt_interface->create_bond(&bt_remote_bdaddr, 0 /* UNKNOWN; Currently not documented :( */… in main()
146 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
154 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
[all …]
Dadapter.c197 int rc = bt_interface->ssp_reply(remote_bd_addr, pairing_variant, in ssp_request()
/system/bt/test/suite/gatt/
Dgatt_test.cpp40 ASSERT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in SetUp()
87 ASSERT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TearDown()