Home
last modified time | relevance | path

Searched refs:Outcome (Results 1 – 4 of 4) sorted by relevance

/system/security/keystore2/src/
Doperation.rs152 pub enum Outcome { enum
175 outcome: Mutex<Outcome>,
227 outcome: Mutex::new(Outcome::Unknown), in new()
239 Outcome::Unknown => {} in get_pruning_info()
264 Outcome::Unknown => guard, in prune()
283 *locked_outcome = Outcome::Pruned; in prune()
312 locked_outcome: &mut Outcome, in update_outcome() argument
316 Err(Error::Km(e)) => *locked_outcome = Outcome::ErrorCode(*e), in update_outcome()
317 Err(_) => *locked_outcome = Outcome::ErrorCode(ErrorCode::UNKNOWN_ERROR), in update_outcome()
328 fn check_active(&self) -> Result<MutexGuard<Outcome>> { in check_active() argument
[all …]
Dmetrics_store.rs23 use crate::operation::Outcome;
42 Outcome::Outcome as MetricsOutcome, Purpose::Purpose as MetricsPurpose,
318 op_outcome: &Outcome, in log_key_operation_event_stats() argument
343 op_outcome: &Outcome, in process_key_operation_event_stats() argument
376 Outcome::Unknown | Outcome::Dropped => MetricsOutcome::DROPPED, in process_key_operation_event_stats()
377 Outcome::Success => MetricsOutcome::SUCCESS, in process_key_operation_event_stats()
378 Outcome::Abort => MetricsOutcome::ABORT, in process_key_operation_event_stats()
379 Outcome::Pruned => MetricsOutcome::PRUNED, in process_key_operation_event_stats()
380 Outcome::ErrorCode(e) => { in process_key_operation_event_stats()
/system/security/keystore2/aidl/android/security/metrics/
DKeyOperationWithGeneralInfo.aidl19 import android.security.metrics.Outcome;
28 Outcome outcome;
DOutcome.aidl25 enum Outcome { enum