Home
last modified time | relevance | path

Searched refs:Km (Results 1 – 11 of 11) sorted by relevance

/system/security/keystore2/src/
Denforcements.rs98 .ok_or(Error::Km(ErrorCode::KEY_USER_NOT_AUTHENTICATED)) in get_auth_tokens()
356 Err(Error::Km(ErrorCode::KEY_USER_NOT_AUTHENTICATED)).context(concat!( in get_auth_tokens()
434 return Err(Error::Km(Ec::INCOMPATIBLE_PURPOSE)) in authorize_create()
443 return Err(Error::Km(Ec::UNSUPPORTED_PURPOSE)).context( in authorize_create()
456 return Err(Error::Km(Ec::UNSUPPORTED_PURPOSE)).context( in authorize_create()
466 return Err(Error::Km(Ec::UNSUPPORTED_PURPOSE)) in authorize_create()
511 return Err(Error::Km(Ec::KEY_NOT_YET_VALID)) in authorize_create()
519 return Err(Error::Km(Ec::KEY_EXPIRED)) in authorize_create()
527 return Err(Error::Km(Ec::KEY_EXPIRED)) in authorize_create()
566 return Err(Error::Km(Ec::INCOMPATIBLE_PURPOSE)) in authorize_create()
[all …]
Dsecurity_level.rs279 Err(Error::Km(ErrorCode::INVALID_ARGUMENT)) in create_operation()
283 _ => Err(Error::Km(ErrorCode::INVALID_ARGUMENT)) in create_operation()
327 Err(Error::Km(ErrorCode::TOO_MANY_OPERATIONS)) => { in create_operation()
331 v @ Err(Error::Km(ErrorCode::INVALID_KEY_BLOB)) => { in create_operation()
473 return Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in generate_key()
590 return Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in import_key()
615 .ok_or(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in import_key()
623 v => Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in import_key()
655 return Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)).context(format!( in import_wrapped_key()
666 return Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)).context( in import_wrapped_key()
[all …]
Derror.rs50 Km(ErrorCode), enumerator
87 Error::Km(ErrorCode(s.service_specific_error())) in map_km_error()
214 Some(Error::Km(ec)) => ec.0, in get_error_code()
247 Err(anyhow!(Error::Km(ec))).context("nested nested ec") in nested_nested_ec()
Doperation.rs265 _ => return Err(Error::Km(ErrorCode::INVALID_OPERATION_HANDLE)), in prune()
316 Err(Error::Km(e)) => *locked_outcome = Outcome::ErrorCode(*e), in update_outcome()
332 _ => Err(Error::Km(ErrorCode::INVALID_OPERATION_HANDLE)).context(format!( in check_active()
743 Err(Error::Km(ErrorCode::INVALID_OPERATION_HANDLE)) => break Ok(()), in prune()
822 None => Err(Error::Km(ErrorCode::INVALID_OPERATION_HANDLE)) in with_locked_operation()
892 Some(Error::Km(ErrorCode::INVALID_OPERATION_HANDLE)) => {} in abort()
Dglobals.rs207 return Err(Error::Km(ErrorCode::HARDWARE_TYPE_UNAVAILABLE)) in connect_keymint()
229 Error::Km(ErrorCode::HARDWARE_TYPE_UNAVAILABLE) in connect_keymint()
321 Error::Km(ErrorCode::HARDWARE_TYPE_UNAVAILABLE) in connect_secureclock()
368 .ok_or(Error::Km(ErrorCode::HARDWARE_TYPE_UNAVAILABLE)) in connect_remotely_provisioned_component()
Dutils.rs124 false => Err(Error::Km(ErrorCode::CANNOT_ATTEST_IDS)).context(concat!( in check_device_attestation_permissions()
296 Some(Error::Km(ErrorCode::CANNOT_ATTEST_IDS)) => Ok(()), in check_device_attestation_permissions_test()
Draw_device.rs81 Some(Error::Km(ErrorCode::HARDWARE_TYPE_UNAVAILABLE)) => Ok(None), in get_or_none()
262 Err(Error::Km(ErrorCode::KEY_REQUIRES_UPGRADE)) => { in upgrade_keyblob_if_required_with()
Dattestation_key_utils.rs102 Domain::BLOB => Err(Error::Km(ErrorCode::INVALID_ARGUMENT)).context( in load_attest_key_blob_and_cert()
Dservice.rs128 Err(error::Error::Km(ErrorCode::HARDWARE_TYPE_UNAVAILABLE)) in get_security_level()
Ddatabase.rs2594 .ok_or(KsError::Km(ErrorCode::INVALID_KEY_BLOB)) in check_and_update_key_usage_count()
2609 0 => Err(KsError::Km(ErrorCode::INVALID_KEY_BLOB)).context("Key is exhausted."), in check_and_update_key_usage_count()
4161 &KsError::Km(ErrorCode::INVALID_KEY_BLOB), in test_check_and_update_key_usage_count_with_exhausted_limited_use_key()
/system/extras/simpleperf/scripts/inferno/
Dinferno.b641 …qPIqB992MPGg8/hxYs+PIi/8r5EZOXoZEUREVkHCn9FRERERE6p/5//PdXHH6b8K994RCq3U78/Km/fbJWP7+GVQ6uDxayp9hU…