Home
last modified time | relevance | path

Searched refs:vbmeta_name (Results 1 – 8 of 8) sorted by relevance

/system/core/fs_mgr/libvbmeta/
Dbuilder.cpp41 for (const auto& [vbmeta_name, file_path] : images_path_) { in Build()
47 Result<uint8_t> vbmeta_index = AddVBMetaImage(vbmeta_name); in Build()
91 Result<uint8_t> SuperVBMetaBuilder::AddVBMetaImage(const std::string& vbmeta_name) { in AddVBMetaImage() argument
94 [&vbmeta_name](const auto& entry) { return entry.vbmeta_name == vbmeta_name; }); in AddVBMetaImage()
109 new_desc.vbmeta_name_length = vbmeta_name.length(); in AddVBMetaImage()
110 new_desc.vbmeta_name = vbmeta_name; in AddVBMetaImage()
121 void SuperVBMetaBuilder::DeleteVBMetaImage(const std::string& vbmeta_name) { in DeleteVBMetaImage() argument
124 [&vbmeta_name](const auto& entry) { return entry.vbmeta_name == vbmeta_name; }); in DeleteVBMetaImage()
Dbuilder_test.cpp63 EXPECT_EQ(table->descriptors[0].vbmeta_name, "vbmeta"); in TEST()
69 EXPECT_EQ(table->descriptors[1].vbmeta_name, "vbmeta_vendor"); in TEST()
75 EXPECT_EQ(table->descriptors[2].vbmeta_name, "vbmeta_product"); in TEST()
Dbuilder.h38 android::base::Result<uint8_t> AddVBMetaImage(const std::string& vbmeta_name);
39 void DeleteVBMetaImage(const std::string& vbmeta_name);
Dsuper_vbmeta_format.h28 std::string vbmeta_name; member
Dsuper_vbmeta_test.cpp168 EXPECT_EQ(table.descriptors[0].vbmeta_name, "vbmeta_product"); in TEST()
175 EXPECT_EQ(table.descriptors[1].vbmeta_name, "vbmeta_system"); in TEST()
182 EXPECT_EQ(table.descriptors[2].vbmeta_name, "vbmeta_vendor"); in TEST()
Dwriter.cpp35 table.append(desc.vbmeta_name); in SerializeVBMetaTable()
Dreader.cpp51 descriptor.vbmeta_name = std::string((char*)buffer + p, descriptor.vbmeta_name_length); in LoadVBMetaDescriptors()
/system/extras/vbmeta_tools/
Dvbmake.cc67 std::string vbmeta_name(optarg); in main() local
69 images[vbmeta_name] = file; in main()