Lines Matching refs:ec
214 Error::Km(ec) => SerializedError(ec.0), in error_to_serialized_error()
253 fn nested_nested_ec(ec: ErrorCode) -> anyhow::Result<()> { in nested_nested_ec()
254 Err(anyhow!(Error::Km(ec))).context("nested nested ec") in nested_nested_ec()
257 fn nested_ec(ec: ErrorCode) -> anyhow::Result<()> { in nested_ec()
258 nested_nested_ec(ec).context("nested ec") in nested_ec()
319 for ec in ErrorCode::UNKNOWN_ERROR.0..ErrorCode::ROOT_OF_TRUST_ALREADY_SET.0 { in keystore_error_test()
321 Result::<(), i32>::Err(ec), in keystore_error_test()
322 nested_ec(ErrorCode(ec)) in keystore_error_test()
330 for ec in ErrorCode::UNKNOWN_ERROR.0..ErrorCode::ROOT_OF_TRUST_ALREADY_SET.0 { in keystore_error_test()
332 Result::<(), i32>::Err(ec), in keystore_error_test()
333 map_km_error(binder_sse_error(ec)) in keystore_error_test()
334 .with_context(|| format!("Km error code: {}.", ec)) in keystore_error_test()