Lines Matching refs:mListeners
39 for (size_t i = 0; i < mListeners.size(); i++) {
40 mListeners[i]->batteryPropertiesChanged(props);
50 for (size_t i = 0; i < mListeners.size(); i++) {
51 if (mListeners[i]->asBinder() == listener->asBinder()) {
56 mListeners.add(listener);
66 for (size_t i = 0; i < mListeners.size(); i++) {
67 if (mListeners[i]->asBinder() == listener->asBinder()) {
68 mListeners[i]->asBinder()->unlinkToDeath(this);
69 mListeners.removeAt(i);
95 for (size_t i = 0; i < mListeners.size(); i++) {
96 if (mListeners[i]->asBinder() == who) {
97 mListeners.removeAt(i);