Searched refs:listener (Results 1 – 5 of 5) sorted by relevance
44 void BatteryPropertiesRegistrar::registerListener(const sp<IBatteryPropertiesListener>& listener) { in registerListener() argument46 if (listener == NULL) in registerListener()51 if (mListeners[i]->asBinder() == listener->asBinder()) { in registerListener()56 mListeners.add(listener); in registerListener()57 listener->asBinder()->linkToDeath(this); in registerListener()62 void BatteryPropertiesRegistrar::unregisterListener(const sp<IBatteryPropertiesListener>& listener)… in unregisterListener() argument63 if (listener == NULL) in unregisterListener()67 if (mListeners[i]->asBinder() == listener->asBinder()) { 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()