Home
last modified time | relevance | path

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

/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/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/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/libtextclassifier/lang_id/common/flatbuffers/
Dembedding-network-params-from-flatbuffer.cc197 network_ = saft_fbs::GetEmbeddingNetwork(start); in EmbeddingNetworkParamsFromFlatbuffer()
198 if (network_ == nullptr) { in EmbeddingNetworkParamsFromFlatbuffer()
269 const auto *input_chunks = network_->input_chunks(); in SafeGetNumInputChunks()
282 const auto *input_chunks = network_->input_chunks(); in SafeGetInputChunk()
308 const auto *layers = network_->layers(); in SafeGetNumLayers()
321 const auto *layers = network_->layers(); in SafeGetLayer()
Dembedding-network-params-from-flatbuffer.h279 const saft_fbs::EmbeddingNetwork *network_ = nullptr; variable
/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/libtextclassifier/lang_id/
Dlang-id.cc74 network_.reset(new EmbeddingNetwork(nn_params)); in LangIdImpl()
215 network_->ComputeFinalScores(features, scores); in ComputeScores()
238 std::unique_ptr<EmbeddingNetwork> network_; member in libtextclassifier3::mobile::lang_id::LangIdImpl
/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
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes_test.cc523 network_.reset(builder_->createNetwork()); in ConverterTest()
524 converter_.reset(new Converter(network_.get(), TrtPrecisionMode::FP32, in ConverterTest()
572 TrtUniquePtrType<nvinfer1::INetworkDefinition> network_; member in tensorflow::tensorrt::convert::ConverterTest
1086 network_.reset(nullptr); in Reset()
1088 network_.reset(builder_->createNetwork()); in Reset()
1094 converter_.reset(new Converter(network_.get(), precision_mode_to_test_, in Reset()
1292 TrtUniquePtrType<nvinfer1::INetworkDefinition> network_; member in tensorflow::tensorrt::convert::OpConverterTest