Searched refs:GetReason (Results 1 – 3 of 3) sorted by relevance
147 std::optional<std::string> GetReason() const;
209 CHECK(device->GetReason().has_value()); in prompt_and_wipe_data()210 bool convert_fbe = device->GetReason().value() == "convert_fbe"; in prompt_and_wipe_data()362 bool update_in_progress = (device->GetReason().value_or("") == "update_in_progress"); in PromptAndWait()690 printf("reason is [%s]\n", device->GetReason().value_or("").c_str()); in start_recovery()796 CHECK(device->GetReason().has_value()); in start_recovery()797 bool convert_fbe = device->GetReason().value() == "convert_fbe"; in start_recovery()
104 std::optional<std::string> Device::GetReason() const { in GetReason() function in Device