/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | return.h | 39 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/ |
D | dynamic_partition_control_android_unittest.cc | 1043 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 …]
|
D | dynamic_partition_control_android.cc | 432 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()
|
D | dynamic_partition_control_android.h | 56 uint64_t* required_size) override; 259 uint64_t* required_size);
|
D | update_attempter_android.cc | 1010 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/ |
D | dynamic_partition_control_stub.cc | 55 uint64_t* required_size) { in PreparePartitionsForUpdate() argument
|
D | dynamic_partition_control_stub.h | 43 uint64_t* required_size) override;
|
D | dynamic_partition_control_interface.h | 104 uint64_t* required_size) = 0;
|
/system/update_engine/payload_consumer/ |
D | delta_performer.h | 203 uint64_t* required_size); 316 bool PreparePartitionsForUpdate(uint64_t* required_size);
|
D | delta_performer.cc | 638 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/ |
D | apexservice.cpp | 111 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()
|
D | apexservice_test.cpp | 3122 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/ |
D | snapshot_test.cpp | 2025 ASSERT_GE(res.required_size(), 14_MiB); in TEST_F() 2026 ASSERT_LT(res.required_size(), 40_MiB); in TEST_F()
|