Home
last modified time | relevance | path

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

/system/bt/test/suite/adapter/
Dadapter_unittest.cc38 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 …]
Dbluetooth_test.h44 const bt_interface_t* bt_interface();
Dbluetooth_test.cc80 const bt_interface_t* BluetoothTest::bt_interface() { return bt_interface_; } in bt_interface() function in bttest::BluetoothTest
/system/bt/tools/bdtool/
Dbdtool.c36 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 …]
Dadapter.c182 int rc = bt_interface->ssp_reply(remote_bd_addr, pairing_variant, in ssp_request()
/system/bt/test/suite/rfcomm/
Drfcomm_test.cc31 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/
Dgatt_test.cc36 ASSERT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in SetUp()
75 ASSERT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TearDown()