| 72 | auto [method_path, method_ref] = TRY(m_acpi_namespace.find_named_object(m_battery_path, m_method_name)); |
| 73 | if (method_ref == nullptr) |
| 74 | return BAN::Error::from_errno(EFAULT); |
| 75 | |
| 76 | auto result = TRY(AML::method_call(method_path, method_ref->node, BAN::Array<AML::Reference*, 7>{})); |
| 77 | if (result.type != AML::Node::Type::Package || result.as.package->num_elements < m_result_index) |
nothing calls this directly
no outgoing calls
no test coverage detected