Home
last modified time | relevance | path

Searched refs:addObserver (Results 1 – 25 of 56) sorted by relevance

123

/external/cronet/base/android/javatests/src/org/chromium/base/
DObserverListTest.java57 mList.addObserver(mLucky); in observe()
98 observerList.addObserver(a); in testRemoveWhileIteration()
99 observerList.addObserver(b); in testRemoveWhileIteration()
106 observerList.addObserver(evil); in testRemoveWhileIteration()
107 observerList.addObserver(c); in testRemoveWhileIteration()
108 observerList.addObserver(d); in testRemoveWhileIteration()
134 observerList.addObserver(evil); in testAddWhileIteration()
135 observerList.addObserver(a); in testAddWhileIteration()
136 observerList.addObserver(b); in testAddWhileIteration()
151 observerList.addObserver(5); in testIterator()
[all …]
/external/libchrome/base/android/javatests/src/org/chromium/base/
DObserverListTest.java57 mList.addObserver(mLucky); in observe()
98 observerList.addObserver(a); in testRemoveWhileIteration()
99 observerList.addObserver(b); in testRemoveWhileIteration()
106 observerList.addObserver(evil); in testRemoveWhileIteration()
107 observerList.addObserver(c); in testRemoveWhileIteration()
108 observerList.addObserver(d); in testRemoveWhileIteration()
134 observerList.addObserver(evil); in testAddWhileIteration()
135 observerList.addObserver(a); in testAddWhileIteration()
136 observerList.addObserver(b); in testAddWhileIteration()
151 observerList.addObserver(5); in testIterator()
[all …]
/external/cronet/base/ios/
Dcrb_protocol_observers_unittest.mm77 // Verifies basic functionality of -[CRBProtocolObservers addObserver:] and
82 [observers_ addObserver:partial_observer_];
99 [observers_ addObserver:partial_observer_];
100 [observers_ addObserver:complete_observer_];
109 [observers_ addObserver:partial_observer_];
110 [observers_ addObserver:complete_observer_];
123 [observers_ addObserver:partial_observer_];
140 [observers_ addObserver:mutate_observer_];
151 [observers_ addObserver:partial_observer_];
161 // Verifies that - [CRBProtocolObservers addObserver:] and
[all …]
Dcrb_protocol_observers.h30 - (void)addObserver:(id)observer;
/external/cronet/base/android/junit/src/org/chromium/base/supplier/
DObservableSupplierImplTest.java37 mSupplier.addObserver(supplierObserver); in testObserverNotification_SetMultiple()
57 mSupplier.addObserver(supplierObserver); in testObserverNotification_SetSame()
74 mSupplier.addObserver(supplierObserver); in testObserverNotification_RemoveObserver()
101 mSupplier.addObserver(supplierObserver); in testObserverNotification_RegisterObserverAfterSet()
124 mSupplier.addObserver(supplierObserver); in testObserverNotification_RegisterObserverAfterSetThenSetAgain()
150 mSupplier.addObserver(supplierObserver); in testObserverNotification_RegisterObserverAfterSetThenRemove()
171 mSupplier.addObserver(supplierObserver); in testObserverNotification_RemoveObserverInsideCallback()
/external/clang/test/SemaObjC/
Dclass-method-self.m6 - (void)addObserver:(XX*)o; // expected-note 2{{passing argument to parameter 'o' here}}
21 …[obj addObserver:self]; // expected-warning {{incompatible pointer types sending 'Class' to pa…
23 …[obj addObserver:whatever]; // expected-warning {{incompatible pointer types sending 'Class' to pa…
/external/cronet/base/android/java/src/org/chromium/base/supplier/
DObservableSupplierImpl.java37 public E addObserver(Callback<E> obs) { in addObserver() method in ObservableSupplierImpl
39 mObservers.addObserver(obs); in addObserver()
DObservableSupplier.java36 E addObserver(Callback<E> obs); in addObserver() method
DOneShotCallback.java45 supplier.addObserver(mCallbackWrapper); in OneShotCallback()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DDynamicXYPlotActivity.java89 data.addObserver(plotUpdater); in onCreate()
211 public void addObserver(Observer observer) { in addObserver() method in DynamicXYPlotActivity.SampleDynamicXYDatasource
212 notifier.addObserver(observer); in addObserver()
/external/apache-commons-io/src/main/java/org/apache/commons/io/monitor/
DFileAlterationMonitor.java93 Stream.of(observers).forEach(this::addObserver); in FileAlterationMonitor()
102 public void addObserver(final FileAlterationObserver observer) { in addObserver() method in FileAlterationMonitor
/external/libchrome/base/android/java/src/org/chromium/base/
DApplicationStatus.java163 sWindowFocusListeners.addObserver(listener); in registerWindowFocusChangedListener()
486 sGeneralActivityStateListeners.addObserver(listener); in registerStateListenerForAllActivities()
511 info.getListeners().addObserver(listener); in registerStateListenerForActivity()
532 sApplicationStateListeners.addObserver(listener); in registerApplicationStateListener()
DMemoryPressureListener.java71 sCallbacks.addObserver(callback); in addCallback()
/external/cronet/base/android/java/src/org/chromium/base/
DApplicationStatus.java184 sWindowFocusListeners.addObserver(listener); in registerWindowFocusChangedListener()
207 sTaskVisibilityListeners.addObserver(listener); in registerTaskVisibilityListener()
626 sGeneralActivityStateListeners.addObserver(listener); in registerStateListenerForAllActivities()
647 info.getListeners().addObserver(listener); in registerStateListenerForActivity()
679 sApplicationStateListeners.addObserver(listener); in registerApplicationStateListener()
DMemoryPressureListener.java75 sCallbacks.addObserver(callback); in addCallback()
/external/webrtc/sdk/objc/components/capturer/
DRTCCameraVideoCapturer.m80 [center addObserver:self
84 [center addObserver:self
88 [center addObserver:self
92 [center addObserver:self
97 [center addObserver:self
101 [center addObserver:self
105 [center addObserver:self
/external/sl4a/Common/src/com/googlecode/android_scripting/trigger/
DTriggerRepository.java178 public void addObserver(TriggerRepositoryObserver observer) { in addObserver() method in TriggerRepository
190 addObserver(observer); in bootstrapObserver()
/external/dagger2/java/dagger/hilt/android/internal/managers/
DViewComponentManager.java194 this.fragment.getLifecycle().addObserver(fragmentLifecycleObserver); in FragmentContextWrapper()
201 this.fragment.getLifecycle().addObserver(fragmentLifecycleObserver); in FragmentContextWrapper()
/external/apache-commons-io/src/test/java/org/apache/commons/io/monitor/
DFileAlterationMonitorTest.java82 monitor.addObserver(null); in testAddRemoveObservers()
88 monitor.addObserver(observer); in testAddRemoveObservers()
/external/webrtc/sdk/android/api/org/webrtc/
DNetworkMonitor.java298 getInstance().addObserver(observer);
301 public void addObserver(NetworkObserver observer) {
/external/angle/src/libANGLE/
DObserver.cpp100 mSubject->addObserver(this); in bind()
/external/lottie/sample/src/main/kotlin/com/airbnb/lottie/samples/utils/
DFragmentViewBindingDelegate.kt34 viewLifecycleOwner.lifecycle.addObserver(object : LifecycleObserver { in <lambda>()
/external/webrtc/sdk/objc/components/audio/
DRTCAudioSession.mm84 [center addObserver:self
88 [center addObserver:self
92 [center addObserver:self
96 [center addObserver:self
103 [center addObserver:self
108 [center addObserver:self
112 [_session addObserver:self
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DGISelChangeObserver.h74 void addObserver(GISelChangeObserver *O) { Observers.push_back(O); } in addObserver() function
/external/oboe/samples/minimaloboe/src/main/java/com/example/minimaloboe/
DMainActivity.kt46 ProcessLifecycleOwner.get().lifecycle.addObserver(AudioPlayer) in onCreate()

123