Searched refs:ObserverList (Results 1 – 17 of 17) sorted by relevance
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | ObserverList.java | 32 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()
|
D | ApplicationStatus.java | 45 private ObserverList<ActivityStateListener> mListeners = new ObserverList<>(); 65 public ObserverList<ActivityStateListener> getListeners() { in getListeners() 104 private static final ObserverList<ActivityStateListener> sGeneralActivityStateListeners = 105 new ObserverList<>(); 111 private static final ObserverList<ApplicationStateListener> sApplicationStateListeners = 112 new ObserverList<>(); 118 private static final ObserverList<WindowFocusChangedListener> sWindowFocusListeners = 119 new ObserverList<>();
|
D | MemoryPressureListener.java | 55 private static final ObserverList<MemoryPressureCallback> sCallbacks = new ObserverList<>();
|
/external/libchrome/base/ |
D | observer_list_unittest.cc | 59 Disrupter(ObserverList<Foo>* list, Foo* doomed, bool remove_self) in Disrupter() 61 Disrupter(ObserverList<Foo>* list, Foo* doomed) in Disrupter() 63 Disrupter(ObserverList<Foo>* list, bool remove_self) in Disrupter() 78 ObserverList<Foo>* list_; 204 ObserverList<Foo> observer_list; in TEST() 205 const ObserverList<Foo>& const_observer_list = observer_list; in TEST() 208 const ObserverList<Foo>::const_iterator it1 = const_observer_list.begin(); in TEST() 211 const ObserverList<Foo>::const_iterator it2 = it1; in TEST() 214 ObserverList<Foo>::const_iterator it3; in TEST() 225 const ObserverList<Foo>::iterator it1 = observer_list.begin(); in TEST() [all …]
|
D | observer_list.h | 98 class ObserverList 100 ObserverList<ObserverType, check_empty, allow_reentrancy>> { 113 explicit Iter(const ObserverList* list) in Iter() 114 : list_(const_cast<ObserverList*>(list)->AsWeakPtr()), in Iter() 206 WeakPtr<ObserverList> list_; 225 ObserverList() = default; 226 explicit ObserverList(ObserverListPolicy policy) : policy_(policy) {} in ObserverList() function 228 ~ObserverList() { in ~ObserverList() 299 DISALLOW_COPY_AND_ASSIGN(ObserverList); 303 using ReentrantObserverList = ObserverList<ObserverType, check_empty, true>;
|
D | run_loop.h | 197 ObserverList<RunLoop::NestingObserver> nesting_observers_;
|
/external/libchrome/base/android/javatests/src/org/chromium/base/ |
D | ObserverListTest.java | 47 private final ObserverList<Observer> mList; 50 FooAdder(ObserverList<Observer> list, Observer oblivious) { in FooAdder() 65 private final ObserverList<Observer> mList; 68 FooRemover(ObserverList<Observer> list, Observer innocent) { in FooRemover() 90 ObserverList<Observer> observerList = new ObserverList<Observer>(); in testRemoveWhileIteration() 128 ObserverList<Observer> observerList = new ObserverList<Observer>(); in testAddWhileIteration() 150 ObserverList<Integer> observerList = new ObserverList<Integer>(); in testIterator() 190 ObserverList<Integer> observerList = new ObserverList<Integer>(); in testRewindableIterator() 196 ObserverList.RewindableIterator<Integer> it = observerList.rewindableIterator(); in testRewindableIterator() 230 ObserverList<Object> observerList = new ObserverList<Object>(); in testAddObserverReturnValue() [all …]
|
/external/libchrome/components/policy/core/common/ |
D | schema_registry.h | 99 base::ObserverList<Observer, true> observers_; 100 base::ObserverList<InternalObserver, true> internal_observers_;
|
D | configuration_policy_provider.h | 98 base::ObserverList<Observer, true> observer_list_;
|
D | policy_service_impl.h | 49 using Observers = base::ObserverList<PolicyService::Observer, true>;
|
/external/libchrome/base/message_loop/ |
D | message_loop.h | 298 ObserverList<DestructionObserver> destruction_observers_; 314 ObserverList<TaskObserver> task_observers_;
|
/external/libchrome/ipc/ |
D | ipc_test_sink.h | 134 base::ObserverList<Listener> filter_list_;
|
/external/libchrome/base/task/sequence_manager/ |
D | sequence_manager_impl.h | 201 ObserverList<MessageLoop::TaskObserver> task_observers; 202 ObserverList<TaskTimeObserver> task_time_observers;
|
D | task_queue_impl.h | 353 ObserverList<MessageLoop::TaskObserver> task_observers;
|
/external/libchrome/base/memory/ |
D | memory_pressure_listener.cc | 47 ObserverList<MemoryPressureListener> sync_observers_;
|
/external/libchrome/device/bluetooth/ |
D | bluetooth_advertisement.h | 146 base::ObserverList<BluetoothAdvertisement::Observer> observers_;
|
/external/libchrome/libchrome_tools/patch/ |
D | observer_list_unittest.patch | 65 ObserverList<Foo> observer_list(ObserverListPolicy::EXISTING_ONLY);
|