Searched refs:active_entry (Results 1 – 2 of 2) sorted by relevance
350 gpt_entry *active_entry = gpt.GetPartitionEntry(slot == 0 ? "boot_a" : "boot_b"); in setActiveBootSlot() local352 if (active_entry == nullptr || inactive_entry == nullptr) { in setActiveBootSlot()357 ALOGV("slot active attributes %lx\n", active_entry->attr); in setActiveBootSlot()362 active_entry->attr = AB_ATTR_ACTIVE | (AB_ATTR_MAX_PRIORITY << AB_ATTR_PRIORITY_SHIFT) | in setActiveBootSlot()
465 gpt_entry *active_entry = gpt.GetPartitionEntry(in_slot == 0 ? "boot_a" : "boot_b"); in setActiveBootSlot() local467 if (active_entry == nullptr || inactive_entry == nullptr) { in setActiveBootSlot()472 ALOGV("slot active attributes %lx\n", active_entry->attr); in setActiveBootSlot()477 active_entry->attr = AB_ATTR_ACTIVE | (AB_ATTR_MAX_PRIORITY << AB_ATTR_PRIORITY_SHIFT) | in setActiveBootSlot()