/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/ |
BitmapPreFillRunner.java | 54 static final long MAX_BACKOFF_MS = TimeUnit.SECONDS.toMillis(1);
|
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/ |
AbstractListenableFutureTest.java | 96 assertTrue(successLatch.await(10, TimeUnit.SECONDS));
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
FakeTickerTest.java | 74 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(3, TimeUnit.SECONDS);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
BasicDurationFormat.java | 97 javax.xml.datatype.DatatypeConstants.SECONDS, 156 // no fields set = 0 seconds
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
MockResponse.java | 47 private TimeUnit throttleUnit = TimeUnit.SECONDS;
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
MockResponse.java | 36 private TimeUnit throttlePeriodUnit = TimeUnit.SECONDS;
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Dispatcher.java | 61 executorService = new ThreadPoolExecutor(0, Integer.MAX_VALUE, 60, TimeUnit.SECONDS,
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
HttpOverSpdyTest.java | 59 import static java.util.concurrent.TimeUnit.SECONDS; 277 * 1KiB/second. We set the read timeout to two seconds. If our 284 server.enqueue(new MockResponse().setBody(new String(body)).throttleBody(1024, 1, SECONDS)); // slow connection 1KiB/second 287 connection.setReadTimeout(2000); // 2 seconds to read something. 303 .throttleBody(1024, 1, SECONDS)); // slow connection 1KiB/second 318 response.setBodyDelay(1, TimeUnit.SECONDS);
|
/external/vogar/src/vogar/tasks/ |
TaskQueue.java | 79 runners.awaitTermination(FOREVER, TimeUnit.SECONDS);
|
/frameworks/base/services/net/java/android/net/dhcp/ |
DhcpClient.java | 98 private static final int SECONDS = 1000; 99 private static final int FIRST_TIMEOUT_MS = 2 * SECONDS; 100 private static final int MAX_TIMEOUT_MS = 128 * SECONDS; 104 // a blocking operation with a 30-second timeout. We pick 36 seconds so we can send packets at 106 private static final int DHCP_TIMEOUT_MS = 36 * SECONDS; [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
BroadcastInterceptingContext.java | 73 return get(5, TimeUnit.SECONDS);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
ThreadUtilTest.java | 191 mLock.tryAcquire(1, 2, TimeUnit.SECONDS);
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
SelectorTest.java | 110 assertFalse(selectReturned.await(2, TimeUnit.SECONDS));
|
/packages/apps/Camera2/src/com/android/camera/burst/ |
BurstResultsSaver.java | 63 mSeedTimestampMillis += TimeUnit.MILLISECONDS.convert(1, TimeUnit.SECONDS);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/ |
ThreadPool.java | 31 private static final int KEEP_ALIVE_TIME = 10; // 10 seconds 90 TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>(),
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
GalleryGridItemView.java | 155 dateSeconds * TimeUnit.SECONDS.toMillis(1));
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
MigrateEstimateTask.java | 96 if (mConnected.await(15, TimeUnit.SECONDS)) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
SignificantMotionTestActivity.java | 69 private static final long ALARM_WAKE_TIME_DELAY_MS = TimeUnit.SECONDS.toMillis(45); 390 mCountDownLatch.await(TRIGGER_MAX_DELAY_SECONDS, TimeUnit.SECONDS);
|
StepCounterTestActivity.java | 54 private static final long MAX_TOLERANCE_STEP_TIME_NANOS = TimeUnit.SECONDS.toNanos(10); 155 Thread.sleep(TimeUnit.SECONDS.toMillis(TEST_DURATION_SECONDS));
|
/cts/tests/tests/display/src/android/display/cts/ |
DisplayTest.java | 285 assertTrue(presentationSignal.await(5, TimeUnit.SECONDS)); 288 assertTrue(changeSignal.await(5, TimeUnit.SECONDS));
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
TestSensorEventListener.java | 53 private static final long EVENT_TIMEOUT_US = TimeUnit.SECONDS.toMicros(5); 54 private static final long FLUSH_TIMEOUT_US = TimeUnit.SECONDS.toMicros(10);
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/ |
TestSensorOperation.java | 262 SensorCtsHelper.sleep(2, TimeUnit.SECONDS); 306 SensorCtsHelper.sleep(2, TimeUnit.SECONDS);
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
WrappingExecutorServiceTest.java | 109 TimeUnit unit = TimeUnit.SECONDS; 129 TimeUnit unit = TimeUnit.SECONDS;
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
MockWebServerTest.java | 36 import static java.util.concurrent.TimeUnit.SECONDS; 239 .setBodyDelay(1, SECONDS));
|
/external/vogar/src/vogar/commands/ |
Command.java | 226 timeoutNanoTime = System.nanoTime() + TimeUnit.SECONDS.toNanos(timeoutSeconds); 234 // hard kill in 2 seconds 235 timeoutNanoTime = System.nanoTime() + TimeUnit.SECONDS.toNanos(2);
|