Home
last modified time | relevance | path

Searched refs:receiver_ (Results 1 – 25 of 26) sorted by relevance

12

/external/webrtc/webrtc/modules/video_coding/
Dreceiver_unittest.cc37 receiver_(&timing_, clock_.get(), &event_factory_) { in TestVCMReceiver()
42 virtual void SetUp() { receiver_.Reset(); } in SetUp()
50 return receiver_.InsertPacket(packet, kWidth, kHeight); in InsertPacket()
59 return receiver_.InsertPacket(packet, kWidth, kHeight); in InsertPacketAndPop()
80 receiver_.FrameForDecoding(0, &render_time_ms, false); in DecodeNextFrame()
83 receiver_.ReleaseFrame(frame); in DecodeNextFrame()
90 VCMReceiver receiver_; member in webrtc::TestVCMReceiver
95 EXPECT_EQ(0, receiver_.RenderBufferSizeMs()); in TEST_F()
102 receiver_.RenderBufferSizeMs()); in TEST_F()
106 EXPECT_EQ(0, receiver_.RenderBufferSizeMs()); in TEST_F()
[all …]
Dvideo_coding_impl.cc84 receiver_(clock, event_factory), in VideoCodingModuleImpl()
91 int64_t receiver_time = receiver_.TimeUntilNextProcess(); in TimeUntilNextProcess()
99 int32_t receiver_return = receiver_.Process(); in Process()
153 return receiver_.SetVideoProtection(videoProtection, enable); in SetVideoProtection()
179 return receiver_.RegisterReceiveCodec(receiveCodec, numberOfCores, in RegisterReceiveCodec()
185 receiver_.RegisterExternalDecoder(externalDecoder, payloadType); in RegisterExternalDecoder()
190 return receiver_.RegisterReceiveCallback(receiveCallback); in RegisterReceiveCallback()
195 return receiver_.RegisterReceiveStatisticsCallback(receiveStats); in RegisterReceiveStatisticsCallback()
200 return receiver_.RegisterDecoderTimingCallback(decoderTiming); in RegisterDecoderTimingCallback()
205 return receiver_.RegisterFrameTypeCallback(frameTypeCallback); in RegisterFrameTypeCallback()
[all …]
Dvideo_receiver_unittest.cc36 receiver_.reset(new VideoReceiver(&clock_, &event_factory_)); in SetUp()
37 receiver_->RegisterExternalDecoder(&decoder_, kUnusedPayloadType); in SetUp()
40 receiver_->SetNackSettings(kMaxNackListSize, kMaxPacketAgeToNack, 0); in SetUp()
44 EXPECT_EQ(0, receiver_->RegisterReceiveCodec(&settings_, 1, true)); in SetUp()
52 EXPECT_EQ(0, receiver_->IncomingPacket(payload, 0, *header)); in InsertAndVerifyPaddingFrame()
55 EXPECT_EQ(0, receiver_->Process()); in InsertAndVerifyPaddingFrame()
57 EXPECT_EQ(VCM_FRAME_NOT_READY, receiver_->Decode(100)); in InsertAndVerifyPaddingFrame()
64 EXPECT_EQ(0, receiver_->IncomingPacket(payload, length, *header)); in InsertAndVerifyDecodableFrame()
67 EXPECT_EQ(0, receiver_->Process()); in InsertAndVerifyDecodableFrame()
69 EXPECT_EQ(0, receiver_->Decode(100)); in InsertAndVerifyDecodableFrame()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_rtcp_impl_unittest.cc55 : receiver_(NULL), in SendTransport()
62 receiver_ = receiver; in SetRtpRtcpModule()
86 EXPECT_TRUE(receiver_ != NULL); in SendRtcp()
87 EXPECT_EQ(0, receiver_->IncomingRtcpPacket( in SendRtcp()
91 ModuleRtpRtcpImpl* receiver_; member in webrtc::__anon69cc8b800111::SendTransport
165 receiver_(&clock_) { in RtpRtcpImplTest()
182 EXPECT_EQ(0, receiver_.impl_->SetSendingStatus(false)); in RtpRtcpImplTest()
183 receiver_.impl_->SetSendingMediaStatus(false); in RtpRtcpImplTest()
184 receiver_.impl_->SetSSRC(kReceiverSsrc); in RtpRtcpImplTest()
185 receiver_.SetRemoteSsrc(kSenderSsrc); in RtpRtcpImplTest()
[all …]
Dnack_rtx_unittest.cc173 receiver_(), in RtpRtcpRtxNackTest()
190 &fake_clock, &receiver_, rtp_feedback_.get(), &rtp_payload_registry_)); in SetUp()
221 receiver_.sequence_numbers_.sort(); in BuildNackList()
223 std::list<uint16_t>::iterator it = receiver_.sequence_numbers_.begin(); in BuildNackList()
225 while (it != receiver_.sequence_numbers_.end()) { in BuildNackList()
228 if (it != receiver_.sequence_numbers_.end()) { in BuildNackList()
246 std::copy(receiver_.sequence_numbers_.begin(), in ExpectedPacketsReceived()
247 receiver_.sequence_numbers_.end(), in ExpectedPacketsReceived()
277 receiver_.sequence_numbers_.sort(); in RunRtxTest()
288 VerifyingRtxReceiver receiver_; member in webrtc::RtpRtcpRtxNackTest
[all …]
/external/webrtc/webrtc/test/
Dfake_network_pipe_unittest.cc47 receiver_.reset(new MockReceiver()); in SetUp()
48 ON_CALL(*receiver_, DeliverPacket(_, _, _, _)) in SetUp()
67 rtc::scoped_ptr<MockReceiver> receiver_; member in webrtc::FakeNetworkPipeTest
79 pipe->SetReceiver(receiver_.get()); in TEST_F()
92 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(0); in TEST_F()
97 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(1); in TEST_F()
102 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(8); in TEST_F()
107 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(1); in TEST_F()
119 pipe->SetReceiver(receiver_.get()); in TEST_F()
131 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(0); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dacm_receiver_unittest_oldapi.cc63 receiver_.reset(new AcmReceiver(config)); in AcmReceiverTestOldApi()
69 ASSERT_TRUE(receiver_.get() != NULL); in SetUp()
121 0, receiver_->AddCodec(*i, codecs_[*i].pltype, codecs_[*i].channels, in AddSetOfCodecs()
143 int ret_val = receiver_->InsertPacket( in SendData()
156 rtc::scoped_ptr<AcmReceiver> receiver_; member in webrtc::acm2::AcmReceiverTestOldApi
176 receiver_->AddCodec(n, codecs_[n].pltype, codecs_[n].channels, in TEST_F()
184 EXPECT_EQ(0, receiver_->DecoderByPayloadType(codecs_[n].pltype, in TEST_F()
189 EXPECT_EQ(-1, receiver_->DecoderByPayloadType(codecs_[n].pltype, in TEST_F()
207 EXPECT_EQ(0, receiver_->AddCodec(codec1.id, codec1.inst.pltype, in TEST_F()
210 EXPECT_EQ(0, receiver_->AddCodec(codec1.id, codec2.pltype, codec2.channels, in TEST_F()
[all …]
Daudio_coding_module_impl.cc110 receiver_(config), in AudioCodingModuleImpl()
547 if (receiver_.RemoveAllCodecs() < 0) in InitializeReceiverSafe()
550 receiver_.set_id(id_); in InitializeReceiverSafe()
551 receiver_.ResetInitialDelay(); in InitializeReceiverSafe()
552 receiver_.SetMinimumDelay(0); in InitializeReceiverSafe()
553 receiver_.SetMaximumDelay(0); in InitializeReceiverSafe()
554 receiver_.FlushBuffers(); in InitializeReceiverSafe()
560 if (receiver_.AddCodec(static_cast<int>(i), in InitializeReceiverSafe()
575 const auto last_packet_sample_rate = receiver_.last_packet_sample_rate_hz(); in ReceiveFrequency()
577 : receiver_.last_output_sample_rate_hz(); in ReceiveFrequency()
[all …]
Daudio_coding_module_impl.h249 AcmReceiver receiver_; // AcmReceiver has it's own internal lock. variable
/external/libweave/src/notification/
Dxmpp_iq_stanza_handler_unittest.cc81 MockResponseReceiver receiver_; member in weave::IqStanzaHandlerTest
127 receiver_.callback(1), {}); in TEST_F()
129 receiver_.callback(2), {}); in TEST_F()
131 EXPECT_CALL(receiver_, OnResponse(1, "foo")); in TEST_F()
135 EXPECT_CALL(receiver_, OnResponse(2, "bar")); in TEST_F()
145 receiver_.callback(1), {}); in TEST_F()
147 receiver_.callback(2), {}); in TEST_F()
149 EXPECT_CALL(receiver_, OnResponse(2, "bar")); in TEST_F()
153 EXPECT_CALL(receiver_, OnResponse(1, "foo")); in TEST_F()
/external/webrtc/webrtc/modules/audio_coding/test/
DPacketLossTest.cc119 receiver_(new ReceiverWithPacketLoss), in PacketLossTest()
156 receiver_->testMode = 0; in Perform()
157 receiver_->codeId = codec_id; in Perform()
159 receiver_->Setup(acm.get(), &rtpFile, "packetLoss_out", channels_, in Perform()
161 receiver_->Run(); in Perform()
162 receiver_->Teardown(); in Perform()
DPacketLossTest.h59 rtc::scoped_ptr<ReceiverWithPacketLoss> receiver_; variable
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_video.cc45 receiver_ = new TestRtpReceiver(); in SetUp()
54 &fake_clock, receiver_, NULL, &rtp_payload_registry_)); in SetUp()
126 delete receiver_; in TearDown()
135 TestRtpReceiver* receiver_; member in webrtc::RtpRtcpVideoTest
183 EXPECT_EQ(0u, receiver_->payload_size()); in TEST_F()
184 EXPECT_EQ(payload_length, receiver_->rtp_header().header.paddingLength); in TEST_F()
/external/v8/src/
Dlookup.h58 receiver_(receiver), in configuration_()
82 receiver_(receiver), in configuration_()
104 receiver_(receiver), in configuration_()
125 receiver_(receiver), in configuration_()
194 Handle<Object> GetReceiver() const { return receiver_; } in GetReceiver()
335 const Handle<Object> receiver_; variable
Dmessages.cc164 receiver_ = JSObject::GetDataProperty( in CallSite()
226 MaybeHandle<JSReceiver> maybe = Object::ToObject(isolate_, receiver_); in GetMethodName()
301 return receiver_->IsJSGlobalProxy() || receiver_->IsNull() || in IsToplevel()
302 receiver_->IsUndefined(); in IsToplevel()
315 if (!receiver_->IsJSObject()) return false; in IsConstructor()
317 JSReceiver::GetDataProperty(Handle<JSObject>::cast(receiver_), in IsConstructor()
Dlookup.cc118 if (receiver_->IsNumber()) return factory()->heap_number_map(); in GetReceiverMap()
119 return handle(Handle<HeapObject>::cast(receiver_)->map(), isolate_); in GetReceiverMap()
124 if (receiver_->IsJSGlobalProxy()) { in GetStoreTarget()
125 PrototypeIterator iter(isolate(), receiver_); in GetStoreTarget()
126 if (iter.IsAtEnd()) return Handle<JSGlobalProxy>::cast(receiver_); in GetStoreTarget()
129 return Handle<JSObject>::cast(receiver_); in GetStoreTarget()
400 if (!receiver_->IsJSReceiver()) return false; in InternalHolderIsReceiverOrHiddenPrototype()
401 Object* current = *receiver_; in InternalHolderIsReceiverOrHiddenPrototype()
Dframes.h544 Handle<Object> receiver() { return receiver_; } in receiver()
554 Handle<Object> receiver_;
Dmessages.h69 Handle<Object> receiver_; variable
Dframes.cc902 : receiver_(receiver, function->GetIsolate()), in FrameSummary()
911 receiver_->ShortPrint(); in Print()
/external/webrtc/talk/media/base/
Drtpdataengine_unittest.cc91 receiver_.reset(new FakeDataReceiver()); in SetUp()
114 receiver_.get(), &FakeDataReceiver::OnDataReceived); in CreateChannel()
119 return receiver_.get(); in receiver()
123 return receiver_->has_received_data(); in HasReceivedData()
127 return receiver_->last_received_data(); in GetReceivedData()
131 return receiver_->last_received_data_len(); in GetReceivedDataLen()
135 return receiver_->last_received_data_params(); in GetReceivedDataParams()
166 rtc::scoped_ptr<FakeDataReceiver> receiver_; member in RtpDataMediaChannelTest
/external/webrtc/webrtc/p2p/base/
Dpseudotcp_unittest.cc321 receiver_(NULL), in PseudoTcpTestPingPong()
330 receiver_ = &remote_; in TestPingPong()
357 if (tcp != receiver_) { in OnTcpReadable()
369 if (receiver_ == &local_ && --iterations_remaining_ == 0) { in OnTcpReadable()
375 PseudoTcp* tmp = receiver_; in OnTcpReadable()
376 receiver_ = sender_; in OnTcpReadable()
397 rcvd = receiver_->Recv(block, sizeof(block)); in ReadData()
432 PseudoTcp* receiver_; member in PseudoTcpTestPingPong
/external/v8/src/ast/
Dscopes.h400 DCHECK_NOT_NULL(receiver_); in receiver()
401 return receiver_; in receiver()
635 Variable* receiver_; variable
Dscopes.cc180 receiver_ = nullptr; in SetDefaults()
338 receiver_ = var; in Initialize()
/external/webrtc/webrtc/video/
Dvideo_quality_test.cc60 receiver_(nullptr), in VideoAnalyzer()
111 virtual void SetReceiver(PacketReceiver* receiver) { receiver_ = receiver; } in SetReceiver()
126 return receiver_->DeliverPacket(media_type, packet, length, packet_time); in DeliverPacket()
263 PacketReceiver* receiver_; member in webrtc::VideoAnalyzer
/external/v8/src/debug/
Dmirrors.js1446 if (!this.receiver_) {
1447 this.receiver_ = MakeMirror(%GeneratorGetReceiver(this.value_));
1449 return this.receiver_;

12