Searched refs:mObservers (Results 1 – 6 of 6) sorted by relevance
46 public final List<E> mObservers = new ArrayList<E>(); field in ObserverList63 if (obs == null || mObservers.contains(obs)) { in addObserver()69 boolean result = mObservers.add(obs); in addObserver()86 int index = mObservers.indexOf(obs); in removeObserver()93 mObservers.remove(index); in removeObserver()96 mObservers.set(index, null); in removeObserver()105 return mObservers.contains(obs); in hasObserver()112 mObservers.clear(); in clear()116 int size = mObservers.size(); in clear()119 mObservers.set(i, null); in clear()[all …]
37 return !mObservers.empty(); in hasObservers()42 if (mObservers.empty()) in onStateChange()45 for (const ObserverBindingBase *binding : mObservers) in onStateChange()53 for (angle::ObserverBindingBase *binding : mObservers) in resetObservers()57 mObservers.clear(); in resetObservers()
105 ASSERT(!IsInContainer(mObservers, observer)); in addObserver()106 mObservers.push_back(observer); in addObserver()111 ASSERT(IsInContainer(mObservers, observer)); in removeObserver()112 mObservers.remove_and_permute(observer); in removeObserver()119 angle::FastVector<ObserverBindingBase *, kMaxFixedObservers> mObservers; variable
42 private final List<SimpleServerObserver> mObservers = Lists.newArrayList(); field in SimpleServer64 mObservers.add(observer); in addObserver()71 mObservers.remove(observer); in removeObserver()79 for (SimpleServerObserver observer : mObservers) { in notifyOnConnect()86 for (SimpleServerObserver observer : mObservers) { in notifyOnDisconnect()310 for (SimpleServerObserver observer : mObservers) { in shutdown()
85 mObservers.emplace_back(needle); in watch()92 for (StringObserver &observer : mObservers) in erase()130 for (StringObserver &observer : mObservers) in onWrite()155 std::vector<StringObserver> mObservers; variable
213 Assert.assertEquals(5, (int) observerList.mObservers.get(0)); in testRewindableIterator()215 Assert.assertEquals(null, observerList.mObservers.get(0)); in testRewindableIterator()219 Assert.assertEquals(10, (int) observerList.mObservers.get(0)); in testRewindableIterator()