Searched refs:mObservers (Results 1 – 8 of 8) sorted by relevance
29 protected final ArrayList<T> mObservers = new ArrayList<T>(); field in Observable42 synchronized(mObservers) { in registerObserver()43 if (mObservers.contains(observer)) { in registerObserver()46 mObservers.add(observer); in registerObserver()61 synchronized(mObservers) { in unregisterObserver()62 int index = mObservers.indexOf(observer); in unregisterObserver()66 mObservers.remove(index); in unregisterObserver()74 synchronized(mObservers) { in unregisterAll()75 mObservers.clear(); in unregisterAll()
29 synchronized(mObservers) { in notifyChanged()34 for (int i = mObservers.size() - 1; i >= 0; i--) { in notifyChanged()35 mObservers.get(i).onChanged(); in notifyChanged()45 synchronized (mObservers) { in notifyInvalidated()46 for (int i = mObservers.size() - 1; i >= 0; i--) { in notifyInvalidated()47 mObservers.get(i).onInvalidated(); in notifyInvalidated()
36 synchronized(mObservers) { in dispatchChange()37 for (ContentObserver observer : mObservers) { in dispatchChange()50 synchronized(mObservers) { in notifyChange()51 for (ContentObserver observer : mObservers) { in notifyChange()
90 private ArrayList<Object> mObservers = new ArrayList<Object>(); field in UEventObserver.UEventThread105 synchronized (mObservers) { in run()106 for (int i = 0; i < mObservers.size(); i += 2) { in run()107 if (bufferStr.indexOf((String)mObservers.get(i)) != -1) { in run()108 ((UEventObserver)mObservers.get(i+1)) in run()117 synchronized(mObservers) { in addObserver()118 mObservers.add(match); in addObserver()119 mObservers.add(observer); in addObserver()124 synchronized(mObservers) { in removeObserver()128 for (int i = 0; i < mObservers.size(); i += 2) { in removeObserver()[all …]
188 = oc.mNode.mObservers; in notifyChange()549 private ArrayList<ObserverEntry> mObservers = new ArrayList<ObserverEntry>(); field in ContentService.ObserverNode558 if (mObservers.size() > 0) { in dumpLocked()564 for (int i=0; i<mObservers.size(); i++) { in dumpLocked()566 mObservers.get(i).dumpLocked(fd, pw, args, innerName, prefix, in dumpLocked()614 mObservers.add(new ObserverEntry(observer, notifyForDescendents, observersLock, in addObserverLocked()653 size = mObservers.size(); in removeObserverLocked()655 ObserverEntry entry = mObservers.get(i); in removeObserverLocked()657 mObservers.remove(i); in removeObserverLocked()664 if (mChildren.size() == 0 && mObservers.size() == 0) { in removeObserverLocked()[all …]
122 private ArrayList<INetworkManagementEventObserver> mObservers; field in NetworkManagementService143 mObservers = new ArrayList<INetworkManagementEventObserver>(); in NetworkManagementService()191 mObservers.add(obs); in registerObserver()196 mObservers.remove(mObservers.indexOf(obs)); in unregisterObserver()203 for (INetworkManagementEventObserver obs : mObservers) { in notifyInterfaceStatusChanged()217 for (INetworkManagementEventObserver obs : mObservers) { in notifyInterfaceLinkStateChanged()230 for (INetworkManagementEventObserver obs : mObservers) { in notifyInterfaceAdded()243 for (INetworkManagementEventObserver obs : mObservers) { in notifyInterfaceRemoved()256 for (INetworkManagementEventObserver obs : mObservers) { in notifyLimitReached()
7074 field protected final java.util.ArrayList mObservers;