Home
last modified time | relevance | path

Searched defs:timeUnit (Results 1 – 25 of 75) sorted by relevance

123

/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DWatchServiceConfiguration.java43 public static WatchServiceConfiguration polling(long interval, TimeUnit timeUnit) { in polling()
58 private final TimeUnit timeUnit; field in WatchServiceConfiguration.PollingConfig
60 private PollingConfig(long interval, TimeUnit timeUnit) { in PollingConfig()
DPollingWatchService.java72 @VisibleForTesting final TimeUnit timeUnit; field in PollingWatchService
81 TimeUnit timeUnit) { in PollingWatchService()
/external/junit/src/main/java/org/junit/runners/model/
DTestTimedOutException.java15 private final TimeUnit timeUnit; field in TestTimedOutException
24 public TestTimedOutException(long timeout, TimeUnit timeUnit) { in TestTimedOutException()
/external/guava/android/guava-testlib/src/com/google/common/testing/
DFakeTicker.java47 public FakeTicker advance(long time, TimeUnit timeUnit) { in advance()
65 public FakeTicker setAutoIncrementStep(long autoIncrementStep, TimeUnit timeUnit) { in setAutoIncrementStep()
/external/junit/src/main/java/org/junit/rules/
DTimeout.java42 private final TimeUnit timeUnit; field in Timeout
79 public Timeout(long timeout, TimeUnit timeUnit) { in Timeout()
159 private TimeUnit timeUnit = TimeUnit.SECONDS; field in Timeout.Builder
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyServerBuilder.java298 public NettyServerBuilder keepAliveTime(long keepAliveTime, TimeUnit timeUnit) { in keepAliveTime()
319 public NettyServerBuilder keepAliveTimeout(long keepAliveTimeout, TimeUnit timeUnit) { in keepAliveTimeout()
340 public NettyServerBuilder maxConnectionIdle(long maxConnectionIdle, TimeUnit timeUnit) { in maxConnectionIdle()
360 public NettyServerBuilder maxConnectionAge(long maxConnectionAge, TimeUnit timeUnit) { in maxConnectionAge()
381 public NettyServerBuilder maxConnectionAgeGrace(long maxConnectionAgeGrace, TimeUnit timeUnit) { in maxConnectionAgeGrace()
404 public NettyServerBuilder permitKeepAliveTime(long keepAliveTime, TimeUnit timeUnit) { in permitKeepAliveTime()
/external/guava/guava-testlib/src/com/google/common/testing/
DFakeTicker.java48 public FakeTicker advance(long time, TimeUnit timeUnit) { in advance()
76 public FakeTicker setAutoIncrementStep(long autoIncrementStep, TimeUnit timeUnit) { in setAutoIncrementStep()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/util/concurrent/
DRoboExecutorService.java79 public boolean awaitTermination(long l, TimeUnit timeUnit) throws InterruptedException { in awaitTermination()
119 …<T>> invokeAll(Collection<? extends Callable<T>> callables, long l, TimeUnit timeUnit) throws Inte… in invokeAll()
129 …public <T> T invokeAny(Collection<? extends Callable<T>> callables, long l, TimeUnit timeUnit) thr… in invokeAny()
/external/libchrome/base/android/java/src/org/chromium/base/metrics/
DRecordHistogram.java186 public static void recordTimesHistogram(String name, long duration, TimeUnit timeUnit) { in recordTimesHistogram()
200 public static void recordMediumTimesHistogram(String name, long duration, TimeUnit timeUnit) { in recordMediumTimesHistogram()
214 public static void recordLongTimesHistogram(String name, long duration, TimeUnit timeUnit) { in recordLongTimesHistogram()
228 public static void recordLongTimesHistogram100(String name, long duration, TimeUnit timeUnit) { in recordLongTimesHistogram100()
246 String name, long duration, long min, long max, TimeUnit timeUnit, int numBuckets) { in recordCustomTimesHistogram()
269 /* package */ static void assertTimesHistogramSupportsUnit(TimeUnit timeUnit) { in assertTimesHistogramSupportsUnit()
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DSetupCompatServiceProvider.java55 public static ISetupCompatService get(Context context, long waitTime, @NonNull TimeUnit timeUnit) in get()
61 public ISetupCompatService getService(long timeout, TimeUnit timeUnit) in getService()
91 private ISetupCompatService waitForConnection(long timeout, TimeUnit timeUnit) in waitForConnection()
/external/guava/android/guava/src/com/google/common/util/concurrent/
DMoreExecutors.java83 ThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit) { in getExitingExecutorService()
123 ScheduledThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit) { in getExitingScheduledExecutorService()
163 ExecutorService service, long terminationTimeout, TimeUnit timeUnit) { in addDelayedShutdownHook()
173 ThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit) { in getExitingExecutorService()
185 ScheduledThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit) { in getExitingScheduledExecutorService()
198 final ExecutorService service, final long terminationTimeout, final TimeUnit timeUnit) { in addDelayedShutdownHook()
/external/guava/guava/src/com/google/common/util/concurrent/
DMoreExecutors.java106 ThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit) { in getExitingExecutorService()
167 ScheduledThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit) { in getExitingScheduledExecutorService()
224 ExecutorService service, long terminationTimeout, TimeUnit timeUnit) { in addDelayedShutdownHook()
234 ThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit) { in getExitingExecutorService()
246 ScheduledThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit) { in getExitingScheduledExecutorService()
259 final ExecutorService service, final long terminationTimeout, final TimeUnit timeUnit) { in addDelayedShutdownHook()
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/
DInProcessChannelBuilder.java115 public InProcessChannelBuilder keepAliveTime(long keepAliveTime, TimeUnit timeUnit) { in keepAliveTime()
121 public InProcessChannelBuilder keepAliveTimeout(long keepAliveTimeout, TimeUnit timeUnit) { in keepAliveTimeout()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DCacheControl.java304 public Builder maxAge(int maxAge, TimeUnit timeUnit) { in maxAge()
322 public Builder maxStale(int maxStale, TimeUnit timeUnit) { in maxStale()
341 public Builder minFresh(int minFresh, TimeUnit timeUnit) { in minFresh()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCacheControl.java301 public Builder maxAge(int maxAge, TimeUnit timeUnit) { in maxAge()
319 public Builder maxStale(int maxStale, TimeUnit timeUnit) { in maxStale()
338 public Builder minFresh(int minFresh, TimeUnit timeUnit) { in minFresh()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DUtil.java139 public static boolean discard(Source source, int timeout, TimeUnit timeUnit) { in discard()
151 public static boolean skipAll(Source source, int duration, TimeUnit timeUnit) throws IOException { in skipAll()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DUtil.java141 public static boolean discard(Source source, int timeout, TimeUnit timeUnit) { in discard()
153 public static boolean skipAll(Source source, int duration, TimeUnit timeUnit) throws IOException { in skipAll()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/
DUtil.java145 public static boolean discard(Source source, int timeout, TimeUnit timeUnit) { in discard()
157 public static boolean skipAll(Source source, int duration, TimeUnit timeUnit) throws IOException { in skipAll()
/external/grpc-grpc-java/context/src/test/java/io/grpc/testing/
DDeadlineSubject.java53 public TolerantDeadlineComparison isWithin(final long delta, final TimeUnit timeUnit) { in isWithin()
/external/apache-http/src/org/apache/http/conn/
DClientConnectionManager.java95 void releaseConnection(ManagedClientConnection conn, long validDuration, TimeUnit timeUnit) in releaseConnection()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DManagedChannelBuilder.java321 public T keepAliveTime(long keepAliveTime, TimeUnit timeUnit) { in keepAliveTime()
335 public T keepAliveTimeout(long keepAliveTimeout, TimeUnit timeUnit) { in keepAliveTimeout()
DForwardingChannelBuilder.java161 public T keepAliveTime(long keepAliveTime, TimeUnit timeUnit) { in keepAliveTime()
167 public T keepAliveTimeout(long keepAliveTimeout, TimeUnit timeUnit) { in keepAliveTimeout()
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DTestStreamTracer.java42 boolean await(long timeout, TimeUnit timeUnit) throws InterruptedException; in await()
106 public boolean await(long timeout, TimeUnit timeUnit) throws InterruptedException { in await()
/external/libchrome/base/android/junit/src/org/chromium/base/metrics/test/
DShadowRecordHistogram.java39 public static void recordLongTimesHistogram100(String name, long duration, TimeUnit timeUnit) { in recordLongTimesHistogram100()
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/
DGrpcCleanupRule.java66 public GrpcCleanupRule setTimeout(long timeout, TimeUnit timeUnit) { in setTimeout()

123