Home
last modified time | relevance | path

Searched refs:target_path (Results 1 – 15 of 15) sorted by relevance

/system/update_engine/payload_consumer/
Dverity_writer_android_unittest.cc30 partition_.target_path = temp_file_.path(); in SetUp()
47 test_utils::WriteFileVector(partition_.target_path, part_data); in TEST_F()
52 utils::ReadFile(partition_.target_path, &actual_part); in TEST_F()
85 test_utils::WriteFileVector(partition_.target_path, part_data); in TEST_F()
90 utils::ReadFile(partition_.target_path, &actual_part); in TEST_F()
107 test_utils::WriteFileVector(partition_.target_path, part_data); in TEST_F()
111 utils::ReadFile(partition_.target_path, &actual_part); in TEST_F()
Dverity_writer_android.cc45 utils::SetBlockDeviceReadOnly(partition_->target_path, false); in Init()
85 int fd = HANDLE_EINTR(open(partition_->target_path.c_str(), O_WRONLY)); in Update()
87 PLOG(ERROR) << "Failed to open " << partition_->target_path in Update()
93 LOG(INFO) << "Writing verity hash tree to " << partition_->target_path; in Update()
105 LOG(INFO) << "Writing verity FEC to " << partition_->target_path; in Update()
106 TEST_AND_RETURN_FALSE(EncodeFEC(partition_->target_path, in Update()
Dfilesystem_verifier_action_unittest.cc128 part.target_path = a_dev; in DoTest()
247 part.target_path = "/no/such/file"; in TEST_F()
287 string target_path; in TEST_F() local
289 part_file.path(), true, &target_path); in TEST_F()
294 part.target_path = target_path; in TEST_F()
349 string target_path; in TEST_F() local
351 part_file.path(), true, &target_path); in TEST_F()
357 part.target_path = target_path; in TEST_F()
Dinstall_plan.cc127 partition.name, target_slot, &partition.target_path) && in LoadPartitionsFromSlots()
130 partition.target_path.clear(); in LoadPartitionsFromSlots()
140 target_path == that.target_path && target_size == that.target_size && in operator ==()
Dpostinstall_runner_action.cc117 const string mountable_device = partition.target_path; in PerformPartitionPostinstall()
119 LOG(ERROR) << "Cannot make mountable device from " << partition.target_path; in PerformPartitionPostinstall()
180 << abs_path << ") installed on device " << partition.target_path in PerformPartitionPostinstall()
198 command.push_back(partition.target_path); in PerformPartitionPostinstall()
Ddelta_performer_fuzzer.cc60 .target_path = "/dev/null", in FuzzDeltaPerformer()
Dinstall_plan.h103 std::string target_path; member
Dpostinstall_runner_action_unittest.cc187 part.target_path = device_path; in RunPostinstallAction()
348 part.target_path = "/dev/null"; in TEST_F()
Dfilesystem_verifier_action.cc120 part_path = partition.target_path; in StartPartitionHashing()
Ddelta_performer.cc341 target_path_ = install_part.target_path; in OpenCurrentPartition()
/system/linkerconfig/contents/tests/configuration/include/
Dlinkerconfigparser.h73 std::vector<std::string>* target_path = nullptr; in ParseNamespacePath() local
75 target_path = &current_namespace.search_path; in ParseNamespacePath()
77 target_path = &current_namespace.permitted_path; in ParseNamespacePath()
79 target_path = &current_namespace.asan_search_path; in ParseNamespacePath()
81 target_path = &current_namespace.asan_permitted_path; in ParseNamespacePath()
84 ASSERT_NE(nullptr, target_path) << line; in ParseNamespacePath()
85 EXPECT_EQ(is_additional, target_path->size() != 0) in ParseNamespacePath()
89 target_path->push_back(path); in ParseNamespacePath()
/system/linkerconfig/generator/
Dvariableloader.cc82 Result<std::string> GetRealPath(std::string target_path) { in GetRealPath() argument
84 if (realpath(target_path.c_str(), resolved_path) != nullptr) { in GetRealPath()
88 return ErrnoErrorf("Failed to get realpath from {}", target_path); in GetRealPath()
/system/libufdt/
Dufdt_overlay.c325 const char *target_path; in ufdt_overlay_get_target() local
341 target_path = in ufdt_overlay_get_target()
343 if (target_path == NULL) { in ufdt_overlay_get_target()
347 *target_node = ufdt_get_node_by_path(tree, target_path); in ufdt_overlay_get_target()
349 dto_error("failed to find target-path %s\n", target_path); in ufdt_overlay_get_target()
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc227 const string& target_path = config.target.partitions[i].path; in ApplyPayload() local
229 part_name, install_plan.target_slot, target_path); in ApplyPayload()
241 << " source: " << source_path << "\ttarget: " << target_path; in ApplyPayload()
/system/apex/apexd/
Dapexservice_test.cpp2467 const std::string target_path = in ExecInMountNamespaceOf() local
2470 open(target_path.c_str(), O_RDONLY | O_CLOEXEC)); in ExecInMountNamespaceOf()