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()
293 if (slot != current_slot_) bootctrl.slot_info[slot].verity_corrupted = 0; in SetActiveBootSlot()
343 return SetMiscVirtualAbMergeStatus(current_slot_, status); in SetSnapshotMergeStatus()
348 if (!GetMiscVirtualAbMergeStatus(current_slot_, &status)) { in GetSnapshotMergeStatus()
/hardware/interfaces/boot/1.1/default/boot_control/include/libboot_control/
Dlibboot_control.h62 unsigned int current_slot_ = 0; variable