Home
last modified time | relevance | path

Searched refs:owner_ (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/service/ipc/binder/
Dremote_callback_list.h84 RemoteCallbackList<T>* owner_; // weak variable
181 : callback_(callback), owner_(owner) { in CallbackDeathRecipient()
183 CHECK(owner_); in CallbackDeathRecipient()
195 std::lock_guard<std::mutex> lock(owner_->map_lock_); in binderDied()
196 auto iter = owner_->callbacks_.find(binder.get()); in binderDied()
197 CHECK(iter != owner_->callbacks_.end()); in binderDied()
198 owner_->callbacks_.erase(iter); in binderDied()
Dremote_callback_map.h97 RemoteCallbackMap<K, V>* owner_; // weak variable
218 : key_(key), callback_(callback), owner_(owner), delegate_(delegate) { in CallbackDeathRecipient()
232 lock_guard<mutex> lock(owner_->map_lock_); in binderDied()
233 auto iter = owner_->map_.find(key_); in binderDied()
234 CHECK(iter != owner_->map_.end()); in binderDied()
235 owner_->map_.erase(iter); in binderDied()