/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/chromeos/input_method/ |
delayable_widget.cc | 24 void DelayableWidget::DelayShow(unsigned int milliseconds) { 27 base::TimeDelta::FromMilliseconds(milliseconds), 37 void DelayableWidget::DelayHide(unsigned int milliseconds) { 40 base::TimeDelta::FromMilliseconds(milliseconds),
|
delayable_widget.h | 23 // Shows window after |milliseconds| milli secs. This function can be called 26 void DelayShow(unsigned int milliseconds); 31 // Hides window after |milliseconds| milli secs. This function can be called 34 void DelayHide(unsigned int 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/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\&.
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cast/ |
time_point_cast.pass.cpp | 38 test(std::chrono::milliseconds(7265000), std::chrono::hours(2)); 39 test(std::chrono::milliseconds(7265000), std::chrono::minutes(121)); 40 test(std::chrono::milliseconds(7265000), std::chrono::seconds(7265)); 41 test(std::chrono::milliseconds(7265000), std::chrono::milliseconds(7265000)); 42 test(std::chrono::milliseconds(7265000), std::chrono::microseconds(7265000000LL)); 43 test(std::chrono::milliseconds(7265000), std::chrono::nanoseconds(7265000000000LL)); 44 test(std::chrono::milliseconds(7265000),
|
/external/chromium_org/content/browser/android/ |
vibration_message_filter.cc | 46 void VibrationMessageFilter::OnVibrate(int64 milliseconds) { 49 milliseconds = std::max(kMinimumVibrationDurationMs, 50 std::min(milliseconds, 61 milliseconds); local
|
/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/jmonkeyengine/engine/src/test/jme3test/app/ |
TestTempVars.java | 45 long milliseconds, nanos; local 56 // long milliseconds = (System.nanoTime() - nanos) / NANOS_TO_MS; 57 // System.out.println("100 million TempVars calls with 5 recursions: " + milliseconds + " ms"); 65 milliseconds = (System.nanoTime() - nanos) / NANOS_TO_MS; 66 System.out.println("100 million TempVars calls: " + milliseconds + " ms"); 74 milliseconds = (System.nanoTime() - nanos) / NANOS_TO_MS; 75 System.out.println("100 million allocation calls: " + milliseconds + " ms"); 82 milliseconds = (System.nanoTime() - nanos) / NANOS_TO_MS; 83 System.out.println("cleanup time after allocation calls: " + milliseconds + " ms");
|
/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/v8/src/ |
counters.cc | 62 // Compute the delta between start and stop, in milliseconds. 63 int milliseconds = static_cast<int>(stop_time_ - start_time_) / 1000; local 64 counter_.Increment(milliseconds); 80 // Compute the delta between start and stop, in milliseconds. 81 int milliseconds = static_cast<int>(stop_time_ - start_time_) / 1000; local 83 AddHistogramSample(histogram_, milliseconds);
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
SystemClock_Delegate.java | 42 * Returns milliseconds since boot, not counting time spent in deep sleep. 46 * @return milliseconds of non-sleep uptime since boot. 54 * Returns milliseconds since boot, including time spent in sleep. 56 * @return elapsed milliseconds since boot. 74 * Returns milliseconds running in the current thread. 76 * @return elapsed milliseconds in the thread
|
/ndk/sources/cxx-stl/llvm-libc++/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));
|
/ndk/sources/cxx-stl/llvm-libc++/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));
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
SimpleTimeLimiterTest.java | 43 TimeUnit.MILLISECONDS.sleep(DELAY_MS); 49 TimeUnit.MILLISECONDS.sleep(DELAY_MS); 66 }, ENOUGH_MS, TimeUnit.MILLISECONDS, true); 80 }, NOT_ENOUGH_MS, TimeUnit.MILLISECONDS, true); 96 }, ENOUGH_MS, TimeUnit.MILLISECONDS, true); 112 }, NOT_ENOUGH_MS, TimeUnit.MILLISECONDS, true); 122 target, Sample.class, ENOUGH_MS, TimeUnit.MILLISECONDS); 132 target, Sample.class, NOT_ENOUGH_MS, TimeUnit.MILLISECONDS); 143 TimeUnit.MILLISECONDS.sleep(ENOUGH_MS); 150 target, Sample.class, ENOUGH_MS, TimeUnit.MILLISECONDS); [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
VibrationMessageFilter.java | 27 private void vibrate(long milliseconds) { 28 mVibrator.vibrate(milliseconds);
|
/frameworks/base/core/java/android/os/ |
Vibrator.java | 49 * @param milliseconds The number of milliseconds to vibrate. 51 public abstract void vibrate(long milliseconds); 58 * the vibrator in milliseconds. The first value indicates the number of milliseconds 59 * to wait before turning the vibrator on. The next value indicates the number of milliseconds 61 * between durations in milliseconds to turn the vibrator off or to turn the vibrator on. 80 public abstract void vibrate(int owningUid, String owningPackage, long milliseconds);
|
/packages/apps/Email/tests/src/com/android/email/ |
MockClock.java | 35 public void advance(long milliseconds) { 36 mTime += milliseconds;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
animator1-expected-completion59.txt | 4 android:duration : Amount of time (in milliseconds) for the animation to run. [integer] 5 android:startOffset : Delay in milliseconds before the animation runs, once start time is reached. [integer]
|