Searched refs:listener (Results 1 – 6 of 6) sorted by relevance
61 alistener* listener = reinterpret_cast<alistener*>(_l); in listener_event_func() local77 s->transport = listener->transport; in listener_event_func()78 connect_to_remote(s, listener->connect_to); in listener_event_func()109 void listener_disconnect(void* listener, atransport* t) in listener_disconnect() argument111 free_listener(reinterpret_cast<alistener*>(listener)); in listener_disconnect()223 alistener* listener = reinterpret_cast<alistener*>( in install_listener() local225 if (listener == nullptr) { in install_listener()229 listener->local_name = strdup(local_name.c_str()); in install_listener()230 if (listener->local_name == nullptr) { in install_listener()234 listener->connect_to = strdup(connect_to); in install_listener()[all …]
44 void BatteryPropertiesRegistrar::registerListener(const sp<IBatteryPropertiesListener>& listener) { in registerListener() argument46 if (listener == NULL) in registerListener()51 if (IInterface::asBinder(mListeners[i]) == IInterface::asBinder(listener)) { in registerListener()56 mListeners.add(listener); in registerListener()57 IInterface::asBinder(listener)->linkToDeath(this); in registerListener()62 void BatteryPropertiesRegistrar::unregisterListener(const sp<IBatteryPropertiesListener>& listener)… in unregisterListener() argument63 if (listener == NULL) in unregisterListener()67 if (IInterface::asBinder(mListeners[i]) == IInterface::asBinder(listener)) { in unregisterListener()
40 void registerListener(const sp<IBatteryPropertiesListener>& listener);41 void unregisterListener(const sp<IBatteryPropertiesListener>& listener);
44 void setOnEntryRemovedListener(OnEntryRemoved<TKey, TValue>* listener);117 void LruCache<K, V>::setOnEntryRemovedListener(OnEntryRemoved<K, V>* listener) { in setOnEntryRemovedListener() argument118 mListener = listener; in setOnEntryRemovedListener()
105 Handler(Monitor *m, MDnsSdListener *listener);
50 MDnsSdListener::Handler::Handler(Monitor *m, MDnsSdListener *listener) : in Handler() argument54 mListener = listener; in Handler()