Searched refs:part_file (Results 1 – 5 of 5) sorted by relevance
/system/update_engine/scripts/ |
D | brillo_update_payload | 451 local part_file="$4" 464 extract_file "${image}" "${path_in_zip}/${part}.img" "${part_file}" 468 local magic=$(xxd -p -l4 "${part_file}") 472 mv "${part_file}" "${temp_sparse}" 473 simg2img "${temp_sparse}" "${part_file}" 486 local filesize=$(stat -c%s "${part_file}") 495 truncate_file "${part_file}" "${filesize}" 586 local part_file=$(create_tempfile "${part}.img.XXXXXX") 588 CLEANUP_FILES+=("${part_file}" "${part_map_file}") 591 "${part_file}" "${part_map_file}" & [all …]
|
/system/update_engine/scripts/update_payload/ |
D | applier.py | 231 def _ApplyReplaceOperation(self, op, op_name, out_data, part_file, part_size): argument 284 part_file.seek(start_block * block_size) 285 part_file.write(out_data[data_start:data_end]) 294 def _ApplyZeroOperation(self, op, op_name, part_file): argument 311 part_file.seek(ex.start_block * block_size) 312 part_file.write(b'\0' * (ex.num_blocks * block_size))
|
/system/update_engine/payload_generator/ |
D | ab_generator_unittest.cc | 73 ScopedTempFile part_file("SplitReplaceOrReplaceXzTest_part.XXXXXX"); in TestSplitReplaceOrReplaceXzOperation() local 74 ASSERT_TRUE(test_utils::WriteFileVector(part_file.path(), part_data)); in TestSplitReplaceOrReplaceXzOperation() 122 version, aop, part_file.path(), &result_ops, &blob_file)); in TestSplitReplaceOrReplaceXzOperation() 221 ScopedTempFile part_file("MergeReplaceOrReplaceXzTest_part.XXXXXX"); in TestMergeReplaceOrReplaceXzOperations() local 222 ASSERT_TRUE(test_utils::WriteFileVector(part_file.path(), part_data)); in TestMergeReplaceOrReplaceXzOperations() 283 &aops, version, 5, part_file.path(), &blob_file)); in TestMergeReplaceOrReplaceXzOperations()
|
D | delta_diff_utils_unittest.cc | 72 ScopedTempFile* part_file, in CreatePartition() argument 75 part->path = part_file->path(); in CreatePartition() 76 ASSERT_EQ(0, ftruncate(part_file->fd(), size)); in CreatePartition() 77 part_file->CloseFd(); in CreatePartition()
|
/system/update_engine/payload_consumer/ |
D | filesystem_verifier_action_unittest.cc | 442 ScopedTempFile part_file("part_file.XXXXXX"); in TEST_F() local 447 ASSERT_TRUE(test_utils::WriteFileVector(part_file.path(), part_data)); in TEST_F() 450 part_file.path(), true, &target_path); in TEST_F() 503 ScopedTempFile part_file("part_file.XXXXXX"); in TEST_F() local 508 ASSERT_TRUE(test_utils::WriteFileVector(part_file.path(), part_data)); in TEST_F() 511 part_file.path(), true, &target_path); in TEST_F()
|