Home
last modified time | relevance | path

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

/system/bt/service/ipc/binder/
Dremote_callback_list.h93 CallbackMap callbacks_; variable
109 for (auto iter = callbacks_.begin(); iter != callbacks_.end(); ++iter) in ~RemoteCallbackList()
118 if (callbacks_.find(binder.get()) != callbacks_.end()) { in Register()
130 callbacks_[binder.get()] = dr; in Register()
142 auto iter = callbacks_.find(binder.get()); in Unregister()
143 if (iter == callbacks_.end()) { in Unregister()
154 for (const auto& iter : callbacks_) in ForEach()
162 callbacks_.erase(iter); in UnregisterInternal()
199 auto iter = owner_->callbacks_.find(binder.get()); in binderDied()
200 CHECK(iter != owner_->callbacks_.end()); in binderDied()
[all …]
Dbluetooth_binder_server.cpp97 callbacks_.Register(callback); in RegisterCallback()
107 callbacks_.Unregister(callback); in UnregisterCallback()
181 callbacks_.ForEach([prev_state, new_state](IBluetoothCallback* callback) { in OnAdapterStateChanged()
Dbluetooth_binder_server.h75 RemoteCallbackList<IBluetoothCallback> callbacks_; variable
/system/update_engine/
Dbinder_service_android.cc50 for (auto& callback : callbacks_) { in SendStatusUpdate()
57 for (auto& callback : callbacks_) { in SendPayloadApplicationComplete()
64 callbacks_.emplace_back(callback); in bind()
134 std::find_if(callbacks_.begin(), in UnbindCallback()
135 callbacks_.end(), in UnbindCallback()
139 if (it == callbacks_.end()) { in UnbindCallback()
143 callbacks_.erase(it); in UnbindCallback()
Dbinder_service_brillo.cc176 callbacks_.emplace_back(callback); in RegisterStatusCallback()
197 auto it = callbacks_.begin(); in UnregisterStatusCallback()
199 for (; it != callbacks_.end() && it->get() != callback; it++) in UnregisterStatusCallback()
202 if (it == callbacks_.end()) { in UnregisterStatusCallback()
208 callbacks_.erase(it); in UnregisterStatusCallback()
218 for (auto& callback : callbacks_) { in SendStatusUpdate()
Dchrome_browser_proxy_resolver.cc87 callbacks_.insert(make_pair(url, make_pair(callback, data))); in GetProxiesForUrl()
103 CallbacksMap::iterator it = callbacks_.lower_bound(source_url); in DeleteUrlState()
104 TEST_AND_RETURN_FALSE(it != callbacks_.end()); in DeleteUrlState()
108 callbacks_.erase(it); in DeleteUrlState()
Dchrome_browser_proxy_resolver.h92 CallbacksMap callbacks_; variable
Dbinder_service_android.h78 std::vector<android::sp<android::os::IUpdateEngineCallback>> callbacks_; variable
Dbinder_service_brillo.h104 callbacks_; variable