Lines Matching full:c_str
225 ALOGE("failed to open \"%s\": %s", uncrypt_path_file.c_str(), strerror(errno));
238 ALOGE("failed to remove the existing map file %s: %s", map_file, err.c_str());
242 unique_fd mapfd(open(tmp_map_file.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR));
244 ALOGE("failed to open %s: %s\n", tmp_map_file.c_str(), strerror(errno));
270 ALOGE("failed to write %s: %s", tmp_map_file.c_str(), strerror(errno));
362 ALOGE("failed to write %s: %s", tmp_map_file.c_str(), strerror(errno));
368 ALOGE("failed to write %s: %s", tmp_map_file.c_str(), strerror(errno));
374 ALOGE("failed to fsync \"%s\": %s", tmp_map_file.c_str(), strerror(errno));
378 ALOGE("failed to close %s: %s", tmp_map_file.c_str(), strerror(errno));
395 if (rename(tmp_map_file.c_str(), map_file) == -1) {
396 ALOGE("failed to rename %s to %s: %s", tmp_map_file.c_str(), map_file, strerror(errno));
402 unique_fd dfd(open(dir_name.c_str(), O_RDONLY | O_DIRECTORY));
404 ALOGE("failed to open dir %s: %s", dir_name.c_str(), strerror(errno));
408 ALOGE("failed to fsync %s: %s", dir_name.c_str(), strerror(errno));
412 ALOGE("failed to close %s: %s", dir_name.c_str(), strerror(errno));
462 ALOGW("failed to write to %s: %s", UNCRYPT_STATUS.c_str(), strerror(errno));
478 input_path = package.c_str();
492 ALOGW("failed to write to %s: %s", UNCRYPT_STATUS.c_str(), strerror(errno));
500 ALOGW("failed to write to %s: %s", UNCRYPT_STATUS.c_str(), strerror(errno));
511 ALOGE("failed to clear bootloader message: %s", err.c_str());
535 ALOGI(" received command: [%s] (%zu)", content.c_str(), content.size());
542 ALOGE("failed to read %s: %s", path.c_str(), strerror(errno));
552 ALOGE("failed to set bootloader message: %s", err.c_str());
557 ALOGE("failed to set wipe package: %s", err.c_str());
576 const char* map_file = CACHE_BLOCK_MAP.c_str();
600 unique_fd service_socket(android_get_control_socket(UNCRYPT_SOCKET.c_str()));
602 ALOGE("failed to open socket \"%s\": %s", UNCRYPT_SOCKET.c_str(), strerror(errno));