Home
last modified time | relevance | path

Searched refs:newNameResolver (Results 1 – 13 of 13) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DOverrideAuthorityNameResolverTest.java40 when(wrappedFactory.newNameResolver(any(URI.class), any(Attributes.class))) in overridesAuthority()
45 NameResolver nameResolver = factory.newNameResolver(URI.create("dns:///localhost:443"), in overridesAuthority()
54 when(wrappedFactory.newNameResolver(any(URI.class), any(Attributes.class))).thenReturn(null); in wontWrapNull()
58 factory.newNameResolver(URI.create("dns:///localhost:443"), Attributes.EMPTY)); in wontWrapNull()
65 when(wrappedFactory.newNameResolver(any(URI.class), any(Attributes.class))) in forwardsNonOverridenCalls()
70 factory.newNameResolver(URI.create("dns:///localhost:443"), Attributes.EMPTY); in forwardsNonOverridenCalls()
DDnsNameResolverProviderTest.java40 public void newNameResolver() { in newNameResolver() method in DnsNameResolverProviderTest
42 provider.newNameResolver(URI.create("dns:///localhost:443"), Attributes.EMPTY).getClass()); in newNameResolver()
44 provider.newNameResolver(URI.create("notdns:///localhost:443"), Attributes.EMPTY)); in newNameResolver()
DManagedChannelImplGetNameResolverTest.java99 public NameResolver newNameResolver(URI targetUri, Attributes params) { in validTargetNoResovler()
146 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() method in ManagedChannelImplGetNameResolverTest.FakeNameResolverFactory
DManagedChannelImplIdlenessTest.java119 .newNameResolver(any(URI.class), any(Attributes.class))) in setUp()
158 verify(mockNameResolverFactory).newNameResolver(any(URI.class), any(Attributes.class)); in setUp()
DDnsNameResolverTest.java759 provider.newNameResolver(uri, NAME_RESOLVER_PARAMS); in testInvalidUri()
767 DnsNameResolver resolver = provider.newNameResolver(uri, NAME_RESOLVER_PARAMS); in testValidUri()
DManagedChannelImplTest.java2737 public NameResolver newNameResolver(URI targetUri, Attributes params) { in badServiceConfigIsRecoverable() method in ManagedChannelImplTest.FakeNameResolverFactory
2856 public NameResolver newNameResolver(final URI targetUri, Attributes params) { in newNameResolver() method in FakeNameResolverFactory
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DNameResolverProviderTest.java59 public NameResolver newNameResolver(URI passedUri, Attributes passedAttributes) { in newNameResolver_providerReturnsNull()
65 assertNull(NameResolverProvider.asFactory(providers).newNameResolver(uri, attributes)); in newNameResolver_providerReturnsNull()
73 factory.newNameResolver(uri, attributes); in newNameResolver_noProvider()
145 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() method in NameResolverProviderTest.BaseProvider
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DOverrideAuthorityNameResolverFactory.java46 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() method in OverrideAuthorityNameResolverFactory
47 final NameResolver resolver = delegate.newNameResolver(targetUri, params); in newNameResolver()
DDnsNameResolverProvider.java45 public DnsNameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() method in DnsNameResolverProvider
DAbstractManagedChannelImplBuilder.java481 public NameResolver newNameResolver(URI notUsedUri, Attributes params) { in newNameResolver() method in AbstractManagedChannelImplBuilder.DirectAddressNameResolverFactory
DManagedChannelImpl.java647 NameResolver resolver = nameResolverFactory.newNameResolver(targetUri, nameResolverParams); in getNameResolver()
665 NameResolver resolver = nameResolverFactory.newNameResolver(targetUri, nameResolverParams); in getNameResolver()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DNameResolverProvider.java109 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() method in NameResolverProvider.NameResolverFactory
112 NameResolver resolver = provider.newNameResolver(targetUri, params); in newNameResolver()
DNameResolver.java110 public abstract NameResolver newNameResolver(URI targetUri, Attributes params); in newNameResolver() method in NameResolver.Factory