public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException { return os.pwrite(fd, bytes, byteOffset, byteCount, offset); } public int read(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException { return os.read(fd, buffer); }
public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException { return os.pwrite(fd, buffer, offset); } public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException { return os.pwrite(fd, bytes, byteOffset, byteCount, offset); }
@Override public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException { BlockGuard.getThreadPolicy().onWriteToDisk(); return os.pwrite(fd, buffer, offset); }
@Override public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException { BlockGuard.getThreadPolicy().onWriteToDisk(); return os.pwrite(fd, bytes, byteOffset, byteCount, offset); }
bytesWritten = Libcore.os.write(fd, buffer); } else { bytesWritten = Libcore.os.pwrite(fd, buffer, position);
public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException { return os.pwrite(fd, bytes, byteOffset, byteCount, offset); } public int read(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException { return os.read(fd, buffer); }
public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException { return os.pwrite(fd, buffer, offset); } public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException { return os.pwrite(fd, bytes, byteOffset, byteCount, offset); }
public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException { return os.pwrite(fd, buffer, offset); } public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException { return os.pwrite(fd, bytes, byteOffset, byteCount, offset); }
@Override public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException { BlockGuard.getThreadPolicy().onWriteToDisk(); return os.pwrite(fd, buffer, offset); }
@Override public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException { BlockGuard.getThreadPolicy().onWriteToDisk(); return os.pwrite(fd, bytes, byteOffset, byteCount, offset); }
@Override public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException { BlockGuard.getThreadPolicy().onWriteToDisk(); return os.pwrite(fd, buffer, offset); }
@Override public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException { BlockGuard.getThreadPolicy().onWriteToDisk(); return os.pwrite(fd, bytes, byteOffset, byteCount, offset); }
@Override public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException { BlockGuard.getThreadPolicy().onWriteToDisk(); return os.pwrite(fd, buffer, offset); }
@Override public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException { BlockGuard.getThreadPolicy().onWriteToDisk(); return os.pwrite(fd, buffer, offset); }
@Override public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException { BlockGuard.getThreadPolicy().onWriteToDisk(); return os.pwrite(fd, bytes, byteOffset, byteCount, offset); }
@Override public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException { BlockGuard.getThreadPolicy().onWriteToDisk(); return os.pwrite(fd, buffer, offset); }
@Override public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException { BlockGuard.getThreadPolicy().onWriteToDisk(); return os.pwrite(fd, bytes, byteOffset, byteCount, offset); }
@Override public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException { BlockGuard.getThreadPolicy().onWriteToDisk(); return os.pwrite(fd, buffer, offset); }
@Override public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException { BlockGuard.getThreadPolicy().onWriteToDisk(); return os.pwrite(fd, bytes, byteOffset, byteCount, offset); }
@Override public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException { BlockGuard.getThreadPolicy().onWriteToDisk(); return os.pwrite(fd, bytes, byteOffset, byteCount, offset); }