Home
last modified time | relevance | path

Searched refs:remainingMillis (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DSocksSocketImpl.java103 private static int remainingMillis(long deadlineMillis) throws IOException { in remainingMillis() method in SocksSocketImpl
124 …count = ((SocketInputStream)in).read(data, received, len - received, remainingMillis(deadlineMilli… in readSocksReply()
436 super.connect(epoint, remainingMillis(deadlineMillis)); in connect()
441 privilegedConnect(server, serverPort, remainingMillis(deadlineMillis)); in connect()
/libcore/ojluni/annotations/hiddenapi/java/net/
DSocksSocketImpl.java60 private static int remainingMillis(long deadlineMillis) throws java.io.IOException { in remainingMillis() method in SocksSocketImpl
/libcore/luni/src/test/java/libcore/java/nio/channels/
DDatagramChannelMulticastTest.java1275 long remainingMillis = endTimeMillis - System.currentTimeMillis(); in receiveWithTimeout() local
1276 if (remainingMillis <= 0) { in receiveWithTimeout()
1279 Thread.sleep(Math.min(20L, remainingMillis + 1)); in receiveWithTimeout()