/device/google/cuttlefish/common/libs/fs/ |
D | shared_buf.cc | 33 ssize_t WriteAll(SharedFD fd, const char* buf, size_t size) { in WriteAll() 50 ssize_t ReadExact(SharedFD fd, char* buf, size_t size) { in ReadExact() 67 ssize_t ReadAll(SharedFD fd, std::string* buf) { in ReadAll() 83 ssize_t ReadExact(SharedFD fd, std::string* buf) { in ReadExact() 87 ssize_t ReadExact(SharedFD fd, std::vector<char>* buf) { in ReadExact() 91 ssize_t WriteAll(SharedFD fd, const std::string& buf) { in WriteAll() 95 ssize_t WriteAll(SharedFD fd, const std::vector<char>& buf) { in WriteAll()
|
D | epoll.cpp | 32 int fd = epoll_create1(EPOLL_CLOEXEC); in Create() local 67 Result<void> Epoll::Add(SharedFD fd, uint32_t events) { in Add() 90 Result<void> Epoll::AddOrModify(SharedFD fd, uint32_t events) { in AddOrModify() 109 Result<void> Epoll::Modify(SharedFD fd, uint32_t events) { in Modify() 128 Result<void> Epoll::Delete(SharedFD fd) { in Delete()
|
/device/google/cuttlefish/common/libs/confui/ |
D | protocol.cpp | 87 std::unique_ptr<ConfUiMessage> RecvConfUiMsg(SharedFD fd) { in RecvConfUiMsg() 103 SharedFD fd) { in RecvConfUiMsg() 117 bool SendAbortCmd(SharedFD fd, const std::string& session_id) { in SendAbortCmd() 122 bool SendStopCmd(SharedFD fd, const std::string& session_id) { in SendStopCmd() 127 bool SendAck(SharedFD fd, const std::string& session_id, const bool is_success, in SendAck() 133 bool SendResponse(SharedFD fd, const std::string& session_id, in SendResponse() 142 bool SendStartCmd(SharedFD fd, const std::string& session_id, in SendStartCmd() 153 bool SendUserSelection(SharedFD fd, const std::string& session_id, in SendUserSelection()
|
D | protocol_types.cpp | 116 bool ConfUiAckMessage::SendOver(SharedFD fd) { in SendOver() 126 bool ConfUiCliResponseMessage::SendOver(SharedFD fd) { in SendOver() 149 bool ConfUiStartMessage::SendOver(SharedFD fd) { in SendOver() 158 bool ConfUiUserSelectionMessage::SendOver(SharedFD fd) { in SendOver() 169 bool ConfUiUserTouchMessage::SendOver(SharedFD fd) { in SendOver()
|
/device/google/gs-common/gear/dumpstate/ |
D | Dumpstate.cpp | 50 timepoint_t startSection(int fd, const std::string §ionName) { in startSection() 59 void endSection(int fd, const std::string §ionName, timepoint_t startTime) { in endSection() 74 void Dumpstate::dumpTextSection(int fd, const std::string §ionName) { in dumpTextSection() 116 void Dumpstate::dumpLogSection(int fd, int fd_bin) in dumpLogSection() 174 int fd = in_fds[0].get(); in dumpstateBoard() local 211 binder_status_t Dumpstate::dump(int fd, const char** args, uint32_t numArgs) { in dump()
|
/device/google/coral/gpt-utils/ |
D | gpt-utils.cpp | 145 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/ |
D | gpt-utils.cpp | 145 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/ |
D | gpt-utils.cpp | 145 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/ |
D | Compat.h | 28 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/shared/qemupipe/ |
D | qemu_pipe_guest.cpp | 52 const int fd = QEMU_PIPE_RETRY(open(name, flags)); in open_verbose_path() local 63 const int fd = QEMU_PIPE_RETRY(socket(AF_VSOCK, SOCK_STREAM, 0)); in open_verbose_vsock() local 110 int fd; in open_verbose() local 133 const int fd = open_verbose_vsock(VsockPort::Ping, 0); in vsock_ping() local 150 const int fd = open_verbose(pipeName, flags); in qemu_pipe_open_ns() local
|
/device/google/cuttlefish/host/commands/cvd/ |
D | lock_file.cpp | 37 LockFile::LockFile(SharedFD fd, const std::string& lock_file_path) in LockFile() 77 auto fd = SharedFD::Open(file_path.data(), O_CREAT | O_RDWR, 0666); in OpenLockFile() local 84 auto fd = CF_EXPECT(OpenLockFile(lock_file_path)); in AcquireLock() local 100 auto fd = CF_EXPECT(OpenLockFile(lock_file_path)); in TryAcquireLock() local
|
/device/google/sunfish/dumpstate/ |
D | DumpstateDevice.cpp | 171 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() 538 static void DumpUFS(int fd) { in DumpUFS() 587 static void DumpPower(int fd) { in DumpPower() 620 int fd = handle->data[0]; in dumpstateBoard_1_1() local
|
/device/generic/car/emulator/audio/halservice/ |
D | AudioControl.cpp | 54 bool checkCallerHasWritePermissions(int fd) { in checkCallerHasWritePermissions() 158 binder_status_t AudioControl::dump(int fd, const char** args, uint32_t numArgs) { in dump() 176 binder_status_t AudioControl::dumpsys(int fd) { in dumpsys() 201 binder_status_t AudioControl::cmdRequestFocus(int fd, const char** args, uint32_t numArgs) { in cmdRequestFocus() 246 binder_status_t AudioControl::cmdAbandonFocus(int fd, const char** args, uint32_t numArgs) { in cmdAbandonFocus()
|
/device/google/sunfish/vibrator/common/ |
D | HardwareBase.cpp | 44 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/goldfish/sensors/ |
D | multihal_sensors_epoll.cpp | 24 int epollCtlAdd(int epollFd, int fd) { in epollCtlAdd() 31 int qemuSensortThreadRcvCommand(const int fd) { in qemuSensortThreadRcvCommand() 63 const int fd = ev->data.fd; in qemuSensorListenerThreadImpl() local
|
/device/generic/vulkan-cereal/fake-android-guest/androidImpl/ |
D | Ashmem.cpp | 41 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/felix/vibrator/common/ |
D | HardwareBase.cpp | 47 void HwApiBase::debug(int fd) { in debug() 111 void HwCalBase::debug(int fd) { in debug() 117 int fd; in debug() member 126 int fd = context->fd; in debug() local
|
/device/google/bramble/dumpstate/ |
D | DumpstateDevice.cpp | 170 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() 506 static void DumpUFS(int fd) { in DumpUFS() 580 int fd = handle->data[0]; in dumpstateBoard_1_1() local
|
/device/google/barbet/dumpstate/ |
D | DumpstateDevice.cpp | 172 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() 502 static void DumpUFS(int fd) { in DumpUFS() 574 int fd = handle->data[0]; in dumpstateBoard_1_1() local
|
/device/google/coral/dumpstate/ |
D | DumpstateDevice.cpp | 173 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() 488 static void DumpUFS(int fd) { in DumpUFS() 539 static void DumpPower(int fd) { in DumpPower() 572 int fd = handle->data[0]; in dumpstateBoard_1_1() local
|
/device/google/redfin/dumpstate/ |
D | DumpstateDevice.cpp | 170 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() 524 static void DumpUFS(int fd) { in DumpUFS() 598 int fd = handle->data[0]; in dumpstateBoard_1_1() local
|
/device/google/felix/vibrator/cs40l26/ |
D | Hardware.h | 101 bool setFFGain(int fd, uint16_t value) override { in setFFGain() 112 bool setFFEffect(int fd, struct ff_effect *effect, uint16_t timeoutMs) override { in setFFEffect() 120 bool setFFPlay(int fd, int8_t index, bool value) override { in setFFPlay() 187 bool uploadOwtEffect(int fd, uint8_t *owtData, uint32_t numBytes, struct ff_effect *effect, in uploadOwtEffect() 221 bool eraseOwtEffect(int fd, int8_t effectIndex, std::vector<ff_effect> *effect) override { in eraseOwtEffect() 264 void debug(int fd) override { HwApiBase::debug(fd); } in debug() 379 void debug(int fd) override { HwCalBase::debug(fd); } in debug()
|
/device/google/trout/hal/sensors/2.0/tests/ |
D | MultiPoll.cpp | 80 MultiPoll::OnPollIn f = [&called, &poll_fd](int fd) -> void { in TEST() 97 MultiPoll::OnPollIn f = [&called, &poll_fd](int fd) -> void { in TEST() 138 MultiPoll::OnPollIn f = [&called, &prev_fd, &repeat_fd](int fd) -> void { in TEST() 160 MultiPoll::OnPollIn f = [&called, &poll_fd](int fd) -> void { in TEST() 185 MultiPoll::OnPollIn f = [&called, &poll_fd](int fd) -> void { in TEST()
|
/device/linaro/dragonboard/qcom/rmtfs/ |
D | sharedmem.c | 26 int fd; member 61 int fd; in rmtfs_mem_open_rfsa() local 131 int fd; in rmtfs_mem_open_uio() local 207 int fd; in rmtfs_mem_open_rfsa() local 272 int fd; in rmtfs_mem_open() local
|
/device/amlogic/yukawa/hal/lights/ |
D | lights.cpp | 66 static int sys_write_int(int fd, int value) { in sys_write_int() 77 static int write8reg8(int fd, uint8_t regaddr, uint8_t cmd) { in write8reg8() 106 int const fd = open(path, O_RDWR); in writeLedArray() local 129 int fd = open(path, O_WRONLY); in writeLed() local
|