Home
last modified time | relevance | path

Searched refs:ptn_list (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/bootctrl/
Dboot_control.cpp145 const char ptn_list[][MAX_GPT_NAME_SIZE] = { AB_PTN_LIST }; in update_slot_attribute() local
161 for (i=0; i < ARRAY_SIZE(ptn_list); i++) { in update_slot_attribute()
167 ptn_list[i], in update_slot_attribute()
178 ptn_list[i], in update_slot_attribute()
189 ptn_list[i], in update_slot_attribute()
525 const char ptn_list[][MAX_GPT_NAME_SIZE] = { AB_PTN_LIST }; in set_active_boot_slot() local
539 for (i = 0; i < ARRAY_SIZE(ptn_list); i++) { in set_active_boot_slot()
541 if (is_ufs && !strncmp(ptn_list[i], PTN_XBL, strlen(PTN_XBL))) in set_active_boot_slot()
544 string cur_ptn = ptn_list[i]; in set_active_boot_slot()
/hardware/qcom/msm8998/gpt-utils/
Dgpt-utils.cpp1090 int gpt_utils_get_partition_map(vector<string>& ptn_list, in gpt_utils_get_partition_map() argument
1094 if (ptn_list.size() < 1) { in gpt_utils_get_partition_map()
1099 for (uint32_t i = 0; i < ptn_list.size(); i++) in gpt_utils_get_partition_map()
1103 if (get_dev_path_from_partition_name(ptn_list[i].c_str(), in gpt_utils_get_partition_map()
1113 it->second.push_back(ptn_list[i]); in gpt_utils_get_partition_map()
1116 str_vec.push_back( ptn_list[i]); in gpt_utils_get_partition_map()