Home
last modified time | relevance | path

Searched refs:session_ (Results 1 – 20 of 20) sorted by relevance

/external/webrtc/webrtc/modules/video_coding/
Dsession_info_unittest.cc25 session_.Reset(); in SetUp()
59 VCMSessionInfo session_; member in webrtc::TestSessionInfo
105 EXPECT_GE(session_.SessionLength(), in VerifyNalu()
156 static_cast<size_t>(session_.InsertPacket(packet_, frame_buffer_, in TEST_F()
158 EXPECT_FALSE(session_.HaveLastPacket()); in TEST_F()
159 EXPECT_EQ(kVideoFrameKey, session_.FrameType()); in TEST_F()
165 static_cast<size_t>(session_.InsertPacket(packet_, frame_buffer_, in TEST_F()
167 EXPECT_TRUE(session_.HaveLastPacket()); in TEST_F()
168 EXPECT_EQ(packet_.seqNum, session_.HighSequenceNumber()); in TEST_F()
169 EXPECT_EQ(0xFFFE, session_.LowSequenceNumber()); in TEST_F()
[all …]
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/
Dpairingsessiontest.cc86 session_(&wire_, &context_, &challenge_) { in PairingSessionTest()
99 EXPECT_CALL(session_, DoInitializationPhase()); in InitSession()
101 session_.DoPair(&listener_); in InitSession()
109 StrictMock<TestPairingSession> session_; member in polo::pairing::PairingSessionTest
121 session_.TestSetConfiguration(configuration); in TEST_F()
123 ASSERT_TRUE(session_.GetConfiguration()); in TEST_F()
125 session_.GetConfiguration()->encoding().encoding_type()); in TEST_F()
126 ASSERT_EQ(8, session_.GetConfiguration()->encoding().symbol_length()); in TEST_F()
128 session_.GetConfiguration()->client_role()); in TEST_F()
130 ASSERT_TRUE(session_.encoder()); in TEST_F()
[all …]
Dclientpairingsessiontest.cc64 session_(&wire_, &context_, &challenge_) { in ClientPairingSessionTest()
83 session_.DoPair(&listener_); in InitSession()
91 StrictMock<TestClientPairingSession> session_; member in polo::pairing::ClientPairingSessionTest
104 session_.TestSetConfiguration(configuration); in TEST_F()
109 session_.TestDoConfigurationPhase(); in TEST_F()
119 session_.OnPairingRequestAckMessage(message); in TEST_F()
124 session_.AddInputEncoding(encoding); in TEST_F()
125 session_.AddOutputEncoding(encoding); in TEST_F()
138 session_.OnOptionsMessage(message); in TEST_F()
147 session_.TestSetConfiguration(configuration); in TEST_F()
[all …]
Dserverpairingsessiontest.cc59 session_(&wire_, &context_, &challenge_) { in ServerPairingSessionTest()
74 session_.DoPair(&listener_); in InitSession()
82 StrictMock<TestServerPairingSession> session_; member in polo::pairing::ServerPairingSessionTest
94 session_.TestDoInitializationPhase(); in TEST_F()
104 session_.OnPairingRequestMessage(message); in TEST_F()
114 session_.OnOptionsMessage(message); in TEST_F()
119 session_.AddInputEncoding(encoding); in TEST_F()
120 session_.AddOutputEncoding(encoding); in TEST_F()
133 session_.OnConfigurationMessage(message); in TEST_F()
/external/webrtc/webrtc/libjingle/xmpp/
Dutil_unittest.cc36 session_ << "[START]"; in OnStateChange()
39 session_ << "[OPENING]"; in OnStateChange()
42 session_ << "[OPEN]"; in OnStateChange()
45 session_ << "[CLOSED]"; in OnStateChange()
51 session_ << "[ERROR-XML]"; in OnStateChange()
54 session_ << "[ERROR-STREAM]"; in OnStateChange()
57 session_ << "[ERROR-VERSION]"; in OnStateChange()
60 session_ << "[ERROR-UNAUTHORIZED]"; in OnStateChange()
63 session_ << "[ERROR-TLS]"; in OnStateChange()
66 session_ << "[ERROR-AUTH]"; in OnStateChange()
[all …]
Dutil_unittest.h47 std::stringstream session_; variable
/external/webrtc/webrtc/p2p/client/
Dbasicportallocator.cc716 : session_(session), in AllocationSequence()
729 udp_socket_.reset(session_->socket_factory()->CreateUdpSocket( in Init()
730 rtc::SocketAddress(ip_, 0), session_->allocator()->min_port(), in Init()
731 session_->allocator()->max_port())); in Init()
754 session_->network_thread()->Clear(this); in ~AllocationSequence()
794 session_->network_thread()->Post(this, MSG_ALLOCATION_PHASE); in Start()
801 session_->network_thread()->Clear(this, MSG_ALLOCATION_PHASE); in Stop()
806 ASSERT(rtc::Thread::Current() == session_->network_thread()); in OnMessage()
844 session_->network_thread()->PostDelayed( in OnMessage()
845 session_->allocator()->step_delay(), in OnMessage()
[all …]
Dportallocator_unittest.cc179 session_.reset(CreateSession("session", component)); in CreateSession()
180 if (!session_) in CreateSession()
186 session_.reset(CreateSession("session", content_name, component)); in CreateSession()
187 if (!session_) in CreateSession()
234 if (session == session_.get()) { in OnCandidatesAllocationDone()
271 if (!session_) { in CheckDisableAdapterEnumeration()
274 session_->set_flags(session_->flags() | in CheckDisableAdapterEnumeration()
278 session_->StartGettingPorts(); in CheckDisableAdapterEnumeration()
385 rtc::scoped_ptr<cricket::PortAllocatorSession> session_; member in PortAllocatorTest
422 session_->set_flags(cricket::PORTALLOCATOR_DISABLE_STUN | in TEST_F()
[all …]
Dbasicportallocator.h315 BasicPortAllocatorSession* session_; variable
/external/webrtc/talk/app/webrtc/
Dwebrtcsession_unittest.cc407 ASSERT_TRUE(session_.get() == NULL); in Init()
408 session_.reset(new WebRtcSessionForTest( in Init()
411 session_->SignalDataChannelOpenMessage.connect( in Init()
419 EXPECT_TRUE(session_->Initialize(options_, constraints_.get(), in Init()
422 session_->set_metrics_observer(metrics_observer_); in Init()
553 if (data_channel_ && session_->data_channel_type() == cricket::DCT_RTP) { in AddStreamsToOptions()
581 if (session_->data_channel_type() == cricket::DCT_SCTP && data_channel_) { in GetOptionsForOffer()
598 if (session_->data_channel_type() == cricket::DCT_SCTP) { in GetOptionsForAnswer()
628 session_->CreateOffer(observer, options, session_options); in CreateOffer()
641 session_->CreateAnswer(observer, constraints, session_options); in CreateAnswer()
[all …]
Dwebrtcsessiondescriptionfactory.cc150 session_(session), in WebRtcSessionDescriptionFactory()
297 if (!session_->remote_description()) { in CreateAnswer()
303 if (session_->remote_description()->type() != in CreateAnswer()
372 request.options, session_->local_description() in InternalCreateOffer()
373 ? session_->local_description()->description() in InternalCreateOffer()
394 if (session_->local_description() && in InternalCreateOffer()
400 CopyCandidatesFromSessionDescription(session_->local_description(), offer); in InternalCreateOffer()
411 session_->IceRestartPending(); in InternalCreateAnswer()
413 session_->IceRestartPending(); in InternalCreateAnswer()
415 session_->IceRestartPending(); in InternalCreateAnswer()
[all …]
Dstatscollector_unittest.cc511 session_(media_controller_.get()) { in StatsCollectorTest()
513 EXPECT_CALL(session_, GetTransportStats(_)).WillRepeatedly(Return(false)); in StatsCollectorTest()
515 EXPECT_CALL(session_, video_channel()).WillRepeatedly(ReturnNull()); in StatsCollectorTest()
516 EXPECT_CALL(session_, voice_channel()).WillRepeatedly(ReturnNull()); in StatsCollectorTest()
517 EXPECT_CALL(pc_, session()).WillRepeatedly(Return(&session_)); in StatsCollectorTest()
544 EXPECT_CALL(session_, GetLocalTrackIdBySsrc(kSsrcOfTrack, _)) in AddOutgoingVideoTrackStats()
553 EXPECT_CALL(session_, GetRemoteTrackIdBySsrc(kSsrcOfTrack, _)) in AddIncomingVideoTrackStats()
565 EXPECT_CALL(session_, GetLocalTrackIdBySsrc(kSsrcOfTrack, _)) in AddOutgoingAudioTrackStats()
577 EXPECT_CALL(session_, GetRemoteTrackIdBySsrc(kSsrcOfTrack, _)) in AddIncomingAudioTrackStats()
614 EXPECT_CALL(session_, GetTransportStats(_)) in SetupAndVerifyAudioTrackStats()
[all …]
Dpeerconnection.cc641 session_.reset( in Initialize()
647 if (!session_->Initialize(factory_->options(), constraints, in Initialize()
654 session_->RegisterIceObserver(this); in Initialize()
655 session_->SignalState.connect(this, &PeerConnection::OnSessionStateChange); in Initialize()
656 session_->SignalVoiceChannelDestroyed.connect( in Initialize()
658 session_->SignalVideoChannelDestroyed.connect( in Initialize()
660 session_->SignalDataChannelCreated.connect( in Initialize()
662 session_->SignalDataChannelDestroyed.connect( in Initialize()
664 session_->SignalDataChannelOpenMessage.connect( in Initialize()
750 DtmfSender::Create(track, signaling_thread(), session_.get())); in CreateDtmfSender()
[all …]
Dpeerconnection.h86 virtual WebRtcSession* session() { return session_.get(); } in session()
388 rtc::scoped_ptr<WebRtcSession> session_; variable
Dwebrtcsessiondescriptionfactory.h185 WebRtcSession* const session_; variable
/external/webrtc/talk/session/media/
Dsrtpfilter.cc494 : session_(NULL), in SrtpSession()
511 if (session_) { in ~SrtpSession()
512 srtp_dealloc(session_); in ~SrtpSession()
525 if (!session_) { in ProtectRtp()
538 int err = srtp_protect(session_, p, out_len); in ProtectRtp()
567 if (!session_) { in ProtectRtcp()
580 int err = srtp_protect_rtcp(session_, p, out_len); in ProtectRtcp()
590 if (!session_) { in UnprotectRtp()
596 int err = srtp_unprotect(session_, p, out_len); in UnprotectRtp()
609 if (!session_) { in UnprotectRtcp()
[all …]
Dsrtpfilter.h246 srtp_ctx_t* session_; variable
/external/google-breakpad/src/common/windows/
Dpdb_source_line_writer.cc193 if (FAILED(data_source->openSession(&session_))) { in Open()
286 if (FAILED(session_->findLinesByRVA(rva, DWORD(length), &lines))) { in PrintFunction()
298 if (FAILED(session_->get_globalScope(&global))) { in PrintSourceFiles()
314 if (FAILED(session_->findFile(compiland, NULL, nsNone, &source_files))) { in PrintSourceFiles()
352 if (FAILED(session_->get_globalScope(&global))) { in PrintFunctions()
417 if (SUCCEEDED(session_->findSymbolByRVA(*it, SymTagFunction, &symbol))) { in PrintFunctions()
428 } else if (SUCCEEDED(session_->findSymbolByRVA(*it, in PrintFunctions()
507 if (!FindTable(session_, &frame_data_enum)) in PrintFrameDataUsingPDB()
895 if (FAILED(session_->get_globalScope(&global))) { in FindPEFile()
1127 if (!GetOmapDataAndDisableTranslation(session_, &omap_data)) in WriteMap()
[all …]
Dpdb_source_line_writer.h235 CComPtr<IDiaSession> session_; variable
/external/v8/src/
Dd8.cc2017 session_ = in InspectorClient()
2039 return inspector_client->session_.get(); in GetSession()
2068 std::unique_ptr<v8_inspector::V8InspectorSession> session_; member in v8::InspectorClient