/libcore/luni/src/main/java/java/net/ |
PlainDatagramSocketImpl.java | 32 import libcore.io.IoBridge; 68 IoBridge.bind(fd, address, port); 72 localPort = IoBridge.getSocketLocalPort(fd); 84 IoBridge.closeSocket(fd); 91 this.fd = IoBridge.socket(false); 106 return IoBridge.getSocketOption(fd, option); 111 return (Integer) getOption(IoBridge.JAVA_IP_MULTICAST_TTL); 126 setOption(IoBridge.JAVA_MCAST_JOIN_GROUP, makeGroupReq(addr, null)); 133 setOption(IoBridge.JAVA_MCAST_JOIN_GROUP, makeGroupReq(groupAddr, netInterface)); 139 setOption(IoBridge.JAVA_MCAST_LEAVE_GROUP, makeGroupReq(addr, null)) [all...] |
PlainSocketImpl.java | 37 import libcore.io.IoBridge; 116 newImpl.localport = IoBridge.getSocketLocalPort(newImpl.fd); 146 return IoBridge.available(fd); 150 IoBridge.bind(fd, address, port); 155 this.localport = IoBridge.getSocketLocalPort(fd); 162 IoBridge.closeSocket(fd); 192 IoBridge.connect(fd, normalAddr, aPort, timeout); 201 this.fd = IoBridge.socket(streaming); 245 return IoBridge.getSocketOption(fd, option); 289 IoBridge.setSocketOption(fd, option, value) [all...] |
DatagramSocketImpl.java | 22 import libcore.io.IoBridge; 88 return IoBridge.getSocketLocalAddress(fd);
|
InetAddress.java | 38 import libcore.io.IoBridge; 724 FileDescriptor fd = IoBridge.socket(true); 728 IoBridge.bind(fd, source, 0); 730 IoBridge.connect(fd, destination, 7, timeout); 739 IoBridge.closeSocket(fd); [all...] |
Socket.java | 25 import libcore.io.IoBridge; [all...] |
/libcore/luni/src/main/java/java/io/ |
FileInputStream.java | 26 import libcore.io.IoBridge; 78 this.fd = IoBridge.open(file.getAbsolutePath(), O_RDONLY); 110 return IoBridge.available(fd); 179 return IoBridge.read(fd, buffer, byteOffset, byteCount);
|
FileOutputStream.java | 24 import libcore.io.IoBridge; 88 this.fd = IoBridge.open(file.getAbsolutePath(), mode); 187 IoBridge.write(fd, buffer, byteOffset, byteCount);
|
RandomAccessFile.java | 27 import libcore.io.IoBridge; 118 this.fd = IoBridge.open(file.getAbsolutePath(), flags); 290 return IoBridge.read(fd, buffer, byteOffset, byteCount); 692 IoBridge.write(fd, buffer, byteOffset, byteCount);
|
/libcore/luni/src/main/java/libcore/net/ |
RawSocket.java | 25 import libcore.io.IoBridge; 114 IoBridge.closeSocket(fd);
|
/libcore/luni/src/main/java/java/nio/ |
DatagramChannelImpl.java | 40 import libcore.io.IoBridge; 75 fd = IoBridge.socket(false); 104 return IoBridge.getSocketLocalAddress(fd); 131 IoBridge.connect(fd, inetSocketAddress.getAddress(), inetSocketAddress.getPort()); 209 received = IoBridge.recvfrom(false, fd, receivePacket.getData(), receivePacket.getOffset(), receivePacket.getLength(), 0, receivePacket, isConnected()); 232 received = IoBridge.recvfrom(false, fd, target, 0, receivePacket, isConnected()); 264 sendCount = IoBridge.sendto(fd, source, 0, isa.getAddress(), isa.getPort()); 339 readCount = IoBridge.recvfrom(false, fd, dst, 0, null, isConnected()); 404 result = IoBridge.sendto(fd, buf, 0, null, 0); 417 IoBridge.closeSocket(fd) [all...] |
SocketChannelImpl.java | 47 import libcore.io.IoBridge; 102 fd = (connect ? IoBridge.socket(true) : new FileDescriptor()); 168 finished = IoBridge.connect(fd, normalAddr, port); 237 finished = IoBridge.isConnected(fd, inetAddress, port, 0, 0); // Return immediately. 305 readCount = IoBridge.recvfrom(true, fd, dst, 0, null, false); 369 writeCount = IoBridge.sendto(fd, src, 0, null, 0); 444 IoBridge.closeSocket(fd);
|
SelectorImpl.java | 39 import libcore.io.IoBridge; 235 while (IoBridge.read(wakeupIn, buffer, 0, 1) > 0) {
|
/libcore/luni/src/main/java/libcore/io/ |
IoBridge.java | 44 public final class IoBridge { 46 private IoBridge() { 100 return IoBridge.connect(fd, inetAddress, port, 0); 152 } while (!IoBridge.isConnected(fd, inetAddress, port, timeoutMs, remainingTimeoutMs)); 252 case IoBridge.JAVA_IP_MULTICAST_TTL: 321 case IoBridge.JAVA_IP_MULTICAST_TTL: 367 case IoBridge.JAVA_MCAST_JOIN_GROUP: 368 case IoBridge.JAVA_MCAST_LEAVE_GROUP:
|