/system/core/libcutils/ |
H A D | fs_config.cpp | 249 fd = TEMP_FAILURE_RETRY(open(name, O_RDONLY | O_BINARY)); 254 fd = TEMP_FAILURE_RETRY(open(conf[which][dir], O_RDONLY | O_BINARY)); 322 while (TEMP_FAILURE_RETRY(read(fd, &header, sizeof(header))) == sizeof(header)) { 335 if (TEMP_FAILURE_RETRY(read(fd, prefix, remainder)) != remainder) {
|
/system/core/libmemunreachable/ |
H A D | PtracerThread.cpp | 120 int ret = TEMP_FAILURE_RETRY(waitpid(child_pid_, &status, __WALL));
|
/system/core/libmemunreachable/tests/ |
H A D | Binder_test.cpp | 83 if (TEMP_FAILURE_RETRY(waitpid(child_, &status, 0)) != child_) {
|
/system/core/logd/ |
H A D | LogTags.cpp | 91 fd = TEMP_FAILURE_RETRY(open( 108 TEMP_FAILURE_RETRY(close(fd)); 495 int fd = TEMP_FAILURE_RETRY(open(name, mode)); 518 pmsg_fd = TEMP_FAILURE_RETRY(open("/dev/pmsg0", O_WRONLY | O_CLOEXEC)); 581 TEMP_FAILURE_RETRY(writev(pmsg_fd, Vec, arraysize(Vec))); 584 TEMP_FAILURE_RETRY(writev(pmsg_fd, Vec, arraysize(Vec))); 588 TEMP_FAILURE_RETRY(writev(pmsg_fd, Vec, arraysize(Vec))); 604 TEMP_FAILURE_RETRY(close(fd)); 628 TEMP_FAILURE_RETRY(close(fd));
|
/system/extras/verity/fec/ |
H A D | image.cpp | 159 int fd = TEMP_FAILURE_RETRY(open(fn.c_str(), flags | O_LARGEFILE)); 176 int fd = TEMP_FAILURE_RETRY(open(filename.c_str(), 214 int fd = TEMP_FAILURE_RETRY(open(filename.c_str(), O_RDONLY)); 315 int fd = TEMP_FAILURE_RETRY(open(ctx->fec_filename,
|
/system/vold/ |
H A D | FileDeviceUtils.cpp | 73 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(
|
H A D | PrivateVolume.cpp | 169 if (TEMP_FAILURE_RETRY(rmdir(mPath.c_str()))) {
|
H A D | Utils.cpp | 92 if (TEMP_FAILURE_RETRY(unlink(cpath))) { 359 int fd = TEMP_FAILURE_RETRY(open("/dev/urandom", O_RDONLY | O_CLOEXEC | O_NOFOLLOW)); 365 while ((n = TEMP_FAILURE_RETRY(read(fd, &buf[0], bytes))) > 0) { 547 int fd = TEMP_FAILURE_RETRY(open(c_path, O_RDWR | O_CLOEXEC));
|
H A D | secdiscard.cpp | 108 android::base::unique_fd fs_fd(TEMP_FAILURE_RETRY(open(
|
/system/core/liblog/ |
H A D | pmsg_writer.c | 58 fd = TEMP_FAILURE_RETRY(open("/dev/pmsg0", O_WRONLY | O_CLOEXEC)); 172 ret = TEMP_FAILURE_RETRY(
|
H A D | pmsg_reader.c | 177 ret = TEMP_FAILURE_RETRY( 216 ret = TEMP_FAILURE_RETRY( 245 current = TEMP_FAILURE_RETRY(lseek(fd, (off_t)0, SEEK_CUR)); 253 next = TEMP_FAILURE_RETRY(
|
/system/extras/simpleperf/ |
H A D | UnixSocket.cpp | 134 TEMP_FAILURE_RETRY(send(fd_, write_data, write_data_size, MSG_NOSIGNAL)); 164 TEMP_FAILURE_RETRY(read(fd_, &read_buffer_[read_buffer_size_],
|
/system/netd/server/ |
H A D | IptablesRestoreController.cpp | 278 int numEvents = TEMP_FAILURE_RETRY( 298 size = TEMP_FAILURE_RETRY(read(pollfd.fd, buffer, sizeof(buffer)));
|
H A D | ndc.cpp | 134 rc = TEMP_FAILURE_RETRY(select(sock +1, &read_fds, NULL, NULL, &to));
|
/system/core/adb/ |
H A D | jdwp_service.cpp | 226 ssize_t rc = TEMP_FAILURE_RETRY(recv(socket, buf, PID_LEN, 0)); 247 int len = TEMP_FAILURE_RETRY(recv(socket, buf, sizeof(buf), 0)); 300 int ret = TEMP_FAILURE_RETRY(sendmsg(proc->socket, &msg, 0));
|
H A D | framebuffer_service.cpp | 185 TEMP_FAILURE_RETRY(waitpid(pid, NULL, 0));
|
/system/bt/hci/src/ |
H A D | hci_layer_android.cc | 169 TEMP_FAILURE_RETRY(write(fd, packet->data, packet->len));
|
/system/bt/vendor_libs/test_vendor_lib/test/ |
H A D | async_manager_unittest.cc | 71 int n = TEMP_FAILURE_RETRY(read(fd, server_buffer_, kBufferSize - 1));
|
/system/core/debuggerd/handler/ |
H A D | debuggerd_fallback.cpp | 115 ssize_t rc = TEMP_FAILURE_RETRY(read(src_fd, buf, sizeof(buf)));
|
/system/core/init/ |
H A D | descriptors.cpp | 112 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(name().c_str(),
|
H A D | ueventd.cpp | 180 pid_t pid = TEMP_FAILURE_RETRY(waitpid(-1, &status, 0));
|
/system/core/libprocinfo/ |
H A D | process_test.cpp | 98 TEMP_FAILURE_RETRY(read(pipefd[0], &buf, 1));
|
/system/core/libsysutils/src/ |
H A D | FrameworkListener.cpp | 60 len = TEMP_FAILURE_RETRY(read(c->getSocket(), buffer, sizeof(buffer)));
|
/system/core/libunwindstack/tests/ |
H A D | MemoryRemoteTest.cpp | 55 while (TEMP_FAILURE_RETRY(ptrace(PTRACE_GETSIGINFO, pid, 0, &si)) < 0 && errno == ESRCH) {
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
H A D | async_manager.cc | 184 if (TEMP_FAILURE_RETRY(write(notification_write_fd_, &buffer, 1)) < 0) { 212 while (TEMP_FAILURE_RETRY(read(notification_listen_fd_, buffer,
|