Home
last modified time | relevance | path

Searched refs:observers_ (Results 1 – 9 of 9) sorted by relevance

/system/update_engine/common/
Dfake_prefs.cc40 EXPECT_TRUE(observers_.empty()); in ~FakePrefs()
100 const auto observers_for_key = observers_.find(key); in Delete()
101 if (observers_for_key != observers_.end()) { in Delete()
140 const auto observers_for_key = observers_.find(key); in SetValue()
141 if (observers_for_key != observers_.end()) { in SetValue()
160 observers_[key].push_back(observer); in AddObserver()
164 std::vector<ObserverInterface*>& observers_for_key = observers_[key]; in RemoveObserver()
172 observers_.erase(key); in RemoveObserver()
Dprefs.cc58 const auto observers_for_key = observers_.find(key); in SetString()
59 if (observers_for_key != observers_.end()) { in SetString()
106 const auto observers_for_key = observers_.find(key); in Delete()
107 if (observers_for_key != observers_.end()) { in Delete()
120 observers_[key].push_back(observer); in AddObserver()
124 std::vector<ObserverInterface*>& observers_for_key = observers_[key]; in RemoveObserver()
Dfake_prefs.h109 std::map<std::string, std::vector<ObserverInterface*>> observers_; variable
Dprefs.h88 std::map<std::string, std::vector<ObserverInterface*>> observers_;
/system/bt/service/hal/
Dfake_bluetooth_interface.cc94 for (auto& observer : observers_) { in NotifyAdapterStateChanged()
101 for (auto& observer : observers_) { in NotifyAdapterPropertiesChanged()
144 for (auto& observer : observers_) { in NotifyAclStateChangedCallback()
150 observers_.AddObserver(observer); in AddObserver()
154 observers_.RemoveObserver(observer); in RemoveObserver()
Dbluetooth_interface.cc230 observers_.AddObserver(observer); in AddObserver()
235 observers_.RemoveObserver(observer); in RemoveObserver()
272 base::ObserverList<Observer>* observers() { return &observers_; } in observers()
279 base::ObserverList<Observer> observers_; member in bluetooth::hal::BluetoothInterfaceImpl
Dfake_bluetooth_interface.h68 base::ObserverList<Observer> observers_;
/system/bt/service/
Dadapter.cc221 observers_.AddObserver(observer); in AddObserver()
226 observers_.RemoveObserver(observer); in RemoveObserver()
534 for (auto& observer : observers_) { in AdapterPropertiesCallback()
590 for (auto& observer : observers_) { in AdapterPropertiesCallback()
612 for (auto& observer : observers_) { in RemoteDevicePropertiesCallback()
626 for (auto& observer : observers_) { in RemoteDevicePropertiesCallback()
637 for (auto& observer : observers_) { in DeviceFoundCallback()
655 for (auto& observer : observers_) { in DiscoveryStateChangedCallback()
667 for (auto& observer : observers_) { in SSPRequestCallback()
678 for (auto& observer : observers_) { in BondStateChangedCallback()
[all …]
/system/update_engine/
Dsideload_main.cc55 observers_.insert(this); in SideloadDaemonState()
64 return observers_; in service_observers()
113 std::set<ServiceObserverInterface*> observers_; member in chromeos_update_engine::__anon1f39b2d70111::SideloadDaemonState