Searched refs:dst_path (Results 1 – 2 of 2) sorted by relevance
/art/artd/ |
D | file_utils.cc | 149 for (const auto& [src_path, dst_path] : files_to_move) { in MoveAllOrAbandon() 150 if (committed_files.find(dst_path) != committed_files.end()) { in MoveAllOrAbandon() 151 UnlinkIfExists(dst_path); in MoveAllOrAbandon() 175 for (const auto& [src_path, dst_path] : files_to_move) { in MoveAllOrAbandon() 176 all_files_to_remove.push_back(dst_path); in MoveAllOrAbandon() 212 for (const auto& [src_path, dst_path] : files_to_move) { in MoveAllOrAbandon() 214 std::filesystem::rename(src_path, dst_path, ec); in MoveAllOrAbandon() 216 return Errorf("Failed to move file from '{}' to '{}': {}", src_path, dst_path, ec.message()); in MoveAllOrAbandon() 218 committed_files.insert(dst_path); in MoveAllOrAbandon()
|
D | artd.cc | 667 std::string dst_path = OR_RETURN_FATAL(BuildFinalProfilePath(dst_aidl->profilePath)); in CopyAndRewriteProfileImpl() local 685 OR_RETURN_NON_FATAL(NewFile::Create(dst_path, dst_aidl->fsPermission)); in CopyAndRewriteProfileImpl() 1445 for (const auto& [src_path, dst_path] : files_to_move) { in commitPreRebootStagedFiles() 1446 LOG(INFO) << ART_FORMAT("Committed Pre-reboot staged file '{}' to '{}'", src_path, dst_path); in commitPreRebootStagedFiles()
|