public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, protocol, fd1, fd2); } public StructStat stat(String path) throws ErrnoException { return os.stat(path); }
@Override public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, protocol, fd1, fd2); tagSocket(fd1); tagSocket(fd2); }
public PipeImpl(SelectorProvider selectorProvider) throws IOException { try { FileDescriptor fd1 = new FileDescriptor(); FileDescriptor fd2 = new FileDescriptor(); Libcore.os.socketpair(AF_UNIX, SOCK_STREAM, 0, fd1, fd2); // It doesn't matter which file descriptor we use for which end; // they're guaranteed to be indistinguishable. this.sink = new PipeSinkChannel(selectorProvider, fd1); this.source = new PipeSourceChannel(selectorProvider, fd2); } catch (ErrnoException errnoException) { throw errnoException.rethrowAsIOException(); } }
public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, protocol, fd1, fd2); } public StructStat stat(String path) throws ErrnoException { return os.stat(path); }
public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, protocol, fd1, fd2); } public StructStat stat(String path) throws ErrnoException { return os.stat(path); }
public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, protocol, fd1, fd2); } public StructStat stat(String path) throws ErrnoException { return os.stat(path); }
public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, protocol, fd1, fd2); } public StructStat stat(String path) throws ErrnoException { return os.stat(path); }
public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, protocol, fd1, fd2); } public StructStat stat(String path) throws ErrnoException { return os.stat(path); }
@Override public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, protocol, fd1, fd2); tagSocket(fd1); tagSocket(fd2); }
@Override public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, protocol, fd1, fd2); tagSocket(fd1); tagSocket(fd2); }
@Override public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, protocol, fd1, fd2); tagSocket(fd1); tagSocket(fd2); }
@Override public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, protocol, fd1, fd2); tagSocket(fd1); tagSocket(fd2); }
@Override public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, protocol, fd1, fd2); tagSocket(fd1); tagSocket(fd2); }
@Override public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, protocol, fd1, fd2); tagSocket(fd1); tagSocket(fd2); }
public PipeImpl(SelectorProvider selectorProvider) throws IOException { try { FileDescriptor fd1 = new FileDescriptor(); FileDescriptor fd2 = new FileDescriptor(); Libcore.os.socketpair(AF_UNIX, SOCK_STREAM, 0, fd1, fd2); // It doesn't matter which file descriptor we use for which end; // they're guaranteed to be indistinguishable. this.sink = new PipeSinkChannel(selectorProvider, fd1); this.source = new PipeSourceChannel(selectorProvider, fd2); } catch (ErrnoException errnoException) { throw errnoException.rethrowAsIOException(); } }
public PipeImpl(SelectorProvider selectorProvider) throws IOException { try { FileDescriptor fd1 = new FileDescriptor(); FileDescriptor fd2 = new FileDescriptor(); Libcore.os.socketpair(AF_UNIX, SOCK_STREAM, 0, fd1, fd2); // It doesn't matter which file descriptor we use for which end; // they're guaranteed to be indistinguishable. this.sink = new PipeSinkChannel(selectorProvider, fd1); this.source = new PipeSourceChannel(selectorProvider, fd2); } catch (ErrnoException errnoException) { throw errnoException.rethrowAsIOException(); } }
public PipeImpl(SelectorProvider selectorProvider) throws IOException { try { FileDescriptor fd1 = new FileDescriptor(); FileDescriptor fd2 = new FileDescriptor(); Libcore.os.socketpair(AF_UNIX, SOCK_STREAM, 0, fd1, fd2); // It doesn't matter which file descriptor we use for which end; // they're guaranteed to be indistinguishable. this.sink = new PipeSinkChannel(selectorProvider, fd1); this.source = new PipeSourceChannel(selectorProvider, fd2); } catch (ErrnoException errnoException) { throw errnoException.rethrowAsIOException(); } }
public PipeImpl(SelectorProvider selectorProvider) throws IOException { try { FileDescriptor fd1 = new FileDescriptor(); FileDescriptor fd2 = new FileDescriptor(); Libcore.os.socketpair(AF_UNIX, SOCK_STREAM, 0, fd1, fd2); // It doesn't matter which file descriptor we use for which end; // they're guaranteed to be indistinguishable. this.sink = new PipeSinkChannel(selectorProvider, fd1); this.source = new PipeSourceChannel(selectorProvider, fd2); } catch (ErrnoException errnoException) { throw errnoException.rethrowAsIOException(); } }
public PipeImpl(SelectorProvider selectorProvider) throws IOException { try { FileDescriptor fd1 = new FileDescriptor(); FileDescriptor fd2 = new FileDescriptor(); Libcore.os.socketpair(AF_UNIX, SOCK_STREAM, 0, fd1, fd2); // It doesn't matter which file descriptor we use for which end; // they're guaranteed to be indistinguishable. this.sink = new PipeSinkChannel(selectorProvider, fd1); this.source = new PipeSourceChannel(selectorProvider, fd2); } catch (ErrnoException errnoException) { throw errnoException.rethrowAsIOException(); } }
public PipeImpl(SelectorProvider selectorProvider) throws IOException { try { FileDescriptor fd1 = new FileDescriptor(); FileDescriptor fd2 = new FileDescriptor(); Libcore.os.socketpair(AF_UNIX, SOCK_STREAM, 0, fd1, fd2); // It doesn't matter which file descriptor we use for which end; // they're guaranteed to be indistinguishable. this.sink = new PipeSinkChannel(selectorProvider, fd1); this.source = new PipeSourceChannel(selectorProvider, fd2); } catch (ErrnoException errnoException) { throw errnoException.rethrowAsIOException(); } }