Home
last modified time | relevance | path

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

/bootable/recovery/boot_control/
Dboot_control.cpp49 unsigned int current_slot; member
133 if (module->current_slot < kMaxNumSlots) { in InitDefaultBootloaderControl()
134 strlcpy(boot_ctrl->slot_suffix, kSlotSuffixes[module->current_slot], in InitDefaultBootloaderControl()
188 if (module->current_slot == slot) { in InitDefaultBootloaderControl()
217 module->current_slot = SlotSuffixToIndex(suffix_prop.c_str()); in BootControl_lazyInitialization()
253 return reinterpret_cast<boot_control_private_t*>(module)->current_slot; in BootControl_getCurrentSlot()
262 bootctrl.slot_info[bootctrl_module->current_slot].successful_boot = 1; in BootControl_markBootSuccessful()
266 bootctrl.slot_info[bootctrl_module->current_slot].tries_remaining = 1; in BootControl_markBootSuccessful()
302 if (slot != bootctrl_module->current_slot) bootctrl.slot_info[slot].verity_corrupted = 0; in BootControl_setActiveBootSlot()
400 .current_slot = 0,
/bootable/recovery/update_verifier/
Dupdate_verifier.cpp316 uint32_t current_slot = module->getCurrentSlot(); in update_verifier() local
317 BoolResult is_successful = module->isSlotMarkedSuccessful(current_slot); in update_verifier()
318 LOG(INFO) << "Booting slot " << current_slot << ": isSlotMarkedSuccessful=" in update_verifier()
373 LOG(INFO) << "Marked slot " << current_slot << " as booted successfully."; in update_verifier()
375 LOG(INFO) << "Deferred marking slot " << current_slot << " as booted successfully."; in update_verifier()