Home
last modified time | relevance | path

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

/system/core/include/utils/
DLruCache.h94 OnEntryRemoved<TKey, TValue>* mListener; variable
144 , mListener(NULL) in LruCache()
160 mListener = listener; in setOnEntryRemovedListener()
204 if (mListener) { in remove()
205 (*mListener)(entry->key, entry->value); in remove()
231 if (mListener) { in clear()
233 (*mListener)(p->key, p->value); in clear()
/system/netd/server/
DMDnsSdListener.cpp57 mListener = listener; in Handler()
72 Context *context = new Context(requestId, mListener); in discover()
108 context->mListener->sendBroadcast(ResponseCode::ServiceDiscoveryFailed, msg, false); in MDnsSdListenerDiscoverCallback()
128 context->mListener->sendBroadcast(respCode, msg, false); in MDnsSdListenerDiscoverCallback()
164 Context *context = new Context(requestId, mListener); in serviceRegister()
200 context->mListener->sendBroadcast(ResponseCode::ServiceRegistrationFailed, msg, false); in MDnsSdListenerRegisterCallback()
206 context->mListener->sendBroadcast(ResponseCode::ServiceRegistrationSucceeded, msg, false); in MDnsSdListenerRegisterCallback()
220 Context *context = new Context(requestId, mListener); in resolveService()
256 context->mListener->sendBroadcast(ResponseCode::ServiceResolveFailed, msg, false); in MDnsSdListenerResolveCallback()
274 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