/frameworks/base/core/java/android/os/ |
CountDownTimer.java | 129 // no tick, just delay until done 136 long delay = lastTickStart + mCountdownInterval - SystemClock.elapsedRealtime(); 140 while (delay < 0) delay += mCountdownInterval; 142 sendMessageDelayed(obtainMessage(MSG), delay);
|
/external/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/Windows/util/ |
stunnel-client.conf | 37 delay = no
|
/art/test/053-wait-some/src/ |
Main.java | 45 for (long delay : DELAYS) { 46 System.out.println("Waiting for " + delay + "ms..."); 50 sleepy.wait(delay); 60 long epsilon = delay / 10; 65 long min = delay - epsilon; 66 long max = delay + epsilon;
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
WrappingScheduledExecutorService.java | 41 public final ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { 42 return delegate.schedule(wrapTask(command), delay, unit); 46 public final <V> ScheduledFuture<V> schedule(Callable<V> task, long delay, TimeUnit unit) { 47 return delegate.schedule(wrapTask(task), delay, unit); 58 Runnable command, long initialDelay, long delay, TimeUnit unit) { 59 return delegate.scheduleWithFixedDelay(wrapTask(command), initialDelay, delay, unit);
|
ListeningScheduledExecutorService.java | 41 Runnable command, long delay, TimeUnit unit); 46 Callable<V> callable, long delay, TimeUnit unit); 56 Runnable command, long initialDelay, long delay, TimeUnit unit);
|
/external/libvncserver/webclients/novnc/include/ |
playback.js | 47 var frame, foffset, toffset, delay; 71 delay = foffset - toffset; 72 if (delay < 1) { 73 delay = 1; 76 setTimeout(do_packet, delay);
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
DelayAllPass_Sat_32x16To32.c | 30 void DelayAllPass_Sat_32x16To32( LVM_INT32 *delay, /* Delay buffer */ 31 LVM_UINT16 size, /* Delay size */ 33 LVM_UINT16 DelayOffset, /* Simple delay offset */ 34 LVM_UINT16 *pAllPassOffset, /* All pass filter delay offset */ 46 MUL32x16INTO32(delay[AllPassOffset], coeff, temp, 15) 48 b = delay[DelayOffset]; 69 b = delay[AllPassOffset]; 82 delay[AllPassOffset] = c; 85 /* Make the delay buffer a circular buffer * [all...] |
/libcore/luni/src/main/java/java/util/ |
Timer.java | 29 * delay. 269 // task is scheduled at fixed delay 435 long delay = when.getTime() - System.currentTimeMillis(); local 436 scheduleImpl(task, delay < 0 ? 0 : delay, -1, false); 440 * Schedule a task for single execution after a specified delay. 444 * @param delay 447 * if {@code delay < 0}. 452 public void schedule(TimerTask task, long delay) { 453 if (delay < 0) 501 long delay = when.getTime() - System.currentTimeMillis(); local 548 long delay = when.getTime() - System.currentTimeMillis(); local [all...] |
/system/bt/gki/ulinux/ |
gki_ulinux.c | 73 struct timespec delay; local 74 delay.tv_sec = timeout_ms / 1000; 75 delay.tv_nsec = 1000 * 1000 * (timeout_ms % 1000); 79 err = nanosleep(&delay, &delay);
|
/external/valgrind/drd/tests/ |
annotate_ignore_write.c | 26 const struct timespec delay = { 0, 100 * 1000 * 1000 }; local 46 nanosleep(&delay, 0); 56 * Insert a delay here in order to make sure the load of s_c happens 59 nanosleep(&delay, 0);
|
annotate_hb_race.c | 30 const struct timespec delay = { 0, 100 * 1000 * 1000 }; local 38 nanosleep(&delay, 0);
|
rwlock_race.c | 22 struct timespec delay = { ms / 1000, (ms % 1000) * 1000 * 1000 }; local 23 nanosleep(&delay, 0);
|
/external/webrtc/src/common_audio/signal_processing/ |
downsample_fast.c | 23 WebRtc_Word16 delay) 31 WebRtc_Word16 endpos = delay 39 for (i = delay; i < endpos; i += factor)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/extensions/ |
xtestext1.h | 89 int XTestPressKey(Display *display, int device_id, unsigned long delay, unsigned int keycode, unsigned int key_action); 90 int XTestPressButton(Display * display, int device_id, unsigned long delay, unsigned int button_number, unsigned int button_action); 91 int XTestMovePointer(Display *display, int device_id, unsigned long delay[], int x[], int y[], unsigned int count);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
SpeedBumpView.java | 79 public void performVisibilityAnimation(boolean nowVisible, long delay) { 80 animateDivider(nowVisible, delay, null /* onFinishedRunnable */); 87 * @param delay the delay after the animation should start 91 public void animateDivider(boolean nowVisible, long delay, Runnable onFinishedRunnable) { 97 .setStartDelay(delay) 121 performVisibilityAnimation(false, 0 /* delay */); 125 public void performAddAnimation(long delay, long duration) { 127 performVisibilityAnimation(true, delay);
|
NotificationCustomViewWrapper.java | 37 public void setDark(boolean dark, boolean fade, long delay) { 39 mInvertHelper.fade(dark, delay);
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
KeyValueBackupJob.java | 60 public static void schedule(Context ctx, long delay) { 63 if (delay <= 0) { 64 delay = BATCH_INTERVAL + new Random().nextInt(FUZZ_MILLIS); 68 + (delay / 1000 / 60) + " minutes"); 72 .setMinimumLatency(delay) 78 sNextScheduled = System.currentTimeMillis() + delay;
|
/external/valgrind/helgrind/tests/ |
tc05_simple_race.c | 25 const struct timespec delay = { 0, 100 * 1000 * 1000 }; local 31 nanosleep(&delay, 0);
|
tc16_byterace.c | 19 const struct timespec delay = { 0, 100 * 1000 * 1000 }; local 26 nanosleep(&delay, 0);
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
Configurator.java | 202 * Sets a delay between key presses when injecting text input. 205 * @param delay Delay value in milliseconds 209 public Configurator setKeyInjectionDelay(long delay) { 210 mKeyInjectionDelay = delay; 215 * Gets the current delay between key presses when injecting text input. 218 * @return current delay in milliseconds
|
/hardware/libhardware/tests/input/evdev/ |
TestHelpers.h | 26 * Runs the given function after the specified delay. 34 decltype(auto) delay_async(Duration&& delay, Function&& task) 36 return std::async(std::launch::async, [=]{ std::this_thread::sleep_for(delay); task(); });
|
/platform_testing/libraries/power-helper/src/com/android/helper/ |
PowerTestHelper.java | 129 * @param delay 132 protected void writePowerLog(String logType, String testCase, long delay) 134 writePowerLog(logType, testCase, System.currentTimeMillis(), delay); 144 * @param delay : Delay for the actual log time. 148 long delay) throws IOException { 150 outputWriter.write(String.format("%d %s %s\n", (time + delay), 163 protected void writePowerLogIdleStart(String testCase, long delay) throws IOException { 164 writePowerLog("AUTOTEST_TEST_BEGIN", testCase, delay); 167 protected void writePowerLogIdleEnd(String testCase, long delay) throws IOException [all...] |
/cts/suite/audio_quality/test_description/processing/ |
recording_thd.py | 62 delay = calc_delay.calc_delay(hostRecording, deviceRecording) 64 print "delay ", delay, "deviceRecording samples ", N 65 thdHost = calc_thd(hostRecording[delay:delay+N], signalFrequency, samplingRate, 0.02) * 100
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/ |
FakeSensorOperation.java | 40 public FakeSensorOperation(long delay, TimeUnit timeUnit) { 41 this(false, delay, timeUnit); 47 public FakeSensorOperation(boolean fail, long delay, TimeUnit timeUnit) { 52 mDelay = delay;
|
/development/ndk/platforms/android-3/include/linux/ |
delay.h | 15 #include <asm/delay.h>
|