Home
last modified time | relevance | path

Searched refs:partition_name (Results 1 – 9 of 9) sorted by relevance

/external/avb/tools/avbctl/
Davbctl.cc95 std::string partition_name = std::string("vbmeta") + ab_suffix; in load_top_level_vbmeta_header() local
101 partition_name.c_str(), in load_top_level_vbmeta_header()
109 partition_name = std::string("boot") + ab_suffix; in load_top_level_vbmeta_header()
111 partition_name.c_str(), in load_top_level_vbmeta_header()
119 partition_name.c_str(), in load_top_level_vbmeta_header()
127 partition_name.c_str()); in load_top_level_vbmeta_header()
133 partition_name.c_str(), in load_top_level_vbmeta_header()
144 partition_name.c_str(), in load_top_level_vbmeta_header()
150 *out_partition_name = partition_name; in load_top_level_vbmeta_header()
165 std::string partition_name; in do_set_verity() local
[all …]
/external/autotest/client/cros/faft/utils/
Dcgpt_handler.py86 def get_partition(self, device, partition_name): argument
99 result = self.devices[device][partition_name]
102 partition_name, device))
105 def set_partition(self, device, partition_name, partition_value): argument
121 current = self.get_partition(device, partition_name)
/external/avb/libavb/
Davb_slot_verify.c198 loaded_partition->partition_name = avb_strdup(found); in load_and_verify_hash_partition()
219 const char* partition_name, in load_and_verify_vbmeta() argument
253 is_vbmeta_partition = (avb_strcmp(partition_name, "vbmeta") == 0); in load_and_verify_vbmeta()
255 if (!avb_validate_utf8((const uint8_t*)partition_name, partition_name_len)) { in load_and_verify_vbmeta()
264 partition_name, in load_and_verify_vbmeta()
516 vbmeta_image_data->partition_name = avb_strdup(partition_name); in load_and_verify_vbmeta()
971 if (avb_strcmp(slot_data->vbmeta_images[0].partition_name, "vbmeta") != 0) { in avb_slot_verify()
972 avb_assert(avb_strcmp(slot_data->vbmeta_images[0].partition_name, "boot") == in avb_slot_verify()
1125 if (vbmeta_image->partition_name != NULL) { in avb_slot_verify_data_free()
1126 avb_free(vbmeta_image->partition_name); in avb_slot_verify_data_free()
[all …]
Davb_slot_verify.h72 char* partition_name; member
91 char* partition_name; member
/external/avb/examples/uefi/
Duefi_avb_ops.c74 const char* partition_name, in find_partition_entry_by_name() argument
112 partition_name_bytes = avb_strlen(partition_name); in find_partition_entry_by_name()
122 if (!uefi_avb_utf8_to_ucs2((const uint8_t*)partition_name, in find_partition_entry_by_name()
177 const char* partition_name, in read_from_partition() argument
187 avb_assert(partition_name != NULL); in read_from_partition()
192 data->block_io, partition_name, &partition_entry); in read_from_partition()
239 const char* partition_name, in write_to_partition() argument
248 avb_assert(partition_name != NULL); in write_to_partition()
252 data->block_io, partition_name, &partition_entry); in write_to_partition()
Duefi_avb_boot.c144 if (avb_strcmp(boot->partition_name, "boot") != 0) { in uefi_avb_boot_kernel()
146 "Unexpected partition name '", boot->partition_name, "'.\n", NULL); in uefi_avb_boot_kernel()
/external/avb/test/
Davb_slot_verify_unittest.cc425 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
436 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
632 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
640 EXPECT_EQ("boot", std::string(slot_data->vbmeta_images[1].partition_name)); in TEST_F()
676 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
987 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
993 EXPECT_EQ("boot", std::string(slot_data->vbmeta_images[1].partition_name)); in TEST_F()
999 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
1104 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
1114 EXPECT_EQ("foo", std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
[all …]
/external/avb/
Davbtool1084 self.partition_name = str(data[(self.SIZE + o):(self.SIZE + o +
1087 self.partition_name.decode('utf-8')
1106 self.partition_name = ''
1129 o.write(' Partition Name: {}\n'.format(self.partition_name))
1141 encoded_name = self.partition_name.encode('utf-8')
1205 self.partition_name = str(data[(self.SIZE + o):(self.SIZE + o +
1208 self.partition_name.decode('utf-8')
1219 self.partition_name = ''
1232 o.write(' Partition Name: {}\n'.format(self.partition_name))
1244 encoded_name = self.partition_name.encode('utf-8')
[all …]
DREADME.md219 --partition_name PARTNAME --partition_size SIZE \
235 --partition_name PARTNAME --partition_size SIZE \