Lines Matching refs:K

37 template <typename K, typename V>
53 virtual void OnRemoteCallbackRemoved(const K& key) = 0;
63 bool Register(const K& key, const android::sp<V>& callback,
68 bool Unregister(const K& key);
72 android::sp<V> Get(const K& key);
76 android::sp<V> Remove(const K& key);
84 CallbackDeathRecipient(const K& key, const android::sp<V>& callback,
85 RemoteCallbackMap<K, V>* owner, Delegate* delegate);
93 K key_;
95 RemoteCallbackMap<K, V>* owner_; // weak
101 std::unordered_map<K, android::sp<CallbackDeathRecipient>>;
121 template <typename K, typename V>
122 RemoteCallbackMap<K, V>::~RemoteCallbackMap() { in ~RemoteCallbackMap()
126 template <typename K, typename V>
127 bool RemoteCallbackMap<K, V>::Register(const K& key, const sp<V>& callback, in Register()
151 template <typename K, typename V>
152 bool RemoteCallbackMap<K, V>::Unregister(const K& key) { in Unregister()
164 template <typename K, typename V>
165 sp<V> RemoteCallbackMap<K, V>::Get(const K& key) { in Get()
174 template <typename K, typename V>
175 sp<V> RemoteCallbackMap<K, V>::Remove(const K& key) { in Remove()
186 template <typename K, typename V>
187 void RemoteCallbackMap<K, V>::Clear() { in Clear()
194 template <typename K, typename V>
195 bool RemoteCallbackMap<K, V>::UnregisterInternal( in UnregisterInternal()
215 template <typename K, typename V>
216 RemoteCallbackMap<K, V>::CallbackDeathRecipient::CallbackDeathRecipient( in CallbackDeathRecipient() argument
217 const K& key, const sp<V>& callback, RemoteCallbackMap<K, V>* owner, in CallbackDeathRecipient()
223 template <typename K, typename V>
224 void RemoteCallbackMap<K, V>::CallbackDeathRecipient::binderDied( in binderDied()