Searched refs:mObservers (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/java/android/database/
H A DDataSetObservable.java31 synchronized(mObservers) {
33 // removing itself from {@link mObservers} - and that could cause problems if
34 // an iterator is used on the ArrayList {@link mObservers}.
36 for (int i = mObservers.size() - 1; i >= 0; i--) {
37 mObservers.get(i).onChanged();
48 synchronized (mObservers) {
49 for (int i = mObservers.size() - 1; i >= 0; i--) {
50 mObservers.get(i).onInvalidated();
H A DObservable.java34 protected final ArrayList<T> mObservers = new ArrayList<T>(); field in class:Observable
47 synchronized(mObservers) {
48 if (mObservers.contains(observer)) {
51 mObservers.add(observer);
66 synchronized(mObservers) {
67 int index = mObservers.indexOf(observer);
71 mObservers.remove(index);
79 synchronized(mObservers) {
80 mObservers.clear();
H A DContentObservable.java67 synchronized(mObservers) {
68 for (ContentObserver observer : mObservers) {
85 synchronized(mObservers) {
86 for (ContentObserver observer : mObservers) {
/frameworks/base/services/java/com/android/server/
H A DNetworkManagementService.java150 private final RemoteCallbackList<INetworkManagementEventObserver> mObservers = field in class:NetworkManagementService
220 mObservers.register(observer);
226 mObservers.unregister(observer);
233 final int length = mObservers.beginBroadcast();
236 mObservers.getBroadcastItem(i).interfaceStatusChanged(iface, up);
240 mObservers.finishBroadcast();
248 final int length = mObservers.beginBroadcast();
251 mObservers.getBroadcastItem(i).interfaceLinkStateChanged(iface, up);
255 mObservers.finishBroadcast();
262 final int length = mObservers
[all...]
/frameworks/base/core/java/android/content/
H A DContentService.java251 = oc.mNode.mObservers;
653 private ArrayList<ObserverEntry> mObservers = new ArrayList<ObserverEntry>(); field in class:ContentService.ObserverNode
662 if (mObservers.size() > 0) {
668 for (int i=0; i<mObservers.size(); i++) {
670 mObservers.get(i).dumpLocked(fd, pw, args, innerName, prefix,
722 mObservers.add(new ObserverEntry(observer, notifyForDescendants, observersLock,
761 size = mObservers.size();
763 ObserverEntry entry = mObservers.get(i);
765 mObservers.remove(i);
772 if (mChildren.size() == 0 && mObservers
[all...]

Completed in 54 milliseconds