Searched refs:dest_path (Results 1 – 2 of 2) sorted by relevance
/system/core/sdcard/ |
D | sdcard.cpp | 101 static bool sdcardfs_setup(const std::string& source_path, const std::string& dest_path, in sdcardfs_setup() argument 121 if (mount(source_path.c_str(), dest_path.c_str(), use_esdfs ? "esdfs" : "sdcardfs", in sdcardfs_setup() 132 …atic bool sdcardfs_setup_bind_remount(const std::string& source_path, const std::string& dest_path, in sdcardfs_setup_bind_remount() argument 136 if (mount(source_path.c_str(), dest_path.c_str(), nullptr, in sdcardfs_setup_bind_remount() 142 if (mount(source_path.c_str(), dest_path.c_str(), "none", in sdcardfs_setup_bind_remount() 145 if (umount2(dest_path.c_str(), MNT_DETACH)) in sdcardfs_setup_bind_remount() 154 const std::string& source_path, const std::string& dest_path, in sdcardfs_setup_secondary() argument 159 return sdcardfs_setup(source_path, dest_path, fsuid, fsgid, multi_user, userid, gid, mask, in sdcardfs_setup_secondary() 162 return sdcardfs_setup_bind_remount(default_path, dest_path, gid, mask); in sdcardfs_setup_secondary()
|
/system/apex/apexd/ |
D | apexd.cpp | 884 const auto& dest_path = backup_path_fn(*apex_file); in BackupActivePackages() local 885 if (link(apex_file->GetPath().c_str(), dest_path.c_str()) != 0) { in BackupActivePackages() 1495 std::string dest_path = StageDestPath(*apex_file); in FilterUnnecessaryStagingPaths() local 1496 if (access(dest_path.c_str(), F_OK) == 0) { in FilterUnnecessaryStagingPaths() 1497 LOG(DEBUG) << dest_path << " already exists. Skipping"; in FilterUnnecessaryStagingPaths() 1572 std::string dest_path = StageDestPath(*apex_file); in stagePackages() local 1574 if (link(apex_file->GetPath().c_str(), dest_path.c_str()) != 0) { in stagePackages() 1578 << dest_path); in stagePackages() 1580 staged_files.insert(dest_path); in stagePackages() 1584 << dest_path; in stagePackages()
|