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.cc185 bool FilesystemVerifierAction::InitializeFd(const std::string& part_path) { in InitializeFd() argument
189 if (!utils::SetBlockDeviceReadOnly(part_path, !write_verity)) { in InitializeFd()
190 LOG(WARNING) << "Failed to set block device " << part_path << " as " in InitializeFd()
193 if (!partition_fd_->Open(part_path.c_str(), flags)) { in InitializeFd()
194 LOG(ERROR) << "Unable to open " << part_path << " for reading."; in InitializeFd()
327 const auto& part_path = GetPartitionPath(); in StartPartitionHashing() local
331 << partition.name << ") on device " << part_path; in StartPartitionHashing()
336 if (part_path.empty()) { in StartPartitionHashing()
350 success = InitializeFd(part_path); in StartPartitionHashing()
Dfilesystem_verifier_action.h129 bool InitializeFd(const std::string& part_path);
/system/update_engine/payload_generator/
Ddeflate_utils.cc60 bool IsSquashfsImage(const string& part_path, in IsSquashfsImage() argument
68 utils::ReadFileChunk(part_path, in IsSquashfsImage()
Ddelta_diff_utils_unittest.cc46 bool WriteExtents(const string& part_path, in WriteExtents() argument
51 base::ScopedFILE fp(fopen(part_path.c_str(), "r+")); in WriteExtents()