Home
last modified time | relevance | path

Searched refs:channelz_channel (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc/test/core/channel/
Dchannelz_registry_test.cc47 BaseNode* channelz_channel = nullptr; in TEST() local
48 intptr_t uuid = ChannelzRegistry::Register(channelz_channel); in TEST()
57 BaseNode* channelz_channel = nullptr; in TEST() local
62 uuids.push_back(ChannelzRegistry::Register(channelz_channel)); in TEST()
71 BaseNode* channelz_channel = (BaseNode*)42; in TEST() local
72 intptr_t uuid = ChannelzRegistry::Register(channelz_channel); in TEST()
74 EXPECT_EQ(channelz_channel, retrieved); in TEST()
79 BaseNode* channelz_channel = (BaseNode*)42; in TEST() local
81 intptr_t uuid = ChannelzRegistry::Register(channelz_channel); in TEST()
83 EXPECT_EQ(channelz_channel, retrieved); in TEST()
[all …]
Dchannelz_test.cc233 ChannelNode* channelz_channel = in TEST_P() local
235 ValidateChannel(channelz_channel, {0, 0, 0}); in TEST_P()
242 ChannelNode* channelz_channel = grpc_channel_get_channelz_node(channel); in TEST() local
243 ASSERT_EQ(channelz_channel, nullptr); in TEST()
250 ChannelNode* channelz_channel = in TEST_P() local
252 channelz_channel->RecordCallStarted(); in TEST_P()
253 channelz_channel->RecordCallFailed(); in TEST_P()
254 channelz_channel->RecordCallSucceeded(); in TEST_P()
255 ValidateChannel(channelz_channel, {1, 1, 1}); in TEST_P()
256 channelz_channel->RecordCallStarted(); in TEST_P()
[all …]
/external/grpc-grpc/test/core/end2end/tests/
Dchannelz.cc209 grpc_core::channelz::ChannelNode* channelz_channel = in test_channelz() local
211 GPR_ASSERT(channelz_channel != nullptr); in test_channelz()
217 char* json = channelz_channel->RenderJsonString(); in test_channelz()
228 json = channelz_channel->RenderJsonString(); in test_channelz()
237 json = channelz_channel->RenderJsonString(); in test_channelz()
278 grpc_core::channelz::ChannelNode* channelz_channel = in test_channelz_with_channel_trace() local
280 GPR_ASSERT(channelz_channel != nullptr); in test_channelz_with_channel_trace()
286 char* json = channelz_channel->RenderJsonString(); in test_channelz_with_channel_trace()
310 grpc_core::channelz::ChannelNode* channelz_channel = in test_channelz_disabled() local
312 GPR_ASSERT(channelz_channel == nullptr); in test_channelz_disabled()
[all …]
/external/grpc-grpc/src/core/lib/surface/
Dchannel.cc70 grpc_core::RefCountedPtr<grpc_core::channelz::ChannelNode> channelz_channel; member
171 channel->channelz_channel = channel_node_create_func( in grpc_channel_create_with_builder()
173 channel->channelz_channel->AddTraceEvent( in grpc_channel_create_with_builder()
213 return channel->channelz_channel.get(); in grpc_channel_get_channelz_node()
430 if (channel->channelz_channel != nullptr) { in destroy_channel()
431 channel->channelz_channel->AddTraceEvent( in destroy_channel()
434 channel->channelz_channel->MarkChannelDestroyed(); in destroy_channel()
435 channel->channelz_channel.reset(); in destroy_channel()
Dcall.cc440 grpc_core::channelz::ChannelNode* channelz_channel = in grpc_call_create() local
442 if (channelz_channel != nullptr) { in grpc_call_create()
443 channelz_channel->RecordCallStarted(); in grpc_call_create()
711 grpc_core::channelz::ChannelNode* channelz_channel = in set_final_status() local
713 if (channelz_channel != nullptr) { in set_final_status()
715 channelz_channel->RecordCallFailed(); in set_final_status()
717 channelz_channel->RecordCallSucceeded(); in set_final_status()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/surface/
Dcall.cc480 grpc_core::channelz::ChannelNode* channelz_channel = in grpc_call_create() local
482 if (channelz_channel != nullptr) { in grpc_call_create()
483 channelz_channel->RecordCallStarted(); in grpc_call_create()
757 grpc_core::channelz::ChannelNode* channelz_channel = in set_final_status() local
759 if (channelz_channel != nullptr) { in set_final_status()
761 channelz_channel->RecordCallFailed(); in set_final_status()
763 channelz_channel->RecordCallSucceeded(); in set_final_status()