Home
last modified time | relevance | path

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

12345678910>>...15

/device/google/gs201/dumpstate/
DDumpstate.cpp77 void Dumpstate::dumpLogs(int fd, std::string srcDir, std::string destDir, int maxFileNum, in dumpLogs()
123 void Dumpstate::dumpRilLogs(int fd, std::string destDir) { in dumpRilLogs()
194 timepoint_t startSection(int fd, const std::string &sectionName) { in startSection()
202 void endSection(int fd, const std::string &sectionName, timepoint_t startTime) { in endSection()
260 void Dumpstate::dumpTextSection(int fd, const std::string &sectionName) { in dumpTextSection()
290 void Dumpstate::dumpWlanSection(int fd) { in dumpWlanSection()
298 void Dumpstate::dumpPowerSection(int fd) { in dumpPowerSection()
499 void Dumpstate::dumpThermalSection(int fd) { in dumpThermalSection()
532 void Dumpstate::dumpTouchSection(int fd) { in dumpTouchSection()
924 void Dumpstate::dumpSocSection(int fd) { in dumpSocSection()
[all …]
/device/google/gs101/dumpstate/
DDumpstateDevice.cpp106 void dumpLogs(int fd, std::string srcDir, std::string destDir, int maxFileNum, in dumpLogs()
150 void dumpRilLogs(int fd, std::string destDir) { in dumpRilLogs()
195 void dumpGpsLogs(int fd, std::string destDir) { in dumpGpsLogs()
209 void dumpCameraLogs(int fd, const std::string &destDir) { in dumpCameraLogs()
222 timepoint_t startSection(int fd, const std::string &sectionName) { in startSection()
230 void endSection(int fd, const std::string &sectionName, timepoint_t startTime) { in endSection()
279 void DumpstateDevice::dumpTextSection(int fd, const std::string &sectionName) { in dumpTextSection()
309 void DumpstateDevice::dumpPowerSection(int fd) { in dumpPowerSection()
495 void DumpstateDevice::dumpThermalSection(int fd) { in dumpThermalSection()
528 void DumpstateDevice::dumpPreTouchSection(int fd) { in dumpPreTouchSection()
[all …]
/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()
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()
Depoll.cpp32 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/
Dprotocol.cpp87 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()
Dprotocol_types.cpp115 bool ConfUiAckMessage::SendOver(SharedFD fd) { in SendOver()
125 bool ConfUiCliResponseMessage::SendOver(SharedFD fd) { in SendOver()
148 bool ConfUiStartMessage::SendOver(SharedFD fd) { in SendOver()
157 bool ConfUiUserSelectionMessage::SendOver(SharedFD fd) { in SendOver()
168 bool ConfUiUserTouchMessage::SendOver(SharedFD fd) { in SendOver()
/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/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/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/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/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/car/emulator/Conn/PipeComm/
Dqemu_pipe.cpp43 int fd = TEMP_FAILURE_RETRY(open("/dev/qemu_pipe", O_RDWR)); in qemu_pipe_open() local
69 int qemu_pipe_frame_send(int fd, const void* buff, size_t len) { in qemu_pipe_frame_send()
83 int qemu_pipe_frame_recv(int fd, void* buff, size_t len) { in qemu_pipe_frame_recv()
/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/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()
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/
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/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/lynx/vibrator/common/
DHardwareBase.cpp47 void HwApiBase::debug(int fd) { in debug()
96 void HwCalBase::debug(int fd) { in debug()
102 int fd; in debug() member
111 int fd = context->fd; in debug() local
/device/google/bluejay/vibrator/common/
DHardwareBase.cpp47 void HwApiBase::debug(int fd) { in debug()
96 void HwCalBase::debug(int fd) { in debug()
102 int fd; in debug() member
111 int fd = context->fd; in debug() local
/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/felix/vibrator/common/
DHardwareBase.cpp47 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

12345678910>>...15