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/aosp/
Ddynamic_partition_control_android_unittest.cc1046 bool PreparePartitionsForUpdate(uint64_t* required_size) { in PreparePartitionsForUpdate() argument
1051 required_size, in PreparePartitionsForUpdate()
1062 uint64_t required_size = 0; in TEST_P() local
1063 EXPECT_TRUE(PreparePartitionsForUpdate(&required_size)); in TEST_P()
1064 EXPECT_EQ(0u, required_size); in TEST_P()
1071 uint64_t required_size = 0; in TEST_P() local
1074 EXPECT_FALSE(PreparePartitionsForUpdate(&required_size)); in TEST_P()
1075 EXPECT_EQ(1_GiB, required_size); in TEST_P()
1091 uint64_t required_size = 0; in TEST_P() local
1092 EXPECT_TRUE(PreparePartitionsForUpdate(&required_size)); in TEST_P()
[all …]
Ddynamic_partition_control_android.cc453 uint64_t* required_size, in PreparePartitionsForUpdate() argument
457 if (required_size != nullptr) { in PreparePartitionsForUpdate()
458 *required_size = 0; in PreparePartitionsForUpdate()
519 source_slot, target_slot, manifest, required_size)) { in PreparePartitionsForUpdate()
559 if (required_size != nullptr) { in PreparePartitionsForUpdate()
560 *required_size = 0; in PreparePartitionsForUpdate()
958 uint64_t* required_size) { in PrepareSnapshotPartitionsForUpdate() argument
983 if (required_size != nullptr && in PrepareSnapshotPartitionsForUpdate()
985 *required_size = ret.required_size(); in PrepareSnapshotPartitionsForUpdate()
Ddynamic_partition_control_android.h58 uint64_t* required_size,
262 uint64_t* required_size);
Dupdate_attempter_android.cc1240 uint64_t required_size = 0; in AllocateSpaceForPayload() local
1248 &required_size, in AllocateSpaceForPayload()
1258 if (required_size == 0) { in AllocateSpaceForPayload()
1263 LOG(ERROR) << "Insufficient space for payload: " << required_size in AllocateSpaceForPayload()
1266 return required_size + apex_size_required; in AllocateSpaceForPayload()
/system/update_engine/payload_consumer/
Ddelta_performer.h192 uint64_t* required_size,
311 bool PreparePartitionsForUpdate(uint64_t* required_size,
Ddelta_performer.cc787 uint64_t required_size = 0; in ParseManifestPartitions() local
788 if (!PreparePartitionsForUpdate(&required_size, error)) { in ParseManifestPartitions()
791 } else if (required_size > 0) { in ParseManifestPartitions()
869 bool DeltaPerformer::PreparePartitionsForUpdate(uint64_t* required_size, in PreparePartitionsForUpdate() argument
882 required_size, in PreparePartitionsForUpdate()
892 uint64_t* required_size, in PreparePartitionsForUpdate() argument
916 required_size, in PreparePartitionsForUpdate()
/system/update_engine/common/
Ddynamic_partition_control_stub.h46 uint64_t* required_size,
Ddynamic_partition_control_stub.cc65 uint64_t* required_size, in PreparePartitionsForUpdate() argument
Ddynamic_partition_control_interface.h109 uint64_t* required_size,
/system/apex/apexd/
Dapexservice.cpp117 int64_t* required_size) override;
274 int64_t* required_size) { in calculateSizeForCompressedApex() argument
282 *required_size = ::android::apex::CalculateSizeForCompressedApex( in calculateSizeForCompressedApex()
289 int64_t required_size; in reserveSpaceForCompressedApex() local
291 &required_size); in reserveSpaceForCompressedApex()
295 if (auto res = ReserveSpaceForCompressedApex(required_size, kOtaReservedDir); in reserveSpaceForCompressedApex()