/external/chromium-trace/catapult/netlog_viewer/netlog_viewer/ |
D | browser_bridge.js | 394 addProxySettingsObserver: function(observer, ignoreWhenUnchanged) { argument 395 this.pollableDataHelpers_.proxySettings.addObserver(observer, 410 addBadProxiesObserver: function(observer, ignoreWhenUnchanged) { argument 411 this.pollableDataHelpers_.badProxies.addObserver(observer, 421 addHostResolverInfoObserver: function(observer, ignoreWhenUnchanged) { argument 423 observer, ignoreWhenUnchanged); 432 addSocketPoolInfoObserver: function(observer, ignoreWhenUnchanged) { argument 433 this.pollableDataHelpers_.socketPoolInfo.addObserver(observer, 443 addSessionNetworkStatsObserver: function(observer, ignoreWhenUnchanged) { argument 445 observer, ignoreWhenUnchanged); [all …]
|
/external/webrtc/webrtc/call/ |
D | bitrate_allocator.cc | 56 for (const auto& observer : bitrate_observers_) in AllocateBitrates() local 57 sum_min_bitrates += observer.second.min_bitrate; in AllocateBitrates() 64 int BitrateAllocator::AddBitrateObserver(BitrateObserver* observer, in AddBitrateObserver() argument 70 FindObserverConfigurationPair(observer); in AddBitrateObserver() 84 observer, BitrateConfiguration(min_bitrate_bps, max_bitrate_bps))); in AddBitrateObserver() 92 if (kv.first == observer) in AddBitrateObserver() 98 void BitrateAllocator::RemoveBitrateObserver(BitrateObserver* observer) { in RemoveBitrateObserver() argument 101 FindObserverConfigurationPair(observer); in RemoveBitrateObserver() 114 for (const auto& observer : bitrate_observers_) { in GetMinMaxBitrateSumBps() local 115 *min_bitrate_sum_bps += observer.second.min_bitrate; in GetMinMaxBitrateSumBps() [all …]
|
D | bitrate_allocator.h | 47 int AddBitrateObserver(BitrateObserver* observer, 51 void RemoveBitrateObserver(BitrateObserver* observer); 71 ObserverConfiguration(BitrateObserver* observer, uint32_t bitrate) in ObserverConfiguration() 72 : observer(observer), min_bitrate(bitrate) {} in ObserverConfiguration() 73 BitrateObserver* const observer; member 83 const BitrateObserver* observer) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
|
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
D | VideoCapturerAndroidTestFixtures.java | 307 final FakeCapturerObserver observer = new FakeCapturerObserver(); in cameraEventsInvoked() local 309 appContext, observer); in cameraEventsInvoked() 311 assertTrue(observer.WaitForCapturerToStart()); in cameraEventsInvoked() 312 observer.WaitForNextCapturedFrame(); in cameraEventsInvoked() 329 final FakeCapturerObserver observer = new FakeCapturerObserver(); in cameraCallsAfterStop() local 331 appContext, observer); in cameraCallsAfterStop() 333 assertTrue(observer.WaitForCapturerToStart()); in cameraCallsAfterStop() 373 FakeCapturerObserver observer = new FakeCapturerObserver(); in startStopWithDifferentResolutions() local 379 appContext, observer); in startStopWithDifferentResolutions() 380 assertTrue(observer.WaitForCapturerToStart()); in startStopWithDifferentResolutions() [all …]
|
D | NetworkMonitorTest.java | 202 NetworkMonitorAutoDetect.Observer observer = new TestNetworkMonitorAutoDetectObserver(); in testNetworkMonitorRegistersInConstructor() local 204 NetworkMonitorAutoDetect receiver = new NetworkMonitorAutoDetect(observer, context); in testNetworkMonitorRegistersInConstructor() 221 NetworkMonitorTestObserver observer = new NetworkMonitorTestObserver(); in testNetworkMonitorJavaObservers() local 222 NetworkMonitor.addNetworkObserver(observer); in testNetworkMonitorJavaObservers() 224 assertFalse(observer.hasReceivedNotification()); in testNetworkMonitorJavaObservers() 229 assertFalse(observer.hasReceivedNotification()); in testNetworkMonitorJavaObservers() 234 assertTrue(observer.hasReceivedNotification()); in testNetworkMonitorJavaObservers() 235 observer.resetHasReceivedNotification(); in testNetworkMonitorJavaObservers() 240 assertTrue(observer.hasReceivedNotification()); in testNetworkMonitorJavaObservers() 241 observer.resetHasReceivedNotification(); in testNetworkMonitorJavaObservers() [all …]
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | ArrayAdapterTest.java | 112 DataSetObserver observer = mock(DataSetObserver.class); in testRemoveNotifiesDataSetObservers() local 113 arrayAdapter.registerDataSetObserver(observer); in testRemoveNotifiesDataSetObservers() 118 verify(observer).onChanged(); in testRemoveNotifiesDataSetObservers() 123 DataSetObserver observer = mock(DataSetObserver.class); in testClearNotifiesDataSetObservers() local 124 arrayAdapter.registerDataSetObserver(observer); in testClearNotifiesDataSetObservers() 128 verify(observer).onChanged(); in testClearNotifiesDataSetObservers() 133 DataSetObserver observer = mock(DataSetObserver.class); in testAddNotifiesDataSetObservers() local 134 arrayAdapter.registerDataSetObserver(observer); in testAddNotifiesDataSetObservers() 138 verify(observer).onChanged(); in testAddNotifiesDataSetObservers() 143 DataSetObserver observer = mock(DataSetObserver.class); in testInsertNotifiesDataSetObservers() local [all …]
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
D | NetworkMonitor.java | 179 for (NetworkObserver observer : networkObservers) { in notifyObserversOfConnectionTypeChange() 180 observer.onConnectionTypeChanged(newConnectionType); in notifyObserversOfConnectionTypeChange() 187 public static void addNetworkObserver(NetworkObserver observer) { in addNetworkObserver() argument 188 getInstance().addNetworkObserverInternal(observer); in addNetworkObserver() 191 private void addNetworkObserverInternal(NetworkObserver observer) { in addNetworkObserverInternal() argument 192 networkObservers.add(observer); in addNetworkObserverInternal() 198 public static void removeNetworkObserver(NetworkObserver observer) { in removeNetworkObserver() argument 199 getInstance().removeNetworkObserverInternal(observer); in removeNetworkObserver() 202 private void removeNetworkObserverInternal(NetworkObserver observer) { in removeNetworkObserverInternal() argument 203 networkObservers.remove(observer); in removeNetworkObserverInternal()
|
/external/webrtc/talk/app/webrtc/ |
D | webrtcsessiondescriptionfactory.cc | 78 webrtc::CreateSessionDescriptionObserver* observer) in CreateSessionDescriptionMsg() 79 : observer(observer) { in CreateSessionDescriptionMsg() 82 rtc::scoped_refptr<webrtc::CreateSessionDescriptionObserver> observer; member 257 CreateSessionDescriptionObserver* observer, in CreateOffer() argument 264 PostCreateSessionDescriptionFailed(observer, error); in CreateOffer() 271 PostCreateSessionDescriptionFailed(observer, error); in CreateOffer() 276 CreateSessionDescriptionRequest::kOffer, observer, session_options); in CreateOffer() 287 CreateSessionDescriptionObserver* observer, in CreateAnswer() argument 294 PostCreateSessionDescriptionFailed(observer, error); in CreateAnswer() 300 PostCreateSessionDescriptionFailed(observer, error); in CreateAnswer() [all …]
|
D | dtlsidentitystore.cc | 143 const rtc::scoped_refptr<webrtc::DtlsIdentityRequestObserver>& observer) { in RequestIdentity() argument 145 RTC_DCHECK(observer); in RequestIdentity() 147 GenerateIdentity(key_type, observer); in RequestIdentity() 171 const rtc::scoped_refptr<webrtc::DtlsIdentityRequestObserver>& observer) { in GenerateIdentity() argument 175 if (observer.get()) { in GenerateIdentity() 176 request_info_[key_type].request_observers_.push(observer); in GenerateIdentity() 215 rtc::scoped_refptr<webrtc::DtlsIdentityRequestObserver> observer; in OnIdentityGenerated() local 217 observer = request_info_[key_type].request_observers_.front(); in OnIdentityGenerated() 221 if (observer.get() == nullptr) { in OnIdentityGenerated() 233 observer->OnSuccess(std::move(identity)); in OnIdentityGenerated() [all …]
|
D | remoteaudiosource.cc | 116 for (auto* observer : audio_observers_) in SetVolume() local 117 observer->OnSetVolume(volume); in SetVolume() 120 void RemoteAudioSource::RegisterAudioObserver(AudioObserver* observer) { in RegisterAudioObserver() argument 121 RTC_DCHECK(observer != NULL); in RegisterAudioObserver() 123 observer) == audio_observers_.end()); in RegisterAudioObserver() 124 audio_observers_.push_back(observer); in RegisterAudioObserver() 127 void RemoteAudioSource::UnregisterAudioObserver(AudioObserver* observer) { in UnregisterAudioObserver() argument 128 RTC_DCHECK(observer != NULL); in UnregisterAudioObserver() 129 audio_observers_.remove(observer); in UnregisterAudioObserver()
|
D | notifier.h | 45 virtual void RegisterObserver(ObserverInterface* observer) { in RegisterObserver() argument 46 ASSERT(observer != NULL); in RegisterObserver() 47 observers_.push_back(observer); in RegisterObserver() 50 virtual void UnregisterObserver(ObserverInterface* observer) { in UnregisterObserver() argument 53 if (*it == observer) { in UnregisterObserver()
|
D | peerconnection.cc | 110 webrtc::SetSessionDescriptionObserver* observer) in SetSessionDescriptionMsg() 111 : observer(observer) { in SetSessionDescriptionMsg() 114 rtc::scoped_refptr<webrtc::SetSessionDescriptionObserver> observer; member 120 webrtc::CreateSessionDescriptionObserver* observer) in CreateSessionDescriptionMsg() 121 : observer(observer) {} in CreateSessionDescriptionMsg() 123 rtc::scoped_refptr<webrtc::CreateSessionDescriptionObserver> observer; member 128 GetStatsMsg(webrtc::StatsObserver* observer, in GetStatsMsg() 130 : observer(observer), track(track) { in GetStatsMsg() 132 rtc::scoped_refptr<webrtc::StatsObserver> observer; member 593 PeerConnectionObserver* observer) { in Initialize() argument [all …]
|
D | webrtcsessiondescriptionfactory.h | 72 CreateSessionDescriptionObserver* observer, in CreateSessionDescriptionRequest() 75 observer(observer), in CreateSessionDescriptionRequest() 79 rtc::scoped_refptr<CreateSessionDescriptionObserver> observer; member 121 CreateSessionDescriptionObserver* observer, 124 void CreateAnswer(CreateSessionDescriptionObserver* observer, 165 CreateSessionDescriptionObserver* observer, 168 CreateSessionDescriptionObserver* observer,
|
D | peerconnection_unittest.cc | 504 rtc::scoped_ptr<DummyDtmfObserver> observer(new DummyDtmfObserver()); in VerifyDtmf() local 519 dtmf_sender->RegisterObserver(observer.get()); in VerifyDtmf() 528 EXPECT_TRUE_WAIT(observer->completed(), kMaxWaitMs); in VerifyDtmf() 533 observer->Verify(tones); in VerifyDtmf() 595 observer(new rtc::RefCountedObject<MockStatsObserver>()); in GetAudioOutputLevelStats() local 597 observer, track, PeerConnectionInterface::kStatsOutputLevelStandard)); in GetAudioOutputLevelStats() 598 EXPECT_TRUE_WAIT(observer->called(), kMaxWaitMs); in GetAudioOutputLevelStats() 599 EXPECT_NE(0, observer->timestamp()); in GetAudioOutputLevelStats() 600 return observer->AudioOutputLevel(); in GetAudioOutputLevelStats() 605 observer(new rtc::RefCountedObject<MockStatsObserver>()); in GetAudioInputLevelStats() local [all …]
|
D | dtlsidentitystore.h | 80 const rtc::scoped_refptr<DtlsIdentityRequestObserver>& observer) { in RequestIdentity() argument 82 RequestIdentity(rtc::KeyParams(key_type), observer); in RequestIdentity() 90 const rtc::scoped_refptr<DtlsIdentityRequestObserver>& observer) { in RequestIdentity() argument 92 RequestIdentity(key_params.type(), observer); in RequestIdentity() 110 const rtc::scoped_refptr<DtlsIdentityRequestObserver>& observer) override; 121 const rtc::scoped_refptr<DtlsIdentityRequestObserver>& observer);
|
D | peerconnection.h | 79 PeerConnectionObserver* observer); 103 bool GetStats(StatsObserver* observer, 118 void CreateOffer(CreateSessionDescriptionObserver* observer, 120 void CreateOffer(CreateSessionDescriptionObserver* observer, 122 void CreateAnswer(CreateSessionDescriptionObserver* observer, 124 void SetLocalDescription(SetSessionDescriptionObserver* observer, 126 void SetRemoteDescription(SetSessionDescriptionObserver* observer, 132 void RegisterUMAObserver(UMAObserver* observer) override; 206 void PostSetSessionDescriptionFailure(SetSessionDescriptionObserver* observer, 209 CreateSessionDescriptionObserver* observer,
|
D | peerconnectioninterface.h | 359 virtual bool GetStats(StatsObserver* observer, 372 virtual void CreateOffer(CreateSessionDescriptionObserver* observer, in CreateOffer() argument 377 virtual void CreateOffer(CreateSessionDescriptionObserver* observer, in CreateOffer() argument 382 virtual void CreateAnswer(CreateSessionDescriptionObserver* observer, 387 virtual void SetLocalDescription(SetSessionDescriptionObserver* observer, 392 virtual void SetRemoteDescription(SetSessionDescriptionObserver* observer, 420 virtual void RegisterUMAObserver(UMAObserver* observer) = 0; 533 PeerConnectionObserver* observer) = 0;
|
/external/sl4a/Common/src/com/googlecode/android_scripting/trigger/ |
D | TriggerRepository.java | 120 for (TriggerRepositoryObserver observer : mTriggerObservers) { in notifyOnAdd() 121 observer.onPut(trigger); in notifyOnAdd() 127 for (TriggerRepositoryObserver observer : mTriggerObservers) { in notifyOnRemove() 128 observer.onRemove(trigger); in notifyOnRemove() 178 public void addObserver(TriggerRepositoryObserver observer) { in addObserver() argument 179 mTriggerObservers.add(observer); in addObserver() 189 public synchronized void bootstrapObserver(TriggerRepositoryObserver observer) { in bootstrapObserver() argument 190 addObserver(observer); in bootstrapObserver() 192 observer.onPut(trigger.getValue()); in bootstrapObserver() 199 public void removeObserver(TriggerRepositoryObserver observer) { in removeObserver() argument [all …]
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | EventFacade.java | 232 EventObserver observer; in eventWait() local 237 observer = new EventObserver() { in eventWait() 249 addGlobalEventObserver(observer); in eventWait() 260 Log.v(String.format("Removeing observer (%s) got event (%s)", observer, result)); in eventWait() 261 if (observer != null) { in eventWait() 262 removeEventObserver(observer); // Make quite sure this goes away. in eventWait() 308 for (EventObserver observer : mNamedEventObservers.get(name)) { in postEvent() 309 observer.onEventReceived(event); in postEvent() 315 for (EventObserver observer : mGlobalEventObservers) { in postEvent() 316 observer.onEventReceived(event); in postEvent() [all …]
|
/external/libchrome/base/process/ |
D | port_provider_mac.cc | 12 void PortProvider::AddObserver(Observer* observer) { in AddObserver() argument 14 observer_list_.AddObserver(observer); in AddObserver() 17 void PortProvider::RemoveObserver(Observer* observer) { in RemoveObserver() argument 19 observer_list_.RemoveObserver(observer); in RemoveObserver()
|
/external/sl4a/Utils/src/com/googlecode/android_scripting/ |
D | SimpleServer.java | 67 public void addObserver(SimpleServerObserver observer) { in addObserver() argument 68 mObservers.add(observer); in addObserver() 72 public void removeObserver(SimpleServerObserver observer) { in removeObserver() argument 73 mObservers.remove(observer); in removeObserver() 77 for (SimpleServerObserver observer : mObservers) { in notifyOnConnect() 78 observer.onConnect(); in notifyOnConnect() 83 for (SimpleServerObserver observer : mObservers) { in notifyOnDisconnect() 84 observer.onDisconnect(); in notifyOnDisconnect() 363 for (SimpleServerObserver observer : mObservers) { in shutdown() 364 removeObserver(observer); in shutdown()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowBaseAdapter.java | 40 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver() argument 41 dataSetObservers.add(observer); in registerDataSetObserver() 50 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver() argument 51 dataSetObservers.remove(observer); in unregisterDataSetObserver()
|
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/ |
D | PeerConnection.java | 195 SdpObserver observer, MediaConstraints constraints); in createOffer() argument 198 SdpObserver observer, MediaConstraints constraints); in createAnswer() argument 201 SdpObserver observer, SessionDescription sdp); in setLocalDescription() argument 204 SdpObserver observer, SessionDescription sdp); in setRemoteDescription() argument 253 public boolean getStats(StatsObserver observer, MediaStreamTrack track) { in getStats() argument 254 return nativeGetStats(observer, (track == null) ? 0 : track.nativeTrack); in getStats() 298 StatsObserver observer, long nativeTrack); in nativeGetStats() argument
|
/external/webrtc/talk/app/webrtc/test/ |
D | fakedtlsidentitystore.h | 118 observer) override { in RequestIdentity() 122 rtc::scoped_refptr<webrtc::DtlsIdentityRequestObserver>(observer)); in RequestIdentity() 162 rtc::scoped_refptr<webrtc::DtlsIdentityRequestObserver> observer = in OnMessage() local 170 observer->OnSuccess(cert, key); in OnMessage() 174 observer->OnFailure(0); in OnMessage()
|
/external/chromium-trace/catapult/third_party/polymer/components/webcomponentsjs/ |
D | CustomElements.js | 73 function scheduleCallback(observer) { argument 74 scheduledObservers.push(observer); 91 observers.forEach(function(observer) { argument 92 var queue = observer.takeRecords(); 93 removeTransientObserversFor(observer); 95 observer.callback_(queue, observer); 101 function removeTransientObserversFor(observer) { argument 102 observer.nodes_.forEach(function(node) { 106 if (registration.observer === observer) registration.removeTransientObservers(); 141 if (registrations[i].observer === this) { [all …]
|