Home
last modified time | relevance | path

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

/hardware/interfaces/boot/1.1/default/boot_control/
Dlibboot_control.cpp206 current_slot_ = SlotSuffixToIndex(suffix_prop.c_str()); in Init()
249 return current_slot_; in GetCurrentSlot()
256 bootctrl.slot_info[current_slot_].successful_boot = 1; in MarkBootSuccessful()
260 bootctrl.slot_info[current_slot_].tries_remaining = 1; in MarkBootSuccessful()
269 unsigned int active_boot_slot = current_slot_; in GetActiveBootSlot()
270 unsigned int max_priority = bootctrl.slot_info[current_slot_].priority; in GetActiveBootSlot()
311 if (slot != current_slot_) bootctrl.slot_info[slot].verity_corrupted = 0; in SetActiveBootSlot()
361 return SetMiscVirtualAbMergeStatus(current_slot_, status); in SetSnapshotMergeStatus()
366 if (!GetMiscVirtualAbMergeStatus(current_slot_, &status)) { in GetSnapshotMergeStatus()
/hardware/interfaces/boot/1.1/default/boot_control/include/libboot_control/
Dlibboot_control.h63 unsigned int current_slot_ = 0; variable