Searched refs:root_cause (Results 1 – 14 of 14) sorted by relevance
77 let root_cause = e.root_cause(); in map_or_log_err() localVariable78 if let Some(KeystoreError::Rc(ks_rcode)) = root_cause.downcast_ref::<KeystoreError>() { in map_or_log_err()98 let rc = match root_cause.downcast_ref::<Error>() { in map_or_log_err()101 None => match root_cause.downcast_ref::<selinux::Error>() { in map_or_log_err()
177 e.root_cause().downcast_ref::<Error>(), in map_or_log_err()229 let root_cause = e.root_cause(); in get_error_code() localVariable230 match root_cause.downcast_ref::<Error>() { in get_error_code()240 None => match root_cause.downcast_ref::<selinux::Error>() { in get_error_code()
106 let root_cause = e.root_cause(); in map_or_log_err() localVariable107 let rc = match root_cause.downcast_ref::<Error>() { in map_or_log_err()110 None => match root_cause.downcast_ref::<selinux::Error>() { in map_or_log_err()
86 match e.root_cause().downcast_ref::<Error>() { in get_or_none()166 Err(e) => match e.root_cause().downcast_ref::<Error>() { in not_found_is_none()
1280 Err(error) => match error.root_cause().downcast_ref::<KsError>() { in key_exists()1360 Err(error) => match error.root_cause().downcast_ref::<KsError>() { in load_super_key()1503 e.root_cause().downcast_ref::<rusqlite::ffi::Error>(), in is_locked_error()4010 .root_cause() in test_insert_and_load_full_keyentry_domain_app()4081 .root_cause() in test_insert_and_load_certificate_entry_domain_app()4138 .root_cause() in test_insert_and_load_full_keyentry_domain_selinux()4181 .root_cause() in test_insert_and_load_full_keyentry_domain_key_id()4230 e.root_cause().downcast_ref::<KsError>().unwrap() in test_check_and_update_key_usage_count_with_exhausted_limited_use_key()4282 .root_cause() in test_insert_and_load_full_keyentry_from_grant()4366 .root_cause() in test_insert_and_load_full_keyentry_from_grant_by_key_id()[all …]
197 Err(e) => match e.root_cause().downcast_ref::<Error>() { in update_subcomponent()280 e.root_cause().downcast_ref::<selinux::Error>() in get_key_descriptor_for_lookup()
1684 .root_cause() in decode_encode_alias_test()1691 .root_cause() in decode_encode_alias_test()1696 .root_cause() in decode_encode_alias_test()1781 assert_eq!(Some(&Error::BadLen), error.root_cause().downcast_ref::<Error>()); in read_golden_key_blob_too_short_test()1990 .root_cause() in test_with_encrypted_characteristics()2078 .root_cause() in test_with_encrypted_certificates()2166 .root_cause() in test_in_place_key_migration()2198 .root_cause() in test_in_place_key_migration()
302 Err(e) => match e.root_cause().downcast_ref::<Error>() { in with_try_import()606 if e.root_cause().downcast_ref::<legacy_blob::Error>() in check_and_import()
480 result.err().unwrap().root_cause().downcast_ref::<selinux::Error>()706 .root_cause() in check_key_permission_domain_key_id()
459 match error.root_cause().downcast_ref::<Error>() { in check_device_attestation_permissions_test()
865 match e.root_cause().downcast_ref::<Error>() { in abort()
574 error.root_cause().downcast_ref::<PropertyWatcherError>(), in update_keystore_crash_sysprop()
84 e.root_cause().downcast_ref::<rusqlite::ffi::Error>(), in is_locked_error()226 let root_cause = e.root_cause(); in map_or_log_err() localVariable227 let (rc, log_error) = match root_cause.downcast_ref::<Error>() { in map_or_log_err()
736 .root_cause()783 .root_cause()