Home
last modified time | relevance | path

Searched refs:targetUri (Results 1 – 8 of 8) sorted by relevance

/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DDnsNameResolverProvider.java45 public DnsNameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument
46 if (SCHEME.equals(targetUri.getScheme())) { in newNameResolver()
47 String targetPath = Preconditions.checkNotNull(targetUri.getPath(), "targetPath"); in newNameResolver()
49 "the path component (%s) of the target (%s) must start with '/'", targetPath, targetUri); in newNameResolver()
52 targetUri.getAuthority(), in newNameResolver()
DOverrideAuthorityNameResolverFactory.java46 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument
47 final NameResolver resolver = delegate.newNameResolver(targetUri, params); in newNameResolver()
DManagedChannelImpl.java635 URI targetUri = null; in getNameResolver() local
638 targetUri = new URI(target); in getNameResolver()
646 if (targetUri != null) { in getNameResolver()
647 NameResolver resolver = nameResolverFactory.newNameResolver(targetUri, nameResolverParams); in getNameResolver()
660 targetUri = new URI(nameResolverFactory.getDefaultScheme(), "", "/" + target, null); in getNameResolver()
665 NameResolver resolver = nameResolverFactory.newNameResolver(targetUri, nameResolverParams); in getNameResolver()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DManagedChannelImplGetNameResolverTest.java99 public NameResolver newNameResolver(URI targetUri, Attributes params) { in validTargetNoResovler()
146 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument
147 if (expectedScheme.equals(targetUri.getScheme())) { in newNameResolver()
148 return new FakeNameResolver(targetUri); in newNameResolver()
DManagedChannelImplTest.java2737 public NameResolver newNameResolver(URI targetUri, Attributes params) { in badServiceConfigIsRecoverable() argument
2856 public NameResolver newNameResolver(final URI targetUri, Attributes params) { in newNameResolver() argument
2857 if (!expectedUri.equals(targetUri)) { in newNameResolver()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DNameResolverProvider.java109 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument
112 NameResolver resolver = provider.newNameResolver(targetUri, params); in newNameResolver()
DNameResolver.java110 public abstract NameResolver newNameResolver(URI targetUri, Attributes params); in newNameResolver() argument
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DNameResolverProviderTest.java145 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument