Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dreturn.h39 uint64_t required_size() const { return required_size_; } in required_size() function
52 Return(ErrorCode error_code, uint64_t required_size = 0)
53 : error_code_(error_code), required_size_(required_size) {} in error_code_()
/system/update_engine/
Ddynamic_partition_control_android_unittest.cc949 bool PreparePartitionsForUpdate(uint64_t* required_size) { in PreparePartitionsForUpdate() argument
951 source(), target(), manifest_, true /* update */, required_size); in PreparePartitionsForUpdate()
960 uint64_t required_size = 0; in TEST_P() local
961 EXPECT_TRUE(PreparePartitionsForUpdate(&required_size)); in TEST_P()
962 EXPECT_EQ(0u, required_size); in TEST_P()
969 uint64_t required_size = 0; in TEST_P() local
970 EXPECT_FALSE(PreparePartitionsForUpdate(&required_size)); in TEST_P()
971 EXPECT_EQ(1_GiB, required_size); in TEST_P()
983 uint64_t required_size = 0; in TEST_P() local
984 EXPECT_TRUE(PreparePartitionsForUpdate(&required_size)); in TEST_P()
[all …]
Ddynamic_partition_control_android.cc404 uint64_t* required_size) { in PreparePartitionsForUpdate() argument
407 if (required_size != nullptr) { in PreparePartitionsForUpdate()
408 *required_size = 0; in PreparePartitionsForUpdate()
462 source_slot, target_slot, manifest, required_size)) { in PreparePartitionsForUpdate()
502 if (required_size != nullptr) { in PreparePartitionsForUpdate()
503 *required_size = 0; in PreparePartitionsForUpdate()
768 uint64_t* required_size) { in PrepareSnapshotPartitionsForUpdate() argument
777 if (required_size != nullptr && in PrepareSnapshotPartitionsForUpdate()
779 *required_size = ret.required_size(); in PrepareSnapshotPartitionsForUpdate()
Ddynamic_partition_control_android.h48 uint64_t* required_size) override;
217 uint64_t* required_size);
Dupdate_attempter_android.cc967 uint64_t required_size = 0; in AllocateSpaceForPayload() local
973 &required_size)) { in AllocateSpaceForPayload()
974 if (required_size == 0) { in AllocateSpaceForPayload()
978 LOG(ERROR) << "Insufficient space for payload: " << required_size in AllocateSpaceForPayload()
980 return required_size; in AllocateSpaceForPayload()
/system/update_engine/common/
Ddynamic_partition_control_stub.h42 uint64_t* required_size) override;
Ddynamic_partition_control_stub.cc50 uint64_t* required_size) { in PreparePartitionsForUpdate() argument
Ddynamic_partition_control_interface.h87 uint64_t* required_size) = 0;
/system/update_engine/payload_consumer/
Ddelta_performer.h205 uint64_t* required_size);
311 bool PreparePartitionsForUpdate(uint64_t* required_size);
Ddelta_performer.cc789 uint64_t required_size = 0; in ParseManifestPartitions() local
790 if (!PreparePartitionsForUpdate(&required_size)) { in ParseManifestPartitions()
791 if (required_size > 0) { in ParseManifestPartitions()
925 bool DeltaPerformer::PreparePartitionsForUpdate(uint64_t* required_size) { in PreparePartitionsForUpdate() argument
937 required_size); in PreparePartitionsForUpdate()
946 uint64_t* required_size) { in PreparePartitionsForUpdate() argument
967 required_size)) { in PreparePartitionsForUpdate()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_test.cpp1685 ASSERT_GE(res.required_size(), 14_MiB); in TEST_F()
1686 ASSERT_LT(res.required_size(), 15_MiB); in TEST_F()