Home
last modified time | relevance | path

Searched refs:part_path (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/payload_consumer/
Dfilesystem_verifier_action.cc209 bool FilesystemVerifierAction::InitializeFd(const std::string& part_path) { in InitializeFd() argument
213 if (!utils::SetBlockDeviceReadOnly(part_path, !write_verity)) { in InitializeFd()
214 LOG(WARNING) << "Failed to set block device " << part_path << " as " in InitializeFd()
217 if (!partition_fd_->Open(part_path.c_str(), flags)) { in InitializeFd()
218 LOG(ERROR) << "Unable to open " << part_path << " for reading."; in InitializeFd()
377 const auto& part_path = GetPartitionPath(); in StartPartitionHashing() local
381 << partition.name << ") on device " << part_path; in StartPartitionHashing()
386 if (part_path.empty()) { in StartPartitionHashing()
400 success = InitializeFd(part_path); in StartPartitionHashing()
Dfilesystem_verifier_action.h131 bool InitializeFd(const std::string& part_path);
/system/update_engine/payload_generator/
Ddeflate_utils.cc66 bool IsSquashfsImage(const string& part_path, in IsSquashfsImage() argument
74 utils::ReadFileChunk(part_path, in IsSquashfsImage()
Ddelta_diff_utils_unittest.cc50 bool WriteExtents(const string& part_path, in WriteExtents() argument
55 base::ScopedFILE fp(fopen(part_path.c_str(), "r+")); in WriteExtents()