/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | ManagedChannelImplIdlenessTest.java | 116 when(mockLoadBalancerFactory.newLoadBalancer(any(Helper.class))).thenReturn(mockLoadBalancer); in setUp() 160 verify(mockLoadBalancerFactory, never()).newLoadBalancer(any(Helper.class)); in setUp() 181 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in newCallExitsIdleness() 198 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in newCallRefreshesIdlenessTimer() 260 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in realTransportsHoldsOffIdleness() 302 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in updateSubchannelAddresses_newAddressConnects() 322 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in updateSubchannelAddresses_existingAddressDoesNotConnect() 346 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in oobTransportDoesNotAffectIdleness() 392 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in updateOobChannelAddresses_newAddressConnects() 412 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in updateOobChannelAddresses_existingAddressDoesNotConnect()
|
D | AutoConfiguredLoadBalancerFactoryTest.java | 63 LoadBalancer lb = lbf.newLoadBalancer(new TestHelper()); in newLoadBalancer_isAuto() 71 (AutoConfiguredLoadBalancer) lbf.newLoadBalancer(new TestHelper()); in defaultIsPickFirst() 80 (AutoConfiguredLoadBalancer) lbf.newLoadBalancer(new TestHelper()); in forwardsCalls() 131 (AutoConfiguredLoadBalancer) lbf.newLoadBalancer(helper); in handleResolvedAddressGroups_keepOldBalancer() 165 (AutoConfiguredLoadBalancer) lbf.newLoadBalancer(helper); in handleResolvedAddressGroups_shutsDownOldBalancer() 305 new AutoConfiguredLoadBalancerFactory(channelTracer, timeProvider).newLoadBalancer(helper); in channelTracing_lbPolicyChanged()
|
D | ManagedChannelImplTest.java | 243 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in createChannel() 252 when(mockLoadBalancerFactory.newLoadBalancer(any(Helper.class))).thenReturn(mockLoadBalancer); in setUp() 487 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in subtestCallsAndShutdown() 566 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in noMoreCallbackAfterLoadBalancerShutdown() 767 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in nameResolverReturnsEmptySubLists() 786 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in loadBalancerThrowsInHandleResolvedAddresses() 1577 verify(mockLoadBalancerFactory, never()).newLoadBalancer(any(Helper.class)); in getState_withRequestConnect() 1582 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in getState_withRequestConnect() 1596 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in getState_withRequestConnect_IdleWithLbRunning() 1713 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in subtestPanic() [all …]
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | AutoConfiguredLoadBalancerFactory.java | 62 public LoadBalancer newLoadBalancer(Helper helper) { in newLoadBalancer() method in AutoConfiguredLoadBalancerFactory 96 delegate = delegateFactory.newLoadBalancer(helper); in AutoConfiguredLoadBalancer() 128 delegate = delegateFactory.newLoadBalancer(helper); in handleResolvedAddressGroups()
|
D | ManagedChannelImpl.java | 333 lbHelper.lb = loadBalancerFactory.newLoadBalancer(lbHelper); in exitIdleMode()
|
/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/ |
D | GrpclbLoadBalancerFactory.java | 45 public LoadBalancer newLoadBalancer(LoadBalancer.Helper helper) { in newLoadBalancer() method in GrpclbLoadBalancerFactory
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | PickFirstBalancerFactory.java | 52 public LoadBalancer newLoadBalancer(LoadBalancer.Helper helper) { in newLoadBalancer() method in PickFirstBalancerFactory
|
D | LoadBalancer.java | 672 public abstract LoadBalancer newLoadBalancer(Helper helper); in newLoadBalancer() method in LoadBalancer.Factory
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | PickFirstLoadBalancerTest.java | 92 loadBalancer = (PickFirstBalancer) PickFirstBalancerFactory.getInstance().newLoadBalancer( in setUp()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/util/ |
D | RoundRobinLoadBalancerFactory.java | 98 public LoadBalancer newLoadBalancer(LoadBalancer.Helper helper) { in newLoadBalancer() method in RoundRobinLoadBalancerFactory
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/ |
D | RoundRobinLoadBalancerTest.java | 135 .newLoadBalancer(mockHelper); in setUp()
|