Home
last modified time | relevance | path

Searched refs:scheduledExecutorService (Results 1 – 15 of 15) sorted by relevance

/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/
DInProcessChannelBuilder.java69 private ScheduledExecutorService scheduledExecutorService; field in InProcessChannelBuilder
141 public InProcessChannelBuilder scheduledExecutorService( in scheduledExecutorService() method in InProcessChannelBuilder
142 ScheduledExecutorService scheduledExecutorService) { in scheduledExecutorService() argument
143 this.scheduledExecutorService = in scheduledExecutorService()
144 checkNotNull(scheduledExecutorService, "scheduledExecutorService"); in scheduledExecutorService()
151 return new InProcessClientTransportFactory(name, scheduledExecutorService); in buildTransportFactory()
164 String name, @Nullable ScheduledExecutorService scheduledExecutorService) { in InProcessClientTransportFactory() argument
166 useSharedTimer = scheduledExecutorService == null; in InProcessClientTransportFactory()
168 ? SharedResourceHolder.get(GrpcUtil.TIMER_SERVICE) : scheduledExecutorService; in InProcessClientTransportFactory()
DInProcessServerBuilder.java119 public InProcessServerBuilder scheduledExecutorService( in scheduledExecutorService() method in InProcessServerBuilder
120 ScheduledExecutorService scheduledExecutorService) { in scheduledExecutorService() argument
122 checkNotNull(scheduledExecutorService, "scheduledExecutorService")); in scheduledExecutorService()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DFakeClockTest.java130 ScheduledExecutorService scheduledExecutorService = fakeClock.getScheduledExecutorService(); in testPendingAndDueTasks() local
132 scheduledExecutorService.schedule(newRunnable(), 200L, TimeUnit.NANOSECONDS); in testPendingAndDueTasks()
133 scheduledExecutorService.execute(newRunnable()); in testPendingAndDueTasks()
134 scheduledExecutorService.schedule(newRunnable(), 0L, TimeUnit.NANOSECONDS); in testPendingAndDueTasks()
135 scheduledExecutorService.schedule(newRunnable(), 80L, TimeUnit.NANOSECONDS); in testPendingAndDueTasks()
136 scheduledExecutorService.schedule(newRunnable(), 90L, TimeUnit.NANOSECONDS); in testPendingAndDueTasks()
137 scheduledExecutorService.schedule(newRunnable(), 100L, TimeUnit.NANOSECONDS); in testPendingAndDueTasks()
138 scheduledExecutorService.schedule(newRunnable(), 110L, TimeUnit.NANOSECONDS); in testPendingAndDueTasks()
139 scheduledExecutorService.schedule(newRunnable(), 120L, TimeUnit.NANOSECONDS); in testPendingAndDueTasks()
164 ScheduledExecutorService scheduledExecutorService = fakeClock.getScheduledExecutorService(); in testTaskFilter() local
[all …]
DFakeClock.java51 private final ScheduledExecutorService scheduledExecutorService = new ScheduledExecutorImpl(); field in FakeClock
194 return scheduledExecutorService; in getScheduledExecutorService()
DRetriableStreamTest.java132 ScheduledExecutorService scheduledExecutorService, in RecordedRetriableStream() argument
138 scheduledExecutorService, in RecordedRetriableStream()
/external/grpc-grpc-java/core/src/test/java/io/grpc/inprocess/
DInProcessServerBuilderTest.java75 ScheduledExecutorService scheduledExecutorService = in scheduledExecutorService_custom() local
78 InProcessServerBuilder builder1 = builder.scheduledExecutorService(scheduledExecutorService); in scheduledExecutorService_custom()
85 assertSame(scheduledExecutorService, scheduledExecutorServicePool.getObject()); in scheduledExecutorService_custom()
87 scheduledExecutorServicePool.returnObject(scheduledExecutorService); in scheduledExecutorService_custom()
DInProcessChannelBuilderTest.java51 ScheduledExecutorService scheduledExecutorService = in scheduledExecutorService_custom() local
54 InProcessChannelBuilder builder1 = builder.scheduledExecutorService(scheduledExecutorService); in scheduledExecutorService_custom()
59 assertSame(scheduledExecutorService, clientTransportFactory.getScheduledExecutorService()); in scheduledExecutorService_custom()
/external/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/
DCronetChannelBuilder.java78 private ScheduledExecutorService scheduledExecutorService; field in CronetChannelBuilder
178 public final CronetChannelBuilder scheduledExecutorService( in scheduledExecutorService() method in CronetChannelBuilder
179 ScheduledExecutorService scheduledExecutorService) { in scheduledExecutorService() argument
180 this.scheduledExecutorService = in scheduledExecutorService()
181 checkNotNull(scheduledExecutorService, "scheduledExecutorService"); in scheduledExecutorService()
191 scheduledExecutorService, in buildTransportFactory()
/external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/
DCronetChannelBuilderTest.java100 ScheduledExecutorService scheduledExecutorService = mock(ScheduledExecutorService.class); in scheduledExecutorService_custom() local
102 CronetChannelBuilder builder1 = builder.scheduledExecutorService(scheduledExecutorService); in scheduledExecutorService_custom()
106 assertSame(scheduledExecutorService, clientTransportFactory.getScheduledExecutorService()); in scheduledExecutorService_custom()
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpChannelBuilderTest.java152 ScheduledExecutorService scheduledExecutorService = in scheduledExecutorService_custom() local
155 OkHttpChannelBuilder builder1 = builder.scheduledExecutorService(scheduledExecutorService); in scheduledExecutorService_custom()
160 assertSame(scheduledExecutorService, clientTransportFactory.getScheduledExecutorService()); in scheduledExecutorService_custom()
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpChannelBuilder.java152 private ScheduledExecutorService scheduledExecutorService; field in OkHttpChannelBuilder
388 public final OkHttpChannelBuilder scheduledExecutorService( in scheduledExecutorService() method in OkHttpChannelBuilder
389 ScheduledExecutorService scheduledExecutorService) { in scheduledExecutorService() argument
390 this.scheduledExecutorService = in scheduledExecutorService()
391 checkNotNull(scheduledExecutorService, "scheduledExecutorService"); in scheduledExecutorService()
399 return new OkHttpTransportFactory(transportExecutor, scheduledExecutorService, in buildTransportFactory()
/external/grpc-grpc-java/android/src/main/java/io/grpc/android/
DAndroidChannelBuilder.java156 public AndroidChannelBuilder scheduledExecutorService( in scheduledExecutorService() method in AndroidChannelBuilder
157 ScheduledExecutorService scheduledExecutorService) { in scheduledExecutorService() argument
161 .invoke(delegateBuilder, scheduledExecutorService); in scheduledExecutorService()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DRetriableStream.java64 private final ScheduledExecutorService scheduledExecutorService; field in RetriableStream
100 Executor callExecutor, ScheduledExecutorService scheduledExecutorService, in RetriableStream() argument
108 this.scheduledExecutorService = scheduledExecutorService; in RetriableStream()
597 scheduledRetry = scheduledExecutorService.schedule( in closed()
/external/grpc-grpc-java/android/
Dproguard-rules.txt3 …io.grpc.okhttp.OkHttpChannelBuilder scheduledExecutorService(java.util.concurrent.ScheduledExecuto…
/external/grpc-grpc-java/android/src/test/java/io/grpc/android/
DAndroidChannelBuilderTest.java120 public void scheduledExecutorService() { in scheduledExecutorService() method in AndroidChannelBuilderTest
121 AndroidChannelBuilder.forTarget("target").scheduledExecutorService(new ScheduledExecutorImpl()); in scheduledExecutorService()