Home
last modified time | relevance | path

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

/system/core/fastboot/
Dfastboot.cpp877 std::string current_slot; in verify_slot() local
878 if (!fb_getvar(transport, "current-slot", &current_slot)) { in verify_slot()
883 if (current_slot == suffixes[i]) in verify_slot()
909 std::string current_slot; in do_for_partition() local
917 if (!fb_getvar(transport, "current-slot", &current_slot)) { in do_for_partition()
920 func(std::string(part) + current_slot); in do_for_partition()
/system/update_engine/
Dupdate_attempter.cc763 const BootControlInterface::Slot current_slot = in GetRollbackSlot() local
768 << BootControlInterface::SlotName(current_slot); in GetRollbackSlot()
770 if (current_slot == BootControlInterface::kInvalidSlot || num_slots < 2) { in GetRollbackSlot()
777 if (slot != current_slot && in GetRollbackSlot()