/libcore/luni/src/main/java/java/util/concurrent/ |
TimeUnit.java | 18 * as sixty seconds, an hour as sixty minutes, and a day as twenty four 30 * while this code will timeout in 50 seconds: 33 * if (lock.tryLock(50L, TimeUnit.SECONDS)) ...}</pre> 76 SECONDS { 151 * {@code 999} milliseconds to seconds results in 207 * Equivalent to {@code SECONDS.convert(duration, this)}.
|
/external/chromium/third_party/libevent/test/ |
regress.c | 81 #define SECONDS 1 196 diff = tv.tv_sec*1000 + tv.tv_usec/1000 - SECONDS * 1000; 502 tv.tv_sec = SECONDS; [all...] |
/external/chromium_org/third_party/libevent/test/ |
regress.c | 81 #define SECONDS 1 196 diff = tv.tv_sec*1000 + tv.tv_usec/1000 - SECONDS * 1000; 502 tv.tv_sec = SECONDS; [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
ConnectivityManagerTest.java | 351 return mReceiveLatch.await(30, TimeUnit.SECONDS);
|
/cts/tests/tests/os/src/android/os/cts/ |
ParcelFileDescriptorTest.java | 111 done.get(5, TimeUnit.SECONDS);
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
SpdyConnection.java | 79 Integer.MAX_VALUE, 60, TimeUnit.SECONDS, new SynchronousQueue<Runnable>(),
|
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 109 public static final char SECONDS = 's'; 353 * Indicates whether the specified format string contains seconds. 359 * @return true if the format string contains {@link #SECONDS}, false otherwise 364 return hasDesignator(inFormat, SECONDS); 564 offset /= 1000; // milliseconds to seconds
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
RootsCache.java | 137 success = mFirstLoad.await(15, TimeUnit.SECONDS);
|
/packages/apps/Dialer/src/com/android/dialer/voicemail/ |
VoicemailPlaybackFragment.java | 143 * We always use four digits, two for minutes two for seconds. In the very unlikely event 147 int seconds = millis / 1000; local 148 int minutes = seconds / 60; 149 seconds -= minutes * 60; 153 return String.format("%02d:%02d", minutes, seconds); 254 mApplicationContext.getString(stringResourceId), 1, TimeUnit.SECONDS);
|
/packages/apps/Exchange/src/com/android/exchange/utility/ |
CalendarUtilities.java | 70 static final int SECONDS = 1000; 71 static final int MINUTES = SECONDS*60; 264 // Round to the next highest minute; we always write seconds as zero 265 cal.setTimeInMillis(millis + 30*SECONDS); 703 standardBias /= 60*SECONDS; [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
AttachmentDrawable.java | 65 1, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>());
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
ResearchLogger.java | 143 private static final long RESEARCHLOG_CLOSE_TIMEOUT_IN_MS = TimeUnit.SECONDS.toMillis(5); 144 private static final long RESEARCHLOG_ABORT_TIMEOUT_IN_MS = TimeUnit.SECONDS.toMillis(5); 200 private static final long USER_RECORDING_TIMEOUT_MS = TimeUnit.SECONDS.toMillis(30); 634 }, TimeUnit.SECONDS.toMillis(1)); [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadService.java | 107 maxConcurrent, maxConcurrent, 10, TimeUnit.SECONDS,
|
/cts/tests/tests/view/src/android/view/cts/ |
WindowTest.java | 679 assertTrue(waitingSemaphore.tryAcquire(5, TimeUnit.SECONDS)); 741 assertTrue(waitingSemaphore.tryAcquire(5, TimeUnit.SECONDS)); [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPServerTransaction.java | 252 * with an interval that starts at T1 seconds and doubles for each retransmission (T1 258 * seconds. This is because retransmissions of ACK are triggered on receipt of a 2xx, 272 // timer H MUST be set to fire in 64*T1 seconds for all transports. Timer H [all...] |
/external/openssh/ |
misc.c | 276 #define SECONDS 1 277 #define MINUTES (SECONDS * 60) 283 * Convert a time string into seconds; format is 288 * <none> seconds 289 * s|S seconds
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkPolicyManagerServiceTest.java | [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | 766 serverFuture.get(30, TimeUnit.SECONDS); 771 clientFuture.get(30, TimeUnit.SECONDS); [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaRecorderTest.java | 93 assertTrue(latch.await(10, TimeUnit.SECONDS));
|
/cts/tests/tests/permission/src/android/permission/cts/ |
FileSystemPermissionTest.java | 583 // Block, waiting no more than set seconds. 584 completed = future.get(3, TimeUnit.SECONDS); [all...] |
/development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/ |
DiskLruCache.java | 271 60L, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>()); [all...] |
/external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/ |
MockAccountManager.java | 104 super(1, 1, 1, TimeUnit.SECONDS, new LinkedBlockingDeque<Runnable>());
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
speed.c | 76 #undef SECONDS 77 #define SECONDS 3 [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
LocalLoadingCacheTest.java | 334 boolean done = doneSignal.await(1, TimeUnit.SECONDS);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ConcurrentHashMultisetTest.java | 441 MapMaker mapMaker = new MapMaker().expireAfterWrite(1, TimeUnit.SECONDS);
|