Searched refs:timeoutMs (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 178 …public static void connect(FileDescriptor fd, InetAddress inetAddress, int port, int timeoutMs) th… in connect() argument 180 connectErrno(fd, inetAddress, port, timeoutMs); in connect() 188 throw new ConnectException(createMessageForException(fd, inetAddress, port, timeoutMs, in connect() 199 … connectErrno(FileDescriptor fd, InetAddress inetAddress, int port, int timeoutMs) throws ErrnoExc… in connectErrno() argument 201 if (timeoutMs <= 0) { in connectErrno() 217 long finishTimeNanos = System.nanoTime() + TimeUnit.MILLISECONDS.toNanos(timeoutMs); in connectErrno() 236 createMessageForException(fd, inetAddress, port, timeoutMs, null)); in connectErrno() 238 } while (!IoBridge.isConnected(fd, inetAddress, port, timeoutMs, remainingTimeoutMs)); in connectErrno() 248 int port, int timeoutMs, Exception causeOrNull) { in createMessageForException() argument 270 if (timeoutMs > 0) { in createMessageForException() [all …]
|
D | BlockGuardOs.java | 276 @Override public int poll(StructPollfd[] fds, int timeoutMs) throws ErrnoException { in poll() argument 279 if (timeoutMs != 0) { in poll() 282 return super.poll(fds, timeoutMs); in poll()
|
D | ForwardingOs.java | 577 …public int poll(StructPollfd[] fds, int timeoutMs) throws ErrnoException { return os.poll(fds, tim… in poll() argument
|
D | Os.java | 478 public int poll(StructPollfd[] fds, int timeoutMs) throws ErrnoException; in poll() argument
|
D | Linux.java | 136 public native int poll(StructPollfd[] fds, int timeoutMs) throws ErrnoException; in poll() argument
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 539 …static int poll(StructPollfd[] fds, int timeoutMs) throws ErrnoException { return Libcore.os.poll(… in poll() argument
|
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 2002 static jint Linux_poll(JNIEnv* env, jobject, jobjectArray javaStructs, jint timeoutMs) { in Linux_poll() argument 2036 rc = poll(fds.get(), count, timeoutMs); in Linux_poll() 2042 if (timeoutMs > 0) { in Linux_poll() 2055 if (diffMs >= timeoutMs) { in Linux_poll() 2060 timeoutMs -= diffMs; in Linux_poll()
|