Home
last modified time | relevance | path

Searched refs:UpdateBlockDeviceInfo (Results 1 – 3 of 3) sorted by relevance

/system/core/fs_mgr/liblp/include/liblp/
Dbuilder.h279 bool UpdateBlockDeviceInfo(const std::string& partition_name, const BlockDeviceInfo& info);
302 bool UpdateBlockDeviceInfo(size_t index, const BlockDeviceInfo& info);
/system/core/fs_mgr/liblp/
Dbuilder_test.cpp461 TEST_F(BuilderTest, UpdateBlockDeviceInfo) { in TEST_F() argument
476 ASSERT_TRUE(builder->UpdateBlockDeviceInfo("super", device_info)); in TEST_F()
483 ASSERT_TRUE(builder->UpdateBlockDeviceInfo("super", device_info)); in TEST_F()
489 ASSERT_FALSE(builder->UpdateBlockDeviceInfo("super", new_info)); in TEST_F()
494 ASSERT_TRUE(builder->UpdateBlockDeviceInfo("super", new_info)); in TEST_F()
499 ASSERT_FALSE(builder->UpdateBlockDeviceInfo("super", new_info)); in TEST_F()
Dbuilder.cpp151 builder->UpdateBlockDeviceInfo(i, device_info); in New()
882 bool MetadataBuilder::UpdateBlockDeviceInfo(const std::string& partition_name, in UpdateBlockDeviceInfo() function in android::fs_mgr::MetadataBuilder
889 return UpdateBlockDeviceInfo(index, device_info); in UpdateBlockDeviceInfo()
892 bool MetadataBuilder::UpdateBlockDeviceInfo(size_t index, const BlockDeviceInfo& device_info) { in UpdateBlockDeviceInfo() function in android::fs_mgr::MetadataBuilder