/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | OverrideAuthorityNameResolverTest.java | 40 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()
|
D | DnsNameResolverProviderTest.java | 40 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()
|
D | ManagedChannelImplGetNameResolverTest.java | 99 public NameResolver newNameResolver(URI targetUri, Attributes params) { in validTargetNoResovler() 146 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() method in ManagedChannelImplGetNameResolverTest.FakeNameResolverFactory
|
D | ManagedChannelImplIdlenessTest.java | 119 .newNameResolver(any(URI.class), any(Attributes.class))) in setUp() 158 verify(mockNameResolverFactory).newNameResolver(any(URI.class), any(Attributes.class)); in setUp()
|
D | DnsNameResolverTest.java | 759 provider.newNameResolver(uri, NAME_RESOLVER_PARAMS); in testInvalidUri() 767 DnsNameResolver resolver = provider.newNameResolver(uri, NAME_RESOLVER_PARAMS); in testValidUri()
|
D | ManagedChannelImplTest.java | 2737 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/ |
D | NameResolverProviderTest.java | 59 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/ |
D | OverrideAuthorityNameResolverFactory.java | 46 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() method in OverrideAuthorityNameResolverFactory 47 final NameResolver resolver = delegate.newNameResolver(targetUri, params); in newNameResolver()
|
D | DnsNameResolverProvider.java | 45 public DnsNameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() method in DnsNameResolverProvider
|
D | AbstractManagedChannelImplBuilder.java | 481 public NameResolver newNameResolver(URI notUsedUri, Attributes params) { in newNameResolver() method in AbstractManagedChannelImplBuilder.DirectAddressNameResolverFactory
|
D | ManagedChannelImpl.java | 647 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/ |
D | NameResolverProvider.java | 109 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() method in NameResolverProvider.NameResolverFactory 112 NameResolver resolver = provider.newNameResolver(targetUri, params); in newNameResolver()
|
D | NameResolver.java | 110 public abstract NameResolver newNameResolver(URI targetUri, Attributes params); in newNameResolver() method in NameResolver.Factory
|