Home
last modified time | relevance | path

Searched refs:sender_ (Results 1 – 23 of 23) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_rtcp_impl_unittest.cc164 sender_(&clock_), in RtpRtcpImplTest()
167 EXPECT_EQ(0, sender_.impl_->SetSendingStatus(true)); in RtpRtcpImplTest()
168 sender_.impl_->SetSendingMediaStatus(true); in RtpRtcpImplTest()
169 sender_.impl_->SetSSRC(kSenderSsrc); in RtpRtcpImplTest()
170 sender_.SetRemoteSsrc(kReceiverSsrc); in RtpRtcpImplTest()
171 sender_.impl_->SetSequenceNumber(kSequenceNumber); in RtpRtcpImplTest()
172 sender_.impl_->SetStorePacketsStatus(true, 100); in RtpRtcpImplTest()
179 EXPECT_EQ(0, sender_.impl_->RegisterSendPayload(codec_)); in RtpRtcpImplTest()
187 sender_.transport_.SetRtpRtcpModule(receiver_.impl_.get()); in RtpRtcpImplTest()
188 receiver_.transport_.SetRtpRtcpModule(sender_.impl_.get()); in RtpRtcpImplTest()
[all …]
/external/webrtc/webrtc/modules/video_coding/
Dvideo_sender_unittest.cc178 sender_.reset( in SetUp()
180 EXPECT_EQ(0, sender_->RegisterTransportCallback(&packetization_callback_)); in SetUp()
185 sender_->AddVideoFrame(*generator_->NextFrame(), NULL, NULL); in AddFrame()
193 rtc::scoped_ptr<VideoSender> sender_; member in webrtc::vcm::__anon6bfc03b10111::TestVideoSender
207 sender_->RegisterExternalEncoder(&encoder_, kUnusedPayloadType, false); in SetUp()
219 EXPECT_EQ(0, sender_->RegisterSendCodec(&settings_, 1, 1200)); in SetUp()
222 void TearDown() override { sender_.reset(); } in TearDown()
263 EXPECT_EQ(0, sender_->IntraFrameRequest(0)); in TEST_F()
269 EXPECT_EQ(0, sender_->IntraFrameRequest(1)); in TEST_F()
275 EXPECT_EQ(0, sender_->IntraFrameRequest(2)); in TEST_F()
[all …]
Dvideo_coding_impl.cc80 sender_(clock, in VideoCodingModuleImpl()
90 int64_t sender_time = sender_.TimeUntilNextProcess(); in TimeUntilNextProcess()
98 int32_t sender_return = sender_.Process(); in Process()
108 return sender_.RegisterSendCodec(sendCodec, numberOfCores, maxPayloadSize); in RegisterSendCodec()
114 sender_.RegisterExternalEncoder(externalEncoder, payloadType, in RegisterExternalEncoder()
120 return sender_.Bitrate(bitrate); in Bitrate()
124 return sender_.FrameRate(framerate); in FrameRate()
130 return sender_.SetChannelParameters(target_bitrate, lossRate, rtt); in SetChannelParameters()
135 return sender_.RegisterTransportCallback(transport); in RegisterTransportCallback()
140 return sender_.RegisterSendStatisticsCallback(sendStats); in RegisterSendStatisticsCallback()
[all …]
/external/libchrome/ipc/
Dipc_message_pipe_reader.cc30 sender_(std::move(sender)), in MessagePipeReader()
32 sender_.set_connection_error_handler( in MessagePipeReader()
47 sender_.reset(); in Close()
63 if (!sender_) in Send()
66 sender_->Receive(MessageView(*message, std::move(handles))); in Send()
74 if (!sender_.is_bound()) in GetRemoteInterface()
76 sender_->GetAssociatedInterface( in GetRemoteInterface()
Dipc_test_channel_listener.h24 TestChannelListener() : sender_(NULL), messages_left_(50) {} in TestChannelListener()
31 sender_ = s; in Init()
40 Sender* sender_;
Dipc_logging.cc51 sender_(NULL), in Logging()
100 if (!sender_) in OnSendLogs()
107 sender_->Send(msg); in OnSendLogs()
111 sender_ = sender; in SetIPCSender()
232 if (sender_) { in Log()
259 ANSIEscape(sender_ ? ANSI_COLOR_BLUE : ANSI_COLOR_CYAN), in Log()
Dipc_message_pipe_reader.h78 bool IsValid() { return sender_.is_bound(); } in COMPONENT_EXPORT()
88 mojom::ChannelAssociatedPtr& sender() { return sender_; } in COMPONENT_EXPORT()
104 mojom::ChannelAssociatedPtr sender_; in COMPONENT_EXPORT() local
Dipc_cpu_perftest.cc101 DCHECK(!sender_); in Init()
102 sender_ = sender; in Init()
117 CHECK(sender_); in OnMessageReceived()
143 sender_->Send(new TestMsg_SyncPing(payload_, &response)); in StartPingPong()
190 void SendPong() { sender_->Send(new TestMsg_Ping(payload_)); } in SendPong()
193 Sender* sender_ = nullptr; member in IPC::__anona349996c0111::ChannelSteadyPingPongListener
Dipc_mojo_bootstrap_unittest.cc29 bootstrap_->Connect(&sender_, &receiver_); in Connection()
30 sender_->SetPeerPid(sender_id); in Connection()
37 IPC::mojom::ChannelAssociatedPtr& GetSender() { return sender_; } in GetSender()
40 IPC::mojom::ChannelAssociatedPtr sender_; member in __anonc3e02b090111::Connection
Dipc_mojo_perftest.cc39 sender_(NULL), in PerformanceChannelListener()
50 DCHECK(!sender_); in Init()
51 sender_ = sender; in Init()
65 CHECK(sender_); in OnMessageReceived()
86 sender_->Send(new TestMsg_SyncPing(payload_, &response)); in OnHello()
111 void SendPong() { sender_->Send(new TestMsg_Ping(payload_)); } in SendPong()
115 Sender* sender_; member in IPC::__anon801090f90111::PerformanceChannelListener
Dipc_test_channel_listener.cc60 SendOneMessage(sender_, "Foo"); in SendNextMessage()
Dipc_logging.h116 Sender* sender_; in COMPONENT_EXPORT()
Dipc_channel_mojo_unittest.cc112 void set_sender(IPC::Sender* sender) { sender_ = sender; } in set_sender()
113 IPC::Sender* sender() const { return sender_; } in sender()
120 IPC::Sender* sender_ = nullptr; member in __anonc17630240111::TestListenerBase
/external/webrtc/webrtc/modules/audio_coding/test/
DPacketLossTest.cc118 sender_(new SenderWithFEC), in PacketLossTest()
141 sender_->testMode = 0; in Perform()
142 sender_->codeId = codec_id; in Perform()
144 sender_->Setup(acm.get(), &rtpFile, in_file_name_, sample_rate_hz_, channels_, in Perform()
147 sender_->Run(); in Perform()
149 sender_->Teardown(); in Perform()
DPacketLossTest.h58 rtc::scoped_ptr<SenderWithFEC> sender_; variable
/external/libchrome/mojo/public/cpp/bindings/tests/
Dbindings_perftest.cc141 PingPongPaddle(MessageReceiver* sender) : sender_(sender) {} in PingPongPaddle()
143 void set_sender(MessageReceiver* sender) { sender_ = sender; } in set_sender()
157 bool result = sender_->Accept(&reply); in Accept()
177 bool result = sender_->Accept(&message); in Serve()
189 MessageReceiver* sender_; member in mojo::__anona92d06af0111::PingPongPaddle
/external/google-breakpad/src/client/mac/crash_generation/
Dcrash_generation_client.h40 : sender_(mach_port_name) { in CrashGenerationClient()
56 MachPortSender sender_;
Dcrash_generation_client.cc59 kern_return_t result = sender_.SendMessage(message, kSendTimeoutMs); in RequestDumpForException()
/external/webrtc/webrtc/p2p/base/
Dpseudotcp_unittest.cc320 sender_(NULL), in PseudoTcpTestPingPong()
331 sender_ = &local_; in TestPingPong()
376 receiver_ = sender_; in OnTcpReadable()
377 sender_ = tmp; in OnTcpReadable()
380 OnTcpWriteable(sender_); in OnTcpReadable()
384 if (tcp != sender_) in OnTcpWriteable()
414 sent = sender_->Send(block, tosend); in WriteData()
431 PseudoTcp* sender_; member in PseudoTcpTestPingPong
/external/libbrillo/brillo/dbus/
Ddbus_method_response.cc14 : sender_(sender), method_call_(method_call) { in DBusMethodResponseBase()
48 sender_.Run(std::move(response)); in SendRawResponse()
Ddbus_method_response.h65 ResponseSender sender_;
/external/webrtc/webrtc/video/
Dvie_channel.cc95 sender_(sender), in ViEChannel()
157 if (sender_) { in Init()
190 if (!sender_) in ~ViEChannel()
210 if (sender_) { in UpdateHistograms()
342 RTC_DCHECK(sender_); in SetSendCodec()
402 if (sender_) { in SetSendCodec()
426 RTC_DCHECK(!sender_); in SetReceiveCodec()
444 RTC_DCHECK(!sender_); in RegisterExternalDecoder()
922 if (!sender_) in StartReceive()
929 if (!sender_) { in StopReceive()
[all …]
Dvie_channel.h404 const bool sender_; variable