Lines Matching refs:c_str
131 error = writer->StartEntry(name.c_str(), 0); in zipFilesToFd()
137 TEMP_FAILURE_RETRY(open(filepath.c_str(), O_RDONLY | O_NOFOLLOW))); in zipFilesToFd()
150 ALOGE("timed out while reading %s", name.c_str()); in zipFilesToFd()
200 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(zip_path.c_str(), O_RDONLY | O_NOFOLLOW))); in copyFile()
202 ALOGE("Failed to open zip file %s.", zip_path.c_str()); in copyFile()
212 ALOGE("Failed to copy zip file %s to the output_socket.", zip_path.c_str()); in copyFile()
384 std::vector<const char*> args{"-p", "-d", id_as_string.c_str(), filename.c_str(), nullptr}; in takeScreenshotForDisplayId()
385 ALOGI("capturing screen for display (%s) as %s", id_as_string.c_str(), filename.c_str()); in takeScreenshotForDisplayId()
388 ALOGI("Screenshot saved for display: %s", id_as_string.c_str()); in takeScreenshotForDisplayId()
390 ALOGW("Failed to take screenshot for display: %s", id_as_string.c_str()); in takeScreenshotForDisplayId()
421 return nftw(path.c_str(), callback, 128, FTW_DEPTH) == 0; in recursiveRemoveDir()
443 if (unlink(zip_path.c_str()) != 0) { in cleanupBugreportFile()
444 ALOGE("Could not unlink %s (%s)", zip_path.c_str(), strerror(errno)); in cleanupBugreportFile()
494 ALOGI("bugreport %s in %.02fs, %zu bytes written", result.c_str(), delta_sec, bytes_written); in main()