/sdk/emulator/opengl/tests/event_injector/ |
iolooper.h | 68 * would be better to assign a deadline for both reads before the first read, 69 * and call iolooper_wait_absoulte with the same deadline value: 70 * int64_t deadline = iolooper_now() + TIMEOUT; 71 * if (iolooper_wait_absoulte(iol, deadline)) { 73 * (iolooper_wait_absoulte(iol, deadline)) { 79 * deadline Deadline (absoulte time in milliseconds) before which an I/O should 83 * occurred before the deadline, or -1 on error. 85 int iolooper_wait_absolute(IoLooper* iol, int64_t deadline);
|
/external/chromium_org/base/process/ |
kill_mac.cc | 118 TimeTicks deadline = TimeTicks::Now() + remaining_delta; local 125 remaining_delta = deadline - TimeTicks::Now();
|
kill_posix.cc | 295 base::TimeTicks deadline; local 298 deadline = base::TimeTicks::Now() + remaining_delta; 318 remaining_delta = deadline - base::TimeTicks::Now();
|
/external/qemu/android/ |
async-socket.h | 198 /* Asynchronously reads data from an asynchronous socket with a deadline. 204 * deadline - Deadline to complete the read. 210 Duration deadline); 226 /* Asynchronously writes data to an asynchronous socket with a deadline. 232 * deadline - Deadline to complete the write. 238 Duration deadline); 254 /* Get a deadline for the given time interval relative to "now". 259 * A deadline for the given time interval relative to "now" [all...] |
sync-utils.c | 172 int64_t deadline) 181 ret = iolooper_wait_absolute(ssocket->iolooper, deadline); 208 int64_t deadline) 219 ret = iolooper_wait_absolute(ssocket->iolooper, deadline); 261 int64_t deadline) 267 int ret = syncsocket_read_absolute(ssocket, &ch, 1, deadline);
|
async-socket.c | 87 /* Deadline for this I/O */ 88 Duration deadline; member in struct:AsyncSocketIO 120 * deadline - Deadline to complete the I/O. 131 Duration deadline) 154 asio->deadline = deadline; 157 loopTimer_startAbsolute(asio->timer, deadline); 228 * deadline - Deadline to complete the operation [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
AbstractExecutorService.java | 132 final long deadline = timed ? System.nanoTime() + nanos : 0L; local 154 nanos = deadline - System.nanoTime(); 240 final long deadline = System.nanoTime() + nanos; local 247 nanos = deadline - System.nanoTime(); 264 nanos = deadline - System.nanoTime();
|
/packages/apps/Settings/src/com/android/settings/ |
ConfirmLockPattern.java | 177 long deadline = mLockPatternUtils.getLockoutAttemptDeadline(); local 178 if (deadline != 0) { 179 handleAttemptLockout(deadline); 181 // The deadline has passed, but the timer was cancelled... 279 long deadline = mLockPatternUtils.setLockoutAttemptDeadline(); 280 handleAttemptLockout(deadline);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/ |
driver.py | 152 deadline = test_begin_time + int(driver_input.timeout) / 1000.0 155 text, audio = self._read_first_block(deadline) # First block is either text or audio 156 image, actual_image_hash = self._read_optional_image_block(deadline) # The second (optional) block is image data. 360 def _read_first_block(self, deadline): 362 block = self._read_block(deadline) 371 def _read_optional_image_block(self, deadline): 373 block = self._read_block(deadline, wait_for_stderr_eof=True) 404 def _read_block(self, deadline, wait_for_stderr_eof=False): 413 out_line = self._server_process.read_stdout_line(deadline) 417 err_line = self._server_process.read_stderr_line(deadline) [all...] |
android.py | [all...] |
/external/chromium_org/chrome/test/chromedriver/chrome/ |
devtools_http_client.cc | 82 base::Time deadline = base::Time::Now() + timeout; local 88 if (status.code() != kChromeNotReachable || base::Time::Now() > deadline) 154 base::Time deadline = base::Time::Now() + base::TimeDelta::FromSeconds(20); local 155 while (base::Time::Now() < deadline) { 248 base::Time deadline = base::Time::Now() + base::TimeDelta::FromSeconds(20); local 249 while (base::Time::Now() < deadline) {
|
/external/chromium_org/media/base/ |
media_file_checker.cc | 66 base::Time deadline = base::Time::Now() + local 105 } while (base::Time::Now() < deadline && read_ok && result >= 0);
|
/external/libvpx/libvpx/vpx/ |
svc_context.h | 89 int64_t duration, int deadline);
|
vpx_decoder.h | 213 * \param[in] deadline Soft deadline the decoder should attempt to meet, 225 long deadline);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardPatternView.java | 194 long deadline = mLockPatternUtils.getLockoutAttemptDeadline(); local 195 if (deadline != 0) { 196 handleAttemptLockout(deadline); 279 long deadline = mLockPatternUtils.setLockoutAttemptDeadline(); local 280 handleAttemptLockout(deadline);
|
/external/chromium_org/chrome/test/chromedriver/net/ |
sync_websocket_impl.cc | 80 base::TimeTicks deadline = base::TimeTicks::Now() + timeout; local 82 base::TimeDelta delta = deadline - base::TimeTicks::Now();
|
/external/qemu/ |
iolooper-select.c | 232 iolooper_wait_absolute(IoLooper* iol, int64_t deadline) 234 int64_t timeout = deadline - iolooper_now(); 236 /* If the deadline has passed, set the timeout to 0, this allows us
|
/external/chromium/chrome/browser/chromeos/login/ |
update_screen.cc | 35 const char kUpdateDeadlineFile[] = "/tmp/update-check-response-deadline"; 273 std::string deadline; 278 if (!file_util::ReadFileToString(update_deadline_file_path, &deadline) || 279 deadline.empty()) {
|
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
ConnPoolByRoute.java | 268 Date deadline = null; 270 deadline = new Date 339 success = waitingThread.await(deadline); 351 if (!success && (deadline != null) && 352 (deadline.getTime() <= System.currentTimeMillis())) {
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
AbstractQueuedLongSynchronizer.java | 664 final long deadline = System.nanoTime() + nanosTimeout; local 676 nanosTimeout = deadline - System.nanoTime(); 764 final long deadline = System.nanoTime() + nanosTimeout; local 779 nanosTimeout = deadline - System.nanoTime(); 1820 final long deadline = System.nanoTime() + nanosTimeout; local 1904 final long deadline = System.nanoTime() + nanosTimeout; local [all...] |
AbstractQueuedSynchronizer.java | 894 final long deadline = System.nanoTime() + nanosTimeout; local 994 final long deadline = System.nanoTime() + nanosTimeout; local 2048 final long deadline = System.nanoTime() + nanosTimeout; local 2132 final long deadline = System.nanoTime() + nanosTimeout; local [all...] |
/external/openssh/ |
ssh-agent.c | 436 u_int deadline = 0, now = time(NULL); local 453 deadline = (deadline == 0) ? id->death : 454 MIN(deadline, id->death); 457 if (deadline == 0 || deadline <= now) 460 return (deadline - now); 934 u_int i, sz, deadline; local 980 deadline = reaper(); 982 deadline = (deadline == 0) ? parent_alive_interval [all...] |
/external/chromium_org/remoting/tools/ |
me2me_virtual_host.py | 808 def waitpid_with_timeout(pid, deadline): 810 or the deadline elapses. 814 deadline: Waiting stops when time.time() exceeds this value. 823 while time.time() < deadline: 831 def waitpid_handle_exceptions(pid, deadline): 833 either a child process exits or the deadline elapses, and retries if certain 838 deadline: If non-zero, waiting stops when time.time() exceeds this value. 850 this function sleeps until |deadline|. If |deadline| is zero, this is an 855 if deadline == 0 [all...] |
/frameworks/base/packages/Keyguard/test/src/com/android/keyguard/test/ |
KeyguardTestActivity.java | 333 final long deadline = SystemClock.elapsedRealtime() + FAILED_ATTEMPT_TIMEOUT_MS; local 334 mDeadline = deadline; 335 return deadline;
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayerTestBase.java | 70 long deadline = System.currentTimeMillis() + timeoutMs; local 72 long delay = deadline - System.currentTimeMillis();
|