Lines Matching refs:Err
203 Err(BinderStatus::new_service_specific_error(rc, None)) in map_err_with()
239 Err(anyhow!(Error::Rc(rc))).context("nested nested rc") in nested_nested_rc()
247 Err(anyhow!(Error::Km(ec))).context("nested nested ec") in nested_nested_ec()
263 Err(anyhow!(selinux::Error::perm())).context("nested nexted selinux permission denied") in nested_nested_selinux_perm()
277 Err(anyhow!(TestError::Fail)).context("nested nested other error") in nested_nested_other_error()
285 Err(BinderStatus::new_service_specific_error(sse, None)) in binder_sse_error()
289 Err(BinderStatus::new_exception(ex, None)) in binder_exception()
303 Result::<(), i32>::Err(rc), in keystore_error_test()
304 map_or_log_err(nested_rc(ResponseCode(rc)), |_| Err(BinderStatus::ok())) in keystore_error_test()
313 Result::<(), i32>::Err(ec), in keystore_error_test()
314 map_or_log_err(nested_ec(ErrorCode(ec)), |_| Err(BinderStatus::ok())) in keystore_error_test()
323 Result::<(), i32>::Err(ec), in keystore_error_test()
327 |_| Err(BinderStatus::ok()) in keystore_error_test()
337 assert_eq!(Err(Error::Binder(ExceptionCode::SERVICE_SPECIFIC, 1)), sse); in keystore_error_test()
340 Result::<(), ResponseCode>::Err(ResponseCode::SYSTEM_ERROR), in keystore_error_test()
341 map_or_log_err(sse.context("Non negative service specific error."), |_| Err( in keystore_error_test()
349 assert_eq!(Err(Error::Binder(ExceptionCode::TRANSACTION_FAILED, 0)), binder_exception); in keystore_error_test()
352 Result::<(), ResponseCode>::Err(ResponseCode::SYSTEM_ERROR), in keystore_error_test()
353 map_or_log_err(binder_exception.context("Binder Exception."), |_| Err( in keystore_error_test()
361 Result::<(), ResponseCode>::Err(ResponseCode::PERMISSION_DENIED), in keystore_error_test()
362 map_or_log_err(nested_selinux_perm(), |_| Err(BinderStatus::ok())) in keystore_error_test()
368 Result::<(), ResponseCode>::Err(ResponseCode::SYSTEM_ERROR), in keystore_error_test()
369 map_or_log_err(nested_other_error(), |_| Err(BinderStatus::ok())) in keystore_error_test()