Home
last modified time | relevance | path

Searched refs:BluetoothInterface (Results 1 – 20 of 20) sorted by relevance

/system/bt/service/hal/
Dbluetooth_interface.cc46 BluetoothInterface* g_bluetooth_interface = nullptr;
56 btbase::AbstractObserverList<BluetoothInterface::Observer>* GetObservers();
240 class BluetoothInterfaceImpl : public BluetoothInterface {
313 btbase::AbstractObserverList<BluetoothInterface::Observer>* GetObservers() { in GetObservers()
323 void BluetoothInterface::Observer::AdapterStateChangedCallback( in AdapterStateChangedCallback()
328 void BluetoothInterface::Observer::AdapterPropertiesCallback( in AdapterPropertiesCallback()
334 void BluetoothInterface::Observer::RemoteDevicePropertiesCallback( in RemoteDevicePropertiesCallback()
340 void BluetoothInterface::Observer::DeviceFoundCallback( in DeviceFoundCallback()
345 void BluetoothInterface::Observer::DiscoveryStateChangedCallback( in DiscoveryStateChangedCallback()
350 void BluetoothInterface::Observer::PinRequestCallback( in PinRequestCallback()
[all …]
Dbluetooth_interface.h36 class BluetoothInterface {
99 static void InitializeForTesting(BluetoothInterface* test_instance);
103 static BluetoothInterface* Get();
122 BluetoothInterface() = default;
123 virtual ~BluetoothInterface() = default;
126 DISALLOW_COPY_AND_ASSIGN(BluetoothInterface);
Dfake_bluetooth_interface.h26 class FakeBluetoothInterface : public BluetoothInterface {
Dbluetooth_av_interface.cc234 BluetoothInterface::Get()->GetHALInterface(); in Initialize()
Dbluetooth_gatt_interface.cc488 BluetoothInterface::Get()->GetHALInterface(); in Initialize()
Dbluetooth_avrcp_interface.cc569 BluetoothInterface::Get()->GetHALInterface(); in Initialize()
/system/bt/gd/rust/linux/stack/src/
Dbluetooth_gatt.rs3 use bt_topshim::btif::BluetoothInterface;
60 _intf: Arc<Mutex<BluetoothInterface>>,
65 pub fn new(intf: Arc<Mutex<BluetoothInterface>>) -> BluetoothGatt { in new()
Dbluetooth.rs4 use bt_topshim::btif::{BluetoothCallbacks, BluetoothInterface, BtState};
51 intf: Arc<Mutex<BluetoothInterface>>,
61 pub fn new(tx: Sender<Message>, intf: Arc<Mutex<BluetoothInterface>>) -> Bluetooth { in new()
/system/bt/test/suite/adapter/
Dbluetooth_test.cc55 bluetooth::hal::BluetoothInterface::Initialize(); in SetUp()
56 ASSERT_TRUE(bluetooth::hal::BluetoothInterface::IsInitialized()); in SetUp()
57 auto bt_hal_interface = bluetooth::hal::BluetoothInterface::Get(); in SetUp()
69 auto bt_hal_interface = bluetooth::hal::BluetoothInterface::Get(); in TearDown()
Dbluetooth_test.h38 public bluetooth::hal::BluetoothInterface::Observer {
Dadapter_unittest.cc179 bluetooth::hal::BluetoothInterface::Get()->GetHALCallbacks(); in TEST_F()
/system/bt/service/
Dadapter.cc196 class AdapterImpl : public Adapter, public hal::BluetoothInterface::Observer {
203 hal::BluetoothInterface::Get()->AddObserver(this); in AdapterImpl()
213 hal::BluetoothInterface::Get()->GetHALInterface()->get_adapter_properties(); in AdapterImpl()
217 hal::BluetoothInterface::Get()->RemoveObserver(this); in ~AdapterImpl()
247 int status = hal::BluetoothInterface::Get()->GetHALInterface()->enable(); in Enable()
272 int status = hal::BluetoothInterface::Get()->GetHALInterface()->disable(); in Disable()
337 hal::BluetoothInterface::Get()->GetHALInterface()->start_discovery(); in SetScanEnable()
344 hal::BluetoothInterface::Get()->GetHALInterface()->cancel_discovery(); in SetScanEnable()
361 int status = hal::BluetoothInterface::Get()->GetHALInterface()->ssp_reply( in SspReply()
379 int status = hal::BluetoothInterface::Get()->GetHALInterface()->create_bond( in CreateBond()
[all …]
Ddaemon.cc71 if (!hal::BluetoothInterface::Initialize()) goto failed; in StartUpBluetoothInterfaces()
89 if (hal::BluetoothInterface::IsInitialized()) in ShutDownBluetoothInterfaces()
90 hal::BluetoothInterface::CleanUp(); in ShutDownBluetoothInterfaces()
Dgatt_server_old.cc482 hal::BluetoothInterface::Get()->GetHALInterface(); in Initialize()
/system/bt/gd/rust/linux/adapter/src/
Dmain.rs2 use bt_topshim::btif::{ffi, BluetoothCallbacks, BluetoothInterface};
28 intf: BluetoothInterface,
31 fn make_context(intf: BluetoothInterface) -> Context { in make_context()
165 let intf = BluetoothInterface::new(); in main()
/system/bt/gd/rust/topshim/src/
Dbtif.rs267 pub struct BluetoothInterface { struct
271 impl BluetoothInterface { impl
272 pub fn new() -> BluetoothInterface { in new()
273 BluetoothInterface { internal: ffi::Load() } in new()
342 unsafe impl Send for BluetoothInterface {} implementation
/system/bt/gd/rust/linux/service/src/
Dmain.rs1 use bt_topshim::btif::BluetoothInterface;
35 let intf = Arc::new(Mutex::new(BluetoothInterface::new())); in main()
/system/bt/service/test/
Dipc_linux_unittest.cc61 bluetooth::hal::BluetoothInterface::InitializeForTesting( in SetUp()
76 bluetooth::hal::BluetoothInterface::CleanUp(); in TearDown()
Dadapter_unittest.cc35 hal::BluetoothInterface::InitializeForTesting(fake_hal_iface_); in SetUp()
48 hal::BluetoothInterface::CleanUp(); in TearDown()
/system/bt/service/ipc/binder/
Dbluetooth_binder_server.cc380 bluetooth::hal::BluetoothInterface::Get()->GetHALInterface(); in dump()