Lines Matching refs:errno
80 ALOGE("android_get_control_socket(%s): %s", service, strerror(errno)); in openSocket()
85 ALOGE("listen(control socket): %s", strerror(errno)); in openSocket()
93 ALOGE("accept(control socket): %s", strerror(errno)); in openSocket()
148 if (errno == EAGAIN) { in zipFilesToFd()
151 ALOGE("read terminated abnormally (%s)", strerror(errno)); in zipFilesToFd()
183 if (errno == EAGAIN) { in copyTo()
186 ALOGE("read terminated abnormally (%s)", strerror(errno)); in copyTo()
240 ALOGW("Cannot set socket timeout (%s)", strerror(errno)); in doBugreport()
284 ALOGE("*** sigprocmask failed: %s\n", strerror(errno)); in waitpid_with_timeout()
290 int saved_errno = errno; in waitpid_with_timeout()
294 ALOGE("*** sigprocmask failed: %s\n", strerror(errno)); in waitpid_with_timeout()
300 errno = saved_errno; in waitpid_with_timeout()
301 if (errno == EAGAIN) { in waitpid_with_timeout()
302 errno = ETIMEDOUT; in waitpid_with_timeout()
304 ALOGE("*** sigtimedwait failed: %s\n", strerror(errno)); in waitpid_with_timeout()
314 ALOGE("*** waitpid failed: %s\n", strerror(errno)); in waitpid_with_timeout()
327 ALOGE("fork failed %s", strerror(errno)); in runCommand()
345 ALOGE("execvp on command %s failed (error: %s)", file, strerror(errno)); in runCommand()
354 if (errno == ETIMEDOUT) { in runCommand()
408 ALOGE("rmdir(%s): %s", child, strerror(errno)); in recursiveRemoveDir()
413 ALOGE("unlink(%s): %s", child, strerror(errno)); in recursiveRemoveDir()
427 return -errno; in createTempDir()
429 } else if (errno != ENOENT) { in createTempDir()
431 return -errno; in createTempDir()
435 return -errno; in createTempDir()
443 ALOGE("Could not unlink %s (%s)", zip_path.c_str(), strerror(errno)); in cleanupBugreportFile()