Home
last modified time | relevance | path

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

/external/avb/libavb_user/
Davb_user_verity.c133 char partition_name[AVB_PART_NAME_MAX_SIZE]; /* 32 bytes. */ in avb_user_verity_get() local
139 ops, ab_suffix, vbmeta_image, partition_name, NULL)) { in avb_user_verity_get()
145 partition_name, in avb_user_verity_get()
169 char partition_name[AVB_PART_NAME_MAX_SIZE]; /* 32 bytes. */ in avb_user_verity_set() local
177 ops, ab_suffix, vbmeta_image, partition_name, &vbmeta_offset)) { in avb_user_verity_set()
183 partition_name, in avb_user_verity_set()
200 partition_name, in avb_user_verity_set()
205 avb_errorv("Error writing to partition '", partition_name, "'\n", NULL); in avb_user_verity_set()
Davb_user_verification.c133 char partition_name[AVB_PART_NAME_MAX_SIZE]; /* 32 bytes. */ in avb_user_verification_get() local
139 ops, ab_suffix, vbmeta_image, partition_name, NULL)) { in avb_user_verification_get()
145 partition_name, in avb_user_verification_get()
170 char partition_name[AVB_PART_NAME_MAX_SIZE]; /* 32 bytes. */ in avb_user_verification_set() local
178 ops, ab_suffix, vbmeta_image, partition_name, &vbmeta_offset)) { in avb_user_verification_set()
184 partition_name, in avb_user_verification_set()
201 partition_name, in avb_user_verification_set()
206 avb_errorv("Error writing to partition '", partition_name, "'\n", NULL); in avb_user_verification_set()
/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/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()
299 const char* partition_name, in get_size_of_partition() argument
[all …]
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/libavb/
Davb_slot_verify.c234 loaded_partition->partition_name = avb_strdup(found); in load_and_verify_hash_partition()
321 loaded_partition->partition_name = avb_strdup(requested_partitions[n]); in load_requested_partitions()
322 if (loaded_partition->partition_name == NULL) { in load_requested_partitions()
347 const char* partition_name, in load_and_verify_vbmeta() argument
381 is_vbmeta_partition = (avb_strcmp(partition_name, "vbmeta") == 0); in load_and_verify_vbmeta()
383 if (!avb_validate_utf8((const uint8_t*)partition_name, partition_name_len)) { in load_and_verify_vbmeta()
392 partition_name, in load_and_verify_vbmeta()
644 vbmeta_image_data->partition_name = avb_strdup(partition_name); in load_and_verify_vbmeta()
1309 if (avb_strcmp(slot_data->vbmeta_images[0].partition_name, "vbmeta") != 0) { in avb_slot_verify()
1311 avb_strcmp(slot_data->vbmeta_images[0].partition_name, "boot") == 0); in avb_slot_verify()
[all …]
Davb_slot_verify.h124 char* partition_name; member
143 char* partition_name; member
/external/avb/
Davbtool1244 self.partition_name = str(data[(self.SIZE + o):(self.SIZE + o +
1247 self.partition_name.decode('utf-8')
1266 self.partition_name = ''
1289 o.write(' Partition Name: {}\n'.format(self.partition_name))
1301 encoded_name = self.partition_name.encode('utf-8')
1329 image_filename = os.path.join(image_dir, self.partition_name + image_ext)
1359 .format(self.partition_name, self.hash_algorithm, image_filename,
1411 self.partition_name = str(data[(self.SIZE + o):(self.SIZE + o +
1414 self.partition_name.decode('utf-8')
1425 self.partition_name = ''
[all …]
DREADME.md314 --partition_name PARTNAME --partition_size SIZE \
333 --partition_name PARTNAME --partition_size SIZE \
/external/avb/test/
Davb_slot_verify_unittest.cc430 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
517 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
528 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
730 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
738 EXPECT_EQ("boot", std::string(slot_data->vbmeta_images[1].partition_name)); in TEST_F()
774 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
1097 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
1103 EXPECT_EQ("boot", std::string(slot_data->vbmeta_images[1].partition_name)); in TEST_F()
1109 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
1217 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
[all …]