Home
last modified time | relevance | path

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

/system/bt/service/ipc/binder/
Dremote_callback_list.h82 RemoteCallbackList<T>* owner_; // weak variable
182 : callback_(callback), owner_(owner) { in CallbackDeathRecipient()
184 CHECK(owner_); in CallbackDeathRecipient()
196 std::lock_guard<std::mutex> lock(owner_->map_lock_); in binderDied()
197 auto iter = owner_->callbacks_.find(binder.get()); in binderDied()
198 CHECK(iter != owner_->callbacks_.end()); in binderDied()
199 owner_->callbacks_.erase(iter); in binderDied()
Dremote_callback_map.h95 RemoteCallbackMap<K, V>* owner_; // weak variable
219 : key_(key), callback_(callback), owner_(owner), delegate_(delegate) { in CallbackDeathRecipient()
233 lock_guard<mutex> lock(owner_->map_lock_); in binderDied()
234 auto iter = owner_->map_.find(key_); in binderDied()
235 CHECK(iter != owner_->map_.end()); in binderDied()
236 owner_->map_.erase(iter); in binderDied()
/system/iorap/tests/src/inode2filename/
Dsearch_directories_test.cc436 PurePath(std::string&& path) : owner_(std::move(path)), path_(owner_.value()) { in PurePath()
692 if (other.owner_) { // stay constexpr for non-owning paths. in PurePath()
693 owner_ = other.owner_; in PurePath()
694 path_ = *owner_; // path_ always points to owner if possible. in PurePath()
704 if (other.owner_) { // stay constexpr for non-owning paths. in PurePath()
705 owner_ = std::move(other.owner_); in PurePath()
706 path_ = *owner_; // path_ always points to owner if possible. in PurePath()
1098 return !owner_.has_value(); in IsBorrowed()
1133 std::optional<std::string> owner_; member