Searched refs:default_adapter (Results 1 – 2 of 2) sorted by relevance
27 base::LazyInstance<base::WeakPtr<BluetoothAdapter> >::Leaky default_adapter = variable41 DCHECK(default_adapter.Get()); in RunAdapterCallbacks()42 scoped_refptr<BluetoothAdapter> adapter(default_adapter.Get().get()); in RunAdapterCallbacks()59 if (default_adapter.Get()) in IsBluetoothAdapterAvailable()75 if (!default_adapter.Get()) { in GetAdapter()76 default_adapter.Get() = in GetAdapter()78 DCHECK(!default_adapter.Get()->IsInitialized()); in GetAdapter()81 if (!default_adapter.Get()->IsInitialized()) in GetAdapter()84 if (!default_adapter.Get()) { in GetAdapter()85 default_adapter.Get() = in GetAdapter()[all …]
24 default_adapter = LAZY_INSTANCE_INITIALIZER; variable43 if (!default_adapter.Get().get()) { in GetAdapter()47 default_adapter.Get() = new_adapter->weak_ptr_factory_.GetWeakPtr(); in GetAdapter()50 if (default_adapter.Get()->IsInitialized()) in GetAdapter()51 callback.Run(scoped_refptr<NfcAdapter>(default_adapter.Get().get())); in GetAdapter()