Home
last modified time | relevance | path

Searched refs:out_fd (Results 1 – 6 of 6) sorted by relevance

/system/core/debuggerd/tombstoned/
Dintercept_manager.h56 bool GetIntercept(pid_t pid, DebuggerdDumpType dump_type, android::base::unique_fd* out_fd);
Dintercept_manager.cpp196 android::base::unique_fd* out_fd) { in GetIntercept() argument
219 *out_fd = std::move(intercept->output_fd); in GetIntercept()
/system/update_engine/
Dimage_properties_android.cc80 bool OpenMisc(bool write, int* out_fd) { in OpenMisc() argument
102 *out_fd = fd; in OpenMisc()
/system/extras/simpleperf/
Denvironment.cpp670 android::base::unique_fd out_fd; in RunCmdInApp() local
674 out_fd = FileHelper::OpenWriteOnly(output_filepath); in RunCmdInApp()
675 if (out_fd == -1) { in RunCmdInApp()
679 args.insert(args.end(), {"--out-fd", std::to_string(int(out_fd))}); in RunCmdInApp()
Dcmd_record.cpp575 static bool WriteRecordDataToOutFd(const std::string& in_filename, android::base::unique_fd out_fd)… in WriteRecordDataToOutFd() argument
591 if (!android::base::WriteFully(out_fd, buf, n)) { in WriteRecordDataToOutFd()
/system/core/adb/client/
Dcommandline.cpp802 unique_fd out_fd(adb_connect(android::base::StringPrintf("sideload:%d", size), &error)); in adb_sideload_legacy() local
803 if (out_fd < 0) { in adb_sideload_legacy()
809 opt = adb_setsockopt(out_fd, SOL_SOCKET, SO_SNDBUF, &opt, sizeof(opt)); in adb_sideload_legacy()
819 if (!WriteFdExactly(out_fd, buf, xfer)) { in adb_sideload_legacy()
821 adb_status(out_fd, &error); in adb_sideload_legacy()
831 if (!adb_status(out_fd, &error)) { in adb_sideload_legacy()