Home
last modified time | relevance | path

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

/system/security/keystore2/src/
Dauthorization.rs75 let root_cause = e.root_cause(); in map_or_log_err() localVariable
76 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()
Derror.rs176 e.root_cause().downcast_ref::<Error>(), in map_or_log_err()
211 let root_cause = e.root_cause(); in get_error_code() localVariable
212 match root_cause.downcast_ref::<Error>() { in get_error_code()
222 None => match root_cause.downcast_ref::<selinux::Error>() { in get_error_code()
Dapc.rs104 let root_cause = e.root_cause(); in map_or_log_err() localVariable
105 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()
Draw_device.rs80 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()
Dservice.rs200 Err(e) => match e.root_cause().downcast_ref::<Error>() { in update_subcomponent()
277 e.root_cause().downcast_ref::<selinux::Error>() in list_entries()
Dlegacy_blob.rs1173 .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()
Ddatabase.rs1250 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 …]
Dutils.rs294 match error.root_cause().downcast_ref::<Error>() { in check_device_attestation_permissions_test()
Dpermission.rs654 result.err().unwrap().root_cause().downcast_ref::<selinux::Error>()
934 .root_cause() in check_key_permission_domain_key_id()
Doperation.rs888 match e.root_cause().downcast_ref::<Error>() { in abort()
Dmetrics_store.rs612 error.root_cause().downcast_ref::<PropertyWatcherError>(), in update_keystore_crash_sysprop()
Dlegacy_migrator.rs300 Err(e) => match e.root_cause().downcast_ref::<Error>() { in with_try_migrate()
/system/security/keystore2/legacykeystore/
Dlib.rs83 e.root_cause().downcast_ref::<rusqlite::ffi::Error>(), in is_locked_error()
219 let root_cause = e.root_cause(); in map_or_log_err() localVariable
220 let (rc, log_error) = match root_cause.downcast_ref::<Error>() { in map_or_log_err()
/system/security/keystore2/selinux/src/
Dlib.rs419 .root_cause()
466 .root_cause()