/libcore/luni/src/test/java/tests/api/java/util/concurrent/ |
ThreadPoolExecutorSubclassTest.java | 12 import static java.util.concurrent.TimeUnit.MILLISECONDS; 170 super(1, 1, LONG_DELAY_MS, MILLISECONDS, new SynchronousQueue<Runnable>()); 197 ThreadPoolExecutor p1 = new CustomTPE(1, 1, LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10)); 211 ThreadPoolExecutor p2 = new CustomTPE(2, 2, LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10)); 223 ThreadPoolExecutor p2 = new CustomTPE(2, 2, LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10)); 238 ThreadPoolExecutor p2 = new CustomTPE(2, 2, LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10)); 252 ThreadPoolExecutor p2 = new CustomTPE(2, 2, LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10)); 265 ThreadPoolExecutor p1 = new CustomTPE(1, 1, LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10)); 274 ThreadPoolExecutor p2 = new CustomTPE(2, 2, 1000, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10)); 285 ThreadPoolExecutor p = new CustomTPE(1,2,LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10), tf, new NoOpREHandler()) [all...] |
ThreadPoolExecutorTest.java | 12 import static java.util.concurrent.TimeUnit.MILLISECONDS; 27 super(1, 1, LONG_DELAY_MS, MILLISECONDS, new SynchronousQueue<Runnable>()); 53 ThreadPoolExecutor p1 = new ThreadPoolExecutor(1, 1, LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10)); 67 ThreadPoolExecutor p2 = new ThreadPoolExecutor(2, 2, LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10)); 79 ThreadPoolExecutor p2 = new ThreadPoolExecutor(2, 2, LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10)); 94 ThreadPoolExecutor p2 = new ThreadPoolExecutor(2, 2, LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10)); 108 ThreadPoolExecutor p2 = new ThreadPoolExecutor(2, 2, LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10)); 121 ThreadPoolExecutor p1 = new ThreadPoolExecutor(1, 1, LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10)); 130 ThreadPoolExecutor p2 = new ThreadPoolExecutor(2, 2, 1000, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10)); 141 ThreadPoolExecutor p = new ThreadPoolExecutor(1,2,LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10), tf, new NoOpREHandler()) [all...] |
TimeUnitTest.java | 41 TimeUnit.MILLISECONDS)); 51 TimeUnit.MILLISECONDS.convert(t, 54 TimeUnit.MILLISECONDS.convert(t, 57 TimeUnit.MILLISECONDS.convert(t, 60 TimeUnit.MILLISECONDS.convert(t, 63 TimeUnit.MILLISECONDS.convert(t, 64 TimeUnit.MILLISECONDS)); 66 TimeUnit.MILLISECONDS.convert(1000L*t, 69 TimeUnit.MILLISECONDS.convert(1000000L*t, 86 TimeUnit.MILLISECONDS)); [all...] |
ExchangerTest.java | 14 import static java.util.concurrent.TimeUnit.MILLISECONDS; 50 assertSame(one, e.exchange(two, SHORT_DELAY_MS, MILLISECONDS)); 51 assertSame(two, e.exchange(one, SHORT_DELAY_MS, MILLISECONDS)); 55 assertSame(two, e.exchange(one, SHORT_DELAY_MS, MILLISECONDS)); 56 assertSame(one, e.exchange(two, SHORT_DELAY_MS, MILLISECONDS)); 88 e.exchange(null, SMALL_DELAY_MS, MILLISECONDS); 104 e.exchange(null, SHORT_DELAY_MS, MILLISECONDS);
|
ScheduledExecutorSubclassTest.java | 12 import static java.util.concurrent.TimeUnit.MILLISECONDS; 99 Future f = p1.schedule(callable, SHORT_DELAY_MS, MILLISECONDS); 114 p1.schedule(runnable, SMALL_DELAY_MS, MILLISECONDS); 129 ScheduledFuture h = p1.scheduleAtFixedRate(runnable, SHORT_DELAY_MS, SHORT_DELAY_MS, MILLISECONDS); 148 ScheduledFuture h = p1.scheduleWithFixedDelay(runnable, SHORT_DELAY_MS, SHORT_DELAY_MS, MILLISECONDS); 163 p1.scheduleAtFixedRate(counter, 0, 1, MILLISECONDS); 181 p1.scheduleWithFixedDelay(counter, 0, 1, MILLISECONDS); 210 Future f = se.schedule(callable, SHORT_DELAY_MS, MILLISECONDS); 224 MEDIUM_DELAY_MS, MILLISECONDS); 241 MEDIUM_DELAY_MS, MILLISECONDS); [all...] |
ScheduledExecutorTest.java | 14 import static java.util.concurrent.TimeUnit.MILLISECONDS; 46 Future f = p1.schedule(callable, SHORT_DELAY_MS, MILLISECONDS); 61 p1.schedule(runnable, SMALL_DELAY_MS, MILLISECONDS); 76 ScheduledFuture h = p1.scheduleAtFixedRate(runnable, SHORT_DELAY_MS, SHORT_DELAY_MS, MILLISECONDS); 95 ScheduledFuture h = p1.scheduleWithFixedDelay(runnable, SHORT_DELAY_MS, SHORT_DELAY_MS, MILLISECONDS); 110 p1.scheduleAtFixedRate(counter, 0, 1, MILLISECONDS); 128 p1.scheduleWithFixedDelay(counter, 0, 1, MILLISECONDS); 159 Future f = se.schedule(callable, SHORT_DELAY_MS, MILLISECONDS); 173 MEDIUM_DELAY_MS, MILLISECONDS); 190 MEDIUM_DELAY_MS, MILLISECONDS); [all...] |
SemaphoreTest.java | 14 import static java.util.concurrent.TimeUnit.MILLISECONDS; 143 assertTrue(s.tryAcquire(SHORT_DELAY_MS, MILLISECONDS)); 145 assertTrue(s.tryAcquire(SHORT_DELAY_MS, MILLISECONDS)); 147 assertTrue(s.tryAcquire(SHORT_DELAY_MS, MILLISECONDS)); 149 assertTrue(s.tryAcquire(SHORT_DELAY_MS, MILLISECONDS)); 151 assertTrue(s.tryAcquire(SHORT_DELAY_MS, MILLISECONDS)); 214 assertTrue(s.tryAcquire(SHORT_DELAY_MS, MILLISECONDS)); 216 assertTrue(s.tryAcquire(SHORT_DELAY_MS, MILLISECONDS)); 220 assertTrue(s.tryAcquire(SHORT_DELAY_MS, MILLISECONDS)); 222 assertTrue(s.tryAcquire(SHORT_DELAY_MS, MILLISECONDS)); [all...] |
SynchronousQueueTest.java | 14 import static java.util.concurrent.TimeUnit.MILLISECONDS; 193 assertFalse(q.offer(new Object(), SHORT_DELAY_MS, MILLISECONDS)); 194 q.offer(new Object(), LONG_DELAY_MS, MILLISECONDS); 270 assertFalse(q.offer(new Object(), SHORT_DELAY_MS, MILLISECONDS)); 271 q.offer(new Object(), LONG_DELAY_MS, MILLISECONDS); 310 assertNull(q.poll(0, MILLISECONDS)); 318 assertNull(q.poll(SHORT_DELAY_MS, MILLISECONDS)); 329 q.poll(SMALL_DELAY_MS, MILLISECONDS); 346 assertNull(q.poll(SHORT_DELAY_MS, MILLISECONDS)); 347 assertSame(zero, q.poll(LONG_DELAY_MS, MILLISECONDS)); [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
SystemClock_Delegate.java | 41 * Returns milliseconds since boot, not counting time spent in deep sleep. 45 * @return milliseconds of non-sleep uptime since boot. 53 * Returns milliseconds since boot, including time spent in sleep. 55 * @return elapsed milliseconds since boot. 63 * Returns milliseconds running in the current thread. 65 * @return elapsed milliseconds in the thread
|
/libcore/luni/src/main/java/java/util/ |
Date.java | 44 private transient long milliseconds; field in class:Date 71 milliseconds = cal.getTimeInMillis(); 96 milliseconds = cal.getTimeInMillis(); 123 milliseconds = cal.getTimeInMillis(); 128 * value is the number of milliseconds since Jan. 1, 1970 GMT. 130 * @param milliseconds 131 * the number of milliseconds since Jan. 1, 1970 GMT. 133 public Date(long milliseconds) { 134 this.milliseconds = milliseconds; [all...] |
/external/v8/src/ |
counters.cc | 54 // Compute the delta between start and stop, in milliseconds. 55 int milliseconds = static_cast<int>(stop_time_ - start_time_) / 1000; local 56 counter_.Increment(milliseconds); 72 // Compute the delta between start and stop, in milliseconds. 73 int milliseconds = static_cast<int>(stop_time_ - start_time_) / 1000; local 74 StatsTable::AddHistogramSample(histogram_, milliseconds);
|
/frameworks/base/core/java/android/os/ |
SystemClock.java | 27 * is the standard "wall" clock (time and date) expressing milliseconds 41 * <li> <p> {@link #uptimeMillis} is counted in milliseconds since the 55 * <li> <p> {@link #elapsedRealtime} is counted in milliseconds since the 99 * Waits a given number of milliseconds (of uptimeMillis) before returning. 103 * at least the specified number of milliseconds has elapsed. 105 * @param ms to sleep before returning, in milliseconds of uptime. 131 * Sets the current wall time, in milliseconds. Requires the calling 139 * Returns milliseconds since boot, not counting time spent in deep sleep. 143 * @return milliseconds of non-sleep uptime since boot. 148 * Returns milliseconds since boot, including time spent in sleep [all...] |
/external/chromium/net/base/ |
net_test_constants.h | 13 // Connection timeout in milliseconds for tests.
|
/external/iptables/include/linux/netfilter_ipv4/ |
ipt_limit.h | 4 /* timings are in milliseconds. */
|
/external/iptables/include/linux/netfilter_ipv6/ |
ip6t_limit.h | 4 /* timings are in milliseconds. */
|
/external/kernel-headers/original/linux/netfilter/ |
xt_limit.h | 4 /* timings are in milliseconds. */
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/netfilter/ |
xt_limit.h | 4 /* timings are in milliseconds. */
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/netfilter_bridge/ |
ebt_limit.h | 6 /* timings are in milliseconds. */
|
/cts/libs/vogar-expect/src/vogar/util/ |
TimeUtilities.java | 25 * Returns the ISO 8601-format String corresponding to the given duration (measured in milliseconds). 28 long milliseconds = duration % 1000; local 46 if (milliseconds != 0) { 48 result.append(milliseconds); 55 * Returns a string representation of the given number of milliseconds. 79 long milliseconds = duration % 1000; local
|
/frameworks/base/include/media/ |
EffectEnvironmentalReverbApi.h | 37 REVERB_PARAM_DECAY_TIME, // in milliseconds, range 100 to 20000 40 REVERB_PARAM_REFLECTIONS_DELAY, // in milliseconds, range 0 to 65 42 REVERB_PARAM_REVERB_DELAY, // in milliseconds, range 0 to 65
|
/external/srec/portable/include/ |
ptimestamp.h | 36 * Time stamp structure with two fields: seconds and milliseconds. The secs 38 * msecs represent the number of milliseconds within that second. 48 * Milliseconds component of timestamp. 61 * Returns the difference between two timestamps, in terms of milliseconds.
|
/external/bluetooth/bluez/test/ |
rctest.1 | 69 .BI -D\ milliseconds
|
/external/kernel-headers/original/linux/ |
delay.h | 15 * Using udelay() for intervals greater than a few milliseconds can 18 * than MAX_UDELAY_MS milliseconds, the wrapper is used. Architecture
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
Config.java | 181 * The timeout for querying each source, in milliseconds. 225 * The delay in milliseconds before suggestions are updated while typing. 233 * The delay in milliseconds before corpus results are published. 248 * @return The period in milliseconds. 257 * @return The period in milliseconds. 266 * @return The period in milliseconds. 275 * @return The period in milliseconds. 284 * @return The period in milliseconds.
|
LatencyTracker.java | 29 * Start time, in milliseconds as returned by {@link SystemClock#uptimeMillis}. 48 * Gets the number of milliseconds since the object was created, or {@link #reset} was called.
|