Home
last modified time | relevance | path

Searched refs:ObserverList (Results 1 – 13 of 13) sorted by relevance

/external/libmojo/base/android/javatests/src/org/chromium/base/
DObserverListTest.java42 private final ObserverList<Observer> mList;
45 FooAdder(ObserverList<Observer> list, Observer oblivious) { in FooAdder()
60 private final ObserverList<Observer> mList;
63 FooRemover(ObserverList<Observer> list, Observer innocent) { in FooRemover()
85 ObserverList<Observer> observerList = new ObserverList<Observer>(); in testRemoveWhileIteration()
122 ObserverList<Observer> observerList = new ObserverList<Observer>(); in testAddWhileIteration()
143 ObserverList<Integer> observerList = new ObserverList<Integer>(); in testIterator()
182 ObserverList<Integer> observerList = new ObserverList<Integer>(); in testRewindableIterator()
188 ObserverList.RewindableIterator<Integer> it = observerList.rewindableIterator(); in testRewindableIterator()
221 ObserverList<Object> observerList = new ObserverList<Object>(); in testAddObserverReturnValue()
[all …]
/external/libmojo/base/android/java/src/org/chromium/base/
DObserverList.java32 public class ObserverList<E> implements Iterable<E> { class
51 public ObserverList() {} in ObserverList() method in ObserverList
197 ObserverList.this.incrementIterationDepth(); in ObserverListIterator()
198 mListEndMarker = ObserverList.this.capacity(); in ObserverListIterator()
204 ObserverList.this.incrementIterationDepth(); in rewind()
205 mListEndMarker = ObserverList.this.capacity(); in rewind()
214 && ObserverList.this.getObserverAt(lookupIndex) == null) { in hasNext()
227 while (mIndex < mListEndMarker && ObserverList.this.getObserverAt(mIndex) == null) { in next()
230 if (mIndex < mListEndMarker) return ObserverList.this.getObserverAt(mIndex++); in next()
245 ObserverList.this.decrementIterationDepthAndCompactIfNeeded(); in compactListIfNeeded()
DApplicationStatus.java31 private ObserverList<ActivityStateListener> mListeners =
32 new ObserverList<ActivityStateListener>();
51 public ObserverList<ActivityStateListener> getListeners() { in getListeners()
74 private static final ObserverList<ActivityStateListener> sGeneralActivityStateListeners =
75 new ObserverList<ActivityStateListener>();
81 private static final ObserverList<ApplicationStateListener> sApplicationStateListeners =
82 new ObserverList<ApplicationStateListener>();
DBaseChromiumApplication.java60 private ObserverList<WindowFocusChangedListener> mWindowFocusListeners =
61 new ObserverList<WindowFocusChangedListener>();
/external/libchrome/base/
Dobserver_list_unittest.cc40 Disrupter(ObserverList<Foo>* list, Foo* doomed) in Disrupter()
48 ObserverList<Foo>* list_;
180 ObserverList<Foo> observer_list; in TEST()
433 ObserverList<Foo> observer_list(ObserverList<Foo>::NOTIFY_EXISTING_ONLY); in TEST()
435 AddInObserve<ObserverList<Foo> > b(&observer_list); in TEST()
456 new ObserverListThreadSafe<Foo>(ObserverList<Foo>::NOTIFY_EXISTING_ONLY)); in TEST()
479 explicit AddInClearObserve(ObserverList<Foo>* list) in AddInClearObserve()
492 ObserverList<Foo>* const list_;
499 ObserverList<Foo> observer_list; in TEST()
511 ObserverList<Foo> observer_list(ObserverList<Foo>::NOTIFY_EXISTING_ONLY); in TEST()
[all …]
Dobserver_list_threadsafe.h106 typedef typename ObserverList<ObserverType>::NotificationType
121 ObserverList<ObserverType>* list = nullptr; in AddObserver()
139 ObserverList<ObserverType>* list = nullptr; in RemoveObserver()
204 ObserverList<ObserverType> list;
236 typename ObserverList<ObserverType>::Iterator it(&context->list);
Dobserver_list.h214 class ObserverList : public ObserverListBase<ObserverType> {
219 ObserverList() {} in ObserverList() function
220 explicit ObserverList(NotificationType type) in ObserverList() function
223 ~ObserverList() { in ~ObserverList()
DBUILD.gn2252 "android/java/src/org/chromium/base/ObserverList.java",
/external/libchrome/base/message_loop/
Dmessage_loop.h515 ObserverList<DestructionObserver> destruction_observers_;
517 ObserverList<NestingObserver> nesting_observers_;
532 ObserverList<TaskObserver> task_observers_;
/external/libchrome/base/process/
Dport_provider_mac.h54 base::ObserverList<Observer> observer_list_;
/external/libmojo/mojo/message_pump/
Dmessage_pump_mojo.h160 base::ObserverList<Observer> observers_;
/external/libmojo/mojo/edk/js/
Dhandle.h46 base::ObserverList<HandleCloseObserver> close_observers_;
/external/robolectric/v3/runtime/
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...