Home
last modified time | relevance | path

Searched refs:setOption (Results 1 – 17 of 17) sorted by relevance

/libcore/luni/src/main/java/java/net/
DPlainDatagramSocketImpl.java67 setOption(SocketOptions.SO_BROADCAST, Boolean.TRUE); in bind()
128 setOption(IoBridge.JAVA_MCAST_JOIN_GROUP, makeGroupReq(addr, null)); in join()
135 setOption(IoBridge.JAVA_MCAST_JOIN_GROUP, makeGroupReq(groupAddr, netInterface)); in joinGroup()
141 setOption(IoBridge.JAVA_MCAST_LEAVE_GROUP, makeGroupReq(addr, null)); in leave()
148 setOption(IoBridge.JAVA_MCAST_LEAVE_GROUP, makeGroupReq(groupAddr, netInterface)); in leaveGroup()
188 public void setOption(int option, Object value) throws SocketException { in setOption() method in PlainDatagramSocketImpl
194 setOption(IoBridge.JAVA_IP_MULTICAST_TTL, Integer.valueOf(ttl)); in setTimeToLive()
DSocket.java475 impl.setOption(SocketOptions.SO_KEEPALIVE, Boolean.valueOf(keepAlive)); in setKeepAlive()
504 impl.setOption(SocketOptions.SO_SNDBUF, Integer.valueOf(size)); in setSendBufferSize()
515 impl.setOption(SocketOptions.SO_RCVBUF, Integer.valueOf(size)); in setReceiveBufferSize()
529 impl.setOption(SocketOptions.SO_LINGER, Integer.valueOf(timeout)); in setSoLinger()
531 impl.setOption(SocketOptions.SO_LINGER, Boolean.FALSE); in setSoLinger()
545 impl.setOption(SocketOptions.SO_TIMEOUT, Integer.valueOf(timeout)); in setSoTimeout()
553 impl.setOption(SocketOptions.TCP_NODELAY, Boolean.valueOf(on)); in setTcpNoDelay()
930 impl.setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(reuse)); in setReuseAddress()
946 impl.setOption(SocketOptions.SO_OOBINLINE, Boolean.valueOf(oobinline)); in setOOBInline()
965 impl.setOption(SocketOptions.IP_TOS, Integer.valueOf(value)); in setTrafficClass()
DMulticastSocket.java281 impl.setOption(SocketOptions.IP_MULTICAST_IF2, networkInterface.getIndex()); in setInterface()
297 impl.setOption(SocketOptions.IP_MULTICAST_IF2, networkInterface.getIndex()); in setNetworkInterface()
333 impl.setOption(SocketOptions.SO_REUSEADDR, Boolean.TRUE); in createSocket()
364 impl.setOption(SocketOptions.IP_MULTICAST_LOOP, Boolean.valueOf(!disable)); in setLoopbackMode()
DDatagramSocket.java336 impl.setOption(SocketOptions.SO_SNDBUF, Integer.valueOf(size)); in setSendBufferSize()
347 impl.setOption(SocketOptions.SO_RCVBUF, Integer.valueOf(size)); in setReceiveBufferSize()
366 impl.setOption(SocketOptions.SO_TIMEOUT, Integer.valueOf(timeout)); in setSoTimeout()
616 impl.setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(reuse)); in setReuseAddress()
642 impl.setOption(SocketOptions.SO_BROADCAST, Boolean.valueOf(broadcast)); in setBroadcast()
668 impl.setOption(SocketOptions.IP_TOS, Integer.valueOf(value)); in setTrafficClass()
DSocketOptions.java197 public void setOption(int optID, Object val) throws SocketException; in setOption() method
DPlainServerSocketImpl.java40 setOption(SocketOptions.SO_REUSEADDR, Boolean.TRUE); in create()
DServerSocket.java255 impl.setOption(SocketOptions.SO_TIMEOUT, Integer.valueOf(timeout)); in setSoTimeout()
394 impl.setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(reuse)); in setReuseAddress()
417 impl.setOption(SocketOptions.SO_RCVBUF, Integer.valueOf(size)); in setReceiveBufferSize()
DPlainSocketImpl.java105 newImpl.setOption(SocketOptions.SO_TIMEOUT, Integer.valueOf(0)); in accept()
285 public void setOption(int option, Object value) throws SocketException { in setOption() method in PlainSocketImpl
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DSocketImplTest.java123 public void setOption(int optID, Object val) throws SocketException { in setOption() method in SocketImplTest.MockSocketImpl
DDatagramSocketImplTest.java131 public void setOption(int optID, Object val) throws SocketException { in setOption() method in MockDatagramSocketImpl
DServerSocketTest.java926 public void setOption(int arg0, Object arg1) throws SocketException { in setOption() method in ServerSocketTest.MockSocketImpl
DDatagramSocketTest.java469 public void setOption(int arg0, Object arg1) throws SocketException { in setOption() method in DatagramSocketTest.TestDatagramSocketImpl
/libcore/luni/src/test/java/libcore/java/net/
DOldSocketImplFactoryTest.java174 public void setOption(int arg0, Object arg1) throws SocketException { in setOption() method in OldSocketImplFactoryTest.MockSocketImpl
DOldDatagramSocketImplFactoryTest.java202 public void setOption(int arg0, Object arg1) throws SocketException { in setOption() method in OldDatagramSocketImplFactoryTest.TestDatagramSocketImpl
DOldServerSocketTest.java379 public void setOption(int arg0, Object arg1) throws SocketException { in setOption() method in OldServerSocketTest.MockSocketImpl
DSocketTest.java200 public void setOption(int option, Object value) throws SocketException { in test_SocketOptions_setOption() method in SocketTest.MySocketImpl
DOldSocketTest.java2246 public void setOption(int arg0, Object arg1) throws SocketException { in setOption() method in OldSocketTest.MockSocketImpl