Home
last modified time | relevance | path

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

/device/google/gs-common/bootctrl/1.2/
DBootControl.cpp351 gpt_entry *inactive_entry = gpt.GetPartitionEntry(slot == 0 ? "boot_b" : "boot_a"); in setActiveBootSlot() local
352 if (active_entry == nullptr || inactive_entry == nullptr) { in setActiveBootSlot()
358 ALOGV("slot inactive attributes %lx\n", inactive_entry->attr); in setActiveBootSlot()
361 inactive_entry->attr &= ~AB_ATTR_ACTIVE; in setActiveBootSlot()
/device/google/gs-common/bootctrl/aidl/
DBootControl.cpp466 gpt_entry *inactive_entry = gpt.GetPartitionEntry(in_slot == 0 ? "boot_b" : "boot_a"); in setActiveBootSlot() local
467 if (active_entry == nullptr || inactive_entry == nullptr) { in setActiveBootSlot()
473 ALOGV("slot inactive attributes %lx\n", inactive_entry->attr); in setActiveBootSlot()
476 inactive_entry->attr &= ~AB_ATTR_ACTIVE; in setActiveBootSlot()