Searched refs:required_size (Results 1 – 11 of 11) sorted by relevance
/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/ |
D | dynamic_partition_control_android_unittest.cc | 949 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 …]
|
D | dynamic_partition_control_android.cc | 404 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()
|
D | dynamic_partition_control_android.h | 48 uint64_t* required_size) override; 217 uint64_t* required_size);
|
D | update_attempter_android.cc | 967 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/ |
D | dynamic_partition_control_stub.h | 42 uint64_t* required_size) override;
|
D | dynamic_partition_control_stub.cc | 50 uint64_t* required_size) { in PreparePartitionsForUpdate() argument
|
D | dynamic_partition_control_interface.h | 87 uint64_t* required_size) = 0;
|
/system/update_engine/payload_consumer/ |
D | delta_performer.h | 205 uint64_t* required_size); 311 bool PreparePartitionsForUpdate(uint64_t* required_size);
|
D | delta_performer.cc | 789 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/ |
D | snapshot_test.cpp | 1685 ASSERT_GE(res.required_size(), 14_MiB); in TEST_F() 1686 ASSERT_LT(res.required_size(), 15_MiB); in TEST_F()
|