Home
last modified time | relevance | path

Searched refs:overrideAuthority (Results 1 – 14 of 14) sorted by relevance

/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpChannelBuilderTest.java66 String overrideAuthority) { in overrideAuthorityIsReadableHelper() argument
67 builder.overrideAuthority(overrideAuthority); in overrideAuthorityIsReadableHelper()
68 assertEquals(overrideAuthority, builder.build().authority()); in overrideAuthorityIsReadableHelper()
80 builder.overrideAuthority("[invalidauthority").usePlaintext().buildTransportFactory(); in overrideAllowsInvalidAuthority()
89 builder.overrideAuthority("[invalidauthority"); in failOverrideInvalidAuthority()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyChannelBuilderTest.java81 String overrideAuthority) throws Exception { in overrideAuthorityIsReadableHelper() argument
82 builder.overrideAuthority(overrideAuthority); in overrideAuthorityIsReadableHelper()
85 assertEquals(overrideAuthority, channel.authority()); in overrideAuthorityIsReadableHelper()
100 Object unused = builder.overrideAuthority("[invalidauthority") in overrideAllowsInvalidAuthority()
112 builder.overrideAuthority("[invalidauthority"); in failOverrideInvalidAuthority()
DTlsTest.java337 .overrideAuthority(TestUtils.TEST_SERVER_HOST) in clientChannel()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DAbstractManagedChannelImplBuilderTest.java233 String overrideAuthority = "best-authority"; in overrideAuthority_normal() local
234 assertEquals(builder, builder.overrideAuthority(overrideAuthority)); in overrideAuthority_normal()
235 assertEquals(overrideAuthority, builder.authorityOverride); in overrideAuthority_normal()
240 builder.overrideAuthority(null); in overrideAuthority_null()
245 builder.overrideAuthority("not_allowed"); in overrideAuthority_invalid()
253 builder.overrideAuthority("google.com"); in overrideAuthority_getNameResolverFactory()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DHttp2OkHttpTest.java99 .overrideAuthority(GrpcUtil.authorityFromHostAndPort( in createChannelBuilder()
140 .overrideAuthority(GrpcUtil.authorityFromHostAndPort( in wrongHostNameFailHostnameVerification()
162 .overrideAuthority(GrpcUtil.authorityFromHostAndPort( in hostnameVerifierWithBadHostname()
182 .overrideAuthority(GrpcUtil.authorityFromHostAndPort( in hostnameVerifierWithCorrectHostname()
DConcurrencyTest.java223 .overrideAuthority(TestUtils.TEST_SERVER_HOST) in newClientChannel()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DForwardingChannelBuilder.java91 public T overrideAuthority(String authority) { in overrideAuthority() method in ForwardingChannelBuilder
92 delegate().overrideAuthority(authority); in overrideAuthority()
DManagedChannelBuilder.java145 public abstract T overrideAuthority(String authority); in overrideAuthority() method in ManagedChannelBuilder
/external/grpc-grpc-java/android-interop-testing/app/src/main/java/io/grpc/android/integrationtest/
DTesterOkHttpChannelBuilder.java47 channelBuilder.overrideAuthority(serverHostOverride); in build()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DTestServiceClient.java376 nettyBuilder.overrideAuthority(serverHostOverride); in createChannel()
386 okBuilder.overrideAuthority( in createChannel()
/external/grpc-grpc-java/netty/shaded/src/testShadow/java/io/grpc/netty/shaded/
DShadingTest.java99 .overrideAuthority("foo.test.google.fr") in tcnative()
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/
DUtils.java211 builder.overrideAuthority(authorityOverride); in newClientChannel()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DAbstractManagedChannelImplBuilder.java280 public final T overrideAuthority(String authority) { in overrideAuthority() method in AbstractManagedChannelImplBuilder
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/
DGrpclbLoadBalancerTest.java209 .overrideAuthority(authority).build(); in setUp()
212 .overrideAuthority(authority).build(); in setUp()