Home
last modified time | relevance | path

Searched defs:observer (Results 1 – 25 of 153) sorted by relevance

1234567

/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DChannelzServiceTest.java149 StreamObserver<GetTopChannelsResponse> observer = mock(StreamObserver.class); in getTopChannelHelper() local
154 observer); in getTopChannelHelper() local
162 StreamObserver<GetChannelResponse> observer = mock(StreamObserver.class); in getChannelHelper() local
165 service.getChannel(GetChannelRequest.newBuilder().setChannelId(id).build(), observer); in getChannelHelper() local
173 StreamObserver<GetChannelResponse> observer = mock(StreamObserver.class); in assertChannelNotFound() local
175 service.getChannel(GetChannelRequest.newBuilder().setChannelId(id).build(), observer); in assertChannelNotFound() local
183 StreamObserver<GetSubchannelResponse> observer = mock(StreamObserver.class); in getSubchannelHelper() local
186 service.getSubchannel(GetSubchannelRequest.newBuilder().setSubchannelId(id).build(), observer); in getSubchannelHelper() local
194 StreamObserver<GetSubchannelResponse> observer = mock(StreamObserver.class); in assertSubchannelNotFound() local
196 service.getSubchannel(GetSubchannelRequest.newBuilder().setSubchannelId(id).build(), observer); in assertSubchannelNotFound() local
[all …]
DHealthStatusManagerTest.java62 StreamObserver<HealthCheckResponse> observer = mock(StreamObserver.class); in checkValidStatus() local
81 StreamObserver<HealthCheckResponse> observer = mock(StreamObserver.class); in checkStatusNotFound() local
102 StreamObserver<HealthCheckResponse> observer = mock(StreamObserver.class); in notFoundForClearedStatus() local
/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DParameterizedConstructorInstantiatorTest.java71 Observer observer = mock(Observer.class); in should_instantiate_type_if_resolver_provide_matching_types() local
84 Observer observer = mock(Observer.class); in should_fail_if_an_argument_instance_type_do_not_match_wanted_type() local
129 public OneConstructor(Observer observer) { } in OneConstructor()
133 … public ThrowingConstructor(Observer observer) throws IOException { throw new IOException(); } in ThrowingConstructor()
137 Observer observer; field in ParameterizedConstructorInstantiatorTest.MultipleConstructor
140 public MultipleConstructor(Observer observer) { this(observer, null); } in MultipleConstructor()
141 public MultipleConstructor(Observer observer, Map map) { in MultipleConstructor()
/external/webrtc/webrtc/call/
Dbitrate_allocator.cc56 for (const auto& observer : bitrate_observers_) in AllocateBitrates() local
64 int BitrateAllocator::AddBitrateObserver(BitrateObserver* observer, in AddBitrateObserver()
98 void BitrateAllocator::RemoveBitrateObserver(BitrateObserver* observer) { in RemoveBitrateObserver()
114 for (const auto& observer : bitrate_observers_) { in GetMinMaxBitrateSumBps() local
122 const BitrateObserver* observer) { in FindObserverConfigurationPair()
145 for (const auto& observer : bitrate_observers_) { in NormalRateAllocation() local
179 for (const auto& observer : bitrate_observers_) in LowRateAllocation() local
185 for (const auto& observer : bitrate_observers_) { in LowRateAllocation() local
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBackupManager.java103 public int getAvailableRestoreSets(IRestoreObserver observer) throws RemoteException { in getAvailableRestoreSets()
108 public int getAvailableRestoreSets(IRestoreObserver observer, IBackupManagerMonitor monitor) in getAvailableRestoreSets()
123 public int restoreAll(long token, IRestoreObserver observer) throws RemoteException { in restoreAll()
128 public int restoreAll(long token, IRestoreObserver observer, IBackupManagerMonitor monitor) in restoreAll()
134 public int restoreSome(long token, IRestoreObserver observer, String[] packages) in restoreSome()
140 public int restoreSome(long token, IRestoreObserver observer, IBackupManagerMonitor monitor, in restoreSome()
146 public int restorePackages(long token, IRestoreObserver observer, String[] packages, in restorePackages()
164 public int restorePackage(String packageName, IRestoreObserver observer) in restorePackage()
171 String packageName, IRestoreObserver observer, IBackupManagerMonitor monitor) in restorePackage()
DShadowContentResolver.java90 public final ContentObserver observer; field in ShadowContentResolver.ContentObserverEntry
92 private ContentObserverEntry(Uri uri, boolean notifyForDescendents, ContentObserver observer) { in ContentObserverEntry()
121 public final ContentObserver observer; field in ShadowContentResolver.NotifiedUri
123 public NotifiedUri(Uri uri, ContentObserver observer, boolean syncToNetwork) { in NotifiedUri()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/observer/
DObservable.java32 void register(AstObserver observer); in register()
37 void unregister(AstObserver observer); in unregister()
43 boolean isRegistered(AstObserver observer); in isRegistered()
/external/pdfium/core/fxcrt/
Dshared_copy_on_write_unittest.cpp34 Object(Observer* observer, const std::string& name) in Object()
51 Observer observer; in TEST() local
59 Observer observer; in TEST() local
80 Observer observer; in TEST() local
94 Observer observer; in TEST() local
110 Observer observer; in TEST() local
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/
DNodeTest.java56 AstObserver observer = new AstObserverAdapter() { in registerSubTree() local
86 AstObserver observer = new AstObserverAdapter() { in registerWithJustNodeMode() local
114 AstObserver observer = new AstObserverAdapter() { in registerWithNodeAndExistingDescendantsMode() local
150 AstObserver observer = new AstObserverAdapter() { in registerWithSelfPropagatingMode() local
189 AstObserver observer = new AstObserverAdapter() { in deleteAParameterTriggerNotifications() local
207 AstObserver observer = new AstObserverAdapter() { in deleteClassNameDoesNotTriggerNotifications() local
226 AstObserver observer = new AstObserverAdapter() { in deleteMethodBodyDoesTriggerNotifications() local
/external/libchrome/device/bluetooth/
Dbluetooth_advertisement.cc20 BluetoothAdvertisement::Observer* observer) { in AddObserver()
26 BluetoothAdvertisement::Observer* observer) { in RemoveObserver()
/external/libchrome/base/
Drun_loop.cc190 void RunLoop::AddNestingObserverOnCurrentThread(NestingObserver* observer) { in AddNestingObserverOnCurrentThread()
197 void RunLoop::RemoveNestingObserverOnCurrentThread(NestingObserver* observer) { in RemoveNestingObserverOnCurrentThread()
280 for (auto& observer : delegate_->nesting_observers_) in BeforeRun() local
303 for (auto& observer : delegate_->nesting_observers_) in AfterRun() local
/external/webrtc/talk/app/webrtc/
Dnotifier.h45 virtual void RegisterObserver(ObserverInterface* observer) { in RegisterObserver()
50 virtual void UnregisterObserver(ObserverInterface* observer) { in UnregisterObserver()
Ddtlsidentitystore.cc143 const rtc::scoped_refptr<webrtc::DtlsIdentityRequestObserver>& observer) { in RequestIdentity()
171 const rtc::scoped_refptr<webrtc::DtlsIdentityRequestObserver>& observer) { in GenerateIdentity()
215 rtc::scoped_refptr<webrtc::DtlsIdentityRequestObserver> observer; in OnIdentityGenerated() local
Dremoteaudiosource.cc116 for (auto* observer : audio_observers_) in SetVolume() local
120 void RemoteAudioSource::RegisterAudioObserver(AudioObserver* observer) { in RegisterAudioObserver()
127 void RemoteAudioSource::UnregisterAudioObserver(AudioObserver* observer) { in UnregisterAudioObserver()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DNetworkMonitor.java187 public static void addNetworkObserver(NetworkObserver observer) { in addNetworkObserver()
191 private void addNetworkObserverInternal(NetworkObserver observer) { in addNetworkObserverInternal()
198 public static void removeNetworkObserver(NetworkObserver observer) { in removeNetworkObserver()
202 private void removeNetworkObserverInternal(NetworkObserver observer) { in removeNetworkObserverInternal()
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/
Drx-observer.hpp179 class observer : public observer_base<T> class
205 …explicit observer(state_t s, on_next_t n = on_next_t(), on_error_t e = on_error_t(), on_completed_… in observer() function in rxcpp::observer
212 explicit observer(state_t s, on_next_t n, on_completed_t c) in observer() function in rxcpp::observer
219 observer(const this_type& o) in observer() function in rxcpp::observer
226 observer(this_type&& o) in observer() function in rxcpp::observer
270 class observer<T, detail::stateless_observer_tag, OnNext, OnError, OnCompleted> : public observer_b… class
297 observer() in observer() function in rxcpp::observer
304 explicit observer(on_next_t n, on_error_t e = on_error_t(), on_completed_t c = on_completed_t()) in observer() function in rxcpp::observer
310 observer(const this_type& o) in observer() function in rxcpp::observer
316 observer(this_type&& o) in observer() function in rxcpp::observer
[all …]
/external/mockito/src/test/java/org/mockito/internal/configuration/injection/
DConstructorInjectionTest.java25 @Mock private Observer observer; field in ConstructorInjectionTest
54 ArgConstructor(Observer observer) {} in ArgConstructor()
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DVideoCapturerAndroidTestFixtures.java307 final FakeCapturerObserver observer = new FakeCapturerObserver(); in cameraEventsInvoked() local
329 final FakeCapturerObserver observer = new FakeCapturerObserver(); in cameraCallsAfterStop() local
373 FakeCapturerObserver observer = new FakeCapturerObserver(); in startStopWithDifferentResolutions() local
425 final FakeCapturerObserver observer = new FakeCapturerObserver(); in startWhileCameraIsAlreadyOpen() local
448 final FakeCapturerObserver observer = new FakeCapturerObserver(); in startWhileCameraIsAlreadyOpenAndCloseCamera() local
472 final FakeCapturerObserver observer = new FakeCapturerObserver(); in startWhileCameraIsAlreadyOpenAndStop() local
483 FakeCapturerObserver observer = new FakeCapturerObserver(); in returnBufferLate() local
558 final FakeCapturerObserver observer = new FakeCapturerObserver(); in cameraFreezedEventOnBufferStarvationUsingTextures() local
/external/libchrome/base/task/sequence_manager/test/
Dlazy_thread_controller_for_test.cc46 RunLoop::NestingObserver* observer) { in AddNestingObserver()
80 RunLoop::NestingObserver* observer) { in RemoveNestingObserver()
Dsequence_manager_for_test.cc23 void AddNestingObserver(RunLoop::NestingObserver* observer) override { in AddNestingObserver()
29 void RemoveNestingObserver(RunLoop::NestingObserver* observer) override { in RemoveNestingObserver()
/external/sl4a/Common/src/com/googlecode/android_scripting/trigger/
DTriggerRepository.java178 public void addObserver(TriggerRepositoryObserver observer) { in addObserver()
189 public synchronized void bootstrapObserver(TriggerRepositoryObserver observer) { in bootstrapObserver()
199 public void removeObserver(TriggerRepositoryObserver observer) { in removeObserver()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/fakes/
DBaseCursor.java166 public void registerContentObserver(ContentObserver observer) { in registerContentObserver()
171 public void unregisterContentObserver(ContentObserver observer) { in unregisterContentObserver()
176 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver()
181 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver()
/external/python/cpython2/Mac/Modules/
DautoGIL.c18 static void autoGILCallback(CFRunLoopObserverRef observer, in autoGILCallback()
58 CFRunLoopObserverRef observer; in autoGIL_installAutoGIL() local
/external/libchrome/mojo/core/
Dmach_port_relay.cc182 void MachPortRelay::AddObserver(Observer* observer) { in AddObserver()
188 void MachPortRelay::RemoveObserver(Observer* observer) { in RemoveObserver()
195 for (auto* observer : observers_) in OnReceivedTaskPort() local
/external/libchrome/mojo/public/cpp/system/tests/
Dfile_data_pipe_producer_unittest.cc193 auto observer = std::make_unique<TestObserver>(&observer_data); in TEST_F() local
218 auto observer = std::make_unique<TestObserver>(&observer_data); in TEST_F() local
238 auto observer = std::make_unique<TestObserver>(&observer_data); in TEST_F() local
270 auto observer = std::make_unique<TestObserver>(&observer_data); in TEST_F() local
291 auto observer = std::make_unique<TestObserver>(&observer_data); in TEST_F() local
324 auto observer = std::make_unique<TestObserver>(&observer_data); in TEST_F() local

1234567