Searched refs:root_cause (Results 1 – 14 of 14) sorted by relevance
75 let root_cause = e.root_cause(); in map_or_log_err() localVariable76 if let Some(KeystoreError::Rc(ks_rcode)) = root_cause.downcast_ref::<KeystoreError>() { in map_or_log_err()93 let rc = match root_cause.downcast_ref::<Error>() { in map_or_log_err()96 None => match root_cause.downcast_ref::<selinux::Error>() { in map_or_log_err()
176 e.root_cause().downcast_ref::<Error>(), in map_or_log_err()211 let root_cause = e.root_cause(); in get_error_code() localVariable212 match root_cause.downcast_ref::<Error>() { in get_error_code()222 None => match root_cause.downcast_ref::<selinux::Error>() { in get_error_code()
104 let root_cause = e.root_cause(); in map_or_log_err() localVariable105 let rc = match root_cause.downcast_ref::<Error>() { in map_or_log_err()108 None => match root_cause.downcast_ref::<selinux::Error>() { in map_or_log_err()
80 match e.root_cause().downcast_ref::<Error>() { in get_or_none()161 Err(e) => match e.root_cause().downcast_ref::<Error>() { in not_found_is_none()
200 Err(e) => match e.root_cause().downcast_ref::<Error>() { in update_subcomponent()277 e.root_cause().downcast_ref::<selinux::Error>() in list_entries()
1173 .root_cause() in decode_encode_alias_test()1180 .root_cause() in decode_encode_alias_test()1185 .root_cause() in decode_encode_alias_test()1268 assert_eq!(Some(&Error::BadLen), error.root_cause().downcast_ref::<Error>()); in read_golden_key_blob_too_short_test()1351 .root_cause() in test_legacy_blobs()
1250 Err(error) => match error.root_cause().downcast_ref::<KsError>() { in key_exists()1330 Err(error) => match error.root_cause().downcast_ref::<KsError>() { in load_super_key()1475 e.root_cause().downcast_ref::<rusqlite::ffi::Error>(), in is_locked_error()3942 .root_cause() in test_insert_and_load_full_keyentry_domain_app()4013 .root_cause() in test_insert_and_load_certificate_entry_domain_app()4070 .root_cause() in test_insert_and_load_full_keyentry_domain_selinux()4113 .root_cause() in test_insert_and_load_full_keyentry_domain_key_id()4162 e.root_cause().downcast_ref::<KsError>().unwrap() in test_check_and_update_key_usage_count_with_exhausted_limited_use_key()4214 .root_cause() in test_insert_and_load_full_keyentry_from_grant()4298 .root_cause() in test_insert_and_load_full_keyentry_from_grant_by_key_id()[all …]
294 match error.root_cause().downcast_ref::<Error>() { in check_device_attestation_permissions_test()
654 result.err().unwrap().root_cause().downcast_ref::<selinux::Error>()934 .root_cause() in check_key_permission_domain_key_id()
888 match e.root_cause().downcast_ref::<Error>() { in abort()
612 error.root_cause().downcast_ref::<PropertyWatcherError>(), in update_keystore_crash_sysprop()
300 Err(e) => match e.root_cause().downcast_ref::<Error>() { in with_try_migrate()
83 e.root_cause().downcast_ref::<rusqlite::ffi::Error>(), in is_locked_error()219 let root_cause = e.root_cause(); in map_or_log_err() localVariable220 let (rc, log_error) = match root_cause.downcast_ref::<Error>() { in map_or_log_err()
419 .root_cause()466 .root_cause()