Home
last modified time | relevance | path

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

12

/external/webrtc/webrtc/voice_engine/
Dvoe_network_unittest.cc38 EXPECT_EQ(0, network_->RegisterExternalTransport(channelID, transport_)); in CreateChannelAndRegisterExternalTransport()
45 EXPECT_EQ(0, network_->DeRegisterExternalTransport(channelID)); in TEST_F()
52 0, network_->RegisterExternalTransport(kNonExistingChannel, transport_)); in TEST_F()
58 EXPECT_NE(0, network_->DeRegisterExternalTransport(kNonExistingChannel)); in TEST_F()
65 EXPECT_EQ(0, network_->DeRegisterExternalTransport(channelID)); in TEST_F()
70 EXPECT_EQ(-1, network_->ReceivedRTPPacket(channelID, kPacketJunk, in TEST_F()
76 EXPECT_EQ(-1, network_->ReceivedRTPPacket(kNonExistingChannel, kPacket, in TEST_F()
85 network_->ReceivedRTPPacket(channelID, kPacket, sizeof(kPacket))); in TEST_F()
90 EXPECT_EQ(-1, network_->ReceivedRTPPacket( in TEST_F()
96 EXPECT_EQ(-1, network_->ReceivedRTPPacket( in TEST_F()
[all …]
Dvoice_engine_fixture.cc18 network_(VoENetwork::GetInterface(voe_)) { in VoiceEngineFixture()
20 EXPECT_NE(nullptr, network_); in VoiceEngineFixture()
25 EXPECT_EQ(2, network_->Release()); in ~VoiceEngineFixture()
Dvoice_engine_fixture.h27 VoENetwork* network_; variable
/external/libweave/examples/daemon/common/
Ddaemon.h73 network_{new weave::examples::EventNetworkImpl(task_runner_.get())},
76 network_->SetSimulateOffline(opts.force_bootstrapping_);
83 new weave::examples::WifiImpl{task_runner_.get(), network_.get()});
86 http_client_.get(), network_.get(),
116 std::unique_ptr<weave::examples::EventNetworkImpl> network_; variable
/external/libweave/src/privet/
Dwifi_bootstrap_manager.cc45 network_{network},
49 CHECK(network_);
56 network_->AddConnectionChangedCallback( in Init()
69 if (network_->GetConnectionState() == Network::State::kOnline) { in StartBootstrapping()
129 if (network_->GetConnectionState() == Network::State::kOnline) { in ContinueMonitoring()
249 network_->GetConnectionState() == Network::State::kOnline)) { in OnConnectivityChange()
262 Network::State service_state{network_->GetConnectionState()}; in UpdateConnectionState()
Dwifi_bootstrap_manager.h104 provider::Network* network_{nullptr};
/external/libweave/src/
Dweave_unittest.cc211 EXPECT_CALL(network_, AddConnectionChangedCallback(_)) in InitNetwork()
216 EXPECT_CALL(network_, GetConnectionState()) in InitNetwork()
278 &http_client_, &network_, &dns_sd_, in StartDevice()
326 EXPECT_CALL(network_, GetConnectionState()).WillRepeatedly(Return(state)); in NotifyNetworkChanged()
342 StrictMock<provider::test::MockNetwork> network_; member in weave::WeaveTest
362 &network_, nullptr, nullptr, &wifi_, nullptr); in TEST_F()
372 &network_, &dns_sd_, &http_server_, nullptr, in TEST_F()
396 EXPECT_CALL(network_, OpenSslSocket(_, _, _)).WillRepeatedly(Return()); in TEST_F()
453 EXPECT_CALL(network_, GetConnectionState()) in SetUp()
518 EXPECT_CALL(network_, GetConnectionState()) in TEST_F()
[all …]
Ddevice_registration_info.h346 provider::Network* network_{nullptr};
/external/webrtc/talk/media/webrtc/
Dwebrtcvoe.h94 hw_(engine_), network_(engine_), in VoEWrapper()
109 network_(network), in VoEWrapper()
119 webrtc::VoENetwork* network() const { return network_.get(); } in network()
130 scoped_voe_ptr<webrtc::VoENetwork> network_; variable
/external/webrtc/webrtc/p2p/client/
Dfakeportallocator.h95 network_("network", "unittest", in FakePortAllocatorSession()
99 network_.AddIP(rtc::IPAddress(INADDR_LOOPBACK)); in FakePortAllocatorSession()
104 port_.reset(TestUDPPort::Create(worker_thread_, factory_, &network_, in StartGettingPorts()
105 network_.GetBestIP(), 0, 0, username(), in StartGettingPorts()
135 rtc::Network network_; variable
Dbasicportallocator.cc717 network_(network), in AllocationSequence()
765 if (!((network == network_) && (ip_ == network->GetBestIP()))) { in DisableEquivalentPhases()
814 LOG_J(LS_INFO, network_) << "Allocation Phase=" in OnMessage()
884 session_->network_thread(), session_->socket_factory(), network_, in CreateUDPPorts()
889 session_->network_thread(), session_->socket_factory(), network_, ip_, in CreateUDPPorts()
924 network_, ip_, in CreateTCPPorts()
954 network_, ip_, in CreateStunPorts()
999 network_, ip_, in CreateGturnPort()
1046 network_, udp_socket_.get(), in CreateTurnPort()
1057 network_, ip_, in CreateTurnPort()
Dbasicportallocator.h265 const rtc::Network* network() const { return network_; } in network()
317 rtc::Network* network_; variable
/external/libweave/src/notification/
Dxmpp_channel_unittest.cc127 EXPECT_CALL(network_, OpenSslSocket("endpoint", 456, _)) in XmppChannelTest()
151 StrictMock<MockNetwork> network_; member in weave::XmppChannelTest
152 FakeXmppChannel xmpp_client_{&task_runner_, &network_};
Dxmpp_channel.cc99 network_{network},
298 network_->OpenSslSocket(host_port.first, port, in CreateSslSocket()
Dxmpp_channel.h137 provider::Network* network_{nullptr};
/external/webrtc/webrtc/p2p/base/
Dstunport_unittest.cc45 network_("unittest", "unittest", rtc::IPAddress(INADDR_ANY), 32), in StunPortTest()
66 rtc::Thread::Current(), &socket_factory_, &network_, in CreateStunPort()
83 &network_, socket_.get(), in CreateSharedStunPort()
144 rtc::Network network_; member in StunPortTest
Drelayport_unittest.cc52 network_("unittest", "unittest", rtc::IPAddress(INADDR_ANY), 32), in RelayPortTest()
57 &network_, in RelayPortTest()
251 rtc::Network network_; member in RelayPortTest
Dturnport_unittest.cc131 network_("unittest", "unittest", rtc::IPAddress(INADDR_ANY), 32), in TurnPortTest()
140 network_.AddIP(rtc::IPAddress(INADDR_ANY)); in TurnPortTest()
222 turn_port_.reset(TurnPort::Create(main_, &socket_factory_, &network_, in CreateTurnPort()
240 turn_port_.reset(TurnPort::Create(main_, &socket_factory_, &network_, in CreateTurnPortWithOrigin()
265 main_, &socket_factory_, &network_, socket_.get(), in CreateSharedTurnPort()
291 udp_port_.reset(UDPPort::Create(main_, &socket_factory_, &network_, in CreateUdpPort()
513 rtc::Network network_; member in TurnPortTest
Dport.cc141 network_(network), in Port()
171 network_(network), in Port()
247 c.set_priority(c.GetPriority(type_preference, network_->preference(), in AddAddress()
251 c.set_network_name(network_->name()); in AddAddress()
252 c.set_network_type(network_->type()); in AddAddress()
634 << ":" << network_->ToString() << "]"; in ToString()
Dport.h136 virtual rtc::Network* Network() const { return network_; } in Network()
364 rtc::Network* network_; variable
Dport_unittest.cc361 network_("unittest", "unittest", rtc::IPAddress(INADDR_ANY), 32), in PortTest()
380 network_.AddIP(rtc::IPAddress(INADDR_ANY)); in PortTest()
468 return UDPPort::Create(main_, socket_factory, &network_, addr.ipaddr(), 0, in CreateUdpPort()
476 return TCPPort::Create(main_, socket_factory, &network_, in CreateTcpPort()
484 return StunPort::Create(main_, factory, &network_, in CreateStunPort()
507 return TurnPort::Create(main_, socket_factory, &network_, in CreateTurnPort()
524 return RelayPort::Create(main_, &socket_factory_, &network_, in CreateGturnPort()
720 TestPort* port = new TestPort(main_, "test", &socket_factory_, &network_, in CreateTestPort()
762 rtc::Network network_; member in PortTest
/external/libweave/examples/provider/
Dwifi_manager.cc69 : task_runner_{task_runner}, network_{network}, iface_{FindWirelessInterface()} { in WifiImpl()
130 network_->SetSimulateOffline(false); in Connect()
Dwifi_manager.h51 EventNetworkImpl* network_{nullptr};
/external/webrtc/webrtc/base/
Dvirtualsocketserver.cc880 sender->network_.push_back(entry); in AddPacketToNetwork()
910 while (!socket->network_.empty() && in PurgeNetworkPackets()
911 (socket->network_.front().done_time <= cur_time)) { in PurgeNetworkPackets()
912 ASSERT(socket->network_size_ >= socket->network_.front().size); in PurgeNetworkPackets()
913 socket->network_size_ -= socket->network_.front().size; in PurgeNetworkPackets()
914 socket->network_.pop_front(); in PurgeNetworkPackets()
Dvirtualsocketserver.h332 NetworkQueue network_; variable

12