/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowVibrator.java | 12 private long milliseconds; field in class:ShadowVibrator 17 public void vibrate(long milliseconds) { 19 this.milliseconds = milliseconds; 44 return milliseconds;
|
/external/chromium_org/chrome/browser/history/android/ |
android_time.h | 12 // Android's system time is the milliseconds since January 1, 1970 00:00:00 UTC, 13 // the below 2 methods are used convert between base::Time and the milliseconds 15 inline base::Time FromDatabaseTime(int64 milliseconds) { 16 return base::TimeDelta::FromMilliseconds(milliseconds) +
|
/external/chromium_org/third_party/webrtc/system_wrappers/source/ |
clock_unittest.cc | 22 int64_t milliseconds = clock->CurrentNtpInMilliseconds(); local 23 EXPECT_GT(milliseconds / 1000, kNtpJan1970); 24 EXPECT_GE(milliseconds, Clock::NtpToMs(seconds, fractions)); 25 EXPECT_NEAR(milliseconds, Clock::NtpToMs(seconds, fractions), 5);
|
/external/chromium_org/content/public/browser/ |
vibration_provider.h | 12 // Device should start vibrating for N milliseconds. 13 virtual void Vibrate(int64 milliseconds) = 0;
|
/external/qemu/distrib/sdl-1.2.15/docs/man3/ |
SDL_GetTicks.3 | 3 SDL_GetTicks \- Get the number of milliseconds since the SDL library initialization\&. 11 Get the number of milliseconds since the SDL library initialization\&. Note that this value wraps if the program runs for more than ~49 days\&.
|
SDL_Delay.3 | 3 SDL_Delay \- Wait a specified number of milliseconds before returning\&. 11 Wait a specified number of milliseconds before returning\&. \fBSDL_Delay\fP will wait at \fIleast\fP the specified time, but possible longer due to OS scheduling\&.
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
ThreadPoolExecutorTest.java | 13 import static java.util.concurrent.TimeUnit.MILLISECONDS; 25 super(1, 1, LONG_DELAY_MS, MILLISECONDS, new SynchronousQueue<Runnable>()); 62 LONG_DELAY_MS, MILLISECONDS, 71 assertTrue(done.await(SMALL_DELAY_MS, MILLISECONDS)); 84 LONG_DELAY_MS, MILLISECONDS, 96 assertTrue(threadStarted.await(SMALL_DELAY_MS, MILLISECONDS)); 110 LONG_DELAY_MS, MILLISECONDS, 128 LONG_DELAY_MS, MILLISECONDS, 145 LONG_DELAY_MS, MILLISECONDS, 180 LONG_DELAY_MS, MILLISECONDS, [all...] |
ThreadPoolExecutorSubclassTest.java | 13 import static java.util.concurrent.TimeUnit.MILLISECONDS; 165 super(1, 1, LONG_DELAY_MS, MILLISECONDS, new SynchronousQueue<Runnable>()); 202 LONG_DELAY_MS, MILLISECONDS, 211 assertTrue(done.await(SMALL_DELAY_MS, MILLISECONDS)); 224 LONG_DELAY_MS, MILLISECONDS, 236 assertTrue(threadStarted.await(SMALL_DELAY_MS, MILLISECONDS)); 248 ThreadPoolExecutor p = new CustomTPE(2, 2, LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10)); 263 ThreadPoolExecutor p = new CustomTPE(2, 2, LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10)); 279 LONG_DELAY_MS, MILLISECONDS, 312 ThreadPoolExecutor p = new CustomTPE(1, 1, LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10)) [all...] |
TimeUnitTest.java | 38 TimeUnit.MILLISECONDS)); 47 TimeUnit.MILLISECONDS.convert(t, 50 TimeUnit.MILLISECONDS.convert(t, 53 TimeUnit.MILLISECONDS.convert(t, 56 TimeUnit.MILLISECONDS.convert(t, 59 TimeUnit.MILLISECONDS.convert(t, 60 TimeUnit.MILLISECONDS)); 62 TimeUnit.MILLISECONDS.convert(1000L*t, 65 TimeUnit.MILLISECONDS.convert(1000000L*t, 82 TimeUnit.MILLISECONDS)); [all...] |
/frameworks/base/core/java/android/os/ |
Vibrator.java | 62 * @param milliseconds The number of milliseconds to vibrate. 64 public void vibrate(long milliseconds) { 65 vibrate(milliseconds, null); 73 * @param milliseconds The number of milliseconds to vibrate. 79 public void vibrate(long milliseconds, AudioAttributes attributes) { 80 vibrate(Process.myUid(), mPackageName, milliseconds, attributes); local 88 * the vibrator in milliseconds. The first value indicates the number of milliseconds [all...] |
/external/chromium_org/content/browser/vibration/ |
vibration_message_filter.cc | 42 void VibrationMessageFilter::OnVibrate(int64 milliseconds) { 48 milliseconds = std::max(kMinimumVibrationDurationMs, std::min(milliseconds, 51 provider_->Vibrate(milliseconds);
|
/external/javasqlite/src/main/java/SQLite/ |
Profile.java | 14 * @param est estimated execution time in milliseconds.
|
/external/jmdns/src/javax/jmdns/impl/constants/ |
DNSConstants.java | 42 public static final int SHARED_QUERY_TIME = 20; // milliseconds before send shared query 43 public static final int QUERY_WAIT_INTERVAL = 225; // milliseconds between query loops. 44 public static final int PROBE_WAIT_INTERVAL = 250; // milliseconds between probe loops. 47 public static final int PROBE_CONFLICT_INTERVAL = 1000; // milliseconds to wait after conflict. 50 public static final int ANNOUNCE_WAIT_INTERVAL = 1000; // milliseconds between Announce loops. 51 public static final int RECORD_REAPER_INTERVAL = 10000; // milliseconds between cache cleanups. 54 public static final int ANNOUNCED_RENEWAL_TTL_INTERVAL = DNS_TTL * 500; // 50% of the TTL in milliseconds
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheExpirationTest.java | 20 import static java.util.concurrent.TimeUnit.MILLISECONDS; 54 .expireAfterWrite(EXPIRING_TIME, MILLISECONDS) 66 .expireAfterAccess(EXPIRING_TIME, MILLISECONDS) 103 .expireAfterWrite(EXPIRING_TIME, MILLISECONDS) 115 .expireAfterAccess(EXPIRING_TIME, MILLISECONDS) 136 ticker.advance(EXPIRING_TIME * 10, MILLISECONDS); 197 .expireAfterWrite(10, MILLISECONDS) 204 ticker.advance(1, MILLISECONDS); 217 .expireAfterWrite(EXPIRING_TIME, MILLISECONDS) 229 .expireAfterAccess(EXPIRING_TIME, MILLISECONDS) [all...] |
CacheRefreshTest.java | 18 import static java.util.concurrent.TimeUnit.MILLISECONDS; 35 .refreshAfterWrite(3, MILLISECONDS) 36 .expireAfterWrite(6, MILLISECONDS) 47 ticker.advance(1, MILLISECONDS); 57 ticker.advance(1, MILLISECONDS); 67 ticker.advance(1, MILLISECONDS); 75 ticker.advance(1, MILLISECONDS); 83 ticker.advance(1, MILLISECONDS); 91 ticker.advance(1, MILLISECONDS);
|
/external/libcxx/test/utilities/time/time.point/time.point.cast/ |
time_point_cast.pass.cpp | 58 test(std::chrono::milliseconds(7265000), std::chrono::hours(2)); 59 test(std::chrono::milliseconds(7265000), std::chrono::minutes(121)); 60 test(std::chrono::milliseconds(7265000), std::chrono::seconds(7265)); 61 test(std::chrono::milliseconds(7265000), std::chrono::milliseconds(7265000)); 62 test(std::chrono::milliseconds(7265000), std::chrono::microseconds(7265000000LL)); 63 test(std::chrono::milliseconds(7265000), std::chrono::nanoseconds(7265000000000LL)); 64 test(std::chrono::milliseconds(7265000), 70 test_constexpr<std::chrono::milliseconds, 7265000, std::chrono::hours, 2> (); 71 test_constexpr<std::chrono::milliseconds, 7265000, std::chrono::minutes,121> () [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cast/ |
time_point_cast.pass.cpp | 58 test(std::chrono::milliseconds(7265000), std::chrono::hours(2)); 59 test(std::chrono::milliseconds(7265000), std::chrono::minutes(121)); 60 test(std::chrono::milliseconds(7265000), std::chrono::seconds(7265)); 61 test(std::chrono::milliseconds(7265000), std::chrono::milliseconds(7265000)); 62 test(std::chrono::milliseconds(7265000), std::chrono::microseconds(7265000000LL)); 63 test(std::chrono::milliseconds(7265000), std::chrono::nanoseconds(7265000000000LL)); 64 test(std::chrono::milliseconds(7265000), 70 test_constexpr<std::chrono::milliseconds, 7265000, std::chrono::hours, 2> (); 71 test_constexpr<std::chrono::milliseconds, 7265000, std::chrono::minutes,121> () [all...] |
/external/libcxx/test/utilities/time/time.duration/time.duration.cast/ |
duration_cast.pass.cpp | 36 test(std::chrono::milliseconds(7265000), std::chrono::hours(2)); 37 test(std::chrono::milliseconds(7265000), std::chrono::minutes(121)); 38 test(std::chrono::milliseconds(7265000), std::chrono::seconds(7265)); 39 test(std::chrono::milliseconds(7265000), std::chrono::milliseconds(7265000)); 40 test(std::chrono::milliseconds(7265000), std::chrono::microseconds(7265000000LL)); 41 test(std::chrono::milliseconds(7265000), std::chrono::nanoseconds(7265000000000LL)); 42 test(std::chrono::milliseconds(7265000), 48 constexpr std::chrono::hours h = std::chrono::duration_cast<std::chrono::hours>(std::chrono::milliseconds(7265000));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.cast/ |
duration_cast.pass.cpp | 36 test(std::chrono::milliseconds(7265000), std::chrono::hours(2)); 37 test(std::chrono::milliseconds(7265000), std::chrono::minutes(121)); 38 test(std::chrono::milliseconds(7265000), std::chrono::seconds(7265)); 39 test(std::chrono::milliseconds(7265000), std::chrono::milliseconds(7265000)); 40 test(std::chrono::milliseconds(7265000), std::chrono::microseconds(7265000000LL)); 41 test(std::chrono::milliseconds(7265000), std::chrono::nanoseconds(7265000000000LL)); 42 test(std::chrono::milliseconds(7265000), 48 constexpr std::chrono::hours h = std::chrono::duration_cast<std::chrono::hours>(std::chrono::milliseconds(7265000));
|
/libcore/luni/src/main/java/java/util/ |
Date.java | 52 private transient long milliseconds; field in class:Date 78 milliseconds = cal.getTimeInMillis(); 102 milliseconds = cal.getTimeInMillis(); 129 milliseconds = cal.getTimeInMillis(); 134 * value is the number of milliseconds since Jan. 1, 1970 GMT. 136 * @param milliseconds 137 * the number of milliseconds since Jan. 1, 1970 GMT. 139 public Date(long milliseconds) { 140 this.milliseconds = milliseconds; [all...] |
/external/chromium_org/third_party/webrtc/base/ |
timeutils.h | 31 // January 1970, in NTP milliseconds. 36 // Returns the current time in milliseconds. 46 // Returns a future timestamp, 'elapsed' milliseconds from now. 64 // Number of milliseconds that would elapse between 'earlier' and 'later' 68 // The number of milliseconds that have elapsed since 'earlier'. 73 // The number of milliseconds that will elapse between now and 'later'.
|
/external/chromium_org/third_party/webrtc/system_wrappers/interface/ |
clock.h | 31 // Return a timestamp in milliseconds relative to some arbitrary source; the 42 // Retrieve an NTP absolute timestamp in milliseconds. 58 // Return a timestamp in milliseconds relative to some arbitrary source; the 66 // Retrieve an NTP absolute timestamp in milliseconds. 73 // Advance the simulated clock with a given number of milliseconds or 75 void AdvanceTimeMilliseconds(int64_t milliseconds);
|
/external/libcxx/test/thread/thread.condition/thread.condition.condvar/ |
wait_for.pass.cpp | 36 typedef std::chrono::milliseconds milliseconds; typedef 43 cv.wait_for(lk, milliseconds(250)) == std::cv_status::no_timeout) 48 assert(t1 - t0 < milliseconds(250)); 53 assert(t1 - t0 - milliseconds(250) < milliseconds(50));
|
/external/libcxx/test/thread/thread.condition/thread.condition.condvarany/ |
wait_for.pass.cpp | 39 typedef std::chrono::milliseconds milliseconds; typedef 46 cv.wait_for(lk, milliseconds(250)) == std::cv_status::no_timeout) 51 assert(t1 - t0 < milliseconds(250)); 56 assert(t1 - t0 - milliseconds(250) < milliseconds(50));
|
wait_for_pred.pass.cpp | 49 typedef std::chrono::milliseconds milliseconds; typedef 55 bool r = cv.wait_for(lk, milliseconds(250), Pred(test2)); 59 assert(t1 - t0 < milliseconds(250)); 64 assert(t1 - t0 - milliseconds(250) < milliseconds(50));
|