Home
last modified time | relevance | path

Searched refs:on_stop_discovery_callbacks_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/device/bluetooth/
Dbluetooth_adapter_win.cc104 on_stop_discovery_callbacks_.push_back(callback); in StopDiscovering()
128 } else if (!on_stop_discovery_callbacks_.empty()) { in DiscoveryStarted()
140 on_stop_discovery_callbacks_.begin(); in DiscoveryStopped()
141 iter != on_stop_discovery_callbacks_.end(); in DiscoveryStopped()
146 on_stop_discovery_callbacks_.clear(); in DiscoveryStopped()
241 if (on_stop_discovery_callbacks_.size() < num_discovery_listeners_) { in MaybePostStopDiscoveryTask()
243 on_stop_discovery_callbacks_.begin(); in MaybePostStopDiscoveryTask()
244 iter != on_stop_discovery_callbacks_.end(); in MaybePostStopDiscoveryTask()
248 num_discovery_listeners_ -= on_stop_discovery_callbacks_.size(); in MaybePostStopDiscoveryTask()
249 on_stop_discovery_callbacks_.clear(); in MaybePostStopDiscoveryTask()
Dbluetooth_adapter_mac.mm171 on_stop_discovery_callbacks_.push_back(
289 RunCallbacks(on_stop_discovery_callbacks_, error == kIOReturnSuccess);
291 on_stop_discovery_callbacks_.clear();
313 if (on_stop_discovery_callbacks_.size() < num_discovery_listeners_) {
314 RunCallbacks(on_stop_discovery_callbacks_, true);
315 num_discovery_listeners_ -= on_stop_discovery_callbacks_.size();
316 on_stop_discovery_callbacks_.clear();
322 RunCallbacks(on_stop_discovery_callbacks_, false);
323 on_stop_discovery_callbacks_.clear();
Dbluetooth_adapter_mac.h112 DiscoveryCallbackList on_stop_discovery_callbacks_; variable
Dbluetooth_adapter_win.h106 std::vector<base::Closure> on_stop_discovery_callbacks_; variable