Home
last modified time | relevance | path

Searched refs:timeUnit (Results 1 – 25 of 28) sorted by relevance

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java270 for (TimeUnit timeUnit : timeUnitToCountToPatterns.keySet()) { in parseObject()
271 Map<String, Object[]> countToPattern = timeUnitToCountToPatterns.get(timeUnit); in parseObject()
306 resultTimeUnit = timeUnit; in parseObject()
374 TimeUnit timeUnit = null; in setup() local
376 timeUnit = TimeUnit.YEAR; in setup()
378 timeUnit = TimeUnit.MONTH; in setup()
380 timeUnit = TimeUnit.DAY; in setup()
382 timeUnit = TimeUnit.HOUR; in setup()
384 timeUnit = TimeUnit.MINUTE; in setup()
386 timeUnit = TimeUnit.SECOND; in setup()
[all …]
/external/guava/guava-testlib/src/com/google/common/testing/
DFakeTicker.java47 public FakeTicker advance(long time, TimeUnit timeUnit) { in advance() argument
48 return advance(timeUnit.toNanos(time)); in advance()
63 public FakeTicker setAutoIncrementStep(long autoIncrementStep, TimeUnit timeUnit) { in setAutoIncrementStep() argument
65 this.autoIncrementStepNanos = timeUnit.toNanos(autoIncrementStep); in setAutoIncrementStep()
/external/guava/guava/src/com/google/common/util/concurrent/
DMoreExecutors.java85 ThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit) { in getExitingExecutorService() argument
87 .getExitingExecutorService(executor, terminationTimeout, timeUnit); in getExitingExecutorService()
108 ScheduledThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit) { in getExitingScheduledExecutorService() argument
110 .getExitingScheduledExecutorService(executor, terminationTimeout, timeUnit); in getExitingScheduledExecutorService()
126 ExecutorService service, long terminationTimeout, TimeUnit timeUnit) { in addDelayedShutdownHook() argument
128 .addDelayedShutdownHook(service, terminationTimeout, timeUnit); in addDelayedShutdownHook()
176 ThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit) { in getExitingExecutorService() argument
179 addDelayedShutdownHook(service, terminationTimeout, timeUnit); in getExitingExecutorService()
184 ScheduledThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit) { in getExitingScheduledExecutorService() argument
187 addDelayedShutdownHook(service, terminationTimeout, timeUnit); in getExitingScheduledExecutorService()
[all …]
DRateLimiter.java637 WarmingUp(SleepingTicker ticker, long warmupPeriod, TimeUnit timeUnit) { in WarmingUp() argument
639 this.warmupPeriodMicros = timeUnit.toMicros(warmupPeriod); in WarmingUp()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCacheControl.java301 public Builder maxAge(int maxAge, TimeUnit timeUnit) { in maxAge() argument
303 long maxAgeSecondsLong = timeUnit.toSeconds(maxAge); in maxAge()
319 public Builder maxStale(int maxStale, TimeUnit timeUnit) { in maxStale() argument
321 long maxStaleSecondsLong = timeUnit.toSeconds(maxStale); in maxStale()
338 public Builder minFresh(int minFresh, TimeUnit timeUnit) { in minFresh() argument
340 long minFreshSecondsLong = timeUnit.toSeconds(minFresh); in minFresh()
/external/guava/guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/
DFakeTickerTest.java75 for (TimeUnit timeUnit : EnumSet.allOf(TimeUnit.class)) { in testAutoIncrementStep_resetToZero()
76 ticker.setAutoIncrementStep(0, timeUnit); in testAutoIncrementStep_resetToZero()
78 "Expected no auto-increment when setting autoIncrementStep to 0 " + timeUnit, in testAutoIncrementStep_resetToZero()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
DRobolectricBackgroundExecutorService.java37 public boolean awaitTermination(long l, TimeUnit timeUnit) throws InterruptedException { in awaitTermination() argument
73 …invokeAll(Collection<? extends Callable<T>> callables, long l, TimeUnit timeUnit) throws Interrupt… in invokeAll() argument
83 …public <T> T invokeAny(Collection<? extends Callable<T>> callables, long l, TimeUnit timeUnit) thr… in invokeAny() argument
/external/guava/guava-testlib/test/com/google/common/testing/
DFakeTickerTest.java86 for (TimeUnit timeUnit : EnumSet.allOf(TimeUnit.class)) { in testAutoIncrementStep_resetToZero()
87 ticker.setAutoIncrementStep(0, timeUnit); in testAutoIncrementStep_resetToZero()
89 "Expected no auto-increment when setting autoIncrementStep to 0 " + timeUnit, in testAutoIncrementStep_resetToZero()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DUtil.java156 public static boolean discard(Source source, int timeout, TimeUnit timeUnit) { in discard() argument
158 return skipAll(source, timeout, timeUnit); in discard()
168 public static boolean skipAll(Source source, int duration, TimeUnit timeUnit) throws IOException { in skipAll() argument
173 source.timeout().deadlineNanoTime(now + Math.min(originalDuration, timeUnit.toNanos(duration))); in skipAll()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/executor/
DFifoPriorityThreadPoolExecutor.java30 …riorityThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAlive, TimeUnit timeUnit, in FifoPriorityThreadPoolExecutor() argument
32 …super(corePoolSize, maximumPoolSize, keepAlive, timeUnit, new PriorityBlockingQueue<Runnable>(), t… in FifoPriorityThreadPoolExecutor()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeUnitTest.java71 final TimeUnit timeUnit = values[j]; in TestBasic() local
74 TimeUnitAmount source = new TimeUnitAmount(tests[i], timeUnit); in TestBasic()
278 final TimeUnit timeUnit = values[j]; in formatParsing() local
281 TimeUnitAmount source = new TimeUnitAmount(tests[i], timeUnit); in formatParsing()
/external/glide/library/src/main/java/com/bumptech/glide/request/
DRequestFutureTarget.java120 …public R get(long time, TimeUnit timeUnit) throws InterruptedException, ExecutionException, Timeou… in get() argument
121 return doGet(timeUnit.toMillis(time)); in get()
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
DThreadSafeClientConnManager.java203 …ublic void releaseConnection(ManagedClientConnection conn, long validDuration, TimeUnit timeUnit) {
253 connectionPool.freeEntry(entry, reusable, validDuration, timeUnit);
DConnPoolByRoute.java375 …lic void freeEntry(BasicPoolEntry entry, boolean reusable, long validDuration, TimeUnit timeUnit) {
400 idleConnHandler.add(entry.getConnection(), validDuration, timeUnit);
DAbstractConnPool.java193 …tract void freeEntry(BasicPoolEntry entry, boolean reusable, long validDuration, TimeUnit timeUnit) in freeEntry() argument
/external/apache-http/src/org/apache/http/conn/
DClientConnectionManager.java95 void releaseConnection(ManagedClientConnection conn, long validDuration, TimeUnit timeUnit) in releaseConnection() argument
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DOkUrlFactoryTest.java158 private static String formatDate(long delta, TimeUnit timeUnit) { in formatDate() argument
159 return formatDate(new Date(System.currentTimeMillis() + timeUnit.toMillis(delta))); in formatDate()
DUrlConnectionCacheTest.java1668 private String formatDate(long delta, TimeUnit timeUnit) { in formatDate() argument
1669 return formatDate(new Date(System.currentTimeMillis() + timeUnit.toMillis(delta))); in formatDate()
/external/apache-http/src/org/apache/http/impl/conn/
DSingleClientConnManager.java278 …ublic void releaseConnection(ManagedClientConnection conn, long validDuration, TimeUnit timeUnit) {
334 connectionExpiresTime = timeUnit.toMillis(validDuration) + lastReleaseTime;
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DResponseCacheTest.java1700 private String formatDate(long delta, TimeUnit timeUnit) { in formatDate() argument
1701 return formatDate(new Date(System.currentTimeMillis() + timeUnit.toMillis(delta))); in formatDate()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCacheTest.java2146 private String formatDate(long delta, TimeUnit timeUnit) { in formatDate() argument
2147 return formatDate(new Date(System.currentTimeMillis() + timeUnit.toMillis(delta))); in formatDate()
/external/robolectric/lib/main/
Dhttpclient-4.0.3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/vogar/lib/
Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...

12