Home
last modified time | relevance | path

Searched defs:timeout (Results 1 – 25 of 59) sorted by relevance

123

/libcore/luni/src/main/java/java/util/concurrent/
DBlockingDeque.java291 boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst()
313 boolean offerLast(E e, long timeout, TimeUnit unit) in offerLast()
347 E pollFirst(long timeout, TimeUnit unit) in pollFirst()
363 E pollLast(long timeout, TimeUnit unit) in pollLast()
476 boolean offer(E e, long timeout, TimeUnit unit) in offer()
527 E poll(long timeout, TimeUnit unit) in poll()
DExecutorService.java184 boolean awaitTermination(long timeout, TimeUnit unit) in awaitTermination()
291 long timeout, TimeUnit unit) in invokeAll()
338 long timeout, TimeUnit unit) in invokeAny()
DBlockingQueue.java224 boolean offer(E e, long timeout, TimeUnit unit) in offer()
248 E poll(long timeout, TimeUnit unit) in poll()
DFuture.java140 V get(long timeout, TimeUnit unit) in get()
DCompletionService.java96 Future<V> poll(long timeout, TimeUnit unit) throws InterruptedException; in poll()
DAbstractExecutorService.java200 long timeout, TimeUnit unit) in invokeAny()
236 long timeout, TimeUnit unit) in invokeAll()
DLinkedBlockingDeque.java372 public boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst()
394 public boolean offerLast(E e, long timeout, TimeUnit unit) in offerLast()
476 public E pollFirst(long timeout, TimeUnit unit) in pollFirst()
494 public E pollLast(long timeout, TimeUnit unit) in pollLast()
621 public boolean offer(E e, long timeout, TimeUnit unit) in offer()
648 public E poll(long timeout, TimeUnit unit) throws InterruptedException { in poll()
DCountDownLatch.java251 public boolean await(long timeout, TimeUnit unit) in await()
DSemaphore.java379 public boolean tryAcquire(long timeout, TimeUnit unit) in tryAcquire()
552 public boolean tryAcquire(int permits, long timeout, TimeUnit unit) in tryAcquire()
DDelayQueue.java148 public boolean offer(E e, long timeout, TimeUnit unit) { in offer()
223 public E poll(long timeout, TimeUnit unit) throws InterruptedException { in poll()
DExecutorCompletionService.java171 public Future<V> poll(long timeout, TimeUnit unit) throws InterruptedException { in poll()
DPriorityBlockingQueue.java208 public boolean offer(E e, long timeout, TimeUnit unit) { in offer()
241 public E poll(long timeout, TimeUnit unit) throws InterruptedException { in poll()
DCyclicBarrier.java396 public int await(long timeout, TimeUnit unit) in await()
/libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
DSelectorTest.java515 private void assert_select_SelectorClosed(SelectType type, int timeout) in assert_select_SelectorClosed()
527 private void assert_select_OP_ACCEPT(SelectType type, int timeout) in assert_select_OP_ACCEPT()
561 private void assert_select_OP_CONNECT(SelectType type, int timeout) in assert_select_OP_CONNECT()
597 private void assert_select_OP_READ(SelectType type, int timeout) in assert_select_OP_READ()
670 private void assert_select_OP_WRITE(SelectType type, int timeout) in assert_select_OP_WRITE()
705 private int blockingSelect(SelectType type, int timeout) throws IOException { in blockingSelect()
720 private int selectOnce(SelectType type, int timeout) throws IOException { in selectOnce()
/libcore/luni/src/test/java/com/google/coretests/
DCoreTestResult.java84 public CoreTestResult(int flags, int timeout) { in CoreTestResult()
143 CoreTestTimeout timeout = new CoreTestTimeout("Test timed out"); in runProtected() local
/libcore/luni/src/main/java/java/lang/ref/
DReferenceQueue.java99 public synchronized Reference<? extends T> remove(long timeout) throws IllegalArgumentException, in remove()
/libcore/luni/src/main/java/java/nio/channels/
DSelector.java127 public abstract int select(long timeout) throws IOException; in select()
/libcore/luni/src/test/java/tests/java/sql/
DQueryTimeoutTest.java225 private int timeout; field in QueryTimeoutTest.StatementExecutor
231 int timeout) { in StatementExecutor()
462 int timeout = (i % 2 == 0) ? TIMEOUT : 0; in testTimeoutWithExec() local
491 int timeout = (i % 2 == 0) ? TIMEOUT : 0; in testTimeoutWithExec() local
/libcore/luni/src/main/java/org/apache/harmony/luni/platform/
DOSNetworkSystem.java46 public native void connect(FileDescriptor fd, InetAddress inetAddress, int port, int timeout) in connect()
51 public native boolean isConnected(FileDescriptor fd, int timeout) throws IOException; in isConnected()
79 int numReadable, int numWritable, long timeout, int[] flags) in select()
95 long timeout); in selectImpl()
DINetworkSystem.java50 public boolean isConnected(FileDescriptor fd, int timeout) throws IOException; in isConnected()
74 public void connect(FileDescriptor fd, InetAddress inetAddress, int port, int timeout) in connect()
110 int numReadable, int numWritable, long timeout, int[] flags) in select()
/libcore/luni/src/main/java/java/net/
DInetAddress.java733 public boolean isReachable(int timeout) throws IOException { in isReachable()
758 final int timeout) throws IOException { in isReachable()
774 final int ttl, final int timeout) in isReachableByMultiThread()
862 private boolean isReachableByTCP(InetAddress destination, InetAddress source, int timeout) in isReachableByTCP()
DSocket.java626 public void setSoLinger(boolean on, int timeout) throws SocketException { in setSoLinger()
650 public synchronized void setSoTimeout(int timeout) throws SocketException { in setSoTimeout()
947 public void connect(SocketAddress remoteAddr, int timeout) throws IOException { in connect()
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
DAbstractSessionContext.java43 volatile int timeout; field in AbstractSessionContext
65 AbstractSessionContext(int maximumSize, int timeout) { in AbstractSessionContext()
/libcore/luni/src/main/java/org/apache/harmony/nio/internal/
DSelectorImpl.java183 @Override public int select(long timeout) throws IOException { in select()
194 private int selectInternal(long timeout) throws IOException { in selectInternal()
/libcore/dalvik/src/main/native/
Ddalvik_system_TouchDex.cpp159 int cc, count, dexCount, timeout; in dalvik_system_TouchDex_trampoline() local

123