Home
last modified time | relevance | path

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

12

/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/guava-testlib/src/com/google/common/testing/
DFakeTicker.java47 public FakeTicker advance(long time, TimeUnit timeUnit) { in advance()
63 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/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/setupcompat/main/java/com/google/android/setupcompat/internal/
DSetupCompatServiceProvider.java53 public static ISetupCompatService get(Context context, long waitTime, @NonNull TimeUnit timeUnit) in get()
59 public ISetupCompatService getService(long timeout, TimeUnit timeUnit) in getService()
89 private ISetupCompatService waitForConnection(long timeout, TimeUnit timeUnit) in waitForConnection()
/external/guava/guava/src/com/google/common/util/concurrent/
DMoreExecutors.java85 ThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit) { in getExitingExecutorService()
108 ScheduledThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit) { in getExitingScheduledExecutorService()
126 ExecutorService service, long terminationTimeout, TimeUnit timeUnit) { in addDelayedShutdownHook()
176 ThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit) { in getExitingExecutorService()
184 ScheduledThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit) { in getExitingScheduledExecutorService()
192 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/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/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/grpc-grpc-java/context/src/test/java/io/grpc/testing/
DDeadlineSubject.java53 public TolerantDeadlineComparison isWithin(final long delta, final TimeUnit timeUnit) { in isWithin()
/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/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/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/grpc-grpc-java/testing/src/main/java/io/grpc/testing/
DGrpcCleanupRule.java66 public GrpcCleanupRule setTimeout(long timeout, TimeUnit timeUnit) { in setTimeout()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeUnitFormat.java383 TimeUnit timeUnit = null; in put() local
469 final TimeUnit timeUnit = timeUnits[i]; in setup() local
492 … private void searchInTree(String resourceKey, int styl, TimeUnit timeUnit, String srcPluralCount, in searchInTree()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUsageStatsManager.java58 private final TimeUnit timeUnit; field in ShadowUsageStatsManager.AppUsageObserver
65 @NonNull TimeUnit timeUnit, in AppUsageObserver()
273 TimeUnit timeUnit, in registerAppUsageObserver()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java381 TimeUnit timeUnit = null; in put() local
467 final TimeUnit timeUnit = timeUnits[i]; in setup() local
490 … private void searchInTree(String resourceKey, int styl, TimeUnit timeUnit, String srcPluralCount, in searchInTree()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeUnitTest.java80 final TimeUnit timeUnit = values[j]; in TestBasic() local
311 final TimeUnit timeUnit = values[j]; in formatParsing() local
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeUnitTest.java77 final TimeUnit timeUnit = values[j]; in TestBasic() local
308 final TimeUnit timeUnit = values[j]; in formatParsing() local
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DRescheduler.java55 void reschedule(long delay, TimeUnit timeUnit) { in reschedule()

12