Home
last modified time | relevance | path

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

12

/libcore/luni/src/main/java/java/util/concurrent/
DBlockingDeque.java288 boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst()
310 boolean offerLast(E e, long timeout, TimeUnit unit) in offerLast()
344 E pollFirst(long timeout, TimeUnit unit) in pollFirst()
360 E pollLast(long timeout, TimeUnit unit) in pollLast()
477 boolean offer(E e, long timeout, TimeUnit unit) in offer()
528 E poll(long timeout, TimeUnit unit) in poll()
DExecutorService.java170 boolean awaitTermination(long timeout, TimeUnit unit) in awaitTermination()
275 long timeout, TimeUnit unit) in invokeAll()
322 long timeout, TimeUnit unit) in invokeAny()
DBlockingQueue.java223 boolean offer(E e, long timeout, TimeUnit unit) in offer()
247 E poll(long timeout, TimeUnit unit) in poll()
DFuture.java138 V get(long timeout, TimeUnit unit) in get()
DTransferQueue.java105 boolean tryTransfer(E e, long timeout, TimeUnit unit) in tryTransfer()
DCompletionService.java94 Future<V> poll(long timeout, TimeUnit unit) throws InterruptedException; in poll()
DAbstractExecutorService.java192 long timeout, TimeUnit unit) in invokeAny()
229 long timeout, TimeUnit unit) in invokeAll()
DLinkedBlockingDeque.java374 public boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst()
397 public boolean offerLast(E e, long timeout, TimeUnit unit) in offerLast()
480 public E pollFirst(long timeout, TimeUnit unit) in pollFirst()
498 public E pollLast(long timeout, TimeUnit unit) in pollLast()
625 public boolean offer(E e, long timeout, TimeUnit unit) in offer()
652 public E poll(long timeout, TimeUnit unit) throws InterruptedException { in poll()
DCountDownLatch.java246 public boolean await(long timeout, TimeUnit unit) in await()
DSemaphore.java378 public boolean tryAcquire(long timeout, TimeUnit unit) in tryAcquire()
550 public boolean tryAcquire(int permits, long timeout, TimeUnit unit) in tryAcquire()
DDelayQueue.java143 public boolean offer(E e, long timeout, TimeUnit unit) { in offer()
219 public E poll(long timeout, TimeUnit unit) throws InterruptedException { in poll()
DExecutorCompletionService.java171 public Future<V> poll(long timeout, TimeUnit unit) in poll()
DCyclicBarrier.java397 public int await(long timeout, TimeUnit unit) in await()
DLinkedTransferQueue.java1021 public boolean offer(E e, long timeout, TimeUnit unit) { in offer()
1097 public boolean tryTransfer(E e, long timeout, TimeUnit unit) in tryTransfer()
1114 public E poll(long timeout, TimeUnit unit) throws InterruptedException { in poll()
DTimeUnit.java288 public void timedWait(Object obj, long timeout) in timedWait()
308 public void timedJoin(Thread thread, long timeout) in timedJoin()
327 public void sleep(long timeout) throws InterruptedException { in sleep()
/libcore/luni/src/main/java/java/nio/channels/
DSelector.java127 public abstract int select(long timeout) throws IOException; in select()
/libcore/luni/src/main/java/java/net/
DPlainSocketImpl.java178 private void connect(InetAddress anAddr, int aPort, int timeout) throws IOException { in connect()
319 …nnect(InetAddress applicationServerAddress, int applicationServerPort, int timeout) throws IOExcep… in socksConnect()
454 protected void connect(SocketAddress remoteAddr, int timeout) throws IOException { in connect()
456 connect(inetAddr.getAddress(), inetAddr.getPort(), timeout); in connect() local
DInetAddress.java684 public boolean isReachable(int timeout) throws IOException { in isReachable()
708 …public boolean isReachable(NetworkInterface networkInterface, final int ttl, final int timeout) th… in isReachable()
753 …private boolean isReachable(InetAddress destination, InetAddress source, int timeout) throws IOExc… in isReachable()
DSocket.java522 public void setSoLinger(boolean on, int timeout) throws SocketException { in setSoLinger()
540 public synchronized void setSoTimeout(int timeout) throws SocketException { in setSoTimeout()
846 public void connect(SocketAddress remoteAddr, int timeout) throws IOException { in connect()
DSocketImpl.java262 protected abstract void connect(SocketAddress remoteAddr, int timeout) throws IOException; in connect()
/libcore/luni/src/main/java/java/nio/
DSelectorImpl.java156 @Override public int select(long timeout) throws IOException { in select()
168 private int selectInternal(long timeout) throws IOException { in selectInternal()
/libcore/luni/src/test/java/libcore/java/net/
DOldAndroidDatagramTest.java170 int timeout = 5000; in testDatagramSocketSetSOTimeout() local
DOldSocketTest.java914 int timeout = 0; in test_connectLjava_net_SocketAddress() field in OldSocketTest.SocketCloser
928 public SocketCloser(int timeout, Socket theSocket) { in test_connectLjava_net_SocketAddress()
1120 int timeout = 0; in test_connectLjava_net_SocketAddressI() field in OldSocketTest.SocketCloser
1133 public SocketCloser(int timeout, Socket theSocket) { in test_connectLjava_net_SocketAddressI()
1141 int timeout = 0; in test_connectLjava_net_SocketAddressI() field in OldSocketTest.SocketConnector
1156 public SocketConnector(int timeout, Socket theSocket, in test_connectLjava_net_SocketAddressI()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSelectorTest.java660 private int selectOnce(SelectType type, int timeout) throws IOException { in selectOnce()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DSocketImplTest.java126 protected void connect(SocketAddress remoteAddr, int timeout) in connect()

12