/external/chromium_org/mojo/public/cpp/bindings/lib/ |
D | filter_chain.cc | 14 FilterChain::FilterChain(MessageReceiver* sink) : sink_(sink) { in FilterChain() 17 FilterChain::FilterChain(RValue other) : sink_(other.object->sink_) { in FilterChain() 18 other.object->sink_ = NULL; in FilterChain() 23 std::swap(sink_, other.object->sink_); in operator =() 37 MOJO_DCHECK(!sink_); in SetSink() 38 sink_ = sink; in SetSink() 44 MOJO_DCHECK(sink_); in GetHead() 45 return filters_.empty() ? sink_ : filters_.front(); in GetHead()
|
D | message_filter.cc | 9 MessageFilter::MessageFilter(MessageReceiver* sink) : sink_(sink) { in MessageFilter() 20 return sink_->Accept(message); in Accept()
|
/external/chromium_org/mojo/public/cpp/bindings/ |
D | callback.h | 34 explicit Callback(Runnable* runnable) : sink_(runnable) {} in Callback() 39 Callback(const Sink& sink) : sink_(new Adapter<Sink>(sink)) {} in Callback() 42 if (sink_.get()) in Run() 43 sink_->Run(); in Run() 47 return !sink_.get(); in is_null() 60 internal::SharedPtr<Runnable> sink_; variable 75 explicit Callback(Runnable* runnable) : sink_(runnable) {} in Callback() 80 Callback(const Sink& sink) : sink_(new Adapter<Sink>(sink)) {} in Callback() 83 if (sink_.get()) in Run() 84 sink_->Run(internal::Forward(a1)); in Run() [all …]
|
D | callback.h.pump | 44 explicit Callback(Runnable* runnable) : sink_(runnable) {} 49 Callback(const Sink& sink) : sink_(new Adapter<Sink>(sink)) {} 55 if (sink_.get()) 56 sink_->Run($if ARITY > 1 [[ 63 return !sink_.get(); 82 internal::SharedPtr<Runnable> sink_;
|
D | message_filter.h | 23 void set_sink(MessageReceiver* sink) { sink_ = sink; } in set_sink() 26 MessageReceiver* sink_;
|
/external/chromium_org/content/renderer/media/ |
D | webrtc_local_audio_renderer.cc | 123 DCHECK(!sink_.get()); in ~WebRtcLocalAudioRenderer() 134 DCHECK(!sink_.get()); in Start() 135 sink_ = AudioDeviceFactory::NewOutputDevice(source_render_view_id_, in Start() 156 if (sink_.get()) { in Stop() 157 sink_->Stop(); in Stop() 158 sink_ = NULL; in Stop() 175 if (!sink_.get()) in Play() 194 if (!sink_.get()) in Pause() 218 if (sink_.get()) in SetVolume() 219 sink_->SetVolume(volume); in SetVolume() [all …]
|
D | media_stream_audio_track_sink.h | 47 WrapsMediaStreamSink(MediaStreamAudioSink* sink) : sink_(sink) {} in WrapsMediaStreamSink() 50 return owner->IsEqual(sink_); in operator() 52 MediaStreamAudioSink* sink_; member 55 WrapsPeerConnectionSink(PeerConnectionAudioSink* sink) : sink_(sink) {} in WrapsPeerConnectionSink() 58 return owner->IsEqual(sink_); in operator() 60 PeerConnectionAudioSink* sink_; member
|
/external/chromium_org/media/blink/ |
D | webaudiosourceprovider_impl.cc | 57 sink_(sink), in WebAudioSourceProviderImpl() 68 sink_->Stop(); in setClient() 86 sink_->SetVolume(volume_); in setClient() 88 sink_->Start(); in setClient() 90 sink_->Play(); in setClient() 132 sink_->Start(); in Start() 139 sink_->Stop(); in Stop() 147 sink_->Play(); in Play() 155 sink_->Pause(); in Pause() 162 sink_->SetVolume(volume); in SetVolume() [all …]
|
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
D | mediarecorder_unittest.cc | 55 sink_.reset(new RtpDumpSink(Open(path_.pathname()))); in SetUp() 72 sink_->OnPacket(buf.Data(), buf.Length(), false); in OnRtpPacket() 77 sink_.reset(); // This will close the file. So we can read it. in ReadPacket() 85 rtc::scoped_ptr<RtpDumpSink> sink_; member in cricket::RtpDumpSinkTest 93 EXPECT_FALSE(sink_->IsEnabled()); in TEST_F() 94 sink_->set_packet_filter(PF_ALL); in TEST_F() 98 EXPECT_TRUE(sink_->Enable(true)); in TEST_F() 99 EXPECT_TRUE(sink_->IsEnabled()); in TEST_F() 104 EXPECT_TRUE(sink_->Enable(false)); in TEST_F() 105 EXPECT_FALSE(sink_->IsEnabled()); in TEST_F() [all …]
|
/external/chromium_org/content/browser/renderer_host/ |
D | render_widget_host_view_aura_unittest.cc | 332 sink_ = &process_host_->sink(); in SetUpEnvironment() 349 sink_ = NULL; in TearDownEnvironment() 388 IPC::TestSink* sink_; member in content::RenderWidgetHostViewAuraTest 423 sink_->ClearMessages(); in SetUpOverscrollEnvironmentImpl() 586 size_t count = sink_->message_count(); in GetSentMessageCountAndResetSink() 587 sink_->ClearMessages(); in GetSentMessageCountAndResetSink() 592 if (!sink_->message_count()) in AckLastSentInputEventIfNecessary() 597 sink_->GetMessageAt(sink_->message_count() - 1), ¶ms)) { in AckLastSentInputEventIfNecessary() 781 sink_->ClearMessages(); in TEST_F() 786 sink_->GetFirstMessageMatching(InputMsg_ImeSetComposition::ID); in TEST_F() [all …]
|
/external/chromium_org/content/renderer/accessibility/ |
D | renderer_accessibility_browsertest.cc | 50 sink_ = &render_thread_->sink(); in SetUp() 60 sink_->GetUniqueMessageMatching(AccessibilityHostMsg_Events::ID); in GetLastAccEvent() 75 IPC::TestSink* sink_; member in content::RendererAccessibilityTest 128 sink_->ClearMessages(); in TEST_F() 153 sink_->ClearMessages(); in TEST_F() 165 sink_->ClearMessages(); in TEST_F() 177 sink_->ClearMessages(); in TEST_F() 190 sink_->ClearMessages(); in TEST_F() 203 sink_->ClearMessages(); in TEST_F() 217 sink_->ClearMessages(); in TEST_F() [all …]
|
/external/chromium_org/components/nacl/loader/ |
D | nacl_ipc_adapter_unittest.cc | 28 sink_ = new IPC::TestSink; in SetUp() 33 adapter_ = new NaClIPCAdapter(scoped_ptr<IPC::Channel>(sink_), in SetUp() 37 sink_ = NULL; // This pointer is actually owned by the IPCAdapter. in TearDown() 69 IPC::TestSink* sink_; member in __anonaa636ed60111::NaClIPCAdapterTest 134 ASSERT_EQ(1u, sink_->message_count()); in TEST_F() 135 const IPC::Message* msg = sink_->GetMessageAt(0); in TEST_F() 143 sink_->ClearMessages(); in TEST_F() 150 ASSERT_EQ(0u, sink_->message_count()); in TEST_F() 157 ASSERT_EQ(0u, sink_->message_count()); in TEST_F() 167 ASSERT_EQ(1u, sink_->message_count()); in TEST_F() [all …]
|
/external/chromium_org/v8/src/ |
D | serialize.cc | 1184 sink_(sink), in Serializer() 1240 sink_->Put(kSkip, "Skip"); in VisitPointers() 1241 sink_->PutInt(kPointerSize, "SkipOneWord"); in VisitPointers() 1243 sink_->Put(kRawData + 1, "Smi"); in VisitPointers() 1245 sink_->Put(reinterpret_cast<byte*>(current)[i], "Byte"); in VisitPointers() 1332 sink_->Put(kBackref + how_to_code + where_to_point + space, "BackRefSer"); in SerializeReferenceToPreviousObject() 1334 sink_->Put(kBackrefWithSkip + how_to_code + where_to_point + space, in SerializeReferenceToPreviousObject() 1336 sink_->PutInt(skip, "BackRefSkipDistance"); in SerializeReferenceToPreviousObject() 1338 sink_->PutInt(offset, "offset"); in SerializeReferenceToPreviousObject() 1362 sink_->Put(kSkip, "FlushPendingSkip"); in SerializeObject() [all …]
|
/external/chromium_org/components/autofill/content/renderer/ |
D | renderer_save_password_progress_logger_unittest.cc | 19 TestLogger() : RendererSavePasswordProgressLogger(&sink_, 0) {} in TestLogger() 30 const IPC::Message* message = sink_.GetFirstMessageMatching(kMsgID); in GetLogMessage() 36 sink_.ClearMessages(); in GetLogMessage() 41 IPC::TestSink sink_; member in autofill::__anonb15214b30111::TestLogger
|
/external/chromium_org/media/filters/ |
D | audio_renderer_impl_unittest.cc | 94 sink_ = new FakeAudioRendererSink(); in AudioRendererImplTest() 96 sink_.get(), in AudioRendererImplTest() 292 EXPECT_TRUE(sink_->Render(bus.get(), 0, &frames_read)); in ConsumeBufferedData() 335 scoped_refptr<FakeAudioRendererSink> sink_; member in media::AudioRendererImplTest 669 sink_->OnRenderError(); in TEST_F() 680 EXPECT_EQ(FakeAudioRendererSink::kPaused, sink_->state()); in TEST_F() 682 EXPECT_EQ(FakeAudioRendererSink::kPaused, sink_->state()); in TEST_F() 684 EXPECT_EQ(FakeAudioRendererSink::kPaused, sink_->state()); in TEST_F() 689 EXPECT_EQ(FakeAudioRendererSink::kPlaying, sink_->state()); in TEST_F() 691 EXPECT_EQ(FakeAudioRendererSink::kPaused, sink_->state()); in TEST_F() [all …]
|
D | audio_renderer_impl.cc | 52 sink_(sink), in AudioRendererImpl() 79 sink_->Stop(); in ~AudioRendererImpl() 112 sink_->Play(); in StartRendering_Locked() 140 sink_->Pause(); in StopRendering_Locked() 266 DCHECK(sink_.get()); in Initialize() 352 sink_->Initialize(audio_parameters_, this); in OnAudioBufferStreamInitialized() 353 sink_->Start(); in OnAudioBufferStreamInitialized() 356 sink_->Pause(); in OnAudioBufferStreamInitialized() 365 DCHECK(sink_.get()); in SetVolume() 366 sink_->SetVolume(volume); in SetVolume() [all …]
|
/external/chromium_org/content/renderer/media/webrtc/ |
D | webrtc_audio_sink_adapter.cc | 13 : sink_(sink) { in WebRtcAudioSinkAdapter() 22 return (other == sink_); in IsEqual() 29 sink_->OnData(audio_data, 16, sample_rate, number_of_channels, in OnData()
|
/external/chromium_org/third_party/webrtc/base/ |
D | win32socketserver.cc | 228 closing_(false), close_error_(0), sink_(NULL), dns_(NULL) { in Win32Socket() 268 if (sink_) in SetTimeout() 269 ::SetTimer(sink_->handle(), 1, ms, 0); in SetTimeout() 328 if (!sink_) { in Connect() 334 dns->handle = WSAAsyncGetHostByName(sink_->handle(), WM_DNSNOTIFY, in Connect() 503 if (sink_) { in Close() 504 sink_->Dispose(); in Close() 505 sink_ = NULL; in Close() 544 ASSERT(NULL == sink_); in CreateSink() 547 sink_ = new EventSink(this); in CreateSink() [all …]
|
/external/chromium_org/mojo/public/tools/bindings/generators/cpp_templates/ |
D | interface_stub_declaration.tmpl | 4 void set_sink({{interface.name}}* sink) { sink_ = sink; } 5 {{interface.name}}* sink() { return sink_; } 13 {{interface.name}}* sink_;
|
/external/chromium_org/content/renderer/screen_orientation/ |
D | screen_orientation_dispatcher_unittest.cc | 59 :ScreenOrientationDispatcher(NULL) , sink_(sink) { in ScreenOrientationDispatcherWithSink() 63 return sink_->Send(message); in Send() 66 IPC::TestSink* sink_; member in content::ScreenOrientationDispatcherWithSink 72 dispatcher_.reset(new ScreenOrientationDispatcherWithSink(&sink_)); in SetUp() 86 return sink_; in sink() 107 IPC::TestSink sink_; member in content::ScreenOrientationDispatcherTest
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
D | browser_ppapi_host_test.cc | 11 BrowserPpapiHostTest::BrowserPpapiHostTest() : sink_() { in BrowserPpapiHostTest() 13 new BrowserPpapiHostImpl(&sink_, in BrowserPpapiHostTest()
|
D | browser_ppapi_host_test.h | 24 ppapi::proxy::ResourceMessageTestSink& sink() { return sink_; } in sink() 28 ppapi::proxy::ResourceMessageTestSink sink_;
|
/external/chromium_org/device/serial/ |
D | data_sender.cc | 68 : sink_(sink.Pass()), in DataSender() 71 sink_.set_error_handler(this); in DataSender() 79 sink_->Init(remote_handle.Pass()); in DataSender() 80 sink_.set_client(this); in DataSender() 110 sink_->Cancel(error); in Cancel()
|
/external/chromium_org/content/renderer/pepper/ |
D | pepper_device_enumeration_host_helper_unittest.cc | 78 : ppapi_host_(&sink_, ppapi::PpapiPermissions()), in PepperDeviceEnumerationHostHelperTest() 103 ASSERT_TRUE(sink_.GetFirstResourceReplyMatching( in CheckNotifyDeviceChangeMessage() 107 sink_.ClearMessages(); in CheckNotifyDeviceChangeMessage() 121 ppapi::proxy::ResourceMessageTestSink sink_; member in content::__anonf9f61afd0111::PepperDeviceEnumerationHostHelperTest 164 ASSERT_TRUE(sink_.GetFirstResourceReplyMatching( in TEST_F()
|
/external/chromium_org/media/base/ |
D | audio_renderer_mixer_unittest.cc | 53 sink_ = new MockAudioRendererSink(); in AudioRendererMixerTest() 54 EXPECT_CALL(*sink_.get(), Start()); in AudioRendererMixerTest() 55 EXPECT_CALL(*sink_.get(), Stop()); in AudioRendererMixerTest() 58 input_parameters_, output_parameters_, sink_)); in AudioRendererMixerTest() 59 mixer_callback_ = sink_->callback(); in AudioRendererMixerTest() 274 scoped_refptr<MockAudioRendererSink> sink_; member in media::AudioRendererMixerTest 433 EXPECT_CALL(*sink_.get(), Pause()).Times(2) in TEST_P() 449 EXPECT_CALL(*sink_.get(), Play()); in TEST_P()
|