Searched refs:timeoutMs (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 177 …public static void connect(FileDescriptor fd, InetAddress inetAddress, int port, int timeoutMs) th… in connect() argument 179 connectErrno(fd, inetAddress, port, timeoutMs); in connect() 187 throw new ConnectException(createMessageForException(fd, inetAddress, port, timeoutMs, in connect() 198 … connectErrno(FileDescriptor fd, InetAddress inetAddress, int port, int timeoutMs) throws ErrnoExc… in connectErrno() argument 200 if (timeoutMs <= 0) { in connectErrno() 216 long finishTimeNanos = System.nanoTime() + TimeUnit.MILLISECONDS.toNanos(timeoutMs); in connectErrno() 235 createMessageForException(fd, inetAddress, port, timeoutMs, null)); in connectErrno() 237 } while (!IoBridge.isConnected(fd, inetAddress, port, timeoutMs, remainingTimeoutMs)); in connectErrno() 247 int port, int timeoutMs, Exception causeOrNull) { in createMessageForException() argument 269 if (timeoutMs > 0) { in createMessageForException() [all …]
|
D | BlockGuardOs.java | 277 @Override public int poll(StructPollfd[] fds, int timeoutMs) throws ErrnoException { in poll() argument 280 if (timeoutMs != 0) { in poll() 283 return super.poll(fds, timeoutMs); in poll()
|
D | ForwardingOs.java | 573 …public int poll(StructPollfd[] fds, int timeoutMs) throws ErrnoException { return os.poll(fds, tim… in poll() argument
|
D | Os.java | 477 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 | 531 …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 | 2008 static jint Linux_poll(JNIEnv* env, jobject, jobjectArray javaStructs, jint timeoutMs) { in Linux_poll() argument 2042 rc = poll(fds.get(), count, timeoutMs); in Linux_poll() 2048 if (timeoutMs > 0) { in Linux_poll() 2061 if (diffMs >= timeoutMs) { in Linux_poll() 2066 timeoutMs -= diffMs; in Linux_poll()
|