/external/v8/test/mjsunit/es7/ |
D | object-observe.js | 33 allObservers.forEach(function(observer) { observer.reset(); }); argument 47 var observer = { variable 77 observer.callback = function(r) { 81 observer.records = r; 82 observer.callbackCount++; 85 observer.reset(); 86 allObservers.push(observer); 87 return observer; 90 var observer = createObserver(); variable 93 assertEquals("function", typeof observer.callback); [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/v8/src/js/ |
D | object-observe.js | 165 var observer = nullProtoObject(); 166 observer.callback = callback; 167 observer.accept = acceptList; 168 return observer; 172 function ObserverGetCallback(observer) { argument 173 return IS_CALLABLE(observer) ? observer : observer.callback; 177 function ObserverGetAcceptTypes(observer) { argument 178 return IS_CALLABLE(observer) ? defaultAcceptTypes : observer.accept; 182 function ObserverIsActive(observer, objectInfo) { argument 184 ObserverGetAcceptTypes(observer)); [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/ |
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 | 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 | 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 | 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,
|
/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/sl4a/Common/src/com/googlecode/android_scripting/trigger/ |
D | TriggerRepository.java | 122 for (TriggerRepositoryObserver observer : mTriggerObservers) { in notifyOnAdd() 123 observer.onPut(trigger); in notifyOnAdd() 129 for (TriggerRepositoryObserver observer : mTriggerObservers) { in notifyOnRemove() 130 observer.onRemove(trigger); in notifyOnRemove() 180 public void addObserver(TriggerRepositoryObserver observer) { in addObserver() argument 181 mTriggerObservers.add(observer); in addObserver() 191 public synchronized void bootstrapObserver(TriggerRepositoryObserver observer) { in bootstrapObserver() argument 192 addObserver(observer); in bootstrapObserver() 194 observer.onPut(trigger.getValue()); in bootstrapObserver() 201 public void removeObserver(TriggerRepositoryObserver observer) { in removeObserver() argument [all …]
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | EventFacade.java | 233 EventObserver observer; in eventWait() local 238 observer = new EventObserver() { in eventWait() 250 addGlobalEventObserver(observer); in eventWait() 261 Log.v(String.format("Removeing observer (%s) got event (%s)", observer, result)); in eventWait() 262 if (observer != null) { in eventWait() 263 removeEventObserver(observer); // Make quite sure this goes away. in eventWait() 309 for (EventObserver observer : mNamedEventObservers.get(name)) { in postEvent() 310 observer.onEventReceived(event); in postEvent() 316 for (EventObserver observer : mGlobalEventObservers) { in postEvent() 317 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 | 68 public void addObserver(SimpleServerObserver observer) { in addObserver() argument 69 mObservers.add(observer); in addObserver() 73 public void removeObserver(SimpleServerObserver observer) { in removeObserver() argument 74 mObservers.remove(observer); in removeObserver() 78 for (SimpleServerObserver observer : mObservers) { in notifyOnConnect() 79 observer.onConnect(); in notifyOnConnect() 84 for (SimpleServerObserver observer : mObservers) { in notifyOnDisconnect() 85 observer.onDisconnect(); in notifyOnDisconnect() 364 for (SimpleServerObserver observer : mObservers) { in shutdown() 365 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/v8/test/mjsunit/es7/regress/ |
D | regress-443982.js | 8 function observer(r) { function 17 Array.observe(arr, observer); 21 Object.deliverChangeRecords(observer);
|