Home
last modified time | relevance | path

Searched refs:mListeners (Results 1 – 2 of 2) sorted by relevance

/system/core/healthd/
DBatteryPropertiesRegistrar.cpp40 for (size_t i = 0; i < mListeners.size(); i++) { in notifyListeners()
41 mListeners[i]->batteryPropertiesChanged(props); in notifyListeners()
51 for (size_t i = 0; i < mListeners.size(); i++) { in registerListener()
52 if (IInterface::asBinder(mListeners[i]) == IInterface::asBinder(listener)) { in registerListener()
57 mListeners.add(listener); in registerListener()
67 for (size_t i = 0; i < mListeners.size(); i++) { in unregisterListener()
68 if (IInterface::asBinder(mListeners[i]) == IInterface::asBinder(listener)) { in unregisterListener()
69 IInterface::asBinder(mListeners[i])->unlinkToDeath(this); in unregisterListener()
70 mListeners.removeAt(i); in unregisterListener()
96 for (size_t i = 0; i < mListeners.size(); i++) { in binderDied()
[all …]
DBatteryPropertiesRegistrar.h38 Vector<sp<IBatteryPropertiesListener> > mListeners; variable