Home
last modified time | relevance | path

Searched refs:mObservers (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/android/java/src/org/chromium/base/
DObserverList.java46 public final List<E> mObservers = new ArrayList<E>(); field in ObserverList
63 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 …]
/external/angle/src/libANGLE/
DObserver.cpp37 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()
DObserver.h105 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
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DSimpleServer.java42 private final List<SimpleServerObserver> mObservers = Lists.newArrayList(); field in SimpleServer
64 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()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DDebugSink.h85 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
/external/libchrome/base/android/javatests/src/org/chromium/base/
DObserverListTest.java213 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()