Home
last modified time | relevance | path

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

/aosp12/system/bt/test/suite/adapter/
H A Dadapter_unittest.cc39 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
43 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
53 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
57 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
66 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
110 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
118 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
128 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
134 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
147 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
[all …]
H A Dbluetooth_test.h44 const bt_interface_t* bt_interface();
H A Dbluetooth_test.cc80 const bt_interface_t* BluetoothTest::bt_interface() { return bt_interface_; } in bt_interface() function in bttest::BluetoothTest
/aosp12/system/bt/tools/bdtool/
H A Dbdtool.c36 const bt_interface_t* bt_interface; variable
100 CALL_AND_WAIT(bt_interface->enable(), adapter_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()
176 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main()
207 CALL_AND_WAIT(bt_interface->set_adapter_property(property), in main()
[all …]
H A Dadapter.c182 int rc = bt_interface->ssp_reply(remote_bd_addr, pairing_variant, in ssp_request()
/aosp12/system/bt/test/suite/rfcomm/
H A 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()
/aosp12/system/bt/test/suite/gatt/
H A Dgatt_test.cc36 ASSERT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in SetUp()
75 ASSERT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TearDown()