/libcore/luni/src/main/java/java/net/ |
D | PlainDatagramSocketImpl.java | 67 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()
|
D | Socket.java | 475 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()
|
D | MulticastSocket.java | 281 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()
|
D | DatagramSocket.java | 336 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()
|
D | SocketOptions.java | 197 public void setOption(int optID, Object val) throws SocketException; in setOption() method
|
D | PlainServerSocketImpl.java | 40 setOption(SocketOptions.SO_REUSEADDR, Boolean.TRUE); in create()
|
D | ServerSocket.java | 255 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()
|
D | PlainSocketImpl.java | 105 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/ |
D | SocketImplTest.java | 123 public void setOption(int optID, Object val) throws SocketException { in setOption() method in SocketImplTest.MockSocketImpl
|
D | DatagramSocketImplTest.java | 131 public void setOption(int optID, Object val) throws SocketException { in setOption() method in MockDatagramSocketImpl
|
D | ServerSocketTest.java | 926 public void setOption(int arg0, Object arg1) throws SocketException { in setOption() method in ServerSocketTest.MockSocketImpl
|
D | DatagramSocketTest.java | 469 public void setOption(int arg0, Object arg1) throws SocketException { in setOption() method in DatagramSocketTest.TestDatagramSocketImpl
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldSocketImplFactoryTest.java | 174 public void setOption(int arg0, Object arg1) throws SocketException { in setOption() method in OldSocketImplFactoryTest.MockSocketImpl
|
D | OldDatagramSocketImplFactoryTest.java | 202 public void setOption(int arg0, Object arg1) throws SocketException { in setOption() method in OldDatagramSocketImplFactoryTest.TestDatagramSocketImpl
|
D | OldServerSocketTest.java | 379 public void setOption(int arg0, Object arg1) throws SocketException { in setOption() method in OldServerSocketTest.MockSocketImpl
|
D | SocketTest.java | 200 public void setOption(int option, Object value) throws SocketException { in test_SocketOptions_setOption() method in SocketTest.MySocketImpl
|
D | OldSocketTest.java | 2246 public void setOption(int arg0, Object arg1) throws SocketException { in setOption() method in OldSocketTest.MockSocketImpl
|