Searched refs:BluetoothInterface (Results 1 – 20 of 20) sorted by relevance
46 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 …]
36 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);
26 class FakeBluetoothInterface : public BluetoothInterface {
234 BluetoothInterface::Get()->GetHALInterface(); in Initialize()
488 BluetoothInterface::Get()->GetHALInterface(); in Initialize()
569 BluetoothInterface::Get()->GetHALInterface(); in Initialize()
3 use bt_topshim::btif::BluetoothInterface;60 _intf: Arc<Mutex<BluetoothInterface>>,65 pub fn new(intf: Arc<Mutex<BluetoothInterface>>) -> BluetoothGatt { in new()
4 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()
55 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()
38 public bluetooth::hal::BluetoothInterface::Observer {
179 bluetooth::hal::BluetoothInterface::Get()->GetHALCallbacks(); in TEST_F()
196 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 …]
71 if (!hal::BluetoothInterface::Initialize()) goto failed; in StartUpBluetoothInterfaces()89 if (hal::BluetoothInterface::IsInitialized()) in ShutDownBluetoothInterfaces()90 hal::BluetoothInterface::CleanUp(); in ShutDownBluetoothInterfaces()
482 hal::BluetoothInterface::Get()->GetHALInterface(); in Initialize()
2 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()
267 pub struct BluetoothInterface { struct271 impl BluetoothInterface { impl272 pub fn new() -> BluetoothInterface { in new()273 BluetoothInterface { internal: ffi::Load() } in new()342 unsafe impl Send for BluetoothInterface {} implementation
1 use bt_topshim::btif::BluetoothInterface;35 let intf = Arc::new(Mutex::new(BluetoothInterface::new())); in main()
61 bluetooth::hal::BluetoothInterface::InitializeForTesting( in SetUp()76 bluetooth::hal::BluetoothInterface::CleanUp(); in TearDown()
35 hal::BluetoothInterface::InitializeForTesting(fake_hal_iface_); in SetUp()48 hal::BluetoothInterface::CleanUp(); in TearDown()
380 bluetooth::hal::BluetoothInterface::Get()->GetHALInterface(); in dump()