Searched refs:MicrodroidError (Results 1 – 3 of 3) sorted by relevance
93 enum MicrodroidError { enum105 if let Some(e) = err.downcast_ref::<MicrodroidError>() { in translate_error()107 MicrodroidError::PayloadChanged(msg) => (ErrorCode::PAYLOAD_CHANGED, msg.to_string()), in translate_error()108 MicrodroidError::PayloadVerificationFailed(msg) => { in translate_error()111 MicrodroidError::PayloadInvalidConfig(msg) => { in translate_error()115 MicrodroidError::FailedToConnectToVirtualizationService(msg) => { in translate_error()125 let death_reason = if let Some(e) = err.downcast_ref::<MicrodroidError>() { in write_death_reason_to_serial()127 MicrodroidError::FailedToConnectToVirtualizationService(_) => { in write_death_reason_to_serial()130 MicrodroidError::PayloadChanged(_) => "MICRODROID_PAYLOAD_HAS_CHANGED", in write_death_reason_to_serial()131 MicrodroidError::PayloadVerificationFailed(_) => { in write_death_reason_to_serial()[all …]
17 use crate::{is_strict_boot, MicrodroidError};222 MicrodroidError::PayloadChanged(String::from("APEXes have changed.")) in write_apex_payload_data()246 verify(apk, current_sdk).context(MicrodroidError::PayloadVerificationFailed(format!(
291 super::MicrodroidError::FailedToConnectToVirtualizationService(format!( in get_secretkeeper_service()