Home
last modified time | relevance | path

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

/device/google/gs-common/bootctrl/1.2/
DBootControl.cpp350 gpt_entry *active_entry = gpt.GetPartitionEntry(slot == 0 ? "boot_a" : "boot_b"); in setActiveBootSlot() local
352 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()
/device/google/gs-common/bootctrl/aidl/
DBootControl.cpp465 gpt_entry *active_entry = gpt.GetPartitionEntry(in_slot == 0 ? "boot_a" : "boot_b"); in setActiveBootSlot() local
467 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()