/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/ |
D | TimeUnit.java | 17 public long toMillis(long d) { return d/(C2/C0); } in toMillis() method 28 public long toMillis(long d) { return d/(C2/C1); } in toMillis() method 39 public long toMillis(long d) { return d; } in toMillis() method 44 public long convert(long d, TimeUnit u) { return u.toMillis(d); } in convert() 50 public long toMillis(long d) { return x(d, C3/C2, MAX/(C3/C2)); } in toMillis() method 61 public long toMillis(long d) { return x(d, C4/C2, MAX/(C4/C2)); } in toMillis() method 72 public long toMillis(long d) { return x(d, C5/C2, MAX/(C5/C2)); } in toMillis() method 83 public long toMillis(long d) { return x(d, C6/C2, MAX/(C6/C2)); } in toMillis() method 123 public long toMillis(long duration) { in toMillis() method in TimeUnit
|
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/ |
D | CallbackHelper.java | 181 mLock.wait(unit.toMillis(timeout)); in waitForCallback() 212 SystemClock.uptimeMillis() - startTime < unit.toMillis(timeout)) { in waitUntilCriteria() 213 mLock.wait(unit.toMillis(timeout)); in waitUntilCriteria()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | RecordingReceiver.java | 32 public static final long TIMEOUT_MILLIS = TimeUnit.SECONDS.toMillis(10); 75 long timeoutMillis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime()) + TIMEOUT_MILLIS; in await() 85 long nowMillis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime()); in await()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | CacheStrategy.java | 213 freshMillis = Math.min(freshMillis, SECONDS.toMillis(requestCaching.maxAgeSeconds())); in getCandidate() 218 minFreshMillis = SECONDS.toMillis(requestCaching.minFreshSeconds()); in getCandidate() 224 maxStaleMillis = SECONDS.toMillis(requestCaching.maxStaleSeconds()); in getCandidate() 265 return SECONDS.toMillis(responseCaching.maxAgeSeconds()); in computeFreshnessLifetime() 296 ? Math.max(apparentReceivedAge, SECONDS.toMillis(ageSeconds)) in cacheResponseAge()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowTime.java | 67 long millis = time.toMillis(true); in isEpoch() 117 public long toMillis(boolean ignoreDst) { in toMillis() method in ShadowTime 167 long ams = a.toMillis(false); in compare() 168 long bms = b.toMillis(false); in compare() 218 return strftime.format(new Date(toMillis(false))); in format()
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
D | DateTimePickerDialog.java | 125 if (time.toMillis(true) < mMinTimeMillis) { in onTimeChanged() 127 } else if (time.toMillis(true) > mMaxTimeMillis) { in onTimeChanged()
|
D | InputDialogContainer.java | 368 mInputActionDelegate.replaceDateTime(TimeUnit.HOURS.toMillis(hourOfDay) + in setFieldDateTimeValue() 369 TimeUnit.MINUTES.toMillis(minute) + in setFieldDateTimeValue() 370 TimeUnit.SECONDS.toMillis(second) + in setFieldDateTimeValue()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | TimeTest.java | 19 assertThat(t.toMillis(false), not(equalTo(0l))); in shouldSetToNow() 106 assertEquals(86400 * 1000, t.toMillis(false)); in shouldHaveToMillis() 233 millis = time.toMillis(false); in testSetJulianDay()
|
/external/apache-http/src/org/apache/http/impl/conn/ |
D | SingleClientConnManager.java | 329 connectionExpiresTime = timeUnit.toMillis(validDuration) + lastReleaseTime; 353 System.currentTimeMillis() - tunit.toMillis(idletime);
|
D | IdleConnectionHandler.java | 184 this.timeExpires = now + validUnit.toMillis(validDuration); in TimeValues()
|
D | AbstractClientConnAdapter.java | 357 this.duration = unit.toMillis(duration); in setIdleDuration()
|
/external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/ |
D | InfoBarTestAnimationListener.java | 18 private static long WAIT_MILLIS = TimeUnit.SECONDS.toMillis(5);
|
D | ApplicationData.java | 24 scaleTimeout(TimeUnit.SECONDS.toMillis(3));
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
D | OkHttp.java | 72 total, TimeUnit.NANOSECONDS.toMillis(finish - start))); in run()
|
D | UrlConnection.java | 74 total, TimeUnit.NANOSECONDS.toMillis(finish - start))); in run()
|
D | ApacheHttpClient.java | 78 total, TimeUnit.NANOSECONDS.toMillis(finish - start))); in run()
|
D | OkHttpAsync.java | 78 total, TimeUnit.NANOSECONDS.toMillis(finish - start)); in prepare()
|
D | NettyHttpClient.java | 188 total, TimeUnit.NANOSECONDS.toMillis(finish - start))); in receive()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | OkHttpClient.java | 91 long millis = unit.toMillis(timeout); in setConnectTimeout() 115 long millis = unit.toMillis(timeout); in setReadTimeout()
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServerTest.java | 309 long elapsedMillis = NANOSECONDS.toMillis(elapsedNanos); in testThrottleRequest() 336 long elapsedMillis = NANOSECONDS.toMillis(elapsedNanos);
|
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
D | AbstractConnPool.java | 248 idleConnHandler.closeIdleConnections(tunit.toMillis(idletime)); in closeIdleConnections()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | MapMaker.java | 201 this.expirationMillis = unit.toMillis(duration); in expireAfterWrite()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | Util.java | 226 while (NANOSECONDS.toMillis(System.nanoTime() - startNanos) < timeoutMillis) { in skipAll()
|
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
D | CacheBuilder.java | 87 this.expirationMillis = unit.toMillis(duration); in expireAfterWrite()
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServer.java | 538 long delayMs = throttlePolicy.getThrottleUnit().toMillis(throttlePolicy.getThrottlePeriod()); in throttledTransfer() 723 long delayMs = response.getThrottleUnit().toMillis(response.getThrottlePeriod()); in writeResponse()
|