Home
last modified time | relevance | path

Searched refs:source_path (Results 1 – 17 of 17) sorted by relevance

/system/core/sdcard/
Dsdcard.cpp101 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 static bool sdcardfs_setup_bind_remount(const std::string& source_path, const std::string& dest_pat… 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()
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()
166 static void run_sdcardfs(const std::string& source_path, const std::string& label, uid_t uid, in run_sdcardfs() argument
178 if (!sdcardfs_setup(source_path, dest_path_default, uid, gid, multi_user, userid, in run_sdcardfs()
181 !sdcardfs_setup_secondary(dest_path_default, source_path, dest_path_read, uid, gid, in run_sdcardfs()
[all …]
/system/update_engine/payload_consumer/
Dvabc_partition_writer.cc64 std::optional<std::string> source_path; in Init() local
65 if (!install_part_.source_path.empty()) { in Init()
67 source_path = install_part_.source_path; in Init()
70 install_part_.name, source_path, install_plan->is_resume); in Init()
Dinstall_plan.cc114 {"source_path", partition.source_path}, in ToString()
158 partition.name, source_slot, &partition.source_path)); in LoadPartitionsFromSlots()
160 partition.source_path.clear(); in LoadPartitionsFromSlots()
179 return (name == that.name && source_path == that.source_path && in operator ==()
Dinstall_plan_unittest.cc38 .source_path = "foo-source-path", in TEST()
Dfilesystem_verifier_action.cc175 dynamic_control_->OpenCowFd(partition.name, partition.source_path, true); in InitializeFdVABC()
178 << partition.source_path << ") failed."; in InitializeFdVABC()
399 return partition.source_path; in GetPartitionPath()
477 << partition.source_path in FinishPartitionHashing()
Ddelta_performer_fuzzer.cc58 .source_path = "/dev/zero", in FuzzDeltaPerformer()
Dfilesystem_verifier_action_unittest.cc122 part.source_path = source_part_.path(); in AddFakePartition()
294 part.source_path = a_dev; in DoTest()
407 part.source_path = "/no/such/file"; in TEST_F()
583 ON_CALL(dynamic_control, OpenCowFd(part.name, {part.source_path}, _)) in DoTestVABC()
585 EXPECT_CALL(dynamic_control, OpenCowFd(part.name, {part.source_path}, _)) in DoTestVABC()
597 EXPECT_CALL(dynamic_control, OpenCowFd(part.name, {part.source_path}, _)) in DoTestVABC()
Dinstall_plan.h101 std::string source_path; member
Ddelta_performer_unittest.cc281 const string& source_path, in ApplyPayload() argument
284 &performer_, payload_data, source_path, brillo::Blob(), expect_success); in ApplyPayload()
287 const string& source_path, in ApplyPayloadToData() argument
291 &performer_, payload_data, source_path, target_data, expect_success); in ApplyPayloadToData()
301 const string& source_path, in ApplyPayloadToData() argument
313 kPartitionNameRoot, install_plan_.source_slot, source_path); in ApplyPayloadToData()
Dpartition_writer.cc262 if (install_part_.source_size > 0 && !install_part_.source_path.empty()) { in OpenSourcePartition()
263 source_path_ = install_part_.source_path; in OpenSourcePartition()
605 std::string path = install_part.source_path; in OpenCurrentECCPartition()
Dpartition_writer_unittest.cc93 install_part_.source_path = source_partition.path(); in PerformSourceCopyOp()
/system/update_engine/aosp/
Dmock_dynamic_partition_control_android.h94 const std::optional<std::string>& source_path,
100 const std::optional<std::string>& source_path,
Ddynamic_partition_control_android.cc1404 const std::optional<std::string>& source_path, in OpenCowWriter() argument
1420 return snapshot_->OpenSnapshotWriter(params, std::move(source_path)); in OpenCowWriter()
1425 const std::optional<std::string>& source_path, in OpenCowFd() argument
1428 OpenCowWriter(unsuffixed_partition_name, source_path, is_append); in OpenCowFd()
Ddynamic_partition_control_android.h105 const std::optional<std::string>& source_path,
/system/update_engine/common/
Dmock_dynamic_partition_control.h42 const std::optional<std::string>& source_path,
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc206 string source_path; in ApplyPayload() local
210 source_path = config.source.partitions[i].path; in ApplyPayload()
212 part_name, install_plan.source_slot, source_path); in ApplyPayload()
216 << " source: " << source_path << "\ttarget: " << target_path; in ApplyPayload()
/system/update_engine/
Ddownload_action_android_unittest.cc154 install_part.source_path = partition_file.path(); in TEST_F()