Searched refs:part_size (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/payload_consumer/ |
D | filesystem_verifier_action_unittest.cc | 279 constexpr size_t part_size = 256 * 4096; in TEST_F() local 281 part_data.resize(part_size); in TEST_F() 291 part.target_size = part_size; in TEST_F() 341 constexpr size_t part_size = 256 * 4096; in TEST_F() local 342 brillo::Blob part_data(part_size); in TEST_F() 354 part.target_size = part_size; in TEST_F()
|
D | delta_performer.cc | 149 uint64_t part_size = fd->BlockDevSize(); in DiscardPartitionTail() local 150 if (!part_size || part_size <= data_size) in DiscardPartitionTail() 166 if (fd->BlkIoctl(req.number, data_size, part_size - data_size, &error) && in DiscardPartitionTail() 171 << (part_size - data_size) / 1024 << " KiB using ioctl(" in DiscardPartitionTail()
|
/system/update_engine/payload_generator/ |
D | ab_generator_unittest.cc | 61 const size_t part_size = part_num_blocks * kBlockSize; in TestSplitReplaceOrReplaceBzOperation() local 64 part_data.resize(part_size); in TestSplitReplaceOrReplaceBzOperation() 69 for (uint32_t i = 0; i < part_size; i++) in TestSplitReplaceOrReplaceBzOperation() 72 ASSERT_EQ(part_size, part_data.size()); in TestSplitReplaceOrReplaceBzOperation() 211 const size_t part_size = part_num_blocks * kBlockSize; in TestMergeReplaceOrReplaceBzOperations() local 214 part_data.resize(part_size); in TestMergeReplaceOrReplaceBzOperations() 219 for (uint32_t i = 0; i < part_size; i++) in TestMergeReplaceOrReplaceBzOperations() 222 ASSERT_EQ(part_size, part_data.size()); in TestMergeReplaceOrReplaceBzOperations()
|
/system/core/fastboot/fuzzy_fastboot/ |
D | fixtures.cpp | 298 part_size = strtoll(var.c_str(), nullptr, 16); in SetUp() 299 ASSERT_GT(part_size, 0) << "Partition size reported was invalid"; in SetUp() 305 max_flash = std::min(part_size, max_dl); in SetUp()
|
D | fixtures.h | 124 int64_t part_size; variable
|
D | main.cpp | 1073 if (max_flash < part_size) { in TEST_P()
|
/system/update_engine/scripts/update_payload/ |
D | applier.py | 244 def _ApplyReplaceOperation(self, op, op_name, out_data, part_file, part_size): argument 282 if (start_block + num_blocks) * block_size > part_size: 286 part_size)) 520 new_part_file, part_size): argument 543 self._ApplyReplaceOperation(op, op_name, data, new_part_file, part_size)
|
D | test_utils.py | 176 def SetPartInfo(self, is_kernel, is_new, part_size, part_hash): argument 191 _SetMsgField(part_info, 'size', part_size)
|