Home
last modified time | relevance | path

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

/system/update_engine/common/
Dfake_prefs.cc41 EXPECT_TRUE(observers_.empty()); in ~FakePrefs()
101 const auto observers_for_key = observers_.find(key); in Delete()
102 if (observers_for_key != observers_.end()) { in Delete()
157 const auto observers_for_key = observers_.find(key); in SetValue()
158 if (observers_for_key != observers_.end()) { in SetValue()
177 observers_[key].push_back(observer); in AddObserver()
181 std::vector<ObserverInterface*>& observers_for_key = observers_[key]; in RemoveObserver()
189 observers_.erase(key); in RemoveObserver()
Dprefs.cc60 const auto observers_for_key = observers_.find(key); in SetString()
61 if (observers_for_key != observers_.end()) { in SetString()
108 const auto observers_for_key = observers_.find(key); in Delete()
109 if (observers_for_key != observers_.end()) { in Delete()
140 observers_[key].push_back(observer); in AddObserver()
144 std::vector<ObserverInterface*>& observers_for_key = observers_[key]; in RemoveObserver()
Dfake_prefs.h112 std::map<std::string, std::vector<ObserverInterface*>> observers_; variable
Dprefs.h91 std::map<std::string, std::vector<ObserverInterface*>> observers_;
/system/bt/service/hal/
Dfake_bluetooth_interface.cc96 for (auto& observer : observers_) { in NotifyAdapterStateChanged()
103 for (auto& observer : observers_) { in NotifyAdapterPropertiesChanged()
147 for (auto& observer : observers_) { in NotifyAclStateChangedCallback()
153 observers_.AddObserver(observer); in AddObserver()
157 observers_.RemoveObserver(observer); in RemoveObserver()
Dbluetooth_interface.cc251 observers_.AddObserver(observer); in AddObserver()
256 observers_.RemoveObserver(observer); in RemoveObserver()
293 btbase::AbstractObserverList<Observer>* observers() { return &observers_; } in observers()
300 btbase::AbstractObserverList<Observer> observers_; member in bluetooth::hal::BluetoothInterfaceImpl
Dfake_bluetooth_interface.h70 btbase::AbstractObserverList<Observer> observers_;
/system/bt/service/
Dadapter.cc222 observers_.AddObserver(observer); in AddObserver()
227 observers_.RemoveObserver(observer); in RemoveObserver()
535 for (auto& observer : observers_) { in AdapterPropertiesCallback()
593 for (auto& observer : observers_) { in AdapterPropertiesCallback()
615 for (auto& observer : observers_) { in RemoteDevicePropertiesCallback()
629 for (auto& observer : observers_) { in RemoteDevicePropertiesCallback()
640 for (auto& observer : observers_) { in DeviceFoundCallback()
658 for (auto& observer : observers_) { in DiscoveryStateChangedCallback()
670 for (auto& observer : observers_) { in SSPRequestCallback()
681 for (auto& observer : observers_) { in BondStateChangedCallback()
[all …]
/system/update_engine/aosp/
Dsideload_main.cc55 observers_.insert(this); in SideloadDaemonState()
64 return observers_; in service_observers()
113 std::set<ServiceObserverInterface*> observers_; member in chromeos_update_engine::__anon576c97800111::SideloadDaemonState