/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | OverrideAuthorityNameResolverTest.java | 27 import io.grpc.NameResolver; 38 NameResolver nameResolverMock = mock(NameResolver.class); in overridesAuthority() 39 NameResolver.Factory wrappedFactory = mock(NameResolver.Factory.class); in overridesAuthority() 43 NameResolver.Factory factory = in overridesAuthority() 45 NameResolver nameResolver = factory.newNameResolver(URI.create("dns:///localhost:443"), in overridesAuthority() 53 NameResolver.Factory wrappedFactory = mock(NameResolver.Factory.class); in wontWrapNull() 55 NameResolver.Factory factory = in wontWrapNull() 63 NameResolver.Factory wrappedFactory = mock(NameResolver.Factory.class); in forwardsNonOverridenCalls() 64 NameResolver mockResolver = mock(NameResolver.class); in forwardsNonOverridenCalls() 67 NameResolver.Factory factory = in forwardsNonOverridenCalls() [all …]
|
D | ForwardingNameResolverTest.java | 27 import io.grpc.NameResolver; 41 private final NameResolver delegate = mock(NameResolver.class); 42 private final NameResolver forwarder = new ForwardingNameResolver(delegate) { 48 NameResolver.class, in allMethodsForwarded() 64 NameResolver.Listener listener = new NameResolver.Listener() { in start()
|
D | ManagedChannelImplGetNameResolverTest.java | 24 import io.grpc.NameResolver; 25 import io.grpc.NameResolver.Factory; 35 Attributes.newBuilder().set(NameResolver.Factory.PARAMS_DEFAULT_PORT, 447).build(); 97 Factory nameResolverFactory = new NameResolver.Factory() { in validTargetNoResovler() 99 public NameResolver newNameResolver(URI targetUri, Attributes params) { in validTargetNoResovler() 138 private static class FakeNameResolverFactory extends NameResolver.Factory { 146 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() 159 private static class FakeNameResolver extends NameResolver {
|
D | AbstractManagedChannelImplBuilderTest.java | 38 import io.grpc.NameResolver; 106 NameResolver.Factory nameResolverFactory = mock(NameResolver.Factory.class); in nameResolverFactory_normal() 113 NameResolver.Factory defaultValue = builder.getNameResolverFactory(); in nameResolverFactory_null() 114 builder.nameResolverFactory(mock(NameResolver.Factory.class)); in nameResolverFactory_null() 121 directAddressBuilder.nameResolverFactory(mock(NameResolver.Factory.class)); in nameResolverFactory_notAllowedWithDirectAddress()
|
D | ManagedChannelImplIdlenessTest.java | 51 import io.grpc.NameResolver; 106 @Mock private NameResolver mockNameResolver; 107 @Mock private NameResolver.Factory mockNameResolverFactory; 110 @Captor private ArgumentCaptor<NameResolver.Listener> nameResolverListenerCaptor; 164 verify(mockNameResolver, never()).start(any(NameResolver.Listener.class)); in setUp()
|
D | DnsNameResolverTest.java | 37 import io.grpc.NameResolver; 86 Attributes.newBuilder().set(NameResolver.Factory.PARAMS_DEFAULT_PORT, DEFAULT_PORT).build(); 105 private NameResolver.Listener mockListener; 120 Attributes.newBuilder().set(NameResolver.Factory.PARAMS_DEFAULT_PORT, port).build(), in newResolver()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | OverrideAuthorityNameResolverFactory.java | 20 import io.grpc.NameResolver; 28 final class OverrideAuthorityNameResolverFactory extends NameResolver.Factory { 29 private final NameResolver.Factory delegate; 39 OverrideAuthorityNameResolverFactory(NameResolver.Factory delegate, String authorityOverride) { in OverrideAuthorityNameResolverFactory() 46 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() 47 final NameResolver resolver = delegate.newNameResolver(targetUri, params); in newNameResolver()
|
D | ForwardingNameResolver.java | 22 import io.grpc.NameResolver; 27 abstract class ForwardingNameResolver extends NameResolver { 28 private final NameResolver delegate; 30 ForwardingNameResolver(NameResolver delegate) { in ForwardingNameResolver()
|
D | AbstractManagedChannelImplBuilder.java | 34 import io.grpc.NameResolver; 86 private static final NameResolver.Factory DEFAULT_NAME_RESOLVER_FACTORY = 103 private NameResolver.Factory nameResolverFactory = DEFAULT_NAME_RESOLVER_FACTORY; 226 public final T nameResolverFactory(NameResolver.Factory resolverFactory) { in nameResolverFactory() 463 NameResolver.Factory getNameResolverFactory() { in getNameResolverFactory() 471 private static class DirectAddressNameResolverFactory extends NameResolver.Factory { 481 public NameResolver newNameResolver(URI notUsedUri, Attributes params) { in newNameResolver() 482 return new NameResolver() { in newNameResolver()
|
D | GrpcAttributes.java | 22 import io.grpc.NameResolver; 33 @NameResolver.ResolutionResultAttr
|
D | ManagedChannelImpl.java | 60 import io.grpc.NameResolver; 118 private final NameResolver.Factory nameResolverFactory; 154 private NameResolver nameResolver; 604 static NameResolver getNameResolver(String target, NameResolver.Factory nameResolverFactory, in getNameResolver() 620 NameResolver resolver = nameResolverFactory.newNameResolver(targetUri, nameResolverParams); in getNameResolver() 638 NameResolver resolver = nameResolverFactory.newNameResolver(targetUri, nameResolverParams); in getNameResolver() 1000 final NameResolver nr; 1002 LbHelperImpl(NameResolver nr) { in LbHelperImpl() 1235 public NameResolver.Factory getNameResolverFactory() { in getNameResolverFactory() 1245 private class NameResolverListenerImpl implements NameResolver.Listener {
|
D | DnsNameResolver.java | 27 import io.grpc.NameResolver; 60 final class DnsNameResolver extends NameResolver { 146 Integer defaultPort = params.get(NameResolver.Factory.PARAMS_DEFAULT_PORT); in DnsNameResolver()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | NameResolverProvider.java | 36 public abstract class NameResolverProvider extends NameResolver.Factory { 48 NameResolver.Factory.PARAMS_DEFAULT_PORT; 59 private static final NameResolver.Factory factory = new NameResolverFactory(providers); 73 public static NameResolver.Factory asFactory() { in asFactory() 78 static NameResolver.Factory asFactory(List<NameResolverProvider> providers) { in asFactory() 100 private static final class NameResolverFactory extends NameResolver.Factory { 109 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() 112 NameResolver resolver = provider.newNameResolver(targetUri, params); in newNameResolver()
|
D | NameResolver.java | 44 public abstract class NameResolver { class 113 public abstract NameResolver newNameResolver(URI targetUri, Attributes params); in newNameResolver()
|
D | LoadBalancer.java | 115 @NameResolver.ResolutionResultAttr Attributes attributes); in handleResolvedAddressGroups() 583 public abstract NameResolver.Factory getNameResolverFactory(); in getNameResolverFactory()
|
D | ManagedChannelBuilder.java | 215 public abstract T nameResolverFactory(NameResolver.Factory resolverFactory); in nameResolverFactory()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | NameResolverProviderTest.java | 45 NameResolver.Factory factory = NameResolverProvider.asFactory(providers); in getDefaultScheme_noProvider() 59 public NameResolver newNameResolver(URI passedUri, Attributes passedAttributes) { in newNameResolver_providerReturnsNull() 71 NameResolver.Factory factory = NameResolverProvider.asFactory(providers); in newNameResolver_noProvider() 145 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/util/ |
D | ForwardingLoadBalancerHelper.java | 28 import io.grpc.NameResolver; 82 public NameResolver.Factory getNameResolverFactory() { in getNameResolverFactory()
|
/external/llvm-project/lldb/source/Breakpoint/ |
D | BreakpointResolverName.cpp | 30 : BreakpointResolver(bkpt, BreakpointResolver::NameResolver, offset), in BreakpointResolverName() 51 : BreakpointResolver(bkpt, BreakpointResolver::NameResolver, offset), in BreakpointResolverName() 65 : BreakpointResolver(bkpt, BreakpointResolver::NameResolver, offset), in BreakpointResolverName() 78 : BreakpointResolver(bkpt, BreakpointResolver::NameResolver, offset), in BreakpointResolverName() 85 : BreakpointResolver(rhs.GetBreakpoint(), BreakpointResolver::NameResolver, in BreakpointResolverName()
|
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/ |
D | OkHttpChannelBuilderTest.java | 26 import io.grpc.NameResolver; 124 builder.getNameResolverParams().get(NameResolver.Factory.PARAMS_DEFAULT_PORT).intValue()); in usePlaintextDefaultPort()
|
/external/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/ |
D | CronetChannelBuilder.java | 28 import io.grpc.NameResolver; 200 .set(NameResolver.Factory.PARAMS_DEFAULT_PORT, GrpcUtil.DEFAULT_PORT_SSL).build(); in getNameResolverParams()
|
/external/llvm-project/lldb/include/lldb/Breakpoint/ |
D | BreakpointResolverName.h | 75 return V->getResolverID() == BreakpointResolver::NameResolver; in classof()
|
D | BreakpointResolver.h | 130 NameResolver, // This is an instance of BreakpointResolverName enumerator
|
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/ |
D | RenderScriptRuntime.h | 62 : BreakpointResolver(bp, BreakpointResolver::NameResolver), in RSBreakpointResolver() 106 : BreakpointResolver(breakpoint, BreakpointResolver::NameResolver), in BreakpointResolver() argument 257 : BreakpointResolver(bp, BreakpointResolver::NameResolver), in RSScriptGroupBreakpointResolver()
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
D | NettyChannelBuilder.java | 32 import io.grpc.NameResolver; 407 .set(NameResolver.Factory.PARAMS_DEFAULT_PORT, defaultPort).build(); in getNameResolverParams()
|