Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 417) sorted by relevance

12345678910>>...17

/device/generic/vulkan-cereal/host-common/
DHostGoldfishPipe.cpp64 HostGoldfishPipeDevice::HostHwPipe::HostHwPipe(int fd) : vtblPtr(&vtbl), mFd(fd) {} in HostHwPipe()
69 HostGoldfishPipeDevice::HostHwPipe::create(int fd) { in create()
121 void HostGoldfishPipeDevice::close(const int fd) { in close()
132 ssize_t HostGoldfishPipeDevice::read(const int fd, void* buffer, size_t len) { in read()
148 HostGoldfishPipeDevice::ReadResult HostGoldfishPipeDevice::read(int fd, size_t maxLength) { in read()
162 ssize_t HostGoldfishPipeDevice::write(const int fd, const void* buffer, size_t len) { in write()
176 HostGoldfishPipeDevice::write(const int fd, const std::vector<uint8_t>& data) { in write()
198 void HostGoldfishPipeDevice::setWakeCallback(const int fd, in setWakeCallback()
243 const int fd = stream_get_be32(cStream); in loadSnapshot() local
269 void HostGoldfishPipeDevice::saveSnapshot(base::Stream* stream, const int fd) { in saveSnapshot()
[all …]
/device/google/cuttlefish/common/libs/fs/
Dshared_buf.cc33 ssize_t WriteAll(SharedFD fd, const char* buf, size_t size) { in WriteAll()
49 ssize_t ReadExact(SharedFD fd, char* buf, size_t size) { in ReadExact()
65 ssize_t ReadAll(SharedFD fd, std::string* buf) { in ReadAll()
81 ssize_t ReadExact(SharedFD fd, std::string* buf) { in ReadExact()
85 ssize_t ReadExact(SharedFD fd, std::vector<char>* buf) { in ReadExact()
89 ssize_t WriteAll(SharedFD fd, const std::string& buf) { in WriteAll()
93 ssize_t WriteAll(SharedFD fd, const std::vector<char>& buf) { in WriteAll()
/device/generic/vulkan-cereal/third-party/perfetto/src/base/
Dfile_utils.cc39 bool ReadFileDescriptor(int fd, std::string* out) { in ReadFileDescriptor()
69 base::ScopedFile fd = base::OpenFile(path, O_RDONLY); in ReadFile() local
76 ssize_t WriteAll(int fd, const void* buf, size_t count) { in WriteAll()
90 bool FlushFile(int fd) { in FlushFile()
/device/generic/goldfish-opengl/shared/qemupipe/
Dqemu_pipe_guest.cpp47 const int fd = QEMU_PIPE_RETRY(open(name, flags)); in open_verbose_path() local
56 const int fd = QEMU_PIPE_RETRY(socket(AF_VSOCK, SOCK_STREAM, 0)); in open_verbose_vsock() local
103 int fd; in open_verbose() local
126 const int fd = open_verbose_vsock(VsockPort::Ping, 0); in vsock_ping() local
144 const int fd = open_verbose(pipeName, flags); in qemu_pipe_open_ns() local
/device/google/crosshatch/gpt-utils/
Dgpt-utils.cpp145 static int blk_rw(int fd, int rw, int64_t offset, uint8_t *buf, unsigned len) in blk_rw()
289 static int gpt2_set_boot_chain(int fd, enum boot_chain boot) in gpt2_set_boot_chain()
407 static int gpt_get_state(int fd, enum gpt_instance gpt, enum gpt_state *state) in gpt_get_state()
473 static int gpt_set_state(int fd, enum gpt_instance gpt, enum gpt_state state) in gpt_set_state()
608 int fd = -1; in set_boot_lun() local
752 int fd = -1; in prepare_partitions() local
1133 static uint32_t gpt_get_block_size(int fd) in gpt_get_block_size()
1154 static int gpt_set_header(uint8_t *gpt_header, int fd, in gpt_set_header()
1196 int fd = -1; in gpt_get_header() local
1259 static uint8_t* gpt_get_pentry_arr(uint8_t *hdr, int fd) in gpt_get_pentry_arr()
[all …]
/device/google/sunfish/gpt-utils/
Dgpt-utils.cpp145 static int blk_rw(int fd, int rw, int64_t offset, uint8_t *buf, unsigned len) in blk_rw()
289 static int gpt2_set_boot_chain(int fd, enum boot_chain boot) in gpt2_set_boot_chain()
407 static int gpt_get_state(int fd, enum gpt_instance gpt, enum gpt_state *state) in gpt_get_state()
473 static int gpt_set_state(int fd, enum gpt_instance gpt, enum gpt_state state) in gpt_set_state()
608 int fd = -1; in set_boot_lun() local
752 int fd = -1; in prepare_partitions() local
1133 static uint32_t gpt_get_block_size(int fd) in gpt_get_block_size()
1154 static int gpt_set_header(uint8_t *gpt_header, int fd, in gpt_set_header()
1196 int fd = -1; in gpt_get_header() local
1259 static uint8_t* gpt_get_pentry_arr(uint8_t *hdr, int fd) in gpt_get_pentry_arr()
[all …]
/device/google/coral/gpt-utils/
Dgpt-utils.cpp145 static int blk_rw(int fd, int rw, int64_t offset, uint8_t *buf, unsigned len) in blk_rw()
289 static int gpt2_set_boot_chain(int fd, enum boot_chain boot) in gpt2_set_boot_chain()
407 static int gpt_get_state(int fd, enum gpt_instance gpt, enum gpt_state *state) in gpt_get_state()
473 static int gpt_set_state(int fd, enum gpt_instance gpt, enum gpt_state state) in gpt_set_state()
608 int fd = -1; in set_boot_lun() local
752 int fd = -1; in prepare_partitions() local
1133 static uint32_t gpt_get_block_size(int fd) in gpt_get_block_size()
1154 static int gpt_set_header(uint8_t *gpt_header, int fd, in gpt_set_header()
1196 int fd = -1; in gpt_get_header() local
1259 static uint8_t* gpt_get_pentry_arr(uint8_t *hdr, int fd) in gpt_get_pentry_arr()
[all …]
/device/google/bonito/gpt-utils/
Dgpt-utils.cpp145 static int blk_rw(int fd, int rw, int64_t offset, uint8_t *buf, unsigned len) in blk_rw()
289 static int gpt2_set_boot_chain(int fd, enum boot_chain boot) in gpt2_set_boot_chain()
407 static int gpt_get_state(int fd, enum gpt_instance gpt, enum gpt_state *state) in gpt_get_state()
473 static int gpt_set_state(int fd, enum gpt_instance gpt, enum gpt_state state) in gpt_set_state()
608 int fd = -1; in set_boot_lun() local
752 int fd = -1; in prepare_partitions() local
1133 static uint32_t gpt_get_block_size(int fd) in gpt_get_block_size()
1154 static int gpt_set_header(uint8_t *gpt_header, int fd, in gpt_set_header()
1196 int fd = -1; in gpt_get_header() local
1259 static uint8_t* gpt_get_pentry_arr(uint8_t *hdr, int fd) in gpt_get_pentry_arr()
[all …]
/device/google/redbull/gpt-utils/
Dgpt-utils.cpp145 static int blk_rw(int fd, int rw, int64_t offset, uint8_t *buf, unsigned len) in blk_rw()
289 static int gpt2_set_boot_chain(int fd, enum boot_chain boot) in gpt2_set_boot_chain()
407 static int gpt_get_state(int fd, enum gpt_instance gpt, enum gpt_state *state) in gpt_get_state()
473 static int gpt_set_state(int fd, enum gpt_instance gpt, enum gpt_state state) in gpt_set_state()
608 int fd = -1; in set_boot_lun() local
752 int fd = -1; in prepare_partitions() local
1133 static uint32_t gpt_get_block_size(int fd) in gpt_get_block_size()
1154 static int gpt_set_header(uint8_t *gpt_header, int fd, in gpt_set_header()
1196 int fd = -1; in gpt_get_header() local
1259 static uint8_t* gpt_get_pentry_arr(uint8_t *hdr, int fd) in gpt_get_pentry_arr()
[all …]
/device/generic/vulkan-cereal/fake-android-guest/utils/
DCompat.h28 static inline off64_t lseek64(int fd, off64_t offset, int whence) { in lseek64()
32 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) { in pread64()
36 static inline ssize_t pwrite64(int fd, const void* buf, size_t nbytes, off64_t offset) { in pwrite64()
40 static inline int ftruncate64(int fd, off64_t length) { in ftruncate64()
/device/generic/goldfish-opengl/system/hwc2/
DdrmTest.cpp34 static int modeset_create_fb(int fd, struct buffer_object *bo) { in modeset_create_fb()
63 static void modeset_destroy_fb(int fd, struct buffer_object *bo) { in modeset_destroy_fb()
72 static uint32_t get_property_id(int fd, drmModeObjectProperties *props, in get_property_id()
125 void grallocAllocBuffer(int fd, struct buffer_object *bo) { in grallocAllocBuffer()
161 int fd; in main() local
210 int fd; in main_atom() local
/device/generic/vulkan-cereal/base/
DScopedFd.h38 explicit ScopedFd(int fd) : fd_(fd) {} in ScopedFd()
58 int fd = fd_; in release() local
78 int fd = fd_; in swap() local
DFileUtils.cpp40 bool readFileIntoString(int fd, std::string* file_contents) { in readFileIntoString()
63 bool writeStringToFile(int fd, const std::string& file_contents) { in writeStringToFile()
91 bool setFileSize(int fd, int64_t size) { in setFileSize()
/device/generic/goldfish/sensors/
Dmultihal_sensors_epoll.cpp24 int epollCtlAdd(int epollFd, int fd) { in epollCtlAdd()
31 int qemuSensortThreadRcvCommand(const int fd) { in qemuSensortThreadRcvCommand()
67 const int fd = ev->data.fd; in qemuSensorListenerThread() local
/device/google/sunfish/vibrator/common/
DHardwareBase.cpp44 void HwApiBase::debug(int fd) { in debug()
93 void HwCalBase::debug(int fd) { in debug()
99 int fd; in debug() member
108 int fd = context->fd; in debug() local
/device/generic/car/emulator/audio/halservice/
DAudioControl.cpp54 bool checkCallerHasWritePermissions(int fd) { in checkCallerHasWritePermissions()
158 binder_status_t AudioControl::dump(int fd, const char** args, uint32_t numArgs) { in dump()
181 binder_status_t AudioControl::dumpsys(int fd) { in dumpsys()
206 binder_status_t AudioControl::cmdRequestFocus(int fd, const char** args, uint32_t numArgs) { in cmdRequestFocus()
251 binder_status_t AudioControl::cmdAbandonFocus(int fd, const char** args, uint32_t numArgs) { in cmdAbandonFocus()
/device/google/sunfish/dumpstate/
DDumpstateDevice.cpp171 int fd = open(path.c_str(), O_RDONLY); in createTarFile() local
201 static void dumpLogs(int fd, std::string srcDir, std::string destDir, in dumpLogs()
385 static void DumpTouch(int fd) { in DumpTouch()
489 static void DumpDisplay(int fd) { in DumpDisplay()
519 static void DumpSensorLog(int fd) { in DumpSensorLog()
531 static void DumpF2FS(int fd) { in DumpF2FS()
537 static void DumpUFS(int fd) { in DumpUFS()
586 static void DumpPower(int fd) { in DumpPower()
619 int fd = handle->data[0]; in dumpstateBoard_1_1() local
/device/google/bonito/dumpstate/
DDumpstateDevice.cpp170 int fd = open(path.c_str(), O_RDONLY); in createTarFile() local
200 static void dumpLogs(int fd, std::string srcDir, std::string destDir, in dumpLogs()
375 static void DumpIPCTRT(int fd) { in DumpIPCTRT()
380 static void DumpTouch(int fd) { in DumpTouch()
416 static void DumpSensorLog(int fd) { in DumpSensorLog()
428 static void DumpF2FS(int fd) { in DumpF2FS()
436 static void DumpPower(int fd) { in DumpPower()
445 static void DumpeMMC(int fd) { in DumpeMMC()
489 int fd = handle->data[0]; in dumpstateBoard_1_1() local
/device/google/crosshatch/dumpstate/
DDumpstateDevice.cpp172 int fd = open(path.c_str(), O_RDONLY); in createTarFile() local
202 static void dumpLogs(int fd, std::string srcDir, std::string destDir, in dumpLogs()
376 static void DumpTouch(int fd) { in DumpTouch()
423 static void DumpSensorLog(int fd) { in DumpSensorLog()
435 static void DumpF2FS(int fd) { in DumpF2FS()
443 static void DumpUFS(int fd) { in DumpUFS()
464 static void DumpPower(int fd) { in DumpPower()
473 static void DumpVibrator(int fd) { in DumpVibrator()
519 int fd = handle->data[0]; in dumpstateBoard_1_1() local
/device/google/cuttlefish/common/libs/confui/
Dpacket.cpp109 std::optional<ConfUiMessage> RecvConfUiMsg(SharedFD fd) { in RecvConfUiMsg()
113 bool SendCmd(SharedFD fd, const std::string& session_id, ConfUiCmd cmd, in SendCmd()
118 bool SendAck(SharedFD fd, const std::string& session_id, const bool is_success, in SendAck()
124 bool SendResponse(SharedFD fd, const std::string& session_id, in SendResponse()
/device/generic/vulkan-cereal/fake-android-guest/androidImpl/
DAshmem.cpp41 int fd = mem->getFd(); in create() local
55 void close(int fd) { in close()
75 EXPORT int ashmem_valid(int fd) { in ashmem_valid()
/device/google/barbet/dumpstate/
DDumpstateDevice.cpp172 int fd = open(path.c_str(), O_RDONLY); in createTarFile() local
202 static void dumpLogs(int fd, std::string srcDir, std::string destDir, in dumpLogs()
386 static void DumpTouch(int fd) { in DumpTouch()
477 static void DumpDisplay(int fd) { in DumpDisplay()
483 static void DumpSensorLog(int fd) { in DumpSensorLog()
495 static void DumpF2FS(int fd) { in DumpF2FS()
501 static void DumpUFS(int fd) { in DumpUFS()
573 int fd = handle->data[0]; in dumpstateBoard_1_1() local
/device/google/coral/dumpstate/
DDumpstateDevice.cpp173 int fd = open(path.c_str(), O_RDONLY); in createTarFile() local
203 static void dumpLogs(int fd, std::string srcDir, std::string destDir, in dumpLogs()
379 static void DumpTouch(int fd) { in DumpTouch()
451 static void DumpDisplay(int fd) { in DumpDisplay()
481 static void DumpF2FS(int fd) { in DumpF2FS()
487 static void DumpUFS(int fd) { in DumpUFS()
538 static void DumpPower(int fd) { in DumpPower()
571 int fd = handle->data[0]; in dumpstateBoard_1_1() local
/device/google/bramble/dumpstate/
DDumpstateDevice.cpp170 int fd = open(path.c_str(), O_RDONLY); in createTarFile() local
200 static void dumpLogs(int fd, std::string srcDir, std::string destDir, in dumpLogs()
390 static void DumpTouch(int fd) { in DumpTouch()
481 static void DumpDisplay(int fd) { in DumpDisplay()
487 static void DumpSensorLog(int fd) { in DumpSensorLog()
499 static void DumpF2FS(int fd) { in DumpF2FS()
505 static void DumpUFS(int fd) { in DumpUFS()
579 int fd = handle->data[0]; in dumpstateBoard_1_1() local
/device/google/redfin/dumpstate/
DDumpstateDevice.cpp170 int fd = open(path.c_str(), O_RDONLY); in createTarFile() local
200 static void dumpLogs(int fd, std::string srcDir, std::string destDir, in dumpLogs()
384 static void DumpTouch(int fd) { in DumpTouch()
499 static void DumpDisplay(int fd) { in DumpDisplay()
505 static void DumpSensorLog(int fd) { in DumpSensorLog()
517 static void DumpF2FS(int fd) { in DumpF2FS()
523 static void DumpUFS(int fd) { in DumpUFS()
597 int fd = handle->data[0]; in dumpstateBoard_1_1() local

12345678910>>...17