Home
last modified time | relevance | path

Searched refs:root_cause (Results 1 – 14 of 14) sorted by relevance

/system/security/keystore2/src/
Dauthorization.rs77 let root_cause = e.root_cause(); in map_or_log_err() localVariable
78 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()
Derror.rs177 e.root_cause().downcast_ref::<Error>(), in map_or_log_err()
229 let root_cause = e.root_cause(); in get_error_code() localVariable
230 match root_cause.downcast_ref::<Error>() { in get_error_code()
240 None => match root_cause.downcast_ref::<selinux::Error>() { in get_error_code()
Dapc.rs106 let root_cause = e.root_cause(); in map_or_log_err() localVariable
107 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()
Draw_device.rs86 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()
Ddatabase.rs1280 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 …]
Dservice.rs197 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()
Dlegacy_blob.rs1684 .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()
Dlegacy_importer.rs302 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()
Dpermission.rs480 result.err().unwrap().root_cause().downcast_ref::<selinux::Error>()
706 .root_cause() in check_key_permission_domain_key_id()
Dutils.rs459 match error.root_cause().downcast_ref::<Error>() { in check_device_attestation_permissions_test()
Doperation.rs865 match e.root_cause().downcast_ref::<Error>() { in abort()
Dmetrics_store.rs574 error.root_cause().downcast_ref::<PropertyWatcherError>(), in update_keystore_crash_sysprop()
/system/security/keystore2/legacykeystore/
Dlib.rs84 e.root_cause().downcast_ref::<rusqlite::ffi::Error>(), in is_locked_error()
226 let root_cause = e.root_cause(); in map_or_log_err() localVariable
227 let (rc, log_error) = match root_cause.downcast_ref::<Error>() { in map_or_log_err()
/system/security/keystore2/selinux/src/
Dlib.rs736 .root_cause()
783 .root_cause()