Home
last modified time | relevance | path

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

/packages/modules/Virtualization/microdroid/signature/
Dmk_payload.cc239 Result<void> GenerateFiller(const std::string& file_path, const std::string& filler_path) { in GenerateFiller() argument
246 unique_fd fd(TEMP_FAILURE_RETRY(open(filler_path.c_str(), O_CREAT | O_WRONLY | O_TRUNC, 0600))); in GenerateFiller()
248 return ErrnoError() << "open(" << filler_path << ") failed."; in GenerateFiller()
252 return ErrnoError() << "ftruncate(" << filler_path << ") failed."; in GenerateFiller()
255 return ErrnoError() << "lseek(" << filler_path << ") failed."; in GenerateFiller()
258 return ErrnoError() << "write(" << filler_path << ") failed."; in GenerateFiller()
277 std::string filler_path = output_file + "." + std::to_string(filler_count++); in MakePayload() local
278 if (auto ret = GenerateFiller(file_path, filler_path); !ret.ok()) { in MakePayload()
283 .image_file_paths = {file_path, filler_path}, in MakePayload()