Searched refs:module (Results 1 – 2 of 2) sorted by relevance
129 void InitDefaultBootloaderControl(const boot_control_private_t* module, in InitDefaultBootloaderControl() argument133 if (module->current_slot < kMaxNumSlots) { in InitDefaultBootloaderControl()134 strlcpy(boot_ctrl->slot_suffix, kSlotSuffixes[module->current_slot], in InitDefaultBootloaderControl()143 std::string base_path = module->misc_device; in InitDefaultBootloaderControl()188 if (module->current_slot == slot) { in InitDefaultBootloaderControl()210 bool BootControl_lazyInitialization(boot_control_private_t* module) { in BootControl_lazyInitialization() argument211 if (module->initialized) return true; in BootControl_lazyInitialization()217 module->current_slot = SlotSuffixToIndex(suffix_prop.c_str()); in BootControl_lazyInitialization()227 module->misc_device = strdup(device.c_str()); in BootControl_lazyInitialization()228 module->initialized = true; in BootControl_lazyInitialization()[all …]
262 sp<IBootControl> module = IBootControl::getService(); in update_verifier() local263 if (module == nullptr) { in update_verifier()268 uint32_t current_slot = module->getCurrentSlot(); in update_verifier()269 BoolResult is_successful = module->isSlotMarkedSuccessful(current_slot); in update_verifier()313 module->markBootSuccessful([&cr](CommandResult result) { cr = result; }); in update_verifier()