Home
last modified time | relevance | path

Searched defs:timeout (Results 1 – 25 of 48) 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()
277 long timeout, TimeUnit unit) in invokeAll()
324 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()
DCompletionService.java96 Future<V> poll(long timeout, TimeUnit unit) throws InterruptedException; in poll()
DTransferQueue.java106 boolean tryTransfer(E e, long timeout, TimeUnit unit) in tryTransfer()
DAbstractExecutorService.java194 long timeout, TimeUnit unit) in invokeAny()
230 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.java380 public boolean tryAcquire(long timeout, TimeUnit unit) in tryAcquire()
553 public boolean tryAcquire(int permits, long timeout, TimeUnit unit) in tryAcquire()
DDelayQueue.java145 public boolean offer(E e, long timeout, TimeUnit unit) { in offer()
220 public E poll(long timeout, TimeUnit unit) throws InterruptedException { in poll()
DExecutorCompletionService.java171 public Future<V> poll(long timeout, TimeUnit unit) in poll()
DCyclicBarrier.java396 public int await(long timeout, TimeUnit unit) in await()
DLinkedTransferQueue.java1024 public boolean offer(E e, long timeout, TimeUnit unit) { in offer()
1100 public boolean tryTransfer(E e, long timeout, TimeUnit unit) in tryTransfer()
1117 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.java126 public abstract int select(long timeout) throws IOException; in select()
/libcore/luni/src/main/java/java/net/
DPlainSocketImpl.java187 private void connect(InetAddress anAddr, int aPort, int timeout) throws IOException { in connect()
322 …nnect(InetAddress applicationServerAddress, int applicationServerPort, int timeout) throws IOExcep… in socksConnect()
457 protected void connect(SocketAddress remoteAddr, int timeout) throws IOException { in connect()
459 connect(inetAddr.getAddress(), inetAddr.getPort(), timeout); in connect() local
DInetAddress.java652 public boolean isReachable(int timeout) throws IOException { in isReachable()
676 …public boolean isReachable(NetworkInterface networkInterface, final int ttl, final int timeout) th… in isReachable()
721 …private boolean isReachable(InetAddress destination, InetAddress source, int timeout) throws IOExc… in isReachable()
DSocket.java499 public void setSoLinger(boolean on, int timeout) throws SocketException { in setSoLinger()
517 public synchronized void setSoTimeout(int timeout) throws SocketException { in setSoTimeout()
806 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/org/apache/harmony/xnet/provider/jsse/
DAbstractSessionContext.java42 volatile int timeout; field in AbstractSessionContext
69 AbstractSessionContext(int maximumSize, int timeout) { in AbstractSessionContext()
DOpenSSLSocketImplWrapper.java43 public void connect(SocketAddress sockaddr, int timeout) in connect()
/libcore/luni/src/test/java/libcore/java/net/
DOldAndroidDatagramTest.java168 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/luni/src/main/java/java/nio/
DSelectorImpl.java151 @Override public int select(long timeout) throws IOException { in select()
163 private int selectInternal(long timeout) throws IOException { in selectInternal()

12