Home
last modified time | relevance | path

Searched refs:Insecure (Results 1 – 25 of 38) sorted by relevance

12

/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DChannelTest.cs33 …Assert.Throws(typeof(ArgumentNullException), () => new Channel(null, ChannelCredentials.Insecure)); in Constructor_RejectsInvalidParams()
44 …s(typeof(ArgumentException), () => new Channel("127.0.0.1", ChannelCredentials.Insecure, options)); in Constructor_RejectsDuplicateOptions()
50 var channel = new Channel("localhost", ChannelCredentials.Insecure); in State_IdleAfterCreation()
58 var channel = new Channel("localhost", ChannelCredentials.Insecure); in WaitForStateChangedAsync_InvalidArgument()
66 var channel = new Channel("127.0.0.1", ChannelCredentials.Insecure); in ResolvedTarget()
74 var channel = new Channel("localhost", ChannelCredentials.Insecure); in Shutdown_AllowedOnlyOnce()
82 var channel = new Channel("localhost", ChannelCredentials.Insecure); in ShutdownTokenCancelledAfterShutdown()
92 var channel = new Channel("localhost", ChannelCredentials.Insecure); in StateIsShutdownAfterShutdown()
100 var channel = new Channel("localhost", ChannelCredentials.Insecure); in ShutdownFinishesWaitForStateChangedAsync()
110 var channel = new Channel("localhost", ChannelCredentials.Insecure); in OperationsThrowAfterShutdown()
DServerTest.cs36 … Ports = { new ServerPort("localhost", ServerPort.PickUnused, ServerCredentials.Insecure) } in StartAndShutdownServer()
47 … Ports = { new ServerPort("localhost", ServerPort.PickUnused, ServerCredentials.Insecure) } in StartAndKillServer()
58 … Ports = { new ServerPort("localhost", ServerPort.PickUnused, ServerCredentials.Insecure) } in PickUnusedPort()
76 new ServerPort("localhost", twiceBoundPort, ServerCredentials.Insecure), in StartThrowsWithUnboundPorts()
77 new ServerPort("localhost", twiceBoundPort, ServerCredentials.Insecure) in StartThrowsWithUnboundPorts()
89 … Ports = { new ServerPort("localhost", ServerPort.PickUnused, ServerCredentials.Insecure) } in CannotModifyAfterStarted()
92 …InvalidOperationException), () => server.Ports.Add("localhost", 9999, ServerCredentials.Insecure)); in CannotModifyAfterStarted()
DShutdownHookClientTest.cs38 var channel = new Channel(Host, 1000, ChannelCredentials.Insecure); in ProcessExitHookCanCleanupAbandonedChannels()
39 var channel2 = new Channel(Host, 1001, ChannelCredentials.Insecure); in ProcessExitHookCanCleanupAbandonedChannels()
DMockServiceHelper.cs134 Ports = { { Host, ServerPort.PickUnused, ServerCredentials.Insecure } } in GetServer()
147 …w Channel(Host, GetServer().Ports.Single().BoundPort, ChannelCredentials.Insecure, channelOptions); in GetChannel()
DChannelCredentialsTest.cs30 Assert.IsFalse(ChannelCredentials.Insecure.IsComposable); in InsecureCredentials_IsNonComposable()
/external/rust/crates/grpcio-sys/grpc/test/distrib/csharp/DistribTest/
DProgram.cs35 … Ports = { new ServerPort("localhost", ServerPort.PickUnused, ServerCredentials.Insecure) } in Main()
39 …l channel = new Channel("localhost", server.Ports.Single().BoundPort, ChannelCredentials.Insecure); in Main()
/external/grpc-grpc/examples/csharp/HelloworldXamarin/iOS/
DViewController.cs62 Ports = { new ServerPort("localhost", Port, ServerCredentials.Insecure) } in SayHello()
66 Channel channel = new Channel("localhost:50051", ChannelCredentials.Insecure); in SayHello()
/external/grpc-grpc/examples/csharp/HelloworldXamarin/Droid/
DMainActivity.cs53 Ports = { new ServerPort("localhost", Port, ServerCredentials.Insecure) } in SayHello()
59 Channel channel = new Channel("localhost:50051", ChannelCredentials.Insecure); in SayHello()
/external/grpc-grpc/src/csharp/Grpc.HealthCheck.Tests/
DHealthClientServerTest.cs49 Ports = { { Host, ServerPort.PickUnused, ServerCredentials.Insecure } } in Init()
52 … channel = new Channel(Host, server.Ports.Single().BoundPort, ChannelCredentials.Insecure); in Init()
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DGeneratedServiceBaseTest.cs46 Ports = { { Host, ServerPort.PickUnused, SslServerCredentials.Insecure } } in Init()
49 … channel = new Channel(Host, server.Ports.Single().BoundPort, ChannelCredentials.Insecure); in Init()
DCustomErrorDetailsTest.cs52 Ports = { { Host, ServerPort.PickUnused, ServerCredentials.Insecure } } in Init()
56 … channel = new Channel(Host, server.Ports.Single().BoundPort, ChannelCredentials.Insecure); in Init()
DStressTestClient.cs103 Ports = { { "[::]", options.MetricsPort, ServerCredentials.Insecure } } in Run()
118 var channel = new Channel(serverAddress, ChannelCredentials.Insecure); in Run()
DInteropServer.cs82 server.Ports.Add(host, options.Port, ServerCredentials.Insecure); in Run()
/external/grpc-grpc/src/csharp/Grpc.Reflection.Tests/
DReflectionClientServerTest.cs50 Ports = { { Host, ServerPort.PickUnused, ServerCredentials.Insecure } } in Init()
53 … channel = new Channel(Host, server.Ports.Single().BoundPort, ChannelCredentials.Insecure); in Init()
/external/grpc-grpc/test/distrib/csharp/DistribTest/
DProgram.cs30 Channel c = new Channel("127.0.0.1:1000", ChannelCredentials.Insecure); in Main()
/external/grpc-grpc/src/csharp/Grpc.Examples.Tests/
DMathClientServerTests.cs47 Ports = { { Host, ServerPort.PickUnused, ServerCredentials.Insecure } } in Init()
50 … channel = new Channel(Host, server.Ports.Single().BoundPort, ChannelCredentials.Insecure); in Init()
/external/grpc-grpc/examples/csharp/HelloworldLegacyCsproj/GreeterClient/
DProgram.cs25 Channel channel = new Channel("127.0.0.1:50051", ChannelCredentials.Insecure); in Main()
/external/grpc-grpc/examples/csharp/Helloworld/GreeterClient/
DProgram.cs25 Channel channel = new Channel("127.0.0.1:50051", ChannelCredentials.Insecure); in Main()
/external/grpc-grpc/src/csharp/Grpc.Examples.MathServer/
DMathServer.cs34 Ports = { { Host, Port, ServerCredentials.Insecure } } in Main()
/external/grpc-grpc/examples/csharp/RouteGuide/RouteGuideServer/
DProgram.cs35 Ports = { new ServerPort("localhost", Port, ServerCredentials.Insecure) } in Main()
/external/grpc-grpc/examples/csharp/Helloworld/GreeterServer/
DProgram.cs40 Ports = { new ServerPort("localhost", Port, ServerCredentials.Insecure) } in Main()
/external/grpc-grpc/examples/csharp/HelloworldLegacyCsproj/GreeterServer/
DProgram.cs40 Ports = { new ServerPort("localhost", Port, ServerCredentials.Insecure) } in Main()
/external/grpc-grpc/src/csharp/Grpc.Examples.MathClient/
DMathClient.cs27 var channel = new Channel("127.0.0.1", 23456, ChannelCredentials.Insecure); in Main()
/external/grpc-grpc/src/csharp/Grpc.Core/
DServerCredentials.cs37 public static ServerCredentials Insecure property in Grpc.Core.ServerCredentials
DChannelCredentials.cs52 public static ChannelCredentials Insecure property in Grpc.Core.ChannelCredentials

12