Home
last modified time | relevance | path

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

/external/grpc-grpc-java/core/src/test/java/io/grpc/inprocess/
DInProcessChannelBuilderTest.java19 import static io.grpc.internal.GrpcUtil.TIMER_SERVICE;
40 SharedResourceHolder.get(TIMER_SERVICE), in scheduledExecutorService_default()
44 TIMER_SERVICE, clientTransportFactory.getScheduledExecutorService()); in scheduledExecutorService_default()
DInProcessServerBuilderTest.java19 import static io.grpc.internal.GrpcUtil.TIMER_SERVICE;
62 SharedResourcePool.forResource(TIMER_SERVICE); in scheduledExecutorService_default()
DInProcessTransportTest.java42 SharedResourcePool.forResource(GrpcUtil.TIMER_SERVICE), streamTracerFactories); in newServer()
DInProcessServerTest.java40 new InProcessServer("name", SharedResourcePool.forResource(GrpcUtil.TIMER_SERVICE), in getPort_notStarted()
/external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/
DCronetChannelBuilderTest.java19 import static io.grpc.internal.GrpcUtil.TIMER_SERVICE;
89 SharedResourceHolder.get(TIMER_SERVICE), in scheduledExecutorService_default()
93 TIMER_SERVICE, clientTransportFactory.getScheduledExecutorService()); in scheduledExecutorService_default()
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpChannelBuilderTest.java19 import static io.grpc.internal.GrpcUtil.TIMER_SERVICE;
141 SharedResourceHolder.get(TIMER_SERVICE), in scheduledExecutorService_default()
145 TIMER_SERVICE, clientTransportFactory.getScheduledExecutorService()); in scheduledExecutorService_default()
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/
DInProcessChannelBuilder.java168 ? SharedResourceHolder.get(GrpcUtil.TIMER_SERVICE) : scheduledExecutorService; in InProcessClientTransportFactory()
192 SharedResourceHolder.release(GrpcUtil.TIMER_SERVICE, timerService); in close()
DInProcessServerBuilder.java96 SharedResourcePool.forResource(GrpcUtil.TIMER_SERVICE);
/external/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/
DCronetChannelBuilder.java222 ? SharedResourceHolder.get(GrpcUtil.TIMER_SERVICE) : timeoutService; in CronetTransportFactory()
246 SharedResourceHolder.release(GrpcUtil.TIMER_SERVICE, timeoutService); in close()
/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/
DGrpclbLoadBalancerFactory.java52 SharedResourcePool.forResource(GrpcUtil.TIMER_SERVICE), in newLoadBalancer()
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpChannelBuilder.java496 ? SharedResourceHolder.get(GrpcUtil.TIMER_SERVICE) : timeoutService; in OkHttpTransportFactory()
563 SharedResourceHolder.release(GrpcUtil.TIMER_SERVICE, timeoutService); in close()
DOkHttpClientTransport.java20 import static io.grpc.internal.GrpcUtil.TIMER_SERVICE;
417 scheduler = SharedResourceHolder.get(TIMER_SERVICE); in start()
841 scheduler = SharedResourceHolder.release(TIMER_SERVICE, scheduler); in stopIfNecessary()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DGrpcUtil.java510 public static final Resource<ScheduledExecutorService> TIMER_SERVICE = field in GrpcUtil