Home
last modified time | relevance | path

Searched refs:observer (Results 1 – 14 of 14) sorted by relevance

/system/update_engine/aosp/
Ddaemon_state_android.cc85 void DaemonStateAndroid::AddObserver(ServiceObserverInterface* observer) { in AddObserver() argument
86 service_observers_.insert(observer); in AddObserver()
89 void DaemonStateAndroid::RemoveObserver(ServiceObserverInterface* observer) { in RemoveObserver() argument
90 service_observers_.erase(observer); in RemoveObserver()
Ddaemon_state_android.h43 void AddObserver(ServiceObserverInterface* observer) override;
44 void RemoveObserver(ServiceObserverInterface* observer) override;
Dsideload_main.cc61 void AddObserver(ServiceObserverInterface* observer) override {} in AddObserver() argument
62 void RemoveObserver(ServiceObserverInterface* observer) override {} in RemoveObserver() argument
Dupdate_attempter_android.cc733 for (auto observer : daemon_state_->service_observers()) in TerminateUpdateAndNotify() local
734 observer->SendPayloadApplicationComplete(error_code); in TerminateUpdateAndNotify()
753 for (auto observer : daemon_state_->service_observers()) in TerminateUpdateAndNotify() local
754 observer->SendPayloadApplicationComplete(error_code); in TerminateUpdateAndNotify()
776 for (auto observer : daemon_state_->service_observers()) { in SetStatusAndNotify() local
777 observer->SendStatusUpdate(status_to_send); in SetStatusAndNotify()
/system/update_engine/common/
Dfake_prefs.cc104 for (ObserverInterface* observer : copy_observers) in Delete()
105 observer->OnPrefDeleted(key); in Delete()
161 for (ObserverInterface* observer : copy_observers) in SetValue()
162 observer->OnPrefSet(key); in SetValue()
177 void FakePrefs::AddObserver(std::string_view key, ObserverInterface* observer) { in AddObserver() argument
178 observers_[string{key}].push_back(observer); in AddObserver()
182 ObserverInterface* observer) { in RemoveObserver() argument
186 std::find(observers_for_key.begin(), observers_for_key.end(), observer); in RemoveObserver()
Ddaemon_state_interface.h36 virtual void AddObserver(ServiceObserverInterface* observer) = 0;
37 virtual void RemoveObserver(ServiceObserverInterface* observer) = 0;
Dprefs.cc63 for (ObserverInterface* observer : copy_observers) in SetString()
64 observer->OnPrefSet(key); in SetString()
111 for (ObserverInterface* observer : copy_observers) in Delete()
112 observer->OnPrefDeleted(key); in Delete()
139 void PrefsBase::AddObserver(std::string_view key, ObserverInterface* observer) { in AddObserver() argument
140 observers_[std::string{key}].push_back(observer); in AddObserver()
144 ObserverInterface* observer) { in RemoveObserver() argument
148 std::find(observers_for_key.begin(), observers_for_key.end(), observer); in RemoveObserver()
Dprefs_interface.h101 ObserverInterface* observer) = 0;
106 ObserverInterface* observer) = 0;
Dfake_prefs.h59 void AddObserver(std::string_view key, ObserverInterface* observer) override;
61 ObserverInterface* observer) override;
Dprefs.h85 void AddObserver(std::string_view key, ObserverInterface* observer) override;
87 ObserverInterface* observer) override;
/system/update_engine/
Dcertificate_checker.h121 void SetObserver(Observer* observer) { observer_ = observer; } in SetObserver() argument
/system/sepolicy/prebuilts/api/34.0/private/
Dapp.te531 # to observer app launches, so it must be disallowed. b/231587164
/system/sepolicy/private/
Dapp.te531 # to observer app launches, so it must be disallowed. b/231587164
/system/core/rootdir/
Dinit.rc994 mkdir /data/rollback-observer 0700 system system encryption=DeleteIfNecessary