Home
last modified time | relevance | path

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

/system/core/include/utils/
DLruCache.h98 OnEntryRemoved<TKey, TValue>* mListener; variable
109 , mListener(NULL) in LruCache()
118 mListener = listener; in setOnEntryRemovedListener()
170 if (mListener) { in remove()
171 (*mListener)(entry.key, entry.value); in remove()
197 if (mListener) { in clear()
199 (*mListener)(p->key, p->value); in clear()
/system/netd/server/
DMDnsSdListener.cpp54 mListener = listener; in Handler()
69 Context *context = new Context(requestId, mListener); in discover()
105 context->mListener->sendBroadcast(ResponseCode::ServiceDiscoveryFailed, msg, false); in MDnsSdListenerDiscoverCallback()
125 context->mListener->sendBroadcast(respCode, msg, false); in MDnsSdListenerDiscoverCallback()
161 Context *context = new Context(requestId, mListener); in serviceRegister()
197 context->mListener->sendBroadcast(ResponseCode::ServiceRegistrationFailed, msg, false); in MDnsSdListenerRegisterCallback()
203 context->mListener->sendBroadcast(ResponseCode::ServiceRegistrationSucceeded, msg, false); in MDnsSdListenerRegisterCallback()
217 Context *context = new Context(requestId, mListener); in resolveService()
253 context->mListener->sendBroadcast(ResponseCode::ServiceResolveFailed, msg, false); in MDnsSdListenerResolveCallback()
261 context->mListener->sendBroadcast(ResponseCode::ServiceResolveSuccess, msg, false); in MDnsSdListenerResolveCallback()
[all …]
DMDnsSdListener.h56 MDnsSdListener *mListener;
61 mListener = m; in Context()
109 MDnsSdListener *mListener; // needed for broadcast purposes variable