Home
last modified time | relevance | path

Searched refs:boot_control_hal (Results 1 – 4 of 4) sorted by relevance

/system/core/fastboot/device/
Dvariables.cpp223 auto boot_control_hal = device->boot_control_hal(); in GetSlotCount() local
224 if (!boot_control_hal) { in GetSlotCount()
227 *message = std::to_string(boot_control_hal->GetNumSlots()); in GetSlotCount()
243 auto boot_control_hal = device->boot_control_hal(); in GetSlotSuccessful() local
244 if (!boot_control_hal) { in GetSlotSuccessful()
248 if (boot_control_hal->IsSlotMarkedSuccessful(slot).value_or(false)) { in GetSlotSuccessful()
267 auto boot_control_hal = device->boot_control_hal(); in GetSlotUnbootable() local
268 if (!boot_control_hal) { in GetSlotUnbootable()
272 if (!boot_control_hal->IsSlotBootable(slot).value_or(false)) { in GetSlotUnbootable()
Dutility.cpp204 auto boot_control_hal = device->boot_control_hal(); in UpdateAllPartitionMetadata() local
205 if (boot_control_hal) { in UpdateAllPartitionMetadata()
206 num_slots = boot_control_hal->GetNumSlots(); in UpdateAllPartitionMetadata()
Dfastboot_device.h53 BootControlClient* boot_control_hal() const { return boot_control_hal_.get(); } in boot_control_hal() function
Dcommands.cpp337 auto boot_control_hal = device->boot_control_hal(); in SetActiveHandler() local
338 if (!boot_control_hal) { in SetActiveHandler()
342 if (slot >= boot_control_hal->GetNumSlots()) { in SetActiveHandler()
371 CommandResult ret = boot_control_hal->SetActiveBootSlot(slot); in SetActiveHandler()