Lines Matching refs:slot
46 BootControlInterface::Slot slot, in GetPartitionDevice() argument
48 if (slot >= num_slots_) in GetPartitionDevice()
50 auto part_it = devices_[slot].find(partition_name); in GetPartitionDevice()
51 if (part_it == devices_[slot].end()) in GetPartitionDevice()
57 bool IsSlotBootable(BootControlInterface::Slot slot) const override { in IsSlotBootable() argument
58 return slot < num_slots_ && is_bootable_[slot]; in IsSlotBootable()
61 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override { in MarkSlotUnbootable() argument
62 if (slot >= num_slots_) in MarkSlotUnbootable()
64 is_bootable_[slot] = false; in MarkSlotUnbootable()
68 bool SetActiveBootSlot(Slot slot) override { return true; } in SetActiveBootSlot() argument
77 bool InitPartitionMetadata(Slot slot, in InitPartitionMetadata() argument
92 void SetCurrentSlot(BootControlInterface::Slot slot) { current_slot_ = slot; } in SetCurrentSlot() argument
95 BootControlInterface::Slot slot, in SetPartitionDevice() argument
97 DCHECK(slot < num_slots_); in SetPartitionDevice()
98 devices_[slot][partition_name] = device; in SetPartitionDevice()
101 void SetSlotBootable(BootControlInterface::Slot slot, bool bootable) { in SetSlotBootable() argument
102 DCHECK(slot < num_slots_); in SetSlotBootable()
103 is_bootable_[slot] = bootable; in SetSlotBootable()