Home
last modified time | relevance | path

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

/external/grpc-grpc/src/php/tests/unit_tests/
DChannelTest.php193 $this->channel2 = new Grpc\Channel('localhost:50014', []);
198 $state = $this->channel2->getConnectivityState();
208 $state = $this->channel2->getConnectivityState();
212 $this->channel2->close();
221 $this->channel2 = new Grpc\Channel('localhost:50016', []);
226 $state = $this->channel2->getConnectivityState();
237 $state = $this->channel2->getConnectivityState();
241 $this->channel2->close();
250 $this->channel2 = new Grpc\Channel('localhost:50017', ["abc" => "def"]);
258 $state = $this->channel2->getConnectivityState();
[all …]
/external/grpc-grpc/src/php/tests/unit_tests/PersistentChannelTests/
DPersistentChannelTest.php95 $this->channel2 = new Grpc\Channel('localhost:2', []);
121 $this->channel2 = new Grpc\Channel('localhost:1', []);
132 $this->channel2->close();
140 $this->channel2 = new Grpc\Channel('localhost:1', []);
141 $plist = $this->channel2->getPersistentList();
143 $channel2_info = $this->channel2->getChannelInfo();
150 $this->channel2->close();
157 $this->channel2 = new Grpc\Channel('localhost:2', []);
167 $this->channel2->close();
180 $this->channel2 = new Grpc\Channel('localhost:10001', []);
[all …]
/external/webrtc/pc/
Dvideo_rtp_receiver_unittest.cc83 MockVideoMediaChannel channel2(nullptr, cricket::VideoOptions()); in TEST_F() local
85 EXPECT_CALL(channel2, GenerateKeyFrame).Times(0); in TEST_F()
86 receiver_->SetMediaChannel(&channel2); in TEST_F()
87 Mock::VerifyAndClearExpectations(&channel2); in TEST_F()
121 MockVideoMediaChannel channel2(nullptr, cricket::VideoOptions()); in TEST_F() local
122 EXPECT_CALL(channel2, SetRecordableEncodedFrameCallback); in TEST_F()
123 receiver_->SetMediaChannel(&channel2); in TEST_F()
124 Mock::VerifyAndClearExpectations(&channel2); in TEST_F()
128 EXPECT_CALL(channel2, ClearRecordableEncodedFrameCallback); in TEST_F()
Drtp_transceiver_unittest.cc51 cricket::MockChannelInterface channel2; in TEST() local
52 EXPECT_CALL(channel2, media_type()) in TEST()
56 transceiver.SetChannel(&channel2); in TEST()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/channels/
DChannelBuildersFlowTest.kt212 val channel2 = broadcast.openSubscription() in <lambda>() constant
215 assertEquals(0, channel2.receive()) in <lambda>()
218 assertEquals(1, channel2.receive()) in <lambda>()
221 channel2.cancel() in <lambda>()
/external/grpc-grpc/test/core/channel/
Dchannel_trace_test.cc186 ChannelFixture channel2(GetParam()); in TEST_P() local
188 MakeRefCounted<ChannelNode>(channel2.channel(), GetParam(), true); in TEST_P()
224 ChannelFixture channel2(GetParam()); in TEST_P() local
226 MakeRefCounted<ChannelNode>(channel2.channel(), GetParam(), true); in TEST_P()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/
Dares-test-init.cc96 ares_channel channel2 = nullptr; in TEST_F() local
97 EXPECT_EQ(ARES_SUCCESS, ares_dup(&channel2, channel)); in TEST_F()
101 EXPECT_EQ(ARES_SUCCESS, ares_save_options(channel2, &opts2, &optmask2)); in TEST_F()
122 ares_destroy(channel2); in TEST_F()
201 ares_channel channel2 = nullptr; in TEST_F() local
205 EXPECT_EQ(ARES_ENOMEM, ares_dup(&channel2, channel)) << ii; in TEST_F()
206 EXPECT_EQ(nullptr, channel2) << ii; in TEST_F()
Dares-test-misc.cc119 ares_channel channel2; in TEST_F() local
120 EXPECT_EQ(ARES_SUCCESS, ares_dup(&channel2, channel_)); in TEST_F()
121 EXPECT_EQ(expected2, GetNameServers(channel2)); in TEST_F()
122 ares_destroy(channel2); in TEST_F()
/external/downloader/src/test/java/com/google/android/downloader/
DProtoFileDownloadDestinationTest.java177 WritableByteChannel channel2 = in clear_fileNonEmpty() local
181 CharSource.wrap("replacement").asByteSource(UTF_8).copyTo(Channels.newOutputStream(channel2)); in clear_fileNonEmpty()
182 channel2.close(); in clear_fileNonEmpty()
DSimpleFileDownloadDestinationTest.java177 WritableByteChannel channel2 = in clear_fileNonEmpty() local
181 CharSource.wrap("replacement").asByteSource(UTF_8).copyTo(Channels.newOutputStream(channel2)); in clear_fileNonEmpty()
182 channel2.close(); in clear_fileNonEmpty()
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DShutdownHookClientTest.cs39 var channel2 = new Channel(Host, 1001, ChannelCredentials.Insecure); in ProcessExitHookCanCleanupAbandonedChannels()
/external/libchrome/mojo/public/cpp/system/tests/
Dinvitation_unittest.cc252 PlatformChannel channel2; in TEST() local
257 channel2.TakeLocalEndpoint(), kConnectionName); in TEST()
/external/llvm-project/lldb/tools/lldb-server/
DLLGSOptions.td35 MetaVarName<"<channel1 categories...:channel2 categories...>">,
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowNotificationManagerTest.java92 NotificationChannel channel2 = new NotificationChannel("id2", "name2", 1); in createNotificationChannels() local
94 notificationManager.createNotificationChannels(ImmutableList.of(channel1, channel2)); in createNotificationChannels()
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DChannelzProtoUtilTest.java692 TestChannel channel2 = new TestChannel(); in toGetTopChannelsResponse() local
697 .addChannel(ChannelzProtoUtil.toChannel(channel2)) in toGetTopChannelsResponse()
702 ImmutableList.<InternalInstrumented<ChannelStats>>of(channel, channel2), true))); in toGetTopChannelsResponse()
/external/webrtc/media/engine/
Dwebrtc_voice_engine_unittest.cc3081 std::unique_ptr<cricket::WebRtcVoiceMediaChannel> channel2( in TEST_P() local
3093 channel2->AddSendStream(stream2); in TEST_P()
3107 EXPECT_TRUE(channel2->SetSendParameters(parameters_options_all)); in TEST_P()
3110 EXPECT_EQ(parameters_options_all.options, channel2->options()); in TEST_P()
3132 EXPECT_TRUE(channel2->SetSendParameters(parameters_options_no_agc)); in TEST_P()
3141 EXPECT_EQ(expected_options, channel2->options()); in TEST_P()
3160 channel2->SetSend(true); in TEST_P()
3173 EXPECT_TRUE(channel2->SetSendParameters(parameters_options_no_agc_nor_ns)); in TEST_P()
3182 EXPECT_EQ(expected_options, channel2->options()); in TEST_P()
/external/libchrome/mojo/core/
Dinvitation_unittest.cc798 PlatformChannel channel2; in TEST_F() local
809 channel2.TakeLocalEndpoint().TakePlatformHandle(), in TEST_F()
/external/webrtc/p2p/base/
Dturn_server.cc801 Channel* channel2 = FindChannel(peer_attr->GetAddress()); in HandleChannelBindRequest() local
802 if (channel1 != channel2) { in HandleChannelBindRequest()
/external/kernel-headers/original/uapi/linux/
Dcdrom.h201 __u8 channel2; member
/external/python/cpython2/Mac/Modules/qt/
D_Qtmodule.c17842 Fixed channel2; in Qt_VDSetInputGammaValue() local
17850 PyMac_GetFixed, &channel2, in Qt_VDSetInputGammaValue()
17855 channel2, in Qt_VDSetInputGammaValue()
17868 Fixed channel2; in Qt_VDGetInputGammaValue() local
17878 &channel2, in Qt_VDGetInputGammaValue()
17883 PyMac_BuildFixed, channel2, in Qt_VDGetInputGammaValue()