Home
last modified time | relevance | path

Searched refs:required_size (Results 1 – 13 of 13) 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/aosp/
Ddynamic_partition_control_android_unittest.cc1043 bool PreparePartitionsForUpdate(uint64_t* required_size) { in PreparePartitionsForUpdate() argument
1045 source(), target(), manifest_, true /* update */, required_size); in PreparePartitionsForUpdate()
1055 uint64_t required_size = 0; in TEST_P() local
1056 EXPECT_TRUE(PreparePartitionsForUpdate(&required_size)); in TEST_P()
1057 EXPECT_EQ(0u, required_size); in TEST_P()
1064 uint64_t required_size = 0; in TEST_P() local
1067 EXPECT_FALSE(PreparePartitionsForUpdate(&required_size)); in TEST_P()
1068 EXPECT_EQ(1_GiB, required_size); in TEST_P()
1084 uint64_t required_size = 0; in TEST_P() local
1085 EXPECT_TRUE(PreparePartitionsForUpdate(&required_size)); in TEST_P()
[all …]
Ddynamic_partition_control_android.cc432 uint64_t* required_size) { in PreparePartitionsForUpdate() argument
435 if (required_size != nullptr) { in PreparePartitionsForUpdate()
436 *required_size = 0; in PreparePartitionsForUpdate()
490 source_slot, target_slot, manifest, required_size)) { in PreparePartitionsForUpdate()
530 if (required_size != nullptr) { in PreparePartitionsForUpdate()
531 *required_size = 0; in PreparePartitionsForUpdate()
928 uint64_t* required_size) { in PrepareSnapshotPartitionsForUpdate() argument
953 if (required_size != nullptr && in PrepareSnapshotPartitionsForUpdate()
955 *required_size = ret.required_size(); in PrepareSnapshotPartitionsForUpdate()
Ddynamic_partition_control_android.h56 uint64_t* required_size) override;
259 uint64_t* required_size);
Dupdate_attempter_android.cc1010 uint64_t required_size = 0; in AllocateSpaceForPayload() local
1016 &required_size)) { in AllocateSpaceForPayload()
1017 if (required_size == 0) { in AllocateSpaceForPayload()
1021 LOG(ERROR) << "Insufficient space for payload: " << required_size in AllocateSpaceForPayload()
1024 return required_size + apex_size_required; in AllocateSpaceForPayload()
/system/update_engine/common/
Ddynamic_partition_control_stub.cc55 uint64_t* required_size) { in PreparePartitionsForUpdate() argument
Ddynamic_partition_control_stub.h43 uint64_t* required_size) override;
Ddynamic_partition_control_interface.h104 uint64_t* required_size) = 0;
/system/update_engine/payload_consumer/
Ddelta_performer.h203 uint64_t* required_size);
316 bool PreparePartitionsForUpdate(uint64_t* required_size);
Ddelta_performer.cc638 uint64_t required_size = 0; in ParseManifestPartitions() local
639 if (!PreparePartitionsForUpdate(&required_size)) { in ParseManifestPartitions()
640 if (required_size > 0) { in ParseManifestPartitions()
775 bool DeltaPerformer::PreparePartitionsForUpdate(uint64_t* required_size) { in PreparePartitionsForUpdate() argument
787 required_size); in PreparePartitionsForUpdate()
796 uint64_t* required_size) { in PreparePartitionsForUpdate() argument
818 required_size)) { in PreparePartitionsForUpdate()
/system/apex/apexd/
Dapexservice.cpp111 int64_t* required_size) override;
233 int64_t* required_size) { in calculateSizeForCompressedApex() argument
234 *required_size = 0; in calculateSizeForCompressedApex()
240 *required_size += apex_info.decompressedSize; in calculateSizeForCompressedApex()
248 int64_t required_size; in reserveSpaceForCompressedApex() local
250 &required_size); in reserveSpaceForCompressedApex()
254 if (auto res = ReserveSpaceForCompressedApex(required_size, kOtaReservedDir); in reserveSpaceForCompressedApex()
Dapexservice_test.cpp3122 int64_t required_size; in TEST_F() local
3124 &required_size))); in TEST_F()
3125 ASSERT_EQ(required_size, in TEST_F()
3132 EXPECT_EQ((int64_t)fs::file_size((*files)[0]), required_size); in TEST_F()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_test.cpp2025 ASSERT_GE(res.required_size(), 14_MiB); in TEST_F()
2026 ASSERT_LT(res.required_size(), 40_MiB); in TEST_F()