Searched defs:FdWriter (Results 1 – 1 of 1) sorted by relevance
/hardware/google/pixel/power-libperfmgr/aidl/ |
D | GpuCapacityNode.h | 51 struct FdWriter : FdInterface { struct 52 int open(const char *path, int flags) const override { return ::open(path, flags); } in open() 53 int write(int fd, const char *data, size_t len) const override { in write() 56 ssize_t read(int fd, void *data, size_t len) const final { return ::read(fd, data, len); } in read() 57 off_t lseek(int fd, off_t offset, int whence) const final { in lseek() 60 int close(int fd) const override { return ::close(fd); } in close()
|