Home
last modified time | relevance | path

Searched refs:useTls (Results 1 – 11 of 11) sorted by relevance

/external/grpc-grpc/src/android/test/interop/app/src/androidTest/java/io/grpc/interop/cpp/
DInteropTest.java36 private boolean useTls; field in InteropTest
44 useTls = in setUp()
47 if (useTls) { in setUp()
66 assertTrue(InteropActivity.doEmpty(host, port, useTls)); in emptyUnary()
71 assertTrue(InteropActivity.doLargeUnary(host, port, useTls)); in largeUnary()
76 assertTrue(InteropActivity.doEmptyStream(host, port, useTls)); in emptyStream()
81 assertTrue(InteropActivity.doRequestStreaming(host, port, useTls)); in requestStreaming()
86 assertTrue(InteropActivity.doResponseStreaming(host, port, useTls)); in responseStreaming()
91 assertTrue(InteropActivity.doPingPong(host, port, useTls)); in pingPong()
/external/grpc-grpc/src/android/test/interop/app/src/main/java/io/grpc/interop/cpp/
DInteropActivity.java111 public static native boolean doEmpty(String host, int port, boolean useTls); in doEmpty() argument
113 public static native boolean doLargeUnary(String host, int port, boolean useTls); in doLargeUnary() argument
115 public static native boolean doEmptyStream(String host, int port, boolean useTls); in doEmptyStream() argument
117 public static native boolean doRequestStreaming(String host, int port, boolean useTls); in doRequestStreaming() argument
119 public static native boolean doResponseStreaming(String host, int port, boolean useTls); in doResponseStreaming() argument
121 public static native boolean doPingPong(String host, int port, boolean useTls); in doPingPong() argument
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DTestServiceServer.java40 if (server.useTls) { in main()
66 private boolean useTls = true; field in TestServiceServer
96 useTls = Boolean.parseBoolean(value); in parseArgs()
112 useTls = false; in parseArgs()
120 + "\n --use_tls=true|false Whether to use TLS. Default " + s.useTls in parseArgs()
141 if (useTls) { in start()
DTestServiceClient.java80 private boolean useTls = true; field in TestServiceClient
122 useTls = Boolean.parseBoolean(value); in parseArgs()
152 useTls = false; in parseArgs()
166 + "\n --use_tls=true|false Whether to use TLS. Default " + c.useTls in parseArgs()
373 .negotiationType(useTls ? NegotiationType.TLS : NegotiationType.PLAINTEXT) in createChannel()
389 if (useTls) { in createChannel()
DStressTestClient.java103 private boolean useTls = false; field in StressTestClient
152 useTls = Boolean.parseBoolean(value); in parseArgs()
191 + "\n --use_tls=true|false Whether to use TLS. Default: " + c.useTls in parseArgs()
352 .negotiationType(useTls ? NegotiationType.TLS : NegotiationType.PLAINTEXT) in createChannel()
627 boolean useTls() { in useTls() method in StressTestClient
628 return useTls; in useTls()
/external/grpc-grpc-java/android-interop-testing/app/src/androidTest/java/io/grpc/android/integrationtest/
DInteropInstrumentationTest.java46 private boolean useTls; field in InteropInstrumentationTest
62 useTls = in setUp()
70 if (useTls) { in setUp()
129 TesterOkHttpChannelBuilder.build(host, port, serverHostOverride, useTls, testCa), in runTest()
/external/grpc-grpc-java/android-interop-testing/app/src/main/java/io/grpc/android/integrationtest/
DTesterOkHttpChannelBuilder.java41 boolean useTls, in build() argument
49 if (useTls) { in build()
/external/rust/crates/grpcio-sys/grpc/tools/http2_interop/
Dhttp2interop_test.go33 useTls = flag.Bool("use_tls", true, "Should TLS tests be run") var
49 UseTLS: *useTls,
/external/grpc-grpc/tools/http2_interop/
Dhttp2interop_test.go19 useTls = flag.Bool("use_tls", true, "Should TLS tests be run") var
35 UseTLS: *useTls,
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DSettingsFacade.java318 public void setPrivateDnsMode(@RpcParameter(name = "useTls") Boolean useTls, in setPrivateDnsMode()
321 if(useTls == false) dnsMode = ConnectivityConstants.PrivateDnsModeOff; in setPrivateDnsMode()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DStressTestClientTest.java97 assertTrue(client.useTls()); in allCommandlineSwitchesAreSupported()