Searched refs:part_size (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/payload_generator/ |
D | ab_generator_unittest.cc | 61 const size_t part_size = part_num_blocks * kBlockSize; in TestSplitReplaceOrReplaceXzOperation() local 64 part_data.resize(part_size); in TestSplitReplaceOrReplaceXzOperation() 69 for (uint32_t i = 0; i < part_size; i++) in TestSplitReplaceOrReplaceXzOperation() 72 ASSERT_EQ(part_size, part_data.size()); in TestSplitReplaceOrReplaceXzOperation() 209 const size_t part_size = part_num_blocks * kBlockSize; in TestMergeReplaceOrReplaceXzOperations() local 212 part_data.resize(part_size); in TestMergeReplaceOrReplaceXzOperations() 217 for (uint32_t i = 0; i < part_size; i++) in TestMergeReplaceOrReplaceXzOperations() 220 ASSERT_EQ(part_size, part_data.size()); in TestMergeReplaceOrReplaceXzOperations()
|
/system/update_engine/scripts/update_payload/ |
D | applier.py | 231 def _ApplyReplaceOperation(self, op, op_name, out_data, part_file, part_size): argument 267 if (start_block + num_blocks) * block_size > part_size: 271 part_size)) 485 new_part_file, part_size): argument 504 self._ApplyReplaceOperation(op, op_name, data, new_part_file, part_size)
|
D | test_utils.py | 177 def SetPartInfo(self, part_name, is_new, part_size, part_hash): argument 194 _SetMsgField(part_info, 'size', part_size)
|
/system/core/fastboot/fuzzy_fastboot/ |
D | fixtures.cpp | 332 part_size = strtoll(var.c_str(), nullptr, 16); in SetUp() 333 ASSERT_GT(part_size, 0) << "Partition size reported was invalid"; in SetUp() 339 max_flash = std::min(part_size, max_dl); in SetUp()
|
D | fixtures.h | 127 int64_t part_size; variable
|
D | main.cpp | 1105 if (max_flash < part_size) { in TEST_P()
|
/system/update_engine/payload_consumer/ |
D | partition_writer.cc | 56 uint64_t part_size = fd->BlockDevSize(); in DiscardPartitionTail() local 57 if (!part_size || part_size <= data_size) in DiscardPartitionTail() 73 if (fd->BlkIoctl(req.number, data_size, part_size - data_size, &error) && in DiscardPartitionTail() 78 << (part_size - data_size) / 1024 << " KiB using ioctl(" in DiscardPartitionTail()
|
D | filesystem_verifier_action_unittest.cc | 444 constexpr size_t part_size = 256 * 4096; in TEST_F() local 446 part_data.resize(part_size); in TEST_F() 455 part.target_size = part_size; in TEST_F() 505 constexpr size_t part_size = 256 * 4096; in TEST_F() local 506 brillo::Blob part_data(part_size); in TEST_F() 517 part.target_size = part_size; in TEST_F()
|