/external/libcxx/test/std/utilities/time/time.duration/time.duration.literals/ |
literals.pass.cpp | 25 static_assert ( std::is_same<decltype( 3ms ), std::chrono::milliseconds>::value, "" ); 44 std::chrono::milliseconds ms = 247ms; 45 assert ( ms == std::chrono::milliseconds(247));
|
/external/libgdx/gdx/src/com/badlogic/gdx/net/ |
SocketHints.java | 25 /** The connection timeout in milliseconds. Not used for sockets created via server.accept(). */
58 /** The linger duration in seconds (NOT milliseconds!). Only used if linger is true! */
60 /** Enable/disable SO_TIMEOUT with the specified timeout, in milliseconds. With this option set to a non-zero timeout, a read()
|
/external/okhttp/android/main/java/com/squareup/okhttp/ |
HttpHandler.java | 76 client.setConnectTimeout(0, TimeUnit.MILLISECONDS); 77 client.setReadTimeout(0, TimeUnit.MILLISECONDS); 78 client.setWriteTimeout(0, TimeUnit.MILLISECONDS);
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
AsyncTaskTest.java | 39 assertEquals("Result should get stored in the AsyncTask", "c", asyncTask.get(100, TimeUnit.MILLISECONDS)); 71 assertEquals("Result should get stored in the AsyncTask", "c", asyncTask.get(100, TimeUnit.MILLISECONDS)); 96 assertEquals("Result should get stored in the AsyncTask", "done", asyncTask.get(100, TimeUnit.MILLISECONDS));
|
/frameworks/base/core/java/android/hardware/location/ |
GeofenceHardwareRequest.java | 79 * should be triggered. This paramter is defined in milliseconds. 98 * @param notificationResponsiveness (milliseconds) Defines the best-effort description 102 * the callback will be called 1000 milliseconds within entering
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
KernelWakelockReaderTest.java | 86 .addLine("Wakelock", 34, 123) // Milliseconds 114 .addLine("Wakelock", 1, 10) // Milliseconds 115 .addLine("Wakelock", 1, 10) // Milliseconds
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
TwilightCalculator.java | 62 * Time of sunset (civil twilight) in milliseconds or -1 in the case the day 68 * Time of sunrise (civil twilight) in milliseconds or -1 in the case the 81 * @param time time in milliseconds.
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
ldt0028.js | 36 // Read the signal every 20 milliseconds for 10 seconds 78 function delay( milliseconds ) { 80 while (Date.now() - startTime < milliseconds);
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
Collection8Test.java | 10 import static java.util.concurrent.TimeUnit.MILLISECONDS; 99 assertNull(f1.get(0L, MILLISECONDS)); 100 assertNull(f2.get(0L, MILLISECONDS));
|
SynchronousQueueTest.java | 11 import static java.util.concurrent.TimeUnit.MILLISECONDS; 199 assertFalse(q.offer(new Object(), timeoutMillis(), MILLISECONDS)); 203 q.offer(new Object(), 2 * LONG_DELAY_MS, MILLISECONDS); 231 try { assertNull(q.poll(0, MILLISECONDS)); } 243 try { assertNull(q.poll(timeoutMillis(), MILLISECONDS)); } 261 assertNull(q.poll(timeoutMillis(), MILLISECONDS)); 266 assertSame(zero, q.poll(LONG_DELAY_MS, MILLISECONDS)); 270 q.poll(LONG_DELAY_MS, MILLISECONDS); 277 q.poll(LONG_DELAY_MS, MILLISECONDS); 287 try { assertTrue(q.offer(zero, LONG_DELAY_MS, MILLISECONDS)); } [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.shared_future/ |
wait.pass.cpp | 21 std::this_thread::sleep_for(std::chrono::milliseconds(500)); 29 std::this_thread::sleep_for(std::chrono::milliseconds(500)); 36 std::this_thread::sleep_for(std::chrono::milliseconds(500));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.unique_future/ |
wait.pass.cpp | 21 std::this_thread::sleep_for(std::chrono::milliseconds(500)); 29 std::this_thread::sleep_for(std::chrono::milliseconds(500)); 36 std::this_thread::sleep_for(std::chrono::milliseconds(500));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.literals/ |
literals.pass.cpp | 25 static_assert ( std::is_same<decltype( 3ms ), std::chrono::milliseconds>::value, "" ); 44 std::chrono::milliseconds ms = 247ms; 45 assert ( ms == std::chrono::milliseconds(247));
|
/packages/apps/Camera2/src/com/android/camera/stats/profiler/ |
ProfileBase.java | 118 * since last event values in milliseconds. 124 * since last event values in milliseconds. 130 * since last event values in milliseconds. Inclues the stop reason.
|
/packages/apps/CellBroadcastReceiver/res/values-mcc302/ |
strings.xml | 52 <item>0</item> <!-- the number of milliseconds to wait before turning the vibrator on --> 53 <item>500</item> <!-- the number of milliseconds for which to keep the vibrator on before turning it off --> 54 <item>500</item> <!-- Subsequent values alternate between durations in milliseconds to turn the vibrator off or to turn the vibrator on -->
|
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/ |
ExternalCallListTest.java | 55 return mCallAddedLatch.await(WAIT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); 63 return mCallRemovedLatch.await(WAIT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); 71 return mCallUpdatedLatch.await(WAIT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS);
|
/packages/apps/Music/src/com/android/music/ |
RepeatingImageButton.java | 54 * the interval in milliseconds with which it will be called. 56 * @param interval The interval in milliseconds for calls 134 * @param duration The number of milliseconds the button has been pressed so far.
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
Throttle.java | 58 /** Minimum (default) timeout, in milliseconds. */ 61 /** Max timeout, in milliseconds. */ 64 /** Current timeout, in milliseconds. */
|
/packages/services/Car/tests/carservice_test/src/com/android/car/test/ |
AudioRoutingPolicyTest.java | 112 assertTrue(mWaitSemaphore.tryAcquire(TIMEOUT_MS, TimeUnit.MILLISECONDS)); 133 assertTrue(mWaitSemaphore.tryAcquire(TIMEOUT_MS, TimeUnit.MILLISECONDS)); 134 assertTrue(mWaitSemaphore.tryAcquire(TIMEOUT_MS, TimeUnit.MILLISECONDS));
|
/packages/services/Car/tests/carservice_test/src/com/android/support/car/test/ |
CarConnectionListenerInMockingTest.java | 72 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS); 121 if (!mWaitSemaphore.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { 131 if (!mWaitSemaphore.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) {
|
/system/bt/osi/include/ |
metrics.h | 68 // |media_timer_min_ms| is the minimum scheduled time (in milliseconds) 70 // |media_timer_max_ms| is the maximum scheduled time (in milliseconds) 72 // |media_timer_avg_ms| is the average scheduled time (in milliseconds)
|
/system/bt/osi/src/protos/ |
bluetooth.proto | 97 // Media timer in milliseconds. 100 // Media timer in milliseconds. 103 // Media timer in milliseconds.
|
/system/core/gatekeeperd/ |
IGateKeeperService.h | 55 * be reattempted until T milliseconds have elapsed 69 * be reattempted until T milliseconds have elapsed 82 * be reattempted until T milliseconds have elapsed
|
/system/core/include/utils/ |
Timers.h | 76 static CONSTEXPR inline nsecs_t milliseconds(nsecs_t v) { return ms2ns(v); } function 95 * Returns the number of milliseconds to wait between the reference time and the timeout time. 97 * If the timeout is more than INT_MAX milliseconds in the future relative to the reference time,
|
/development/host/windows/usb/api/ |
adb_endpoint_object.h | 69 @param[in] time_out A timeout (in milliseconds) required for this I/O to
88 @param[in] time_out A timeout (in milliseconds) required for this I/O to
121 @param[in] time_out A timeout (in milliseconds) required for this I/O to
141 @param[in] time_out A timeout (in milliseconds) required for this I/O to
158 @param[in] time_out A timeout (in milliseconds) required for this I/O to
174 @param[in] time_out A timeout (in milliseconds) required for this I/O to
|