Lines Matching refs:slot

86                                             BootControlInterface::Slot slot,  in GetPartitionDevice()  argument
91 slot, in GetPartitionDevice()
99 BootControlInterface::Slot slot, in GetPartitionDevice() argument
102 partition_name, slot, false /* not_in_payload */, device, nullptr); in GetPartitionDevice()
105 bool BootControlAndroid::IsSlotBootable(Slot slot) const { in IsSlotBootable()
106 Return<BoolResult> ret = module_->isSlotBootable(slot); in IsSlotBootable()
108 LOG(ERROR) << "Unable to determine if slot " << SlotName(slot) in IsSlotBootable()
113 LOG(ERROR) << "Invalid slot: " << SlotName(slot); in IsSlotBootable()
119 bool BootControlAndroid::MarkSlotUnbootable(Slot slot) { in MarkSlotUnbootable() argument
121 auto ret = module_->setSlotAsUnbootable(slot, StoreResultCallback(&result)); in MarkSlotUnbootable()
124 << SlotName(slot) << ": " << ret.description(); in MarkSlotUnbootable()
128 LOG(ERROR) << "Unable to mark slot " << SlotName(slot) in MarkSlotUnbootable()
134 bool BootControlAndroid::SetActiveBootSlot(Slot slot) { in SetActiveBootSlot() argument
136 auto ret = module_->setActiveBootSlot(slot, StoreResultCallback(&result)); in SetActiveBootSlot()
138 LOG(ERROR) << "Unable to call SetActiveBootSlot for slot " << SlotName(slot) in SetActiveBootSlot()
143 LOG(ERROR) << "Unable to set the active slot to slot " << SlotName(slot) in SetActiveBootSlot()
166 BootControlInterface::Slot slot) const { in IsSlotMarkedSuccessful()
167 Return<BoolResult> ret = module_->isSlotMarkedSuccessful(slot); in IsSlotMarkedSuccessful()
170 LOG(ERROR) << "Unable to determine if slot " << SlotName(slot) in IsSlotMarkedSuccessful()
175 LOG(ERROR) << "Invalid slot: " << SlotName(slot); in IsSlotMarkedSuccessful()